1/*! For license information please see 35d85485-1208522c5bdac933fddf.js.LICENSE.txt */ 2(self.webpackChunkpws_frontend_v3=self.webpackChunkpws_frontend_v3||[]).push([[2877],{4798:function(e,t,r){var n,i;e=r.nmd(e);var s,o,a=Object.create,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,h=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty,p=(s=()=>{"use strict";var e,t;t=e||(e={}),function(){var e="object"==typeof globalThis?globalThis:"object"==typeof r.g?r.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch{}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch{}}(),n=i(t);function i(e,t){return function(r,n){Object.defineProperty(e,r,{configurable:!0,writable:!0,value:n}),t&&t(r,n)}}typeof e.Reflect<"u"&&(n=i(e.Reflect,n)),function(e,t){var r=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,i=n&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",s=n&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",o="function"==typeof Object.create,a={__proto__:[]}instanceof Array,l=!o&&!a,u={create:o?function(){return he(Object.create(null))}:a?function(){return he({__proto__:null})}:function(){return he({})},has:l?function(e,t){return r.call(e,t)}:function(e,t){return t in e},get:l?function(e,t){return r.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},c=Object.getPrototypeOf(Function),h="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:le(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:ue(),p="function"==typeof WeakMap?WeakMap:ce(),f=n?Symbol.for("@reflect-metadata:registry"):void 0,m=ie(),g=se(m);function y(e,t,r,n){if(M(r)){if(!G(e))throw new TypeError;if(!Q(t))throw new TypeError;return T(e,t)}if(!G(e))throw new TypeError;if(!z(t))throw new TypeError;if(!z(n)&&!M(n)&&!j(n))throw new TypeError;return j(n)&&(n=void 0),x(e,t,r=H(r),n)}function v(e,t){function r(r,n){if(!z(r))throw new TypeError;if(!M(n)&&!Z(n))throw new TypeError;R(e,t,r,n)}return r}function b(e,t,r,n){if(!z(r))throw new TypeError;return M(n)||(n=H(n)),R(e,t,r,n)}function _(e,t,r){if(!z(t))throw new TypeError;return M(r)||(r=H(r)),O(e,t,r)}function w(e,t,r){if(!z(t))throw new TypeError;return M(r)||(r=H(r)),A(e,t,r)}function S(e,t,r){if(!z(t))throw new TypeError;return M(r)||(r=H(r)),P(e,t,r)}function E(e,t,r){if(!z(t))throw new TypeError;return M(r)||(r=H(r)),I(e,t,r)}function k(e,t){if(!z(e))throw new TypeError;return M(t)||(t=H(t)),N(e,t)}function C(e,t){if(!z(e))throw new TypeError;return M(t)||(t=H(t)),F(e,t)}function D(e,t,r){if(!z(t))throw new TypeError;if(M(r)||(r=H(r)),!z(t))throw new TypeError;M(r)||(r=H(r));var n=ae(t,r,!1);return!M(n)&&n.OrdinaryDeleteMetadata(e,t,r)}function T(e,t){for(var r=e.length-1;r>=0;--r){var n=(0,e[r])(t);if(!M(n)&&!j(n)){if(!Q(n))throw new TypeError;t=n}}return t}function x(e,t,r,n){for(var i=e.length-1;i>=0;--i){var s=(0,e[i])(t,r,n);if(!M(s)&&!j(s)){if(!z(s))throw new TypeError;n=s}}return n}function O(e,t,r){if(A(e,t,r))return!0;var n=re(t);return!j(n)&&O(e,n,r)}function A(e,t,r){var n=ae(t,r,!1);return!M(n)&&U(n.OrdinaryHasOwnMetadata(e,t,r))}function P(e,t,r){if(A(e,t,r))return I(e,t,r);var n=re(t);return j(n)?void 0:P(e,n,r)}function I(e,t,r){var n=ae(t,r,!1);if(!M(n))return n.OrdinaryGetOwnMetadata(e,t,r)}function R(e,t,r,n){ae(r,n,!0).OrdinaryDefineOwnMetadata(e,t,r,n)}function N(e,t){var r=F(e,t),n=re(e);if(null===n)return r;var i=N(n,t);if(i.length<=0)return r;if(r.length<=0)return i;for(var s=new d,o=[],a=0,l=r;a<l.length;a++){var u=l[a];s.has(u)||(s.add(u),o.push(u))}for(var c=0,h=i;c<h.length;c++)u=h[c],s.has(u)||(s.add(u),o.push(u));return o}function F(e,t){var r=ae(e,t,!1);return r?r.OrdinaryOwnMetadataKeys(e,t):[]}function L(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function M(e){return void 0===e}function j(e){return null===e}function B(e){return"symbol"==typeof e}function z(e){return"object"==typeof e?null!==e:"function"==typeof e}function V(e,t){switch(L(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var r=3===t?"string":5===t?"number":"default",n=K(e,i);if(void 0!==n){var s=n.call(e,r);if(z(s))throw new TypeError;return s}return $(e,"default"===r?"number":r)}function $(e,t){if("string"===t){var r=e.toString;if(W(r)&&!z(i=r.call(e)))return i;if(W(n=e.valueOf)&&!z(i=n.call(e)))return i}else{var n;if(W(n=e.valueOf)&&!z(i=n.call(e)))return i;var i,s=e.toString;if(W(s)&&!z(i=s.call(e)))return i}throw new TypeError}function U(e){return!!e}function q(e){return""+e}function H(e){var t=V(e,3);return B(t)?t:q(t)}function G(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function W(e){return"function"==typeof e}function Q(e){return"function"==typeof e}function Z(e){switch(L(e)){case 3:case 4:return!0;default:return!1}}function Y(e,t){return e===t||e!=e&&t!=t}function K(e,t){var r=e[t];if(null!=r){if(!W(r))throw new TypeError;return r}}function X(e){var t=K(e,s);if(!W(t))throw new TypeError;var r=t.call(e);
vendor: 7,603 bytes, line 2
2if(!z(r))throw new TypeError;return r}function J(e){return e.value}function ee(e){var t=e.next();return!t.done&&t}function te(e){var t=e.return;t&&t.call(e)}function re(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===c||t!==c)return t;var r=e.prototype,n=r&&Object.getPrototypeOf(r);if(null==n||n===Object.prototype)return t;var i=n.constructor;return"function"!=typeof i||i===e?t:i}function ne(){var e;!M(f)&&typeof t.Reflect<"u"&&!(f in t.Reflect)&&"function"==typeof t.Reflect.defineMetadata&&(e=oe(t.Reflect));var r,n,i,s=new p,o={registerProvider:a,getProvider:u,setProvider:m};return o;function a(t){if(!Object.isExtensible(o))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case M(r):r=t;break;case r===t:break;case M(n):n=t;break;case n===t:break;default:void 0===i&&(i=new d),i.add(t)}}function l(t,s){if(!M(r)){if(r.isProviderFor(t,s))return r;if(!M(n)){if(n.isProviderFor(t,s))return r;if(!M(i))for(var o=X(i);;){var a=ee(o);if(!a)return;var l=J(a);if(l.isProviderFor(t,s))return te(o),l}}}if(!M(e)&&e.isProviderFor(t,s))return e}function u(e,t){var r,n=s.get(e);return M(n)||(r=n.get(t)),M(r)&&(M(r=l(e,t))||(M(n)&&(n=new h,s.set(e,n)),n.set(t,r))),r}function c(e){if(M(e))throw new TypeError;return r===e||n===e||!M(i)&&i.has(e)}function m(e,t,r){if(!c(r))throw new Error("Metadata provider not registered.");var n=u(e,t);if(n!==r){if(!M(n))return!1;var i=s.get(e);M(i)&&(i=new h,s.set(e,i)),i.set(t,r)}return!0}}function ie(){var e;return!M(f)&&z(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[f]),M(e)&&(e=ne()),!M(f)&&z(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,f,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}function se(e){var t=new p,r={isProviderFor:function(e,r){var n=t.get(e);return!M(n)&&n.has(r)},OrdinaryDefineOwnMetadata:o,OrdinaryHasOwnMetadata:i,OrdinaryGetOwnMetadata:s,OrdinaryOwnMetadataKeys:a,OrdinaryDeleteMetadata:l};return m.registerProvider(r),r;function n(n,i,s){var o=t.get(n),a=!1;if(M(o)){if(!s)return;o=new h,t.set(n,o),a=!0}var l=o.get(i);if(M(l)){if(!s)return;if(l=new h,o.set(i,l),!e.setProvider(n,i,r))throw o.delete(i),a&&t.delete(n),new Error("Wrong provider for target.")}return l}function i(e,t,r){var i=n(t,r,!1);return!M(i)&&U(i.has(e))}function s(e,t,r){var i=n(t,r,!1);if(!M(i))return i.get(e)}function o(e,t,r,i){n(r,i,!0).set(e,t)}function a(e,t){var r=[],i=n(e,t,!1);if(M(i))return r;for(var s=X(i.keys()),o=0;;){var a=ee(s);if(!a)return r.length=o,r;var l=J(a);try{r[o]=l}catch(u){try{te(s)}finally{throw u}}o++}}function l(e,r,i){var s=n(r,i,!1);if(M(s)||!s.delete(e))return!1;if(0===s.size){var o=t.get(r);M(o)||(o.delete(i),0===o.size&&t.delete(o))}return!0}}function oe(e){var t=e.defineMetadata,r=e.hasOwnMetadata,n=e.getOwnMetadata,i=e.getOwnMetadataKeys,s=e.deleteMetadata,o=new p;return{isProviderFor:function(e,t){var r=o.get(e);return!(M(r)||!r.has(t))||!!i(e,t).length&&(M(r)&&(r=new d,o.set(e,r)),r.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:r,OrdinaryGetOwnMetadata:n,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:s}}function ae(e,t,r){var n=m.getProvider(e,t);if(!M(n))return n;if(r){if(m.setProvider(e,t,g))return g;throw new Error("Illegal state.")}}function le(){var e={},t=[],r=function(){function e(e,t,r){this._index=0,this._keys=e,this._values=t,this._selector=r}return e.prototype["@@iterator"]=function(){return this},e.prototype[s]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var r=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:r,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var r=this._find(e,!0);return this._values[r]=t,this},t.prototype.delete=function(t){var r=this._find(t,!1);if(r>=0){for(var n=this._keys.length,i=r+1;i<n;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,Y(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new r(this._keys,this._values,n)},t.prototype.values=function(){return new r(this._keys,this._values,i)},t.prototype.entries=function(){return new r(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[s]=function(){return this.entries()},t.prototype._find=function(e,t){if(!Y(this._cacheKey,e)){this._cacheIndex=-1;for(var r=0;r<this._keys.length;r++)if(Y(this._keys[r],e)){this._cacheIndex=r;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function n(e,t){return e}function i(e,t){return t}function o(e,t){return[e,t]}}function ue(){return function(){function e(){this._map=new h}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[s]=function(){return this.keys()},e}()}function ce(){var e=16,t=u.create(),n=i();return function(){function e(){this._key=i()}return e.prototype.has=function(e){var t=s(e,!1);return void 0!==t&&u.has(t,this._key)},e.prototype.get=function(e){var t=s(e,!1);return void 0!==t?u.get(t,this._key):void 0},e.prototype.set=function(e,t){return s(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=s(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=i()},e}();function i(){var e;do{e="@@WeakMap@@"+l()}while(u.has(t,e));return t[e]=!0,e}function s(e,t){if(!r.call(e,n)){if(!t)return;Object.defineProperty(e,n,{value:u.create()})}return e[n]}function o(e,t){for(var r=0;r<t;++r)e[r]=255*Math.random()|0;return e}function a(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return typeof crypto<"u"?crypto.getRandomValues(t):typeof msCrypto<"u"?msCrypto.getRandomValues(t):o(t,e),t}return o(new Array(e),e)}function l(){var t=a(e);t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var r="",n=0;n<e;++n){var i=t[n];(4===n||6===n||8===n)&&(r+="-"),i<16&&(r+="0"),r+=i.toString(16).toLowerCase()}return r}}function he(e){return e.__=void 0,delete e.__,e}e("decorate",y),e("metadata",v),e("defineMetadata",b),e("hasMetadata",_),e("hasOwnMetadata",w),e("getMetadata",S),e("getOwnMetadata",E),e("getMetadataKeys",k),e("getOwnMetadataKeys",C),e("deleteMetadata",D)}(n,e),typeof e.Reflect>"u"&&(e.Reflect=t)}()},()=>(o||s((o={exports:{}}
2).exports,o),o.exports)),f=globalThis;function m(e){return(f.__Zone_symbol_prefix||"__zone_symbol__")+e}var g=Object.getOwnPropertyDescriptor,y=Object.defineProperty,v=Object.getPrototypeOf,b=Object.create,_=Array.prototype.slice,w="addEventListener",S="removeEventListener",E=m(w),k=m(S),C="true",D="false",T=m("");function x(e,t){return Zone.current.wrap(e,t)}function O(e,t,r,n,i){return Zone.current.scheduleMacroTask(e,t,r,n,i)}var A=m,P=typeof window<"u",I=P?window:void 0,R=P&&I||globalThis;function N(e,t){for(let r=e.length-1;r>=0;r--)"function"==typeof e[r]&&(e[r]=x(e[r],t+"_"+r));return e}function F(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}var L=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,M=!("nw"in R)&&typeof R.process<"u"&&"[object process]"===R.process.toString(),j=!M&&!L&&!(!P||!I.HTMLElement),B=typeof R.process<"u"&&"[object process]"===R.process.toString()&&!L&&!(!P||!I.HTMLElement),z={},V=A("enable_beforeunload"),$=function(e){if(!(e=e||R.event))return;let t=z[e.type];t||(t=z[e.type]=A("ON_PROPERTY"+e.type));let r,n=this||e.target||R,i=n[t];if(j&&n===I&&"error"===e.type){let t=e;r=i&&i.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=i&&i.apply(this,arguments),"beforeunload"===e.type&&R[V]&&"string"==typeof r?e.returnValue=r:null!=r&&!r&&e.preventDefault();return r};function U(e,t,r){let n=g(e,t);if(!n&&r&&g(r,t)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let i=A("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete n.writable,delete n.value;let s=n.get,o=n.set,a=t.slice(2),l=z[a];l||(l=z[a]=A("ON_PROPERTY"+a)),n.set=function(t){let r=this;!r&&e===R&&(r=R),r&&("function"==typeof r[l]&&r.removeEventListener(a,$),o&&o.call(r,null),r[l]=t,"function"==typeof t&&r.addEventListener(a,$,!1))},n.get=function(){let r=this;if(!r&&e===R&&(r=R),!r)return null;let i=r[l];if(i)return i;if(s){let e=s.call(this);if(e)return n.set.call(this,e),"function"==typeof r.removeAttribute&&r.removeAttribute(t),e}return null},y(e,t,n),e[i]=!0}function q(e,t,r){if(t)for(let n=0;n<t.length;n++)U(e,"on"+t[n],r);else{let t=[];for(let r in e)"on"==r.slice(0,2)&&t.push(r);for(let n=0;n<t.length;n++)U(e,t[n],r)}}var H=A("originalInstance");function G(e){let t=R[e];if(!t)return;R[A(e)]=t,R[e]=function(){let r=N(arguments,e);switch(r.length){case 0:this[H]=new t;break;case 1:this[H]=new t(r[0]);break;case 2:this[H]=new t(r[0],r[1]);break;case 3:this[H]=new t(r[0],r[1],r[2]);break;case 4:this[H]=new t(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}},Z(R[e],t);let r,n=new t(function(){});for(r in n)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof n[t]?R[e].prototype[t]=function(){return this[H][t].apply(this[H],arguments)}
2:y(R[e].prototype,t,{set:function(r){"function"==typeof r?(this[H][t]=x(r,e+"."+t),Z(this[H][t],r)):this[H][t]=r},get:function(){return this[H][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(R[e][r]=t[r])}function W(e,t,r){let n=e;for(;n&&!n.hasOwnProperty(t);)n=v(n);!n&&e[t]&&(n=e);let i=A(t),s=null;if(n&&(!(s=n[i])||!n.hasOwnProperty(i))){if(s=n[i]=n[t],F(n&&g(n,t))){let e=r(s,i,t);n[t]=function(){return e(this,arguments)},Z(n[t],s)}}return s}function Q(e,t,r){let n=null;function i(e){let t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},n.apply(t.target,t.args),e}n=W(e,t,e=>function(t,n){let s=r(t,n);return s.cbIdx>=0&&"function"==typeof n[s.cbIdx]?O(s.name,n[s.cbIdx],s,i):e.apply(t,n)})}function Z(e,t){e[A("OriginalDelegate")]=t}var Y=!1,K=!1;function X(){if(Y)return K;Y=!0;try{let e=I.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(K=!0)}catch{}return K}function J(e){return"function"==typeof e}function ee(e){return"number"==typeof e}var te=!1;if(typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){te=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{te=!1}var re={useG:!0},ne={},ie={},se=new RegExp("^"+T+"(\\w+)(true|false)$"),oe=A("propagationStopped");function ae(e,t){let r=(t?t(e):e)+D,n=(t?t(e):e)+C,i=T+r,s=T+n;ne[e]={},ne[e][D]=i,ne[e][C]=s}function le(e,t,r,n){let i=n&&n.add||w,s=n&&n.rm||S,o=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",l=A(i),u="."+i+":",c="prependListener",h="."+c+":",d=function(e,t,r){if(e.isRemoved)return;let n,i=e.callback;"object"==typeof i&&i.handleEvent&&(e.callback=e=>i.handleEvent(e),e.originalDelegate=i);try{e.invoke(e,t,[r])}catch(a){n=a}let o=e.options;if(o&&"object"==typeof o&&o.once){let n=e.originalDelegate?e.originalDelegate:e.callback;t[s].call(t,r.type,n,o)}return n};function p(r,n,i){if(!(n=n||e.event))return;let s=r||n.target||e,o=s[ne[n.type][i?C:D]];if(o){let e=[];
2if(1===o.length){let t=d(o[0],s,n);t&&e.push(t)}else{let t=o.slice();for(let r=0;r<t.length&&(!n||!0!==n[oe]);r++){let i=d(t[r],s,n);i&&e.push(i)}}if(1===e.length)throw e[0];for(let r=0;r<e.length;r++){let n=e[r];t.nativeScheduleMicroTask(()=>{throw n})}}}let f=function(e){return p(this,e,!1)},m=function(e){return p(this,e,!0)};function g(t,r){if(!t)return!1;let n=!0;r&&void 0!==r.useG&&(n=r.useG);let d=r&&r.vh,p=!0;r&&void 0!==r.chkDup&&(p=r.chkDup);let g=!1;r&&void 0!==r.rt&&(g=r.rt);let y=t;for(;y&&!y.hasOwnProperty(i);)y=v(y);if(!y&&t[i]&&(y=t),!y||y[l])return!1;let b,_=r&&r.eventNameToString,w={},S=y[l]=y[i],E=y[A(s)]=y[s],k=y[A(o)]=y[o],x=y[A(a)]=y[a];r&&r.prepend&&(b=y[A(r.prepend)]=y[r.prepend]);let O=n?function(e){if(!w.isExisting)return S.call(w.target,w.eventName,w.capture?m:f,w.options)}:function(e){return S.call(w.target,w.eventName,e.invoke,w.options)},P=n?function(e){if(!e.isRemoved){let t,r=ne[e.eventName];r&&(t=r[e.capture?C:D]);let n=t&&e.target[t];if(n)for(let i=0;i<n.length;i++)if(n[i]===e){n.splice(i,1),e.isRemoved=!0,e.removeAbortListener&&(e.removeAbortListener(),e.removeAbortListener=null),0===n.length&&(e.allRemoved=!0,e.target[t]=null);break}}if(e.allRemoved)return E.call(e.target,e.eventName,e.capture?m:f,e.options)}:function(e){return E.call(e.target,e.eventName,e.invoke,e.options)},I=r&&r.diff?r.diff:function(e,t){let r=typeof t;return"function"===r&&e.callback===t||"object"===r&&e.originalDelegate===t},R=Zone[A("UNPATCHED_EVENTS")],N=e[A("PASSIVE_EVENTS")];let F=function(t,i,s,o,a=!1,l=!1){return function(){let u=this||e,c=arguments[0];r&&r.transferEventName&&(c=r.transferEventName(c));let h=arguments[1];if(!h)return t.apply(this,arguments);if(M&&"uncaughtException"===c)return t.apply(this,arguments);let f=!1;if("function"!=typeof h){if(!h.handleEvent)return t.apply(this,arguments);f=!0}if(d&&!d(t,h,u,arguments))return;let m=te&&!!N&&-1!==N.indexOf(c),g=function(e){if("object"==typeof e&&null!==e){let t={...e};return e.signal&&(t.signal=e.signal),t}return e}(function(e,t){return!te&&"object"==typeof e&&e?!!e.capture:te&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?{...e,passive:!0}:e:{passive:!0}:e}(arguments[2],m)),y=g?.signal;if(y?.aborted)return;if(R)for(let e=0;e<R.length;e++)if(c===R[e])return m?t.call(u,c,h,g):t.apply(this,arguments);let v=!!g&&("boolean"==typeof g||g.capture),b=!(!g||"object"!=typeof g)&&g.once,S=Zone.current,E=ne[c];E||(ae(c,_),E=ne[c]);let k=E[v?C:D],T=u[k],x=!1;if(T){if(x=!0,p)for(let e=0;e<T.length;e++)if(I(T[e],h))return}else T=u[k]=[];let O,A=u.constructor.name,P=ie[A];P&&(O=P[c]),O||(O=A+i+(_?_(c):c)),w.options=g,b&&(w.options.once=!1),w.target=u,w.capture=v,w.eventName=c,w.isExisting=x;let F=n?re:void 0;F&&(F.taskData=w),y&&(w.options.signal=void 0);let L=S.scheduleEventTask(O,h,F,s,o);if(y){w.options.signal=y;let e=()=>L.zone.cancelTask(L);t.call(y,"abort",e,{once:!0}),L.removeAbortListener=()=>y.removeEventListener("abort",e)}return w.target=null,F&&(F.taskData=null),b&&(w.options.once=!0),!te&&"boolean"==typeof L.options||(L.options=g),L.target=u,L.capture=v,L.eventName=c,f&&(L.originalDelegate=h),l?T.unshift(L):T.push(L),a?u:void 0}};return y[i]=F(S,u,O,P,g),b&&(y[c]=F(b,h,function(e){return b.call(w.target,w.eventName,e.invoke,w.options)},P,g,!0)),y[s]=function(){let t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));let i=arguments[2],s=!!i&&("boolean"==typeof i||i.capture),o=arguments[1];if(!o)return E.apply(this,arguments);if(d&&!d(E,o,t,arguments))return;let a,l=ne[n];l&&(a=l[s?C:D]);let u=a&&t[a];if(u)for(let e=0;e<u.length;e++){let r=u[e];if(I(r,o)){if(u.splice(e,1),r.isRemoved=!0,0===u.length&&(r.allRemoved=!0,t[a]=null,!s&&"string"==typeof n)){t[T+"ON_PROPERTY"+n]=null}return r.zone.cancelTask(r),g?t:void 0}}return E.apply(this,arguments)},y[o]=function(){let t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));let i=[],s=ue(t,_?_(n):n);for(let e=0;e<s.length;e++){let t=s[e],r=t.originalDelegate?t.originalDelegate:t.callback;i.push(r)}return i}
2,y[a]=function(){let t=this||e,n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));let e=ne[n];if(e){let r=e[D],i=e[C],o=t[r],a=t[i];if(o){let e=o.slice();for(let t=0;t<e.length;t++){let r=e[t],i=r.originalDelegate?r.originalDelegate:r.callback;this[s].call(this,n,i,r.options)}}if(a){let e=a.slice();for(let t=0;t<e.length;t++){let r=e[t],i=r.originalDelegate?r.originalDelegate:r.callback;this[s].call(this,n,i,r.options)}}}}else{let e=Object.keys(t);for(let t=0;t<e.length;t++){let r=e[t],n=se.exec(r),i=n&&n[1];i&&"removeListener"!==i&&this[a].call(this,i)}this[a].call(this,"removeListener")}if(g)return this},Z(y[i],S),Z(y[s],E),x&&Z(y[a],x),k&&Z(y[o],k),!0}let y=[];for(let v=0;v<r.length;v++)y[v]=g(r[v],n);return y}function ue(e,t){if(!t){let r=[];for(let n in e){let i=se.exec(n),s=i&&i[1];if(s&&(!t||s===t)){let t=e[n];if(t)for(let e=0;e<t.length;e++)r.push(t[e])}}return r}let r=ne[t];r||(ae(t),r=ne[t]);let n=e[r[D]],i=e[r[C]];return n?i?n.concat(i):n.slice():i?i.slice():[]}function ce(e,t){let r=e.Event;r&&r.prototype&&t.patchMethod(r.prototype,"stopImmediatePropagation",e=>function(t,r){t[oe]=!0,e&&e.apply(t,r)})}var he=A("zoneTask");function de(e,t,r,n){let i=null,s=null;r+=n;let o={};function a(t){let r=t.data;r.args[0]=function(){return t.invoke.apply(this,arguments)};let n=i.apply(e,r.args);return ee(n)?r.handleId=n:(r.handle=n,r.isRefreshable=J(n.refresh)),t}function l(t){let{handle:r,handleId:n}=t.data;return s.call(e,r??n)}i=W(e,t+=n,r=>
2function(i,s){if(J(s[0])){let e={isRefreshable:!1,isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?s[1]||0:void 0,args:s},r=s[0];s[0]=function(){try{return r.apply(this,arguments)}finally{let{handle:t,handleId:r,isPeriodic:n,isRefreshable:i}=e;!n&&!i&&(r?delete o[r]:t&&(t[he]=null))}};let i=O(t,s[0],e,a,l);if(!i)return i;let{handleId:u,handle:c,isRefreshable:h,isPeriodic:d}=i.data;if(u)o[u]=i;else if(c&&(c[he]=i,h&&!d)){let e=c.refresh;c.refresh=function(){let{zone:t,state:r}=i;return"notScheduled"===r?(i._state="scheduled",t._updateTaskCount(i,1)):"running"===r&&(i._state="scheduling"),e.call(this)}}return c??u??i}return r.apply(e,s)}),s=W(e,r,t=>function(r,n){let i,s=n[0];ee(s)?(i=o[s],delete o[s]):(i=s?.[he],i?s[he]=null:i=s),i?.type?i.cancelFn&&i.zone.cancelTask(i):t.apply(e,n)})}function pe(e,t,r){if(!r||0===r.length)return t;let n=r.filter(t=>t.target===e);if(!n||0===n.length)return t;let i=n[0].ignoreProperties;return t.filter(e=>-1===i.indexOf(e))}function fe(e,t,r,n){if(!e)return;q(e,pe(e,t,r),n)}function me(e){return Object.getOwnPropertyNames(e).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function ge(e,t){if(M&&!B||Zone[e.symbol("patchEvents")])return;let r=t.__Zone_ignore_on_properties,n=[];if(j){let e=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let t=function(){try{let e=I.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:e,ignoreProperties:["error"]}]:[];fe(e,me(e),r&&r.concat(t),v(e))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<n.length;i++){let e=t[n[i]];e&&e.prototype&&fe(e.prototype,me(e.prototype),r)}}function ye(e){e.__load_patch("ZoneAwarePromise",(e,t,r)=>{let n=Object.getOwnPropertyDescriptor,i=Object.defineProperty;let s=r.symbol,o=[],a=!1!==e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=s("Promise"),u=s("then");r.onUnhandledError=e=>{if(r.showUncaughtError()){let t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},r.microtaskDrainDone=()=>{for(;o.length;){let t=o.shift();try{t.zone.runGuarded(()=>{throw t.throwOriginal?t.rejection:t})}catch(e){h(e)}}};let c=s("unhandledPromiseRejectionHandler");function h(e){r.onUnhandledError(e);try{let r=t[c];"function"==typeof r&&r.call(this,e)}catch{}}function d(e){return e&&e.then}function p(e){return e}function f(e){return R.reject(e)}let m=s("state"),g=s("value"),y=s("finally"),v=s("parentPromiseValue"),b=s("parentPromiseState"),_=null,w=!0,S=!1;function E(e,t){return r=>{try{T(e,t,r)}catch(n){T(e,!1,n)}}}let k=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},C="Promise resolved with itself",D=s("currentTaskTrace");function T(e,n,s){let l=k();if(e===s)throw new TypeError(C);if(e[m]===_){let h=null;try{("object"==typeof s||"function"==typeof s)&&(h=s&&s.then)}catch(u){return l(()=>{T(e,!1,u)})(),e}if(n!==S&&s instanceof R&&s.hasOwnProperty(m)&&s.hasOwnProperty(g)&&s[m]!==_)O(s),T(e,s[m],s[g]);else if(n!==S&&"function"==typeof h)try{h.call(s,l(E(e,n)),l(E(e,!1)))}catch(u){l(()=>{T(e,!1,u)})()}else{e[m]=n;let l=e[g];if(e[g]=s,e[y]===y&&n===w&&(e[m]=e[b],e[g]=e[v]),n===S&&s instanceof Error){let e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&i(s,D,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<l.length;)A(e,l[t++],l[t++],l[t++],l[t++]);if(0==l.length&&n==S){e[m]=0;let n=s;try{throw new Error("Uncaught (in promise): "+function(e){if(e&&e.toString===Object.prototype.toString)return(e.constructor&&e.constructor.name||"")+": "+JSON.stringify(e);return e?e.toString():Object.prototype.toString.call(e)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(c){n=c}a&&(n.throwOriginal=!0),n.rejection=s,n.promise=e,n.zone=t.current,n.task=t.currentTask,o.push(n),r.scheduleMicroTask()}}}return e}let x=s("rejectionHandledHandler");function O(e){if(0===e[m]){try{let r=t[x];r&&"function"==typeof r&&r.call(this,{rejection:e[g],promise:e})}catch{}e[m]=S;for(let t=0;t<o.length;t++)e===o[t].promise&&o.splice(t,1)}}function A(e,t,r,n,i){O(e);let s=e[m],o=s?"function"==typeof n?n:p:"function"==typeof i?i:f;t.scheduleMicroTask("Promise.then",()=>{try{let n=e[g],i=!!r&&y===r[y];i&&(r[v]=n,r[b]=s);let a=t.run(o,void 0,i&&o!==f&&o!==p?[]:[n]);T(r,!0,a)}catch(n){T(r,!1,n)}},r)}let P=function(){},I=e.AggregateError;class R{static toString(){return"function ZoneAwarePromise() { [native code] }"}
2static resolve(e){return e instanceof R?e:T(new this(null),w,e)}static reject(e){return T(new this(null),S,e)}static withResolvers(){let e={};return e.promise=new R((t,r)=>{e.resolve=t,e.reject=r}),e}static any(e){if(!e||"function"!=typeof e[Symbol.iterator])return Promise.reject(new I([],"All promises were rejected"));let t=[],r=0;try{for(let n of e)r++,t.push(R.resolve(n))}catch{return Promise.reject(new I([],"All promises were rejected"))}if(0===r)return Promise.reject(new I([],"All promises were rejected"));let n=!1,i=[];return new R((e,s)=>{for(let o=0;o<t.length;o++)t[o].then(t=>{n||(n=!0,e(t))},e=>{i.push(e),r--,0===r&&(n=!0,s(new I(i,"All promises were rejected")))})})}static race(e){let t,r,n=new this((e,n)=>{t=e,r=n});function i(e){t(e)}function s(e){r(e)}for(let o of e)d(o)||(o=this.resolve(o)),o.then(i,s);return n}static all(e){return R.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof R?this:R).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let r,n,i=new this((e,t)=>{r=e,n=t}),s=2,o=0,a=[];for(let u of e){d(u)||(u=this.resolve(u));let e=o;try{u.then(n=>{a[e]=t?t.thenCallback(n):n,s--,0===s&&r(a)},i=>{t?(a[e]=t.errorCallback(i),s--,0===s&&r(a)):n(i)})}catch(l){n(l)}s++,o++}return s-=2,0===s&&r(a),i}constructor(e){let t=this;
2if(!(t instanceof R))throw new Error("Must be an instanceof Promise.");t[m]=_,t[g]=[];try{let r=k();e&&e(r(E(t,w)),r(E(t,S)))}catch(r){T(t,!1,r)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return R}then(e,r){let n=this.constructor?.[Symbol.species];(!n||"function"!=typeof n)&&(n=this.constructor||R);let i=new n(P),s=t.current;return this[m]==_?this[g].push(s,i,e,r):A(this,s,i,e,r),i}catch(e){return this.then(null,e)}finally(e){let r=this.constructor?.[Symbol.species];(!r||"function"!=typeof r)&&(r=R);let n=new r(P);n[y]=y;let i=t.current;return this[m]==_?this[g].push(i,n,e,e):A(this,i,n,e,e),n}}R.resolve=R.resolve,R.reject=R.reject,R.race=R.race,R.all=R.all;let N=e[l]=e.Promise;e.Promise=R;let F=s("thenPatched");function L(e){let t=e.prototype,r=n(t,"then");if(r&&(!1===r.writable||!r.configurable))return;let i=t.then;t[u]=i,e.prototype.then=function(e,t){return new R((e,t)=>{i.call(this,e,t)}).then(e,t)},e[F]=!0}return r.patchThen=L,N&&(L(N),W(e,"fetch",e=>function(e){return function(t,r){let n=e.apply(t,r);if(n instanceof R)return n;let i=n.constructor;return i[F]||L(i),n}}(e))),Promise[t.__symbol__("uncaughtPromiseErrors")]=o,R})}function ve(e,t,r,n,i){let s=Zone.__symbol__(n);if(t[s])return;let o=t[s]=t[n];t[n]=function(s,a,l){return a&&a.prototype&&i.forEach(function(t){let i=`${r}.${n}::`+t,s=a.prototype;try{if(s.hasOwnProperty(t)){let r=e.ObjectGetOwnPropertyDescriptor(s,t);r&&r.value?(r.value=e.wrapWithCurrentZone(r.value,i),e._redefineProperty(a.prototype,t,r)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],i))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],i))}catch{}}),o.call(t,s,a,l)},e.attachOriginToPatched(t[n],o)}var be=function(){let e=globalThis,t=!0===e[m("forceDuplicateZoneCheck")];if(e.Zone&&(t||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function(){let e=f.performance;function t(t){e&&e.mark&&e.mark(t)}function r(t,r){e&&e.measure&&e.measure(t,r)}t("Zone");class n{static{this.__symbol__=m}static assertZonePatched(){if(f.Promise!==x.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 e=n.current;for(;e.parent;)e=e.parent;return e}static get current(){return A.zone}static get currentTask(){return P}static __load_patch(e,i,s=!1){if(x.hasOwnProperty(e)){let t=!0===f[m("forceDuplicateZoneCheck")];if(!s&&t)throw Error("Already loaded patch: "+e)}else if(!f["__Zone_disable_"+e]){let s="Zone:"+e;t(s),x[e]=i(f,n,O),r(s,s)}}get parent(){return this._parent}get name(){return this._name}constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,t)}get(e){let t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);let r=this._zoneDelegate.intercept(this,e,t),n=this;return function(){return n.runGuarded(r,this,arguments,t)}}run(e,t,r,n){A={parent:A,zone:this};try{return this._zoneDelegate.invoke(this,e,t,r,n)}finally{A=A.parent}}runGuarded(e,t=null,r,n){A={parent:A,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,r,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{A=A.parent}}runTask(e,t,r){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");let n=e,{type:i,data:{isPeriodic:s=!1,isRefreshable:o=!1}={}}=e;if(e.state===b&&(i===T||i===D))return;let a=e.state!=S;a&&n._transitionTo(S,w);let l=P;P=n,A={parent:A,zone:this};try{i==D&&e.data&&!s&&!o&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,t,r)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{let t=e.state;if(t!==b&&t!==k)if(i==T||s||o&&t===_)a&&n._transitionTo(w,S,_);else{let e=n._zoneDelegates;this._updateTaskCount(n,-1),a&&n._transitionTo(b,S,b),o&&(n._zoneDelegates=e)}A=A.parent,P=l}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(_,b);let t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(k,_,b),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==_&&e._transitionTo(w,_),e}scheduleMicroTask(e,t,r,n){return this.scheduleTask(new o(C,e,t,r,n,void 0))}scheduleMacroTask(e,t,r,n,i){return this.scheduleTask(new o(D,e,t,r,n,i)
2)}scheduleEventTask(e,t,r,n,i){return this.scheduleTask(new o(T,e,t,r,n,i))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");if(e.state===w||e.state===S){e._transitionTo(E,w,S);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(k,E),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(b,E),e.runCount=-1,e}}_updateTaskCount(e,t){let r=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let n=0;n<r.length;n++)r[n]._updateTaskCount(e.type,t)}}let i={name:"",onHasTask:(e,t,r,n)=>e.hasTask(r,n),onScheduleTask:(e,t,r,n)=>e.scheduleTask(r,n),onInvokeTask:(e,t,r,n,i,s)=>e.invokeTask(r,n,i,s),onCancelTask:(e,t,r,n)=>e.cancelTask(r,n)};class s{get zone(){return this._zone}constructor(e,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=e,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let n=r&&r.onHasTask,s=t&&t._hasTaskZS;(n||s)&&(this._hasTaskZS=n?r:i,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this._zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new n(e,t)}intercept(e,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,r):t}invoke(e,t,r,n,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,r,n,i):t.apply(r,n)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=C)throw new Error("Task is missing scheduleFn.");g(t)}return r}invokeTask(e,t,r,n){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,r,n):t.callback.apply(r,n)}cancelTask(e,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(r){this.handleError(e,r)}}_updateTaskCount(e,t){let r=this._taskCounts,n=r[e],i=r[e]=n+t;if(i<0)throw new Error("More tasks executed then were scheduled.");
2if(0==n||0==i){let t={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:e};this.hasTask(this._zone,t)}}}class o{constructor(e,t,r,n,i,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=t,this.data=n,this.scheduleFn=i,this.cancelFn=s,!r)throw new Error("callback is not defined");this.callback=r;let a=this;e===T&&n&&n.useG?this.invoke=o.invokeTask:this.invoke=function(){return o.invokeTask.call(f,a,this,arguments)}}static invokeTask(e,t,r){e||(e=this),I++;try{return e.runCount++,e.zone.runTask(e,t,r)}finally{1==I&&y(),I--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(b,_)}_transitionTo(e,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=e,e==b&&(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}}}let a,l=m("setTimeout"),u=m("Promise"),c=m("then"),h=[],d=!1;function p(e){if(a||f[u]&&(a=f[u].resolve(0)),a){let t=a[c];t||(t=a.then),t.call(a,e)}else f[l](e,0)}function g(e){0===I&&0===h.length&&p(y),e&&h.push(e)}function y(){if(!d){for(d=!0;h.length;){let t=h;h=[];for(let r=0;r<t.length;r++){let n=t[r];try{n.zone.runTask(n,null,null)}catch(e){O.onUnhandledError(e)}}}O.microtaskDrainDone(),d=!1}}let v={name:"NO ZONE"},b="notScheduled",_="scheduling",w="scheduled",S="running",E="canceling",k="unknown",C="microTask",D="macroTask",T="eventTask",x={},O={symbol:m,currentZoneFrame:()=>A,onUnhandledError:R,microtaskDrainDone:R,scheduleMicroTask:g,showUncaughtError:()=>!n[m("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:R,patchMethod:()=>R,bindArguments:()=>[],patchThen:()=>R,patchMacroTask:()=>R,patchEventPrototype:()=>R,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>R,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>R,wrapWithCurrentZone:()=>R,filterProperties:()=>[],attachOriginToPatched:()=>R,_redefineProperty:()=>R,patchCallbacks:()=>R,nativeScheduleMicroTask:p},A={parent:null,zone:new n(null,null)},P=null,I=0;function R(){}return r("Zone","Zone"),n}(),e.Zone}();!function(e){ye(e),function(e){e.__load_patch("toString",e=>{let t=Function.prototype.toString,r=A("OriginalDelegate"),n=A("Promise"),i=A("Error"),s=function(){if("function"==typeof this){let s=this[r];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){let r=e[n];if(r)return t.call(r)}if(this===Error){let r=e[i];if(r)return t.call(r)}}return t.call(this)};s[r]=t,Function.prototype.toString=s;let o=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":o.call(this)}})}(e),function(e){e.__load_patch("util",(e,t,r)=>{let n=me(e);r.patchOnProperties=q,r.patchMethod=W,r.bindArguments=N,r.patchMacroTask=Q;let i=t.__symbol__("BLACK_LISTED_EVENTS"),s=t.__symbol__("UNPATCHED_EVENTS");e[s]&&(e[i]=e[s]),e[i]&&(t[i]=t[s]=e[i]),r.patchEventPrototype=ce,r.patchEventTarget=le,r.isIEOrEdge=X,r.ObjectDefineProperty=y,r.ObjectGetOwnPropertyDescriptor=g,r.ObjectCreate=b,r.ArraySlice=_,r.patchClass=G,r.wrapWithCurrentZone=x,r.filterProperties=pe,r.attachOriginToPatched=Z,r._redefineProperty=Object.defineProperty,r.patchCallbacks=ve,r.getGlobalObjects=()=>({globalSources:ie,zoneSymbolEventNames:ne,eventNames:n,isBrowser:j,isMix:B,isNode:M,TRUE_STR:C,FALSE_STR:D,ZONE_SYMBOL_PREFIX:T,ADD_EVENT_LISTENER_STR:w,REMOVE_EVENT_LISTENER_STR:S})})}(e)}(be),function(e){e.__load_patch("legacy",t=>{let r=t[e.__symbol__("legacyPatch")];r&&r()}),e.__load_patch("timers",e=>{let t="clear";de(e,"set",t,"Timeout"),de(e,"set",t,"Interval"),de(e,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",e=>{de(e,"request","cancel","AnimationFrame"),de(e,"mozRequest","mozCancel","AnimationFrame"),de(e,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(e,t)=>{let r=["alert","prompt","confirm"];for(let n=0;n<r.length;n++){W(e,r[n],(r,n,i)=>function(n,s){return t.current.run(r,e,s,i)})}}),e.__load_patch("EventTarget",(e,t,r)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,r),function(e,t){if(Zone[t.symbol("patchEventTarget")])return;let{eventNames:r,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:s,ZONE_SYMBOL_PREFIX:o}=t.getGlobalObjects();for(let l=0;l<r.length;l++){let e=r[l],t=o+(e+s),a=o+(e+i);n[e]={},n[e][s]=t,n[e][i]=a}let a=e.EventTarget;a&&a.prototype&&t.patchEventTarget(e,t,[a&&a.prototype])}(e,r);let n=e.XMLHttpRequestEventTarget;n&&n.prototype&&r.patchEventTarget(e,r,[n.prototype])}),e.__load_patch("MutationObserver",(e,t,r)=>
2{G("MutationObserver"),G("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(e,t,r)=>{G("IntersectionObserver")}),e.__load_patch("FileReader",(e,t,r)=>{G("FileReader")}),e.__load_patch("on_property",(e,t,r)=>{ge(r,e)}),e.__load_patch("customElements",(e,t,r)=>{!function(e,t){let{isBrowser:r,isMix:n}=t.getGlobalObjects();if(!r&&!n||!e.customElements||!("customElements"in e))return;t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(e,r)}),e.__load_patch("XHR",(e,t)=>{!function(e){let l=e.XMLHttpRequest;if(!l)return;let u=l.prototype;let c=u[E],h=u[k];if(!c){let t=e.XMLHttpRequestEventTarget;if(t){let e=t.prototype;c=e[E],h=e[k]}}let d="readystatechange",p="scheduled";function f(e){let n=e.data,o=n.target;o[s]=!1,o[a]=!1;let l=o[i];c||(c=o[E],h=o[k]),l&&h.call(o,d,l);let u=o[i]=()=>{if(o.readyState===o.DONE)if(!n.aborted&&o[s]&&e.state===p){let r=o[t.__symbol__("loadfalse")];if(0!==o.status&&r&&r.length>0){let i=e.invoke;e.invoke=function(){let r=o[t.__symbol__("loadfalse")];for(let t=0;t<r.length;t++)r[t]===e&&r.splice(t,1);!n.aborted&&e.state===p&&i.call(e)},r.push(e)}else e.invoke()}else!n.aborted&&!1===o[s]&&(o[a]=!0)};return c.call(o,d,u),o[r]||(o[r]=e),_.apply(o,n.args),o[s]=!0,e}function m(){}function g(e){let t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}let y=W(u,"open",()=>function(e,t){return e[n]=0==t[2],e[o]=t[1],y.apply(e,t)}),v=A("fetchTaskAborting"),b=A("fetchTaskScheduling"),_=W(u,"send",()=>function(e,r){if(!0===t.current[b]||e[n])return _.apply(e,r);{let t={target:e,url:e[o],isPeriodic:!1,args:r,aborted:!1},n=O("XMLHttpRequest.send",m,t,f,g);e&&!0===e[a]&&!t.aborted&&n.state===p&&n.invoke()}}),w=W(u,"abort",()=>function(e,n){let i=function(e){return e[r]}(e);if(i&&"string"==typeof i.type){if(null==i.cancelFn||i.data&&i.data.aborted)return;i.zone.cancelTask(i)}else if(!0===t.current[v])return w.apply(e,n)})}(e);let r=A("xhrTask"),n=A("xhrSync"),i=A("xhrListener"),s=A("xhrScheduled"),o=A("xhrURL"),a=A("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){let r=e.constructor.name;for(let n=0;n<t.length;n++){let i=t[n],s=e[i];if(s){if(!F(g(e,i)))continue;e[i]=(e=>{let t=function(){return e.apply(this,N(arguments,r+"."+i))};return Z(t,e),t})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(e,t)=>{function r(t){return function(r){ue(e,t).forEach(n=>{let i=e.PromiseRejectionEvent;if(i){let e=new i(t,{promise:r.promise,reason:r.rejection});n.invoke(e)}})}}e.PromiseRejectionEvent&&(t[A("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),t[A("rejectionHandledHandler")]=r("rejectionhandled"))}),e.__load_patch("queueMicrotask",(e,t,r)=>{!function(e,t){t.patchMethod(e,"queueMicrotask",e=>function(e,t){Zone.current.scheduleMicroTask("queueMicrotask",t[0])})}(e,r)})}(be);((e,t,r)=>{r=null!=e?a(h(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of c(t))!d.call(e,i)&&i!==r&&l(e,i,{get:()=>t[i],enumerable:!(n=u(t,i))||n.enumerable})})(!t&&e&&e.__esModule?r:l(r,"default",{value:e,enumerable:!0}),e)})(p());(()=>{var s=Object.create,a=Object.defineProperty,l=Object.defineProperties,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=(e,t,r)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t)=>{for(var r in t||={})f.call(t,r)&&g(e,r,t[r]);if(d)for(var r of d(t))m.call(t,r)&&g(e,r,t[r]);return e},v=(e,t)=>l(e,c(t)),b=(e,t)=>()=>(e&&(t=e(e=0)),t),_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),w=(e,t,r)=>(r=null!=e?s(p(e)):{},((e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of h(t))!f.call(e,i)&&i!==r&&a(e,i,{get:()=>
2t[i],enumerable:!(n=u(t,i))||n.enumerable});return e})(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)),S=(e,t,r)=>new Promise((n,i)=>{var s=e=>{try{a(r.next(e))}catch(t){i(t)}},o=e=>{try{a(r.throw(e))}catch(t){i(t)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(s,o);a((r=r.apply(e,t)).next())}),E=function(e,t){this[0]=e,this[1]=t},k=(e,t,r)=>{var n=(e,t,i,s)=>{try{var o=r[e](t),a=(t=o.value)instanceof E,l=o.done;Promise.resolve(a?t[0]:t).then(r=>a?n("return"===e?e:"next",t[1]?{done:r.done,value:r.value}:r,i,s):i({value:r,done:l})).catch(e=>n("throw",e,i,s))}catch(u){s(u)}},i=e=>s[e]=t=>new Promise((r,i)=>n(e,t,r,i)),s={};return r=r.apply(e,t),s[((e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e))("asyncIterator")]=()=>s,i("next"),i("throw"),i("return"),s};function C(){return O}function D(e){let t=O;return O=e,t}function x(e){return e===A||"ɵNotFound"===e?.name}var O,A,P=b(()=>{"use strict";A=Symbol("NotFound")});function I(e){let t=J;return J=e,t}function R(e){if(ee)throw new Error("");if(null===J)return;J.consumerOnSignalRead(e);let t=J.producersTail;if(void 0!==t&&t.producer===e)return;let r,n=J.recomputing;if(n&&(r=void 0!==t?t.nextProducer:J.producers,void 0!==r&&r.producer===e))return J.producersTail=r,void(r.lastReadVersion=e.version);let i=e.consumersTail;if(void 0!==i&&i.consumer===J&&(!n||function(e,t){let r=t.producersTail;if(void 0!==r){let n=t.producers;do{if(n===e)return!0;if(n===r)break;n=n.nextProducer}while(void 0!==n)}return!1}(i,J)))return;let s=G(J),o={producer:e,consumer:J,nextProducer:r,prevConsumer:i,lastReadVersion:e.version,nextConsumer:void 0};J.producersTail=o,void 0!==t?t.nextProducer=o:J.producers=o,s&&U(e,o)}function N(e){if((!G(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==te)){if(!e.producerMustRecompute(e)&&!V(e))return void j(e);e.producerRecomputeValue(e),j(e)}}function F(e){if(void 0===e.consumers)return;let t=ee;ee=!0;try{for(let t=e.consumers;void 0!==t;t=t.nextConsumer){let e=t.consumer;e.dirty||M(e)}}finally{ee=t}}function L(){return!1!==J?.consumerAllowSignalWrites}function M(e){e.dirty=!0,F(e),e.consumerMarkedDirty?.(e)}function j(e){e.dirty=!1,e.lastCleanEpoch=te}function B(e){return e&&function(e){e.producersTail=void 0,e.recomputing=!0}(e),I(e)}function z(e,t){I(t),e&&function(e){e.recomputing=!1;let t=e.producersTail,r=void 0!==t?t.nextProducer:e.producers;if(void 0!==r){if(G(e))do{r=H(r)}while(void 0!==r);void 0!==t?t.nextProducer=void 0:e.producers=void 0}}(e)}function V(e){for(let t=e.producers;void 0!==t;t=t.nextProducer){let e=t.producer,r=t.lastReadVersion;if(r!==e.version||(N(e),r!==e.version))return!0}return!1}function $(e){if(G(e)){let t=e.producers;for(;void 0!==t;)t=H(t)}e.producers=void 0,e.producersTail=void 0,e.consumers=void 0,e.consumersTail=void 0}function U(e,t){let r=e.consumersTail,n=G(e);if(void 0!==r?(t.nextConsumer=r.nextConsumer,r.nextConsumer=t):(t.nextConsumer=void 0,e.consumers=t),t.prevConsumer=r,e.consumersTail=t,!n)for(let i=e.producers;void 0!==i;i=i.nextProducer)U(i.producer,i)}function H(e){let t=e.producer,r=e.nextProducer,n=e.nextConsumer,i=e.prevConsumer;if(e.nextConsumer=void 0,e.prevConsumer=void 0,void 0!==n?n.prevConsumer=i:t.consumersTail=i,void 0!==i)i.nextConsumer=n;else if(t.consumers=n,!G(t)){let e=t.producers;for(;void 0!==e;)e=H(e)}return r}function G(e){return e.consumerIsAlwaysLive||void 0!==e.consumers}function W(e){re?.(e)}function Q(e,t){return Object.is(e,t)}function Z(){throw new Error}function Y(e){ce(e)}function K(e,t){let r=Object.create(de);r.value=e,void 0!==t&&(r.equal=t);let n=()=>function(e){return R(e),e.value}(r);return n[ne]=r,W(r),[n,e=>X(r,e),e=>function(e,t){L()||Y(e),X(e,t(e.value))}(r,e)]}function X(e,t){L()||Y(e),e.equal(e.value,t)||(e.value=t,function(e){e.version++,te++,F(e),he?.(e)}(e))}var J,ee,te,re,ne,ie,se,ae,le,ue,ce,he,de,pe=b(()=>{"use strict";J=null,ee=!1,te=1,re=null,ne=Symbol("SIGNAL"),ie={version:0,lastCleanEpoch:0,dirty:!1,producers:void 0,producersTail:void 0,consumers:void 0,consumersTail:void 0,recomputing:!1,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,kind:"unknown",producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}},se=Symbol("UNSET"),ae=Symbol("COMPUTING"),le=Symbol("ERRORED"),ue=v(y({},ie),{value:se,dirty:!0,error:null,equal:Q,kind:"computed",producerMustRecompute(e){return e.value===se||e.value===ae},producerRecomputeValue(e){if(e.value===ae)throw new Error("");let t=e.value;e.value=ae;let r,n=B(e),i=!1;try{r=e.computation(),I(null),i=t!==se&&t!==le&&r!==le&&e.equal(t,r)}catch(s){r=le,e.error=s}finally{z(e,n)}i?e.value=t:(e.value=r,e.version++)}}
2),ce=Z,he=null,de=v(y({},ie),{equal:Q,value:void 0,kind:"signal"})});function fe(e){return"function"==typeof e}var me=b(()=>{});function ge(e){let t=e(e=>{Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ye,ve=b(()=>{}),be=b(()=>{"use strict";ve(),ye=ge(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t})});function _e(e,t){if(e){let r=e.indexOf(t);0<=r&&e.splice(r,1)}}var we=b(()=>{});function Se(e){return e instanceof ke||e&&"closed"in e&&fe(e.remove)&&fe(e.add)&&fe(e.unsubscribe)}function Ee(e){fe(e)?e():e.unsubscribe()}var ke,Ce,De,Te,xe=b(()=>{"use strict";me(),be(),we(),ke=class e{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let e of n)e.remove(this);else n.remove(this);let{initialTeardown:i}=this;if(fe(i))try{i()}catch(t){e=t instanceof ye?t.errors:[t]}let{_finalizers:s}=this;if(s){this._finalizers=null;for(let t of s)try{Ee(t)}catch(r){e=e??[],r instanceof ye?e=[...e,...r.errors]:e.push(r)}}if(e)throw new ye(e)}}add(t){var r;if(t&&t!==this)if(this.closed)Ee(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}}_hasParent(e){let{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){let{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&_e(t,e)}remove(t){let{_finalizers:r}=this;r&&_e(r,t),t instanceof e&&t._removeParent(this)}},ke.EMPTY=(()=>{let e=new ke;return e.closed=!0,e})(),Ce=ke.EMPTY}),Oe=b(()=>{"use strict";De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}}),Ae=b(()=>{"use strict";Te={setTimeout(e,t,...r){let{delegate:n}=Te;return n?.setTimeout?n.setTimeout(e,t,...r):setTimeout(e,t,...r)},clearTimeout(e){let{delegate:t}=Te;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0}});function Pe(e){Te.setTimeout(()=>{let{onUnhandledError:t}=De;if(!t)throw e;t(e)})}var Ie=b(()=>{"use strict";Oe(),Ae()});function Re(){}var Ne=b(()=>{});function Fe(e,t,r){return{kind:e,value:t,error:r}}var Le,Me=b(()=>{"use strict";Le=Fe("C",void 0,void 0)});function je(e){if(De.useDeprecatedSynchronousErrorHandling){let t=!Be;if(t&&(Be={errorThrown:!1,error:null}),e(),t){let{errorThrown:e,error:t}=Be;if(Be=null,e)throw t}}else e()}var Be,ze=b(()=>{"use strict";Oe(),Be=null});function Ve(e,t){return Ge.call(e,t)}function $e(e){De.useDeprecatedSynchronousErrorHandling?function(e){De.useDeprecatedSynchronousErrorHandling&&Be&&(Be.errorThrown=!0,Be.error=e)}(e):Pe(e)}function Ue(e){throw e}function qe(e,t){let{onStoppedNotification:r}=De;r&&Te.setTimeout(()=>r(e,t))}var He,Ge,We,Qe,Ze,Ye,Ke=b(()=>{"use strict";me(),xe(),Oe(),Ie(),Ne(),Me(),Ae(),ze(),He=class extends ke{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Se(e)&&e.add(this)):this.destination=Ze}static create(e,t,r){return new Qe(e,t,r)}next(e){this.isStopped?qe(function(e){return Fe("N",e,void 0)}(e),this):this._next(e)}error(e){this.isStopped?qe(function(e){return Fe("E",void 0,e)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?qe(Le,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},Ge=Function.prototype.bind,We=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(r){$e(r)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(r){$e(r)}else $e(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(o){$e(o)}}},Qe=class extends He{constructor(e,t,r){let n;if(super(),fe(e)||!e)n={next:e??void 0,error:t??void 0,complete:r??void 0};else{let t;
2this&&De.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),n={next:e.next&&Ve(e.next,t),error:e.error&&Ve(e.error,t),complete:e.complete&&Ve(e.complete,t)}):n=e}this.destination=new We(n)}},Ze={closed:!0,next:Re,error:Ue,complete:Re}}),Xe=b(()=>{"use strict";Ye="function"==typeof Symbol&&Symbol.observable||"@@observable"});function Je(e){return e}var et=b(()=>{});var tt=b(()=>{"use strict";et()});function rt(e){var t;return null!==(t=e??De.Promise)&&void 0!==t?t:Promise}function nt(e){return e&&e instanceof He||function(e){return e&&fe(e.next)&&fe(e.error)&&fe(e.complete)}(e)&&Se(e)}var it,st=b(()=>{"use strict";Ke(),xe(),Xe(),tt(),Oe(),me(),ze(),it=(()=>{class e{constructor(e){e&&(this._subscribe=e)}lift(t){let r=new e;return r.source=this,r.operator=t,r}subscribe(e,t,r){let n=nt(e)?e:new Qe(e,t,r);return je(()=>{let{operator:e,source:t}=this;n.add(e?e.call(n,t):t?this._subscribe(n):this._trySubscribe(n))}),n}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=rt(t))((t,r)=>{let n=new Qe({next:t=>{try{e(t)}catch(i){r(i),n.unsubscribe()}},error:r,complete:t});this.subscribe(n)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[Ye](){return this}pipe(...e){return function(e){return 0===e.length?Je:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}(e)(this)}toPromise(e){return new(e=rt(e))((e,t)=>{let r;this.subscribe(e=>r=e,e=>t(e),()=>e(r))})}}return e.create=t=>new e(t),e})()});function ot(e){return t=>{if(function(e){return fe(e?.lift)}(t))return t.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}var at=b(()=>{"use strict";me()});function lt(e,t,r,n,i){return new ut(e,t,r,n,i)}var ut,ct,ht,dt,pt,ft,mt,gt,yt,vt,bt,_t,wt,St,Et,kt,Ct,Dt,Tt=b(()=>{"use strict";Ke(),ut=class extends He{constructor(e,t,r,n,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(r){try{t(r)}catch(n){e.error(n)}}:super._next,this._error=n?function(t){try{n(t)}catch(r){e.error(r)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}}),xt=b(()=>{"use strict";ve(),ct=ge(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})}),Ot=b(()=>{"use strict";st(),xe(),xt(),we(),ze(),ht=(()=>{class e extends it{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let t=new dt(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new ct}next(e){je(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(e)}})}error(e){je(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;let{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){je(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){let{hasError:t,isStopped:r,observers:n}=this;return t||r?Ce:(this.currentObservers=null,n.push(e),new ke(()=>{this.currentObservers=null,_e(n,e)}))}_checkFinalizedStatuses(e){let{hasError:t,thrownError:r,isStopped:n}=this;t?e.error(r):n&&e.complete()}asObservable(){let e=new it;return e.source=this,e}}return e.create=(e,t)=>new dt(e,t),e})(),dt=class extends ht{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)}error(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:Ce}}}),At=b(()=>{"use strict";Ot(),pt=class extends ht{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:r}=this;if(e)throw t;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}}),Pt=b(()=>{"use strict";ft={now(){return(ft.delegate||Date).now()},delegate:void 0}}),It=b(()=>{"use strict";Ot(),Pt(),mt=class extends ht{constructor(e=1/0,t=1/0,r=ft){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:r,_infiniteTimeWindow:n,_timestampProvider:i,_windowTime:s}=this;t||(r.push(e),!n&&r.push(i.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:n}
2=this,i=n.slice();for(let s=0;s<i.length&&!e.closed;s+=r?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:r,_infiniteTimeWindow:n}=this,i=(n?1:2)*e;if(e<1/0&&i<r.length&&r.splice(0,r.length-i),!n){let e=t.now(),n=0;for(let t=1;t<r.length&&r[t]<=e;t+=2)n=t;n&&r.splice(0,n+1)}}}}),Rt=b(()=>{"use strict";xe(),gt=class extends ke{constructor(e,t){super()}schedule(e,t=0){return this}}}),Nt=b(()=>{"use strict";yt={setInterval(e,t,...r){let{delegate:n}=yt;return n?.setInterval?n.setInterval(e,t,...r):setInterval(e,t,...r)},clearInterval(e){let{delegate:t}=yt;return(t?.clearInterval||clearInterval)(e)},delegate:void 0}}),Ft=b(()=>{"use strict";Rt(),Nt(),we(),vt=class extends gt{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var r;if(this.closed)return this;this.state=e;let n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,r=0){return yt.setInterval(e.flush.bind(e,this),r)}recycleAsyncId(e,t,r=0){if(null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&yt.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let r,n=!1;try{this.work(e)}catch(i){n=!0,r=i||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:r}=t;this.work=this.state=this.scheduler=null,this.pending=!1,_e(r,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}}),Lt=b(()=>{"use strict";Pt(),bt=class e{constructor(t,r=e.now){this.schedulerActionCtor=t,this.now=r}schedule(e,t=0,r){return new this.schedulerActionCtor(this,e).schedule(r,t)}},bt.now=ft.now}),Mt=b(()=>{"use strict";Lt(),_t=class extends bt{constructor(e,t=bt.now){super(e,t),this.actions=[],this._active=!1}flush(e){let t,{actions:r}=this;if(this._active)r.push(e);else{this._active=!0;do{if(t=e.execute(e.state,e.delay))break}while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}}}}}),jt=b(()=>{"use strict";Ft(),Mt(),wt=new _t(vt),St=wt}),Bt=b(()=>{"use strict";Ft(),Et=class extends vt{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,r=0){return null!=r&&r>0||null==r&&this.delay>0?super.requestAsyncId(e,t,r):(e.flush(this),0)}}}),zt=b(()=>{"use strict";Mt(),kt=class extends _t{}}),Vt=b(()=>{"use strict";Bt(),zt(),Ct=new kt(Et)}),$t=b(()=>{"use strict";st(),Dt=new it(e=>e.complete())});function Ut(e){return e&&fe(e.schedule)}var qt=b(()=>{"use strict";me()});function Ht(e){return e[e.length-1]}function Gt(e){return fe(Ht(e))?e.pop():void 0}function Wt(e){return Ut(Ht(e))?e.pop():void 0}var Qt=b(()=>{"use strict";me(),qt()});function Zt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}or(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Yt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function Kt(e,t,r,n){var i,s=arguments.length,o=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,r,o):i(t,r))||o);return s>3&&o&&Object.defineProperty(t,r,o),o}function Xt(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function Jt(e,t,r,n){return new(r||(r=Promise))(function(i,s){function o(e){try{l(n.next(e))}catch(t){s(t)}}function a(e){try{l(n.throw(e))}catch(t){s(t)}}function l(e){e.done?i(e.value):function(e){return e instanceof r?e:new r(function(t){t(e)})}(e.value).then(o,a)}l((n=n.apply(e,t||[])).next())})}function er(e,t){var r,n,i,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;
2function a(a){return function(l){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(l){a=[6,l],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function tr(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function rr(e,t,r){if(r||2===arguments.length)for(var n,i=0,s=t.length;i<s;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function nr(e){return this instanceof nr?(this.v=e,this):new nr(e)}function ir(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),s=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function o(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){
2s.push([e,t,r,n])>1||a(e,t)})},t&&(n[e]=t(n[e])))}function a(e,t){try{!function(e){e.value instanceof nr?Promise.resolve(e.value.v).then(l,u):c(s[0][2],e)}(i[e](t))}catch(r){c(s[0][3],r)}}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function sr(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=tr(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){(function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)})(n,i,(t=e[r](t)).done,t.value)})}}}var or,ar,lr,ur=b(()=>{"use strict";or=function(e,t){return(or=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},ar=function(){return ar=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ar.apply(this,arguments)}}),cr=b(()=>{"use strict";lr=e=>e&&"number"==typeof e.length&&"function"!=typeof e});function hr(e){return fe(e?.then)}var dr=b(()=>{"use strict";me()});function pr(e){return fe(e[Ye])}var fr=b(()=>{"use strict";Xe(),me()});function mr(e){return Symbol.asyncIterator&&fe(e?.[Symbol.asyncIterator])}var gr=b(()=>{"use strict";me()});function yr(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.`)}var vr=b(()=>{});var br,_r=b(()=>{"use strict";br="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"});function wr(e){return fe(e?.[br])}var Sr=b(()=>{"use strict";_r(),me()});function Er(e){return ir(this,arguments,function*(){let t=e.getReader();try{for(;;){let{value:e,done:r}=yield nr(t.read());if(r)return yield nr(void 0);yield yield nr(e)}}finally{t.releaseLock()}})}function kr(e){return fe(e?.getReader)}var Cr=b(()=>{"use strict";ur(),me()});function Dr(e){if(e instanceof it)return e;if(null!=e){if(pr(e))return function(e){return new it(t=>{let r=e[Ye]();if(fe(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(lr(e))return function(e){return new it(t=>{for(let r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()})}(e);if(hr(e))return function(e){return new it(t=>{e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,Pe)})}(e);if(mr(e))return Tr(e);if(wr(e))return function(e){return new it(t=>{for(let r of e)if(t.next(r),t.closed)return;t.complete()})}(e);if(kr(e))return function(e){return Tr(Er(e))}(e)}throw yr(e)}function Tr(e){return new it(t=>{(function(e,t){var r,n,i,s;return Jt(this,void 0,void 0,function*(){try{for(r=sr(e);!(n=yield r.next()).done;){let e=n.value;if(t.next(e),t.closed)return}}catch(o){i={error:o}}finally{try{n&&!n.done&&(s=r.return)&&(yield s.call(r))}finally{if(i)throw i.error}}t.complete()})})(e,t).catch(e=>t.error(e))})}var xr=b(()=>{"use strict";ur(),cr(),dr(),st(),fr(),gr(),vr(),Sr(),Cr(),me(),Ie(),Xe()});function Or(e,t,r,n=0,i=!1){let s=t.schedule(function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()},n);if(e.add(s),!i)return s}var Ar=b(()=>{});function Pr(e,t=0){return ot((r,n)=>{r.subscribe(lt(n,r=>Or(n,e,()=>n.next(r),t),()=>Or(n,e,()=>n.complete(),t),r=>Or(n,e,()=>n.error(r),t)))})}var Ir=b(()=>{"use strict";Ar(),at(),Tt()});function Rr(e,t=0){return ot((r,n)=>{n.add(e.schedule(()=>r.subscribe(n),t))})}var Nr=b(()=>{"use strict";at()});var Fr=b(()=>{"use strict";xr(),Ir(),Nr()});var Lr=b(()=>{"use strict";xr(),Ir(),Nr()});var Mr=b(()=>{"use strict";st()});var jr=b(()=>{"use strict";st(),_r(),me(),Ar()});function Br(e,t){if(!e)throw new Error("Iterable cannot be null");return new it(r=>{Or(r,t,()=>{let n=e[Symbol.asyncIterator]();Or(r,t,()=>{n.next().then(e=>{e.done?r.complete():r.next(e.value)})},0,!0)})})}var zr=b(()=>{"use strict";st(),Ar()});var Vr=b(()=>{"use strict";zr(),Cr()});function $r(e,t){if(null!=e){if(pr(e))return function(e,t){return Dr(e).pipe(Rr(t),Pr(t))}(e,t);if(lr(e))return function(e,t){return new it(r=>{let n=0;return t.schedule(function(){n===e.length?r.complete():(r.next(e[
2n++]),r.closed||this.schedule())})})}(e,t);if(hr(e))return function(e,t){return Dr(e).pipe(Rr(t),Pr(t))}(e,t);if(mr(e))return Br(e,t);if(wr(e))return function(e,t){return new it(r=>{let n;return Or(r,t,()=>{n=e[br](),Or(r,t,()=>{let e,t;try{({value:e,done:t}=n.next())}catch(i){return void r.error(i)}t?r.complete():r.next(e)},0,!0)}),()=>fe(n?.return)&&n.return()})}(e,t);if(kr(e))return function(e,t){return Br(Er(e),t)}(e,t)}throw yr(e)}var Ur=b(()=>{"use strict";Fr(),Lr(),Mr(),jr(),zr(),fr(),dr(),cr(),Sr(),gr(),vr(),Cr(),Vr()});function qr(e,t){return t?$r(e,t):Dr(e)}var Hr=b(()=>{"use strict";Ur(),xr()});function Gr(...e){return qr(e,Wt(e))}var Wr=b(()=>{"use strict";Qt(),Hr()});function Qr(e,t){let r=fe(e)?e:()=>e,n=e=>e.error(r());return new it(t?e=>t.schedule(n,0,e):n)}var Zr=b(()=>{"use strict";st(),me()});function Yr(e){return!!e&&(e instanceof it||fe(e.lift)&&fe(e.subscribe))}var Kr,Xr=b(()=>{"use strict";st(),me()}),Jr=b(()=>{"use strict";ve(),Kr=ge(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})});function en(e,t){let r="object"==typeof t;return new Promise((n,i)=>{let s=new Qe({next:e=>{n(e),s.unsubscribe()},error:i,complete:()=>{r?n(t.defaultValue):i(new Kr)}});e.subscribe(s)})}var tn=b(()=>{"use strict";Jr(),Ke()});function rn(e){return e instanceof Date&&!isNaN(e)}var nn=b(()=>{});function sn(e,t){let{first:r,each:n,with:i=on,scheduler:s=t??wt,meta:o=null}=rn(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==r&&null==n)throw new TypeError("No timeout provided.");return ot((e,t)=>{let a,l,u=null,c=0,h=e=>{l=Or(t,s,()=>{try{a.unsubscribe(),Dr(i({meta:o,lastValue:u,seen:c})).subscribe(t)}catch(e){t.error(e)}},e)};a=e.subscribe(lt(t,e=>{l?.unsubscribe(),c++,t.next(u=e),n>0&&h(n)},void 0,void 0,()=>{l?.closed||l?.unsubscribe(),u=null})),!c&&h(null!=r?"number"==typeof r?r:+r-s.now():n)})}function on(e){throw new an(e)}var an,ln=b(()=>{"use strict";jt(),nn(),at(),xr(),ve(),Tt(),Ar(),an=ge(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t})});function un(e,t){return ot((r,n)=>{let i=0;r.subscribe(lt(n,r=>{n.next(e.call(t,r,i++))}))})}var cn=b(()=>{"use strict";at(),Tt()});function hn(e){return un(t=>function(e,t){return dn(t)?e(...t):e(t)}(e,t))}var dn,pn=b(()=>{"use strict";cn(),({isArray:dn}=Array)});function fn(e){if(1===e.length){let t=e[0];if(mn(t))return{args:t,keys:null};if(function(e){return e&&"object"==typeof e&&gn(e)===yn}(t)){let e=vn(t);return{args:e.map(e=>t[e]),keys:e}}}return{args:e,keys:null}}var mn,gn,yn,vn,bn=b(()=>{"use strict";({isArray:mn}=Array),({getPrototypeOf:gn,prototype:yn,keys:vn}=Object)});function _n(e,t){return e.reduce((e,r,n)=>(e[r]=t[n],e),{})}var wn=b(()=>{});function Sn(...e){let t=Wt(e),r=Gt(e),{args:n,keys:i}=fn(e);if(0===n.length)return qr([],t);let s=new it(function(e,t,r=Je){return n=>{En(t,()=>{let{length:i}=e,s=new Array(i),o=i,a=i;for(let l=0;l<i;l++)En(t,()=>{let i=qr(e[l],t),u=!1;i.subscribe(lt(n,e=>{s[l]=e,u||(u=!0,a--),a||n.next(r(s.slice()))},()=>{--o||n.complete()}))},n)},n)}}(n,t,i?e=>_n(i,e):Je));return r?s.pipe(hn(r)):s}function En(e,t,r){e?Or(r,e,t):t()}var kn=b(()=>{"use strict";st(),bn(),Hr(),et(),pn(),Qt(),wn(),Tt(),Ar()});var Cn=b(()=>{"use strict";xr(),Ar(),Tt()});function Dn(e,t,r=1/0){return fe(t)?Dn((r,n)=>un((e,i)=>t(r,e,n,i))(Dr(e(r,n))),r):("number"==typeof t&&(r=t),ot((t,n)=>function(e,t,r,n,i,s,o,a){let l=[],u=0,c=0,h=!1,d=()=>{h&&!l.length&&!u&&t.complete()},p=e=>u<n?f(e):l.push(e),f=e=>{s&&t.next(e),u++;let a=!1;Dr(r(e,c++)).subscribe(lt(t,e=>{i?.(e),s?p(e):t.next(e)},()=>{a=!0},void 0,()=>{if(a)try{for(u--;l.length&&u<n;){let e=l.shift();o?Or(t,o,()=>f(e)):f(e)}d()}catch(e){t.error(e)}}))};return e.subscribe(lt(t,p,()=>{h=!0,d()})),()=>{a?.()}}(t,n,e,r)))}var Tn=b(()=>{"use strict";cn(),xr(),at(),Cn(),me()});function xn(e=1/0){return Dn(Je,e)}var On=b(()=>{"use strict";Tn(),et()});var An=b(()=>{"use strict";On()});function Pn(...e){return xn(1)(qr(e,Wt(e)))}var In=b(()=>{"use strict";An(),Qt(),Hr()});function Rn(e){return new it(t=>{Dr(e()).subscribe(t)})}var Nn=b(()=>{"use strict";st(),xr()});function Fn(...e){let t=Gt(e),{args:r,keys:n}=fn(e),i=new it(e=>{let{length:t}=r;if(!t)return void e.complete();let i=new Array(t),s=t,o=t;for(let a=0;a<t;a++){let t=!1;Dr(r[a]).subscribe(lt(e,e=>{t||(t=!0,o--),i[a]=e},()=>s--,void 0,()=>{(!s||!t)&&(o||e.next(n?_n(n,i):i),e.complete())}))}});return t?i.pipe(hn(t)):i}var Ln=b(()=>{"use strict";st(),bn(),xr(),Qt(),Tt(),pn(),wn()});function Mn(e,t,r,n){if(fe(r)&&(n=r,r=void 0),n)return Mn(e,t,r).pipe(hn(n));let[i,s]=function(e){return fe(e.addEventListener)&&fe(e.removeEventListener)}(e)?zn.map(n=>i=>e[n](t,i,r)):function(e){return fe(e.addListener)&&fe(e.removeListener)}(e)?Bn.map(jn(e,t)):function(e){return fe(e.on)&&fe(e.off)}(e)?Vn.map(jn(e,t)):[];if(!i&&lr(e))return Dn(e=>Mn(e,t,r))(Dr(e));if(!i)throw new TypeError("Invalid event target");return new it(e=>{let t=(...t)=>e.next(1<t.length?t:t[0]);return i(t),()=>s(t)})}function jn(e,t){return r=>n=>e[r](t,n)}var Bn,zn,Vn,$n=b(()=>{"use strict";xr(),st(),Tn(),cr(),me(),pn(),Bn=["addListener","removeListener"],zn=["addEventListener","removeEventListener"],Vn=["on","off"]});function Un(e=0,t,r=St){let n=-1;return null!=t&&(Ut(t)?r=t:n=t),new it(t=>{let i=rn(e)?+e-r.now():e;i<0&&(i=0);let s=0;return r.schedule(function(){t.closed||(t.next(s++),0<=n?this.schedule(void 0,n):t.complete())},i)})}var qn=b(()=>{"use strict";st(),jt(),qt(),nn()});function Hn(...e){let t=Wt(e),r=function(e,t){return"number"==typeof Ht(e)?e.pop():t}(e,1/0),n=e;return n.length?1===n.length?Dr(n[0]):xn(r)(qr(n,t)):Dt}var Gn=b(()=>{"use strict";On(),xr(),$t(),Qt(),Hr()});function Wn(e,t){return ot((r,n)=>{let i=0;r.subscribe(lt(n,r=>e.call(t,r,i++)&&n.next(r)))})}var Qn=b(()=>{"use strict";at(),Tt()}),Zn=b(()=>{});var Yn=b(()=>{"use strict";at(),xr(),Tt()});function Kn(e,t=wt){return function(e){return ot((t,r)=>{let n=!1,i=null,s=null,o=!1,a=()=>
2{if(s?.unsubscribe(),s=null,n){n=!1;let e=i;i=null,r.next(e)}o&&r.complete()},l=()=>{s=null,o&&r.complete()};t.subscribe(lt(r,t=>{n=!0,i=t,s||Dr(e(t)).subscribe(s=lt(r,a,l))},()=>{o=!0,(!n||!s||s.closed)&&r.complete()}))})}(()=>Un(e,t))}var Xn=b(()=>{"use strict";jt(),Yn(),qn()});function Jn(e){return ot((t,r)=>{let n,i=null,s=!1;i=t.subscribe(lt(r,void 0,void 0,o=>{n=Dr(e(o,Jn(e)(t))),i?(i.unsubscribe(),i=null,n.subscribe(r)):s=!0})),s&&(i.unsubscribe(),i=null,n.subscribe(r))})}var ei=b(()=>{"use strict";xr(),Tt(),at()});function ti(e,t){return fe(t)?Dn(e,t,1):Dn(e,1)}var ri=b(()=>{"use strict";Tn(),me()});var ni=b(()=>{"use strict";at(),Tt()});function ii(e){return e<=0?()=>Dt:ot((t,r)=>{let n=0;t.subscribe(lt(r,t=>{++n<=e&&(r.next(t),e<=n&&r.complete())}))})}var si=b(()=>{"use strict";$t(),at(),Tt()});var oi=b(()=>{"use strict";at(),Tt(),Ne()});var ai=b(()=>{"use strict";cn()});function li(e,t){return t?r=>Pn(t.pipe(ii(1),ot((e,t)=>{e.subscribe(lt(t,Re))})),r.pipe(li(e))):Dn((t,r)=>Dr(e(t,r)).pipe(ii(1),function(e){return un(()=>e)}(t)))}var ui=b(()=>{"use strict";In(),si(),oi(),ai(),Tn(),xr()});function ci(e,t=wt){let r=Un(e,t);return li(()=>r)}var hi=b(()=>{"use strict";jt(),ui(),qn()});function di(e,t){return e===t}var pi=b(()=>{"use strict";et(),at(),Tt()});function fi(e=mi){return ot((t,r)=>{let n=!1;t.subscribe(lt(r,e=>{n=!0,r.next(e)},()=>n?r.complete():r.error(e())))})}function mi(){return new Kr}var gi=b(()=>{"use strict";Jr(),at(),Tt()});function yi(e,t){return t?r=>r.pipe(yi((r,n)=>Dr(e(r,n)).pipe(un((e,i)=>t(r,e,n,i))))):ot((t,r)=>{let n=0,i=null,s=!1;t.subscribe(lt(r,t=>{i||(i=lt(r,void 0,()=>{i=null,s&&r.complete()}),Dr(e(t,n++)).subscribe(i))},()=>{s=!0,!i&&r.complete()}))})}var vi=b(()=>{"use strict";cn(),xr(),at(),Tt()});function bi(e){return ot((t,r)=>{try{t.subscribe(r)}finally{r.add(e)}})}var _i=b(()=>{"use strict";at()});function wi(e,t){let r=arguments.length>=2;return n=>n.pipe(e?Wn((t,r)=>e(t,r,n)):Je,ii(1),r?function(e){return ot((t,r)=>{let n=!1;t.subscribe(lt(r,e=>{n=!0,r.next(e)},()=>{n||r.next(e),r.complete()}))})}(t):fi(()=>new Kr))}var Si=b(()=>{"use strict";Jr(),Qn(),si(),ni(),gi(),et()});var Ei=b(()=>{"use strict";at(),Tt()});function ki(e,t,...r){if(!0===t)return void e();if(!1===t)return;let n=new Qe({next:()=>{n.unsubscribe(),e()}});return Dr(t(...r)).subscribe(n)}var Ci=b(()=>{"use strict";xr(),Ot(),Ke(),at()});function Di(e,t,r){let n,i=!1;return e&&"object"==typeof e?({bufferSize:n=1/0,windowTime:t=1/0,refCount:i=!1,scheduler:r}=e):n=e??1/0,function(e={}){let{connector:t=()=>new ht,resetOnError:r=!0,resetOnComplete:n=!0,resetOnRefCountZero:i=!0}=e;return e=>{let s,o,a,l=0,u=!1,c=!1,h=()=>{o?.unsubscribe(),o=void 0},d=()=>{h(),s=a=void 0,u=c=!1},p=()=>{let e=s;d(),e?.unsubscribe()};return ot((e,f)=>{l++,!c&&!u&&h();let m=a=a??t();f.add(()=>{l--,0===l&&!c&&!u&&(o=ki(p,i))}),m.subscribe(f),!s&&l>0&&(s=new Qe({next:e=>m.next(e),error:e=>{c=!0,h(),o=ki(d,r,e),m.error(e)},complete:()=>{u=!0,h(),o=ki(d,n),m.complete()}}),Dr(e).subscribe(s))})(e)}}({connector:()=>new mt(n,t,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}var Ti=b(()=>{"use strict";It(),Ci()});function xi(...e){let t=Wt(e);return ot((r,n)=>{(t?Pn(e,r,t):Pn(e,r)).subscribe(n)})}var Oi=b(()=>{"use strict";In(),Qt(),at()});function Ai(e,t){return ot((r,n)=>{let i=null,s=0,o=!1,a=()=>o&&!i&&n.complete();r.subscribe(lt(n,r=>{i?.unsubscribe();let o=0,l=s++;Dr(e(r,l)).subscribe(i=lt(n,e=>n.next(t?t(r,e,l,o++):e),()=>{i=null,a()}))},()=>{o=!0,a()}))})}var Pi=b(()=>{"use strict";xr(),at(),Tt()});function Ii(e){return ot((t,r)=>{Dr(e).subscribe(lt(r,()=>r.complete(),Re)),!r.closed&&t.subscribe(r)})}var Ri=b(()=>{"use strict";at(),Tt(),xr(),Ne()});function Ni(e,t,r){let n=fe(e)||t||r?{next:e,error:t,complete:r}:e;return n?ot((e,t)=>{var r;null===(r=n.subscribe)||void 0===r||r.call(n);let i=!0;e.subscribe(lt(t,e=>{var r;null===(r=n.next)||void 0===r||r.call(n,e),t.next(e)},()=>{var e;i=!1,null===(e=n.complete)||void 0===e||e.call(n),t.complete()},e=>{var r;i=!1,null===(r=n.error)||void 0===r||r.call(n,e),t.error(e)},()=>{var e,t;i&&(null===(e=n.unsubscribe)||void 0===e||e.call(n)),null===(t=n.finalize)||void 0===t||t.call(n)}))}):Je}var Fi=b(()=>{"use strict";me(),at(),Tt(),et()}),Li=b(()=>{"use strict";st(),Xe(),Ot(),At(),It(),jt(),Vt(),xe(),et(),Xr(),tn(),kn(),In(),Nn(),Ln(),Hr(),$n(),Gn(),Wr(),Zr(),qn(),$t(),Zn(),ei(),hi(),pi(),vi(),Qn(),_i(),Si(),cn(),Tn(),Ei(),Ti(),Oi(),Pi(),si(),Ri(),Fi(),ln()});var Mi=b(()=>{"use strict";pe()}),ji=b(()=>{"use strict";pe()}),Bi=b(()=>{"use strict";P()});function zi(e,t){return`${function(e){return`NG0${Math.abs(e)}`}(e)}${t?": "+t:""}`}function Vi(e){for(let t in e)if(e[t]===Vi)return t;throw Error("")}function $i(e,t){for(let r in t)t.hasOwnProperty(r)&&!e.hasOwnProperty(r)&&(e[r]=t[r])}function Ui(e){if("string"==typeof e)return e;if(Array.isArray(e))return`[${e.map(Ui).join(", ")}]`;if(null==e)return""+e;let t=e.overriddenName||e.name;if(t)return`${t}`;let r=e.toString();if(null==r)return""+r;let n=r.indexOf("\n");return n>=0?r.slice(0,n):r}function qi(e,t){return e?t?`${e} ${t}`:e:t||""}function Hi(e){return e.__forward_ref__=Hi,e.toString=function(){return Ui(this())},e}
2function Gi(e){return Wi(e)?e():e}function Wi(e){return"function"==typeof e&&e.hasOwnProperty(ea)&&e.__forward_ref__===Hi}function Qi(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Zi(e){return{providers:e.providers||[],imports:e.imports||[]}}function Yi(e){return function(e,t){return e.hasOwnProperty(t)&&e[t]||null}(e,ta)}function Ki(e){return e&&e.hasOwnProperty(ra)?e[ra]:null}function Xi(e){return e&&!!e.ɵproviders}function Ji(e){return"string"==typeof e?e:null==e?"":String(e)}function es(e,t){return rs("",-200,t)}function ts(e,t){throw new Xo(-201,!1)}function rs(e,t,r){let n=new Xo(t,e);return n[ca]=t,n[ha]=e,r&&(n[da]=r),n}function ns(){return pa}function is(e){let t=pa;return pa=e,t}function ss(e,t,r){let n=Yi(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:8&r?null:void 0!==t?t:void ts()}function os(e,t=0){let r=C();if(void 0===r)throw new Xo(-203,!1);if(null===r)return ss(e,void 0,t);{let n=function(e){return{optional:!!(8&e),host:!!(1&e),self:!!(2&e),skipSelf:!!(4&e)}}(t),i=r.retrieve(e,n);if(x(i)){if(n.optional)return null;throw i}return i}}function as(e,t=0){return(ns()||os)(Gi(e),t)}function ls(e,t){return as(e,us(t))}function us(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function cs(e){let t=[];for(let r=0;r<e.length;r++){let n=Gi(e[r]);if(Array.isArray(n)){if(0===n.length)throw new Xo(900,!1);let e,r=0;for(let t=0;t<n.length;t++){let i=n[t],s=hs(i);"number"==typeof s?-1===s?e=i.token:r|=s:e=i}t.push(as(e,r))}else t.push(as(n))}return t}function hs(e){return e[ma]}function ds(e,t){return e.hasOwnProperty(aa)?e[aa]:null}function ps(e,t){e.forEach(e=>Array.isArray(e)?ps(e,t):t(e))}function fs(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function ms(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function gs(e,t,r){let n=vs(e,t);return n>=0?e[1|n]=r:(n=~n,function(e,t,r,n){let i=e.length;if(i==t)e.push(r,n);else if(1===i)e.push(n,e[0]),e[0]=r;else{for(i--,e.push(e[i-1],e[i]);i>t;){let t=i-2;e[i]=e[t],i--}e[t]=r,e[t+1]=n}}(e,n,t,r)),n}function ys(e,t){let r=vs(e,t);if(r>=0)return e[1|r]}function vs(e,t){return function(e,t,r){let n=0,i=e.length>>r;for(;i!==n;){let s=n+(i-n>>1),o=e[s<<r];if(t===o)return s<<r;o>t?i=s:n=s+1}return~(i<<r)}(e,t,1)}
2function bs(e){return e[ia]||null}function _s(e){return e[sa]||null}function ws(e){return e[oa]||null}function Ss(...e){return{"ɵproviders":Es(!0,e),"ɵfromNgModule":!0}}function Es(e,...t){let r,n=[],i=new Set,s=e=>{n.push(e)};return ps(t,e=>{let t=e;Cs(t,s,[],i)&&(r||=[],r.push(t))}),void 0!==r&&ks(r,s),n}function ks(e,t){for(let r=0;r<e.length;r++){let{ngModule:n,providers:i}=e[r];Ds(i,e=>{t(e,n)})}}function Cs(e,t,r,n){if(!(e=Gi(e)))return!1;let i=null,s=Ki(e),o=!s&&bs(e);if(s||o){if(o&&!o.standalone)return!1;i=e}else{let t=e.ngModule;if(s=Ki(t),!s)return!1;i=t}let a=n.has(i);if(o){if(a)return!1;if(n.add(i),o.dependencies){let e="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(let i of e)Cs(i,t,r,n)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let e;n.add(i);try{ps(s.imports,i=>{Cs(i,t,r,n)&&(e||=[],e.push(i))})}finally{}void 0!==e&&ks(e,t)}if(!a){let e=ds(i)||(()=>new i);t({provide:i,useFactory:e,deps:va},i),t({provide:wa,useValue:i,multi:!0},i),t({provide:ba,useValue:()=>as(i),multi:!0},i)}let o=s.providers;if(null!=o&&!a){let r=e;Ds(o,e=>{t(e,r)})}}}return i!==e&&void 0!==e.providers}function Ds(e,t){for(let r of e)Xi(r)&&(r=r.ɵproviders),Array.isArray(r)?Ds(r,t):t(r)}function Ts(e){return null!==e&&"object"==typeof e&&Ea in e}function xs(e){return"function"==typeof e}function Os(){return void 0===Ta&&(Ta=new Sa),Ta}function As(e){let t=Yi(e),r=null!==t?t.factory:ds(e);if(null!==r)return r;if(e instanceof na)throw new Xo(204,!1);if(e instanceof Function)return function(e){if(e.length>0)throw new Xo(204,!1);let t=function(e){return(e?.[ta]??null)||null}(e);return null!==t?()=>t.factory(e):()=>new e}(e);throw new Xo(204,!1)}function Ps(e,t,r){let n;if(xs(e)){let t=Gi(e);return ds(t)||As(t)}if(Ts(e))n=()=>Gi(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))n=()=>e.useFactory(...cs(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))n=(t,r)=>as(Gi(e.useExisting),void 0!==r&&8&r?8:void 0);else{let t=Gi(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ds(t)||As(t);n=()=>new t(...cs(e.deps))}return n}function Is(e){if(e.destroyed)throw new Xo(205,!1)}function Rs(e,t,r=!1){return{factory:e,value:t,multi:r?[]:void 0}}function Ns(e,t){for(let r of e)Array.isArray(r)?Ns(r,t):r&&Xi(r)?Ns(r.ɵproviders,t):t(r)}function Fs(e,t){let r;e instanceof Oa?(Is(e),r=e):r=new ga(e);let n=D(r),i=is(void 0);try{return t()}finally{D(n),is(i)}}function Ls(){return void 0!==ns()||null!=C()}function Ms(e){return Array.isArray(e)&&"object"==typeof e[il]}function js(e){return Array.isArray(e)&&!0===e[il]}function Bs(e){return!!(4&e.flags)}function zs(e){return e.componentOffset>-1}function Vs(e){return!(1&~e.flags)}function $s(e){return!!e.template}function Us(e){return!!(512&e[Ia])}function qs(e){return!(256&~e[Ia])}function Hs(e){for(;Array.isArray(e);)e=e[Aa];return e}function Gs(e,t){return Hs(t[e])}function Ws(e,t){return Hs(t[e.index])}function Qs(e,t){return e.data[t]}function Zs(e,t){return e[t]}function Ys(e,t){let r=t[e];return Ms(r)?r:r[Aa]}function Ks(e){return!(128&~e[Ia])}function Xs(e,t){return null==t?null:e[t]}function Js(e){e[Wa]=0}function eo(e){1024&e[Ia]||(e[Ia]|=1024,Ks(e)&&no(e))}function to(e){return!!(9216&e[Ia]||e[el]?.dirty)}function ro(e){e[za].changeDetectionScheduler?.notify(8),64&e[Ia]&&(e[Ia]|=1024),to(e)&&no(e)}function no(e){e[za].changeDetectionScheduler?.notify(0);let t=so(e);for(;null!==t&&!(8192&t[Ia])&&(t[Ia]|=8192,Ks(t));)t=so(t)}function io(e,t){if(qs(e))throw new Xo(911,!1);null===e[Ka]&&(e[Ka]=[]),e[Ka].push(t)}function so(e){let t=e[Ra];return js(t)?t[Ra]:t}function oo(e){return e[Ma]??=[]}function ao(e){return e.cleanup??=[]}function lo(){dl.lFrame.elementDepthCount--}function uo(){return dl.bindingsEnabled}function co(){return null!==dl.skipHydrationRootTNode}function ho(e){return dl.skipHydrationRootTNode===e}function po(){dl.skipHydrationRootTNode=null}function fo(){return dl.lFrame.lView}function mo(){return dl.lFrame.tView}function go(e){return dl.lFrame.contextLView=e,e[ja]}function yo(e){return dl.lFrame.contextLView=null,e}function vo(){let e=bo();for(;null!==e&&64===e.type;)e=e.parent;return e}function bo(){return dl.lFrame.currentTNode}function _o(e,t){let r=dl.lFrame;r.currentTNode=e,r.isParent=t}function wo(){return dl.lFrame.isParent}function So(){dl.lFrame.isParent=!1}function Eo(){return pl}function ko(e){let t=pl;return pl=e,t}function Co(){let e=dl.lFrame,t=e.bindingRootIndex;
2return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Do(){return dl.lFrame.bindingIndex++}function To(e){let t=dl.lFrame,r=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,r}function xo(e,t){let r=dl.lFrame;r.bindingIndex=r.bindingRootIndex=e,Oo(t)}function Oo(e){dl.lFrame.currentDirectiveIndex=e}function Ao(){return dl.lFrame.currentQueryIndex}function Po(e){dl.lFrame.currentQueryIndex=e}function Io(e){let t=e[Pa];return 2===t.type?t.declTNode:1===t.type?e[Fa]:null}function Ro(e,t,r){if(4&r){let n=t,i=e;for(;!(n=n.parent,null!==n||1&r||(n=Io(i),null===n||(i=i[qa],10&n.type))););if(null===n)return!1;t=n,e=i}let n=dl.lFrame=Fo();return n.currentTNode=t,n.lView=e,!0}function No(e){let t=Fo(),r=e[Pa];dl.lFrame=t,t.currentTNode=r.firstChild,t.lView=e,t.tView=r,t.contextLView=e,t.bindingIndex=r.bindingStartIndex,t.inI18n=!1}function Fo(){let e=dl.lFrame,t=null===e?null:e.child;return null===t?Lo(e):t}function Lo(e){let t={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=t),t}function Mo(){let e=dl.lFrame;return dl.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}function jo(){let e=Mo();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 Bo(e){return(dl.lFrame.contextLView=function(e,t){for(;e>0;)t=t[qa],e--;return t}(e,dl.lFrame.contextLView))[ja]}function zo(){return dl.lFrame.selectedIndex}function Vo(e){dl.lFrame.selectedIndex=e}function $o(){let e=dl.lFrame;return Qs(e.tView,e.selectedIndex)}function Uo(){return ml}function qo(e){ml=e}function Ho(e,t=null,r=null,n){let i=function(e,t=null,r=null,n,i=new Set){let s=[r||va,Ss(e)];return n=n||("object"==typeof e?void 0:Ui(e)),new Oa(s,t||Os(),n||null,i)}(e,t,r,n);return i.resolveInjectorInitializers(),i}function Go(){return new bl(fo())}function Wo(e,t){let[r,n,i]=K(e,t?.equal),s=r;s[ne];return s.set=n,s.update=i,s.asReadonly=Qo.bind(s),s}function Qo(){let e=this[ne];if(void 0===e.readonlyFn){let t=()=>this();t[ne]=e,e.readonlyFn=t}return e.readonlyFn}function Zo(){return new El(fo(),vo())}function Yo(...e){}var Ko,Xo,Jo,ea,ta,ra,na,ia,sa,oa,aa,la,ua,ca,ha,da,pa,fa,ma,ga,ya,va,ba,_a,wa,Sa,Ea,ka,Ca,Da,Ta,xa,Oa,Aa,Pa,Ia,Ra,Na,Fa,La,Ma,ja,Ba,za,Va,$a,Ua,qa,Ha,Ga,Wa,Qa,Za,Ya,Ka,Xa,Ja,el,tl,rl,nl,il,sl,ol,al,ll,ul,cl,hl,dl,pl,fl,ml,gl,yl,vl,bl,_l,wl,Sl,El,kl,Cl,Dl,Tl,xl,Ol,Al,Pl,Il=b(()=>{"use strict";P(),pe(),Li(),ji(),Bi(),Ko="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",Xo=class extends Error{code;constructor(e,t){super(zi(e,t)),this.code=e}},Jo=globalThis,ea=Vi({__forward_ref__:Vi}),ta=Vi({"ɵprov":Vi}),ra=Vi({"ɵinj":Vi}),na=class{_desc;ngMetadataName="InjectionToken";"ɵprov";constructor(e,t){this._desc=e,this.ɵprov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ɵprov=Qi({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}},ia=Vi({"ɵcmp":Vi}),sa=Vi({"ɵdir":Vi}),oa=Vi({"ɵpipe":Vi}),aa=Vi({"ɵfac":Vi}),la=Vi({__NG_ELEMENT_ID__:Vi}),ua=Vi({__NG_ENV_ID__:Vi}),ca=Vi({ngErrorCode:Vi}),ha=Vi({ngErrorMessage:Vi}),da=Vi({ngTokenPath:Vi}),fa={},ma="__NG_DI_FLAG__",ga=class{injector;constructor(e){this.injector=e}retrieve(e,t){let r=us(t)||0;try{return this.injector.get(e,8&r?null:fa,r)}catch(n){if(x(n))return n;throw n}}},ya={},va=[],ba=new na(""),_a=new na("",-1),wa=new na(""),Sa=class{get(e,t=fa){if(t===fa){let e=rs("",-201);throw e.name="ɵNotFound",e}return t}},Ea=Vi({provide:String,useValue:Vi}),ka=new na(""),Ca={},Da={},xa=class{},Oa=class extends xa{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,r,n){super(),this.parent=t,this.source=r,this.scopes=n,Ns(e,e=>this.processProvider(e)),this.records.set(_a,Rs(void 0,this)),n.has("environment")&&this.records.set(xa,Rs(void 0,this));let i=this.records.get(ka);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(wa,va,{self:!0}))}retrieve(e,t){let r=us(t)||0;try{return this.get(e,fa,r)}catch(n){if(x(n))return n;throw n}}destroy(){Is(this),this._destroyed=!0;let e=I(null);try{for(let t of this._ngOnDestroyHooks)t.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),I(e)}}onDestroy(e){return Is(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){Is(this);let t=D(this),r=is(void 0);try{return e()}finally{D(t),is(r)}}get(e,t=fa,r){if(Is(this),e.hasOwnProperty(ua))return e[ua](this);let n=us(r),i=D(this),s=is(void 0);try{if(!(4&n)){let t=this.records.get(e);if(void 0===t){let r=function(e){return"function"==typeof e||"object"==typeof e&&"InjectionToken"===e.ngMetadataName}(e)&&Yi(e);t=r&&this.injectableDefInScope(r)?Rs(As(e),Ca):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t,n)}let r=2&n?Os():this.parent;return t=8&n&&t===fa?null:t,r.get(e,t)}catch(o){let e=function(e){return e[ca]}(o);throw-200===e||-201===e?new Xo(e,null):o}finally{is(s),D(i)}}
2resolveInjectorInitializers(){let e=I(null),t=D(this),r=is(void 0);try{let e=this.get(ba,va,{self:!0});for(let t of e)t()}finally{D(t),is(r),I(e)}}toString(){let e=[],t=this.records;for(let r of t.keys())e.push(Ui(r));return`R3Injector[${e.join(", ")}]`}processProvider(e){let t=xs(e=Gi(e))?e:Gi(e&&e.provide),r=function(e){return Ts(e)?Rs(void 0,e.useValue):Rs(Ps(e),Ca)}(e);if(!xs(e)&&!0===e.multi){let r=this.records.get(t);r||(r=Rs(void 0,Ca,!0),r.factory=()=>cs(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,r)}hydrate(e,t,r){let n=I(null);try{if(t.value===Da)throw es(Ui(e));return t.value===Ca&&(t.value=Da,t.value=t.factory(void 0,r)),"object"==typeof t.value&&t.value&&function(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{I(n)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=Gi(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);-1!==t&&this._onDestroyHooks.splice(t,1)}},Aa=0,Pa=1,Ia=2,Ra=3,Na=4,Fa=5,La=6,Ma=7,ja=8,Ba=9,za=10,Va=11,$a=12,Ua=13,qa=14,Ha=15,Ga=16,Wa=17,Qa=18,Za=19,Ya=20,Ka=21,Xa=22,Ja=23,el=24,tl=25,rl=26,nl=27,il=1,sl=6,ol=7,al=8,ll=9,ul=10,cl="svg",hl="math",dl={lFrame:Lo(null),bindingsEnabled:!0,skipHydrationRootTNode:null},pl=!1,fl=Mo,ml=!0,gl=class e{static THROW_IF_NOT_FOUND=fa;static NULL=new Sa;static create(e,t){if(Array.isArray(e))return Ho({name:""},t,e,"");{let t=e.name??"";return Ho({name:t},e.parent,e.providers,t)}}static"ɵprov"=Qi({token:e,providedIn:"any",factory:()=>as(_a)});static __NG_ELEMENT_ID__=-1},yl=new na(""),vl=class{static __NG_ELEMENT_ID__=Go;static __NG_ENV_ID__=e=>e},bl=class extends vl{_lView;constructor(e){super(),this._lView=e}get destroyed(){return qs(this._lView)}onDestroy(e){let t=this._lView;return io(t,e),()=>function(e,t){if(null===e[Ka])return;let r=e[Ka].indexOf(t);-1!==r&&e[Ka].splice(r,1)}(t,e)}},_l=class{_console=console;handleError(e){this._console.error("ERROR",e)}},wl=new na("",{providedIn:"root",factory:()=>{let e,t=ls(xa);return r=>{t.destroyed&&!e?setTimeout(()=>{throw r}):(e??=t.get(_l),e.handleError(r))}}}),Sl={provide:ba,useValue:()=>{ls(_l)},multi:!0},El=class{view;node;constructor(e,t){this.view=e,this.node=t}static __NG_ELEMENT_ID__=Zo},kl=class{},Cl=new na("",{providedIn:"root",factory:()=>!1}),Dl=new na(""),Tl=new na(""),xl=(()=>{class e{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new pt(!1);get hasPendingTasks(){return!this.destroyed&&this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new it(e=>{e.next(!1),e.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let e=this.taskId++;return this.pendingTasks.add(e),e}has(e){return this.pendingTasks.has(e)}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this.hasPendingTasks&&this.pendingTask.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks&&this.pendingTask.next(!1),this.destroyed=!0,this.pendingTask.unsubscribe()}static"ɵprov"=Qi({token:e,providedIn:"root",factory:()=>new e})}return e})(),Ol=(()=>{class e{internalPendingTasks=ls(xl);scheduler=ls(kl);errorHandler=ls(wl);add(){let e=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(e)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(e))}}run(e){let t=this.add();
2e().catch(this.errorHandler).finally(t)}static"ɵprov"=Qi({token:e,providedIn:"root",factory:()=>new e})}return e})(),Al=(()=>{class e{static"ɵprov"=Qi({token:e,providedIn:"root",factory:()=>new Pl})}return e})(),Pl=class{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){let t=e.zone,r=this.queues.get(t);r.has(e)&&(r.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let r=this.queues.get(t);r.has(e)||r.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(let[t,r]of this.queues)e||=null===t?this.flushQueue(r):t.run(()=>this.flushQueue(r));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(let r of e)r.dirty&&(this.dirtyEffectCount--,t=!0,r.run());return t}}}),Rl=b(()=>{"use strict";Xn(),ri(),Qn(),_i(),cn(),Tn(),Ir(),Ti(),Oi(),Pi(),si(),Ri()});function Nl(e){return{toString:e}.toString()}function Fl(e,t,r,n){null!==t?t.applyValueToInputSignal(t,n):e[r]=n}function Ll(e){return e.type.prototype.ngOnChanges&&(e.setInput=jl),Ml}function Ml(){let e=Bl(this),t=e?.current;if(t){let r=e.previous;if(r===ya)e.previous=t;else for(let e in t)r[e]=t[e];e.current=null,this.ngOnChanges(t)}}function jl(e,t,r,n,i){let s=this.declaredInputs[n],o=Bl(e)||function(e,t){return e[Df]=t}(e,{previous:ya,current:null}),a=o.current||(o.current={}),l=o.previous,u=l[s];a[s]=new kf(u&&u.currentValue,r,l===ya),Fl(e,t,i,r)}function Bl(e){return e[Df]||null}function zl(e,t){for(let r=t.directiveStart,n=t.directiveEnd;r<n;r++){let t=e.data[r].type.prototype,{ngAfterContentInit:n,ngAfterContentChecked:i,ngAfterViewInit:s,ngAfterViewChecked:o,ngOnDestroy:a}=t;n&&(e.contentHooks??=[]).push(-r,n),i&&((e.contentHooks??=[]).push(r,i),(e.contentCheckHooks??=[]).push(r,i)),s&&(e.viewHooks??=[]).push(-r,s),o&&((e.viewHooks??=[]).push(r,o),(e.viewCheckHooks??=[]).push(r,o)),null!=a&&(e.destroyHooks??=[]).push(r,a)}}function Vl(e,t,r){ql(e,t,3,r)}function $l(e,t,r,n){(3&e[Ia])===r&&ql(e,t,r,n)}function Ul(e,t){let r=e[Ia];(3&r)===t&&(r&=16383,r+=1,e[Ia]=r)}function ql(e,t,r,n){let i=void 0!==n?65535&e[Wa]:0,s=n??-1,o=t.length-1,a=0;for(let l=i;l<o;l++)if("number"==typeof t[l+1]){if(a=t[l],null!=n&&a>=n)break}else t[l]<0&&(e[Wa]+=65536),(a<s||-1==s)&&(Gl(e,r,t,l),e[Wa]=(4294901760&e[Wa])+l+2),l++}function Hl(e,t){xf(4,e,t);let r=I(null);try{t.call(e)}finally{I(r),xf(5,e,t)}}function Gl(e,t,r,n){let i=r[n]<0,s=r[n+1],o=e[i?-r[n]:r[n]];i?e[Ia]>>14<e[Wa]>>16&&(3&e[Ia])===t&&(e[Ia]+=16384,Hl(o,s)):Hl(o,s)}function Wl(e){return 3===e||4===e||6===e}function Ql(e){return 64===e.charCodeAt(0)}function Zl(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let r=-1;for(let n=0;n<t.length;n++){let i=t[n];"number"==typeof i?r=i:0===r||Yl(e,r,i,null,-1===r||2===r?t[++n]:null)}}return e}function Yl(e,t,r,n,i){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;
2){let r=e[s++];if("number"==typeof r){if(r===t){o=-1;break}if(r>t){o=s-1;break}}}for(;s<e.length;){let t=e[s];if("number"==typeof t)break;if(t===r)return void(null!==i&&(e[s+1]=i));s++,null!==i&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function Kl(e){return e!==Of}function Xl(e){return 32767&e}function Jl(e,t){let r=function(e){return e>>16}(e),n=t;for(;r>0;)n=n[qa],r--;return n}function eu(e){let t=Pf;return Pf=e,t}function tu(e,t){let r=nu(e,t);if(-1!==r)return r;let n=t[Pa];n.firstCreatePass&&(e.injectorIndex=t.length,ru(n.data,e),ru(t,null),ru(n.blueprint,null));let i=iu(e,t),s=e.injectorIndex;if(Kl(i)){let e=Xl(i),r=Jl(i,t),n=r[Pa].data;for(let i=0;i<8;i++)t[s+i]=r[e+i]|n[e+i]}return t[s+8]=i,s}function ru(e,t){e.push(0,0,0,0,0,0,0,0,t)}function nu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function iu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let r=0,n=null,i=t;for(;null!==i;){if(n=vu(i),null===n)return Of;if(r++,i=i[qa],-1!==n.injectorIndex)return n.injectorIndex|r<<16}return Of}function su(e,t,r){!function(e,t,r){let n;"string"==typeof r?n=r.charCodeAt(0)||0:r.hasOwnProperty(la)&&(n=r[la]),null==n&&(n=r[la]=Nf++);let i=n&If,s=1<<i;t.data[e+(i>>Rf)]|=s}(e,t,r)}function ou(e,t,r){if(8&r||void 0!==e)return e;ts()}function au(e,t,r,n){if(8&r&&void 0===n&&(n=null),!(3&r)){let i=e[Ba],s=is(void 0);try{return i?i.get(t,n,8&r):ss(t,n,8&r)}finally{is(s)}}return ou(n,0,r)}function lu(e,t,r,n=0,i){if(null!==e){if(2048&t[Ia]&&!(2&n)){let i=function(e,t,r,n,i){let s=e,o=t;for(;null!==s&&null!==o&&2048&o[Ia]&&!Us(o);){let e=uu(s,o,r,2|n,Ff);if(e!==Ff)return e;let t=s.parent;if(!t){let e=o[Ya];if(e){let t=e.get(r,Ff,n);if(t!==Ff)return t}t=vu(o),o=o[qa]}s=t}return i}(e,t,r,n,Ff);if(i!==Ff)return i}let i=uu(e,t,r,n,Ff);if(i!==Ff)return i}return au(t,r,n,i)}function uu(e,t,r,n,i){let s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;let t=e.hasOwnProperty(la)?e[la]:void 0;return"number"==typeof t?t>=0?t&If:mu:t}(r);if("function"==typeof s){if(!Ro(t,e,n))return 1&n?ou(i,0,n):au(t,r,n,i);try{let e;if(e=s(n),null!=e||8&n)return e;ts()}finally{fl()}}else if("number"==typeof s){let i=null,o=nu(e,t),a=Of,l=1&n?t[Ha][Fa]:null;for((-1===o||4&n)&&(a=-1===o?iu(e,t):t[o+8],a!==Of&&fu(n,!1)?(i=t[Pa],o=Xl(a),t=Jl(a,t)):o=-1);-1!==o;){let e=t[Pa];if(pu(s,o,e.data)){let e=cu(o,t,r,i,n,l);if(e!==Ff)return e}a=t[o+8],a!==Of&&fu(n,t[Pa].data[o+8]===l)&&pu(s,o,t)?(i=e,o=Xl(a),t=Jl(a,t)):o=-1}}return i}function cu(e,t,r,n,i,s){let o=t[Pa],a=o.data[e+8],l=hu(a,o,r,null==n?zs(a)&&Pf:n!=o&&!!(3&a.type),1&i&&s===a);return null!==l?du(t,o,l,a,i):Ff}function hu(e,t,r,n,i){let s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,u=e.directiveEnd,c=s>>20,h=i?a+c:u;for(let d=n?a:a+c;d<h;d++){let e=o[d];if(d<l&&r===e||d>=l&&e.type===r)return d}if(i){let e=o[l];if(e&&$s(e)&&e.type===r)return l}return null}function du(e,t,r,n,i){let s=e[r],o=t.data;if(s instanceof Af){let a=s;if(a.resolving){(function(e){"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ji(e)})(o[r]);throw es()}let l=eu(a.canSeeViewProviders);a.resolving=!0;o[r].type||o[r];let u=a.injectImpl?is(a.injectImpl):null;Ro(e,n,0);try{s=e[r]=a.factory(void 0,i,o,e,n),t.firstCreatePass&&r>=n.directiveStart&&function(e,t,r){let{ngOnChanges:n,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(n){let n=Ll(t);(r.preOrderHooks??=[]).push(e,n),(r.preOrderCheckHooks??=[]).push(e,n)}i&&(r.preOrderHooks??=[]).push(0-e,i),s&&((r.preOrderHooks??=[]).push(e,s),(r.preOrderCheckHooks??=[]).push(e,s))}(r,o[r],t)}finally{null!==u&&is(u),eu(l),a.resolving=!1,fl()}}return s}function pu(e,t,r){let n=1<<e;return!!(r[t+(e>>Rf)]&n)}function fu(e,t){return!(2&e||1&e&&t)}function mu(){return new Lf(vo(),fo())}function gu(e){return Nl(()=>{let t=e.prototype.constructor,r=t[aa]||yu(t),n=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==n;){let e=i[aa]||yu(i);if(e&&e!==r)return e;i=Object.getPrototypeOf(i)}return e=>new e})}function yu(e){return Wi(e)?()=>{let t=yu(Gi(e));return t&&t()}:ds(e)}function vu(e){let t=e[Pa],r=t.type;return 2===r?t.declTNode:1===r?e[Fa]:null}function bu(){return _u(vo(),fo())}function _u(e,t){return new Mf(Ws(e,t))}function wu(e){return e instanceof Mf?e.nativeElement:e}function Su(){return this._results[Symbol.iterator]()}function Eu(e){return!(128&~e.flags)}function ku(e){return zf.get(e)||null}function Cu(e){zf.delete(e[Za])}function Du(e){let t=Ou(e);if(t){if(Ms(t)){let r,n,i,s=t;
2if(Au(e)){if(r=function(e,t){let r=e[Pa].components;if(r)for(let n=0;n<r.length;n++){let i=r[n];if(Ys(i,e)[ja]===t)return i}else if(Ys(nl,e)[ja]===t)return nl;return-1}(s,e),-1==r)throw new Error("The provided component was not found in the application");n=e}else if(function(e){return e&&e.constructor&&e.constructor.ɵdir}(e)){if(r=function(e,t){let r=e[Pa].firstChild;for(;r;){let n=r.directiveStart,i=r.directiveEnd;for(let s=n;s<i;s++)if(e[s]===t)return r.index;r=Iu(r)}return-1}(s,e),-1==r)throw new Error("The provided directive was not found in the application");i=function(e,t){let r=t[Pa].data[e];if(0===r.directiveStart)return va;let n=[];for(let i=r.directiveStart;i<r.directiveEnd;i++){let e=t[i];Au(e)||n.push(e)}return n}(r,s)}else if(r=Pu(s,e),-1==r)return null;let o=Hs(s[r]),a=Ou(o),l=a&&!Array.isArray(a)?a:Tu(s,r,o);if(n&&void 0===l.component&&(l.component=n,xu(l.component,l)),i&&void 0===l.directives){l.directives=i;for(let e=0;e<i.length;e++)xu(i[e],l)}xu(l.native,l),t=l}}else{let r=e,n=r;for(;n=n.parentNode;){let e=Ou(n);if(e){let n=Array.isArray(e)?e:e.lView;if(!n)return null;let i=Pu(n,r);if(i>=0){let e=Hs(n[i]),r=Tu(n,i,e);xu(e,r),t=r;break}}}}return t||null}function Tu(e,t,r){return new $f(e[Za],t,r)}function xu(e,t){Ms(t)?(e[Uf]=t[Za],function(e){zf.set(e[Za],e)}(t)):e[Uf]=t}function Ou(e){let t=e[Uf];return"number"==typeof t?ku(t):t||null}function Au(e){return e&&e.constructor&&e.constructor.ɵcmp}function Pu(e,t){let r=e[Pa];for(let n=nl;n<r.bindingStartIndex;n++)if(Hs(e[n])===t)return n;return-1}function Iu(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Ru(e){return Fu(e[$a])}function Nu(e){return Fu(e[Na])}function Fu(e){for(;null!==e&&!js(e);)e=e[Na];return e}function Lu(e){return!(32&~e.flags)}function Mu(e,t,r=!1){return rm(e,t,r)}function ju(e,t){let r=e.contentQueries;if(null!==r){let n=I(null);try{for(let n=0;n<r.length;n+=2){let i=r[n],s=r[n+1];if(-1!==s){let r=e.data[s];Po(i),r.contentQueries(2,t[s],s)}}}finally{I(n)}}}function Bu(e,t,r){Po(0);let n=I(null);try{t(e,r)}finally{I(n)}}function zu(e,t,r){if(Bs(t)){let n=I(null);try{let n=t.directiveStart,i=t.directiveEnd;for(let t=n;t<i;t++){let n=e.data[t];if(n.contentQueries){let e=r[t];n.contentQueries(1,e,t)}}}finally{I(n)}}}function Vu(e){return e instanceof im?e.changingThisBreaksApplicationSecurity:e}function $u(e,t){let r=function(e){return e instanceof im&&e.getTypeName()||null}(e);if(null!=r&&r!==t){if("ResourceURL"===r&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${r} (see ${Ko})`)}return r===t}function Uu(e){let t=function(){let e=fo();return e&&e[za].sanitizer}();return t?t.sanitize(om.URL,e)||"":$u(e,"URL")?Vu(e):function(e){return(e=String(e)).match(sm)?e:"unsafe:"+e}(Ji(e))}function qu(e,t,r){let n=e.length;for(;;){let i=e.indexOf(t,r);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){let r=t.length;if(i+r===n||e.charCodeAt(i+r)<=32)return i}r=i+1}}function Hu(e,t,r,n){let i=0;if(n){for(;i<t.length&&"string"==typeof t[i];i+=2)if("class"===t[i]&&-1!==qu(t[i+1].toLowerCase(),r,0))return!0}else if(Gu(e))return!1;if(i=t.indexOf(1,i),i>-1){let e;for(;++i<t.length&&"string"==typeof(e=t[i]);)if(e.toLowerCase()===r)return!0}return!1}function Gu(e){return 4===e.type&&e.value!==cm}function Wu(e,t,r){return t===(4!==e.type||r?e.value:cm)}function Qu(e,t,r){let n=4,i=e.attrs,s=null!==i?function(e){for(let t=0;t<e.length;t++){if(Wl(e[t]))return t}return e.length}(i):0,o=!1;for(let a=0;a<t.length;a++){let l=t[a];if("number"!=typeof l){if(!o)if(4&n){if(n=2|1&n,""!==l&&!Wu(e,l,r)||""===l&&1===t.length){if(Zu(n))return!1;o=!0}}else if(8&n){if(null===i||!Hu(e,i,l,r)){if(Zu(n))return!1;o=!0}}else{let u=t[++a],c=Yu(l,i,Gu(e),r);if(-1===c){if(Zu(n))return!1;o=!0;continue}if(""!==u){let e;if(e=c>s?"":i[c+1].toLowerCase(),2&n&&u!==e){if(Zu(n))return!1;o=!0}}}}else{if(!o&&!Zu(n)&&!Zu(l))return!1;if(o&&Zu(l))continue;o=!1,n=l|1&n}}return Zu(n)||o}function Zu(e){return!(1&e)}function Yu(e,t,r,n){if(null===t)return-1;let i=0;if(n||!r){let r=!1;for(;i<t.length;){let n=t[i];if(n===e)return i;if(3===n||6===n)r=!0;else{if(1===n||2===n){let e=t[++i];for(;"string"==typeof e;)e=t[++i];continue}if(4===n)break;if(0===n){i+=4;continue}}i+=r?1:2}return-1}return function(e,t){let r=e.indexOf(4);if(r>-1)for(r++;r<e.length;){let n=e[r];if("number"==typeof n)return-1;if(n===t)return r;r++}return-1}(t,e)}function Ku(e,t,r=!1){for(let n=0;n<t.length;n++)if(Qu(e,t[n],r))return!0;return!1}function Xu(e,t){e:for(let r=0;r<t.length;r++){let n=t[r];
2if(e.length===n.length){for(let t=0;t<e.length;t++)if(e[t]!==n[t])continue e;return!0}}return!1}function Ju(e,t){return e?":not("+t.trim()+")":t}function ec(e){let t=e[0],r=1,n=2,i="",s=!1;for(;r<e.length;){let o=e[r];if("string"==typeof o)if(2&n){let t=e[++r];i+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&n?i+="."+o:4&n&&(i+=" "+o);else""!==i&&!Zu(o)&&(t+=Ju(s,i),i=""),n=o,s=s||!Zu(n);r++}return""!==i&&(t+=Ju(s,i)),t}function tc(e,t){return e.createComment(function(e){return e.replace(am,e=>e.replace(lm,um))}(t))}function rc(e,t,r){return e.createElement(t,r)}function nc(e,t,r,n,i){e.insertBefore(t,r,n,i)}function ic(e,t,r){e.appendChild(t,r)}function sc(e,t,r,n,i){null!==n?nc(e,t,r,n,i):ic(e,t,r)}function oc(e,t,r,n){e.removeChild(null,t,r,n)}function ac(e,t,r){let{mergedAttrs:n,classes:i,styles:s}=r;null!==n&&function(e,t,r){let n=0;for(;n<r.length;){let i=r[n];if("number"==typeof i){if(0!==i)break;n++;let s=r[n++],o=r[n++],a=r[n++];e.setAttribute(t,o,a,s)}else{let s=i,o=r[++n];Ql(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),n++}}}(e,t,n),null!==i&&function(e,t,r){""===r?e.removeAttribute(t,"class"):e.setAttribute(t,"class",r)}(e,t,i),null!==s&&function(e,t,r){e.setAttribute(t,"style",r)}(e,t,s)}function lc(e,t,r,n,i,s,o,a,l,u,c){let h=nl+n,d=h+i,p=function(e,t){let r=[];for(let n=0;n<t;n++)r.push(n<e?null:hm);return r}(h,d),f="function"==typeof u?u():u;return p[Pa]={type:e,blueprint:p,template:r,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:d,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 s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1,ssrId:c}}function uc(e,t,r,n,i,s,o,a,l,u,c){let h=t.blueprint.slice();return h[Aa]=i,h[Ia]=1228|n,(null!==u||e&&2048&e[Ia])&&(h[Ia]|=2048),Js(h),h[Ra]=h[qa]=e,h[ja]=r,h[za]=o||e&&e[za],h[Va]=a||e&&e[Va],h[Ba]=l||e&&e[Ba]||null,h[Fa]=s,h[Za]=Vf++,h[La]=c,h[Ya]=u,h[Ha]=2==t.type?e[Ha]:h,h}function cc(e,t,r){let n=Ws(t,e),i=function(e){let t=e.tView;return null===t||t.incompleteFirstPass?e.tView=lc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}(r),s=e[za].rendererFactory,o=pc(e,uc(e,i,null,hc(r),n,t,null,s.createRenderer(n,r),null,null,null));return e[t.index]=o}function hc(e){let t=16;return e.signals?t=4096:e.onPush&&(t=64),t}function dc(e,t,r,n){if(0===r)return-1;let i=t.length;for(let s=0;s<r;s++)t.push(n),e.blueprint.push(n),e.data.push(null);return i}function pc(e,t){return e[$a]?e[Ua][Na]=t:e[$a]=t,e[Ua]=t,t}function fc(e=1){mc(mo(),fo(),zo()+e,!1)}function mc(e,t,r,n){if(!n)if(3&~t[Ia]){let n=e.preOrderHooks;null!==n&&$l(t,n,0,r)}else{let n=e.preOrderCheckHooks;null!==n&&Vl(t,n,r)}Vo(r)}function gc(e,t,r,n){let i=I(null);try{let[i,s,o]=e.inputs[r],a=null;s&dm.SignalBased&&(a=t[i][ne]),null!==a&&void 0!==a.transformFn?n=a.transformFn(n):null!==o&&(n=o.call(t,n)),null!==e.setInput?e.setInput(t,a,n,r,i):Fl(t,a,i,n)}finally{I(i)}}function yc(e,t){return fm(e,t)}function vc(e){vm.has(e)||(vm.add(e),performance?.mark?.("mark_feature_usage",{detail:{feature:e}}))}function bc(e){let t,r;function n(){e=Yo;try{void 0!==r&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(r),void 0!==t&&clearTimeout(t)}catch{}}return t=setTimeout(()=>{e(),n()}),"function"==typeof requestAnimationFrame&&(r=requestAnimationFrame(()=>{e(),n()})),()=>n()}function _c(e){return queueMicrotask(()=>e()),()=>{e=Yo}}function wc(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 Sc(e){let t=()=>{!function(e){function t(){bc(()=>{e.callbackScheduled=!1,Ec(e),e.isCheckStableRunning=!0,wc(e),e.isCheckStableRunning=!1})}e.isCheckStableRunning||e.callbackScheduled||(e.callbackScheduled=!0,e.scheduleInRootZone?Zone.root.run(()=>{t()}):e._outer.run(()=>{t()}),Ec(e))}(e)}
2,r=km++;e._inner=e._inner.fork({name:"angular",properties:{[Sm]:!0,[Em]:r,[Em+r]:!0},onInvokeTask:(r,n,i,s,o,a)=>{if(function(e){return Dc(e,"__ignore_ng_zone__")}(a))return r.invokeTask(i,s,o,a);try{return kc(e),r.invokeTask(i,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),Cc(e)}},onInvoke:(r,n,i,s,o,a,l)=>{try{return kc(e),r.invoke(i,s,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&!e.callbackScheduled&&!function(e){return Dc(e,"__scheduler_tick__")}(a)&&t(),Cc(e)}},onHasTask:(t,r,n,i)=>{t.hasTask(n,i),r===n&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ec(e),wc(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,n,i)=>(t.handleError(n,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}function Ec(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&!0===e.callbackScheduled?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function kc(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Cc(e){e._nesting--,wc(e)}function Dc(e,t){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0]?.data?.[t]}function Tc(e,t){let r=t?.injector??ls(gl);return vc("NgAfterNextRender"),function(e,t,r,n){let i=t.get(xm);i.impl??=t.get(Am);let s=t.get(ym,null,{optional:!0}),o=!0!==r?.manualCleanup?t.get(vl):null,a=t.get(El,null,{optional:!0}),l=new Pm(i.impl,function(e){return e instanceof Function?[void 0,void 0,e,void 0]:[e.earlyRead,e.write,e.mixedReadWrite,e.read]}(e),a?.view,n,o,s?.snapshot(null));return i.impl.register(l),l}(e,r,t,!0)}function xc(e,t){let r=e.get(Im);if(Array.isArray(t))for(let n of t)r.queue.add(n);else r.queue.add(t);r.scheduler&&r.scheduler(e)}function Oc(e,t,r,n){let i=e?.[rl]?.enter;null!==t&&i&&i.has(r.index)&&function(e,t){for(let[r,n]of t)xc(e,n.animateFns)}(n,i)}function Ac(e,t,r,n,i,s,o,a){if(null!=i){let l,u=!1;js(i)?l=i:Ms(i)&&(u=!0,i=i[Aa]);let c=Hs(i);0===e&&null!==n?(Oc(a,n,s,r),null==o?ic(t,n,c):nc(t,n,c,o||null,!0)):1===e&&null!==n?(Oc(a,n,s,r),nc(t,n,c,o||null,!0)):2===e?Fc(a,s,r,e=>{oc(t,c,u,e)}):3===e&&Fc(a,s,r,()=>{t.destroyNode(c)}),null!=l&&function(e,t,r,n,i,s,o){let a=n[ol],l=Hs(n);a!==l&&Ac(t,e,r,s,a,i,o);for(let u=ul;u<n.length;u++){let r=n[u];qc(r[Pa],r,e,t,s,a)}}(t,e,r,l,s,n,o)}}function Pc(e,t){t[za].changeDetectionScheduler?.notify(9),qc(e,t,t[Va],2,null,null)}function Ic(e,t){let r=e[ll],n=r.indexOf(t);r.splice(n,1)}function Rc(e,t){if(qs(t))return;let r=t[Va];r.destroyNode&&qc(e,t,r,3,null,null),function(e){let t=e[$a];if(!t)return Nc(e[Pa],e);for(;t;){let r=null;if(Ms(t))r=t[$a];else{let e=t[ul];e&&(r=e)}if(!r){for(;t&&!t[Na]&&t!==e;)Ms(t)&&Nc(t[Pa],t),t=t[Ra];null===t&&(t=e),Ms(t)&&Nc(t[Pa],t),r=t&&t[Na]}t=r}}(t)}function Nc(e,t){if(qs(t))return;let r=I(null);try{t[Ia]&=-129,t[Ia]|=256,t[el]&&$(t[el]),function(e,t){let r;if(null!=e&&null!=(r=e.destroyHooks))for(let n=0;n<r.length;n+=2){let e=t[r[n]];if(!(e instanceof Af)){let t=r[n+1];if(Array.isArray(t))for(let r=0;r<t.length;r+=2){let n=e[t[r]],i=t[r+1];xf(4,n,i);try{i.call(n)}finally{xf(5,n,i)}}else{xf(4,e,t);try{t.call(e)}finally{xf(5,e,t)}}}}}(e,t),function(e,t){let r=e.cleanup,n=t[Ma];if(null!==r)for(let o=0;o<r.length-1;o+=2)if("string"==typeof r[o]){let e=r[o+3];e>=0?n[e]():n[-e].unsubscribe(),o+=2}else{let e=n[r[o+1]];r[o].call(e)}null!==n&&(t[Ma]=null);let i=t[Ka];if(null!==i){t[Ka]=null;for(let e=0;e<i.length;e++){(0,i[e])()}}let s=t[Ja];if(null!==s){t[Ja]=null;for(let e of s)e.destroy()}}(e,t),1===t[Pa].type&&t[Va].destroy();let r=t[Ga];if(null!==r&&js(t[Ra])){r!==t[Ra]&&Ic(r,t);let n=t[Qa];null!==n&&n.detachView(e)}Cu(t)}finally{I(r)}}function Fc(e,t,r,n){let i=e?.[rl];return null!=i&&null!=i.leave&&i.leave.has(t.index)?i.skipLeaveAnimations?(i.skipLeaveAnimations=!1,n(!1)):(e&&mm.add(e),void xc(r,()=>{if(i.leave&&i.leave.has(t.index)){let r=i.leave.get(t.index),s=[];if(r)for(let e=0;e<r.animateFns.length;e++){let t=r.animateFns[e],{promise:n}=t();s.push(n)}i.running=Promise.allSettled(s),function(e,t){let r=e[rl]?.running;if(r)return void r.then(()=>{e[rl].running=void 0,mm.delete(e),t(!0)});t(!1)}(e,n)}else e&&mm.delete(e),n(!1)})):n(!1)}function Lc(e,t,r){return function(e,t,r){let n=t;for(;null!==n&&168&n.type;)n=(t=n).parent;if(null===n)return r[Aa];if(zs(n)){let{encapsulation:t}
2=e.data[n.directiveStart+n.componentOffset];if(t===nm.None||t===nm.Emulated)return null}return Ws(n,r)}(e,t.parent,r)}function Mc(e,t,r){return Rm(e,t,r)}function jc(e,t,r){return 40&e.type?Ws(e,r):null}function Bc(e,t,r,n){let i=Lc(e,n,t),s=t[Va],o=Mc(n.parent||t[Fa],n,t);if(null!=i)if(Array.isArray(r))for(let a=0;a<r.length;a++)sc(s,i,r[a],o,!1);else sc(s,i,r,o,!1);void 0!==Nm&&Nm(s,n,t,r,i)}function zc(e,t){if(null!==t){let r=t.type;if(3&r)return Ws(t,e);if(4&r)return $c(-1,e[t.index]);if(8&r){let r=t.child;if(null!==r)return zc(e,r);{let r=e[t.index];return js(r)?$c(-1,r):Hs(r)}}if(128&r)return zc(e,t.next);if(32&r)return yc(t,e)()||Hs(e[t.index]);{let r=Vc(e,t);if(null!==r){if(Array.isArray(r))return r[0];return zc(so(e[Ha]),r)}return zc(e,t.next)}}return null}function Vc(e,t){if(null!==t){let r=e[Ha][Fa],n=t.projection;return r.projection[n]}return null}function $c(e,t){let r=ul+e+1;if(r<t.length){let e=t[r],n=e[Pa].firstChild;if(null!==n)return zc(e,n)}return t[ol]}function Uc(e,t,r,n,i,s,o){for(;null!=r;){let a=n[Ba];if(128===r.type){r=r.next;continue}let l=n[r.index],u=r.type;if(o&&0===t&&(l&&xu(Hs(l),n),r.flags|=2),!Lu(r))if(8&u)Uc(e,t,r.child,n,i,s,!1),Ac(t,e,a,i,l,r,s,n);else if(32&u){let o,u=yc(r,n);for(;o=u();)Ac(t,e,a,i,o,r,s,n);Ac(t,e,a,i,l,r,s,n)}else 16&u?Hc(e,t,n,r,i,s):Ac(t,e,a,i,l,r,s,n);r=o?r.projectionNext:r.next}}function qc(e,t,r,n,i,s){Uc(r,n,e.firstChild,t,i,s,!1)}function Hc(e,t,r,n,i,s){let o=r[Ha],a=o[Fa].projection[n.projection];if(Array.isArray(a))for(let l=0;l<a.length;l++){let o=a[l];Ac(t,e,r[Ba],i,o,n,s,r)}else{let r=a,l=o[Ra];Eu(n)&&(r.flags|=128),Uc(e,t,r,l,i,s,!0)}}function Gc(e,t,r,n,i){let s=zo(),o=2&n;try{Vo(-1),o&&t.length>nl&&mc(e,t,nl,!1),xf(o?2:0,i,r),r(n,i)}finally{Vo(s),xf(o?3:1,i,r)}}function Wc(e,t,r){(function(e,t,r){let n=r.directiveStart,i=r.directiveEnd;zs(r)&&cc(t,r,e.data[n+r.componentOffset]),e.firstCreatePass||tu(r,t);let s=r.initialInputs;for(let o=n;o<i;o++){let i=e.data[o],a=du(t,e,o,r);if(xu(a,t),null!==s&&eh(t,o-n,a,i,r,s),$s(i)){Ys(r.index,t)[ja]=du(t,e,o,r)}}})(e,t,r),!(64&~r.flags)&&function(e,t,r){let n=r.directiveStart,i=r.directiveEnd,s=r.index,o=dl.lFrame.currentDirectiveIndex;try{Vo(s);for(let r=n;r<i;r++){let n=e.data[r],i=t[r];Oo(r),(null!==n.hostBindings||0!==n.hostVars||null!==n.hostAttrs)&&Kc(n,i)}}finally{Vo(-1),Oo(o)}}(e,t,r)}function Qc(e,t,r=Ws){let n=t.localNames;if(null!==n){let i=t.index+1;for(let s=0;s<n.length;s+=2){let o=n[s+1],a=-1===o?r(t,e):e[o];e[i++]=a}}}function Zc(e,t,r,n){let i=n.get(em,Jf)||r===nm.ShadowDom,s=e.selectRootElement(t,i);return function(e){Fm(e)}(s),s}function Yc(e,t,r,n,i,s){nh(e,t[Pa],t,r,n)?zs(e)&&function(e,t){let r=Ys(t,e);16&r[Ia]||(r[Ia]|=64)}(t,e.index):(3&e.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r)),function(e,t,r,n,i,s){if(3&e.type){let o=Ws(e,t);n=null!=s?s(n,e.value||"",r):n,i.setProperty(o,r,n)}else e.type}(e,t,r,n,i,s))}function Kc(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Xc(e,t){let r=e.directiveRegistry,n=null;if(r)for(let i=0;i<r.length;i++){let e=r[i];Ku(t,e.selectors,!1)&&(n??=[],$s(e)?n.unshift(e):n.push(e))}return n}function Jc(e,t,r,n,i,s){let o=Ws(e,t);!function(e,t,r,n,i,s,o){if(null==s)e.removeAttribute(t,i,r);else{let a=null==o?Ji(s):o(s,n||"",i);e.setAttribute(t,i,a,r)}}(t[Va],o,s,e.value,r,n,i)}function eh(e,t,r,n,i,s){let o=s[t];if(null!==o)for(let a=0;a<o.length;a+=2){gc(n,r,o[a],o[a+1])}}function th(e,t,r,n,i){let s=nl+r,o=t[Pa],a=i(o,t,e,n,r);t[s]=a,_o(e,!0);let l=2===e.type;return l?(ac(t[Va],a,e),(0===dl.lFrame.elementDepthCount||Vs(e))&&xu(a,t),dl.lFrame.elementDepthCount++):xu(a,t),Uo()&&(!l||!Lu(e))&&Bc(o,t,a,e),e}function rh(e){let t=e;return wo()?So():(t=t.parent,_o(t,!1)),t}function nh(e,t,r,n,i){let s=e.inputs?.[n],o=e.hostDirectiveInputs?.[n],a=!1;if(o)for(let l=0;l<o.length;l+=2){let e=o[l],n=o[l+1];gc(t.data[e],r[e],n,i),a=!0}if(s)for(let l of s){let e=r[l];gc(t.data[l],e,n,i),a=!0}return a}function ih(e,t){let r=Ys(t,e),n=r[Pa];!function(e,t){for(let r=t.length;r<e.blueprint.length;r++)t.push(e.blueprint[r])}(n,r);let i=r[Aa];null!==i&&null===r[La]&&(r[La]=Mu(i,r[Ba])),xf(18),sh(n,r,r[ja]),xf(19,r[ja])}function sh(e,t,r){No(t);try{let n=e.viewQuery;null!==n&&Bu(1,n,r);let i=e.template;null!==i&&Gc(e,t,i,1,r),e.firstCreatePass&&(e.firstCreatePass=!1),t[Qa]?.finishViewCreation(e),e.staticContentQueries&&ju(e,t),e.staticViewQueries&&Bu(2,e.viewQuery,r);let s=e.components;null!==s&&function(e,t){for(let r=0;r<t.length;r++)ih(e,t[r])}(t,s)}catch(n){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),n}finally{t[Ia]&=-5,jo()}}function oh(e,t,r,n){let i=I(null);try{let i=t.tView,s=uc(e,i,r,4096&e[Ia]?4096:16,null,t,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),o=e[t.index];s[Ga]=o;let a=e[Qa];return null!==a&&(s[Qa]=a.createEmbeddedView(i)),sh(i,s,r),s}finally{I(i)}}function ah(e,t){return!t||null===t.firstChild||Eu(e)}function lh(e,t,r,n,i=!1){for(;null!==r;){if(128===r.type){r=i?r.projectionNext:r.next;continue}let s=t[r.index];null!==s&&n.push(Hs(s)),js(s)&&uh(s,n);let o=r.type;if(8&o)lh(e,t,r.child,n);else if(32&o){let e,i=yc(r,t);for(;e=i();)n.push(e)}else if(16&o){let e=Vc(t,r);if(Array.isArray(e))n.push(...e);else{let r=so(t[Ha]);lh(r[Pa],r,e,n,!0)}}r=i?r.projectionNext:r.next}return n}function uh(e,t){for(let r=ul;r<e.length;r++){let n=e[r],i=n[Pa].firstChild;null!==i&&lh(n[Pa],n,i,t)}
2e[ol]!==e[Aa]&&t.push(e[ol])}function ch(e){if(null!==e[tl]){for(let t of e[tl])t.impl.addSequence(t);e[tl].length=0}}function hh(e){return e[el]??function(e){let t=Lm.pop()??Object.create(Mm);return t.lView=e,t}(e)}function dh(e){return 2!==e.type}function ph(e){if(null===e[Ja])return;let t=!0;for(;t;){let r=!1;for(let t of e[Ja])t.dirty&&(r=!0,null===t.zone||Zone.current===t.zone?t.run():t.zone.run(()=>t.run()));t=r&&!!(8192&e[Ia])}}function fh(e,t=0){let r=e[za].rendererFactory;r.begin?.();try{!function(e,t){let r=Eo();try{ko(!0),bh(e,t);let r=0;for(;to(e);){if(r===Bm)throw new Xo(103,!1);r++,bh(e,1)}}finally{ko(r)}}(e,t)}finally{r.end?.()}}function mh(e,t,r,n){if(qs(t))return;let i=t[Ia];No(t);let s=!0,o=null,a=null;dh(e)?(a=hh(t),o=B(a)):null===J?(s=!1,a=function(e){let t=e[el]??Object.create(jm);return t.lView=e,t}(t),o=B(a)):t[el]&&($(t[el]),t[el]=null);try{Js(t),function(e){dl.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==r&&Gc(e,t,r,2,n);let s=!(3&~i);if(s){let r=e.preOrderCheckHooks;null!==r&&Vl(t,r,null)}else{let r=e.preOrderHooks;null!==r&&$l(t,r,0,null),Ul(t,0)}if(function(e){for(let t=Ru(e);null!==t;t=Nu(t)){if(!(2&t[Ia]))continue;let e=t[ll];for(let t=0;t<e.length;t++){eo(e[t])}}}(t),ph(t),gh(t,0),null!==e.contentQueries&&ju(e,t),s){let r=e.contentCheckHooks;null!==r&&Vl(t,r)}else{let r=e.contentHooks;null!==r&&$l(t,r,1),Ul(t,1)}!function(e,t){let r=e.hostBindingOpCodes;if(null!==r)try{for(let e=0;e<r.length;e++){let n=r[e];if(n<0)Vo(~n);else{let i=n,s=r[++e],o=r[++e];xo(s,i);let a=t[i];xf(24,a),o(2,a),xf(25,a)}}}finally{Vo(-1)}}(e,t);let o=e.components;null!==o&&_h(t,o,0);let a=e.viewQuery;if(null!==a&&Bu(2,a,n),s){let r=e.viewCheckHooks;null!==r&&Vl(t,r)}else{let r=e.viewHooks;null!==r&&$l(t,r,2),Ul(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[Xa]){for(let e of t[Xa])e();t[Xa]=null}ch(t),t[Ia]&=-73}catch(l){throw no(t),l}finally{null!==a&&(z(a,o),s&&function(e){e.lView[el]!==e&&(e.lView=null,Lm.push(e))}(a)),jo()}}function gh(e,t){for(let r=Ru(e);null!==r;r=Nu(r))for(let e=ul;e<r.length;e++){vh(r[e],t)}}function yh(e,t,r){xf(18);let n=Ys(t,e);vh(n,r),xf(19,n[ja])}function vh(e,t){Ks(e)&&bh(e,t)}function bh(e,t){let r=e[Pa],n=e[Ia],i=e[el],s=!!(0===t&&16&n);if(s||=!!(64&n&&0===t),s||=!!(1024&n),s||=!(!i?.dirty||!V(i)),s||=!1,i&&(i.dirty=!1),e[Ia]&=-9217,s)mh(r,e,r.template,e[ja]);else if(8192&n){let t=I(null);try{ph(e),gh(e,1);let t=r.components;null!==t&&_h(e,t,1),ch(e)}finally{I(t)}}}function _h(e,t,r){for(let n=0;n<t.length;n++)yh(e,t[n],r)}function wh(e,t){let r=Eo()?64:1088;for(e[za].changeDetectionScheduler?.notify(t);e;){e[Ia]|=r;let t=so(e);if(Us(e)&&!t)return e;e=t}return null}function Sh(e,t,r,n){return[e,!0,0,t,null,n,null,r,null,null]}function Eh(e,t){let r=ul+t;if(r<e.length)return e[r]}function kh(e,t,r,n=!0){let i=t[Pa];if(function(e,t,r,n){let i=ul+n,s=r.length;n>0&&(r[i-1][Na]=t),n<s-ul?(t[Na]=r[i],fs(r,ul+n,t)):(r.push(t),t[Na]=null),t[Ra]=r;let o=t[Ga];null!==o&&r!==o&&Th(o,t);let a=t[Qa];null!==a&&a.insertView(e),ro(t),t[Ia]|=128}(i,t,e,r),n){let n=$c(r,e),s=t[Va],o=s.parentNode(e[ol]);null!==o&&function(e,t,r,n,i,s){n[Aa]=i,n[Fa]=t,qc(e,n,r,1,i,s)}(i,e[Fa],s,t,o,n)}let s=t[La];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function Ch(e,t){let r=Dh(e,t);return void 0!==r&&Rc(r[Pa],r),r}function Dh(e,t){if(e.length<=ul)return;let r=ul+t,n=e[r];if(n){let i=n[Ga];null!==i&&i!==e&&Ic(i,n),t>0&&(e[r-1][Na]=n[Na]);let s=ms(e,ul+t);!function(e,t){Pc(e,t),t[Aa]=null,t[Fa]=null}(n[Pa],n);let o=s[Qa];null!==o&&o.detachView(s[Pa]),n[Ra]=null,n[Na]=null,n[Ia]&=-129}return n}function Th(e,t){let r=e[ll],n=t[Ra];if(Ms(n))e[Ia]|=2;else{let r=n[Ra][Ha];t[Ha]!==r&&(e[Ia]|=2)}null===r?e[ll]=[t]:r.push(t)}function xh(){return Oh(vo(),fo())}function Oh(e,t){return 4&e.type?new Vm(t,e,_u(e,t)):null}function Ah(e,t,r,n,i){let s=e.data[t];if(null===s)s=function(e,t,r,n,i){let s=bo(),o=wo(),a=o?s:s&&s.parent,l=e.data[t]=function(e,t,r,n,i,s){let o=t?t.injectorIndex:-1,a=0;return co()&&(a|=128),{type:r,index:n,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOff
2set:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:s,mergedAttrs:null,localNames:null,initialInputs:null,inputs:null,hostDirectiveInputs:null,outputs:null,hostDirectiveOutputs:null,directiveToIndex:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a,r,t,n,i);return function(e,t,r,n){null===e.firstChild&&(e.firstChild=t),null!==r&&(n?null==r.child&&null!==t.parent&&(r.child=t):null===r.next&&(r.next=t,t.prev=r))}(e,l,s,o),l}(e,t,r,n,i),dl.lFrame.inI18n&&(s.flags|=32);else if(64&s.type){s.type=r,s.value=n,s.attrs=i;let e=function(){let e=dl.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();s.injectorIndex=null===e?-1:e.injectorIndex}return _o(s,!0),s}function Ph(e,t){let r=0,n=e.firstChild;if(n){let i=e.data[Kf];for(;r<i;){let e=n.nextSibling;oc(t,n,!1),n=e,r++}}}function Ih(e,t){return $m(e,t)}function Rh(e,t,r){return Um(e,t,r)}function Nh(e,t,r){let n=r?e.styles:null,i=r?e.classes:null,s=0;if(null!==t)for(let o=0;o<t.length;o++){let e=t[o];if("number"==typeof e)s=e;else if(1==s)i=qi(i,e);else if(2==s){n=qi(n,e+": "+t[++o]+";")}}r?e.styles=n:e.stylesWithoutHost=n,r?e.classes=i:e.classesWithoutHost=i}function Fh(e,t=0){let r=fo();return null===r?as(e,t):lu(vo(),r,Gi(e),t)}function Lh(e,t,r,n,i){let s=null===n?null:{"":-1},o=i(e,r);if(null!==o){let n=o,i=null,a=null;for(let e of o)if(null!==e.resolveHostDirectives){[n,i,a]=e.resolveHostDirectives(o);break}!function(e,t,r,n,i,s,o){let a=n.length,l=!1;for(let d=0;d<a;d++){let i=n[d];!l&&$s(i)&&(l=!0,Mh(e,r,d)),su(tu(r,t),e,i.type)}!function(e,t,r){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+r,e.providerIndexes=t}(r,e.data.length,a);for(let d=0;d<a;d++){let e=n[d];e.providersResolver&&e.providersResolver(e)}let u=!1,c=!1,h=dc(e,t,a,null);a>0&&(r.directiveToIndex=new Map);for(let d=0;d<a;d++){let a=n[d];if(r.mergedAttrs=Zl(r.mergedAttrs,a.hostAttrs),$h(e,r,t,h,a),Uh(h,a,i),null!==o&&o.has(a)){let[e,t]=o.get(a);r.directiveToIndex.set(a.type,[h,e+r.directiveStart,t+r.directiveStart])}else(null===s||!s.has(a))&&r.directiveToIndex.set(a.type,h);null!==a.contentQueries&&(r.flags|=4),(null!==a.hostBindings||null!==a.hostAttrs||0!==a.hostVars)&&(r.flags|=64);let l=a.type.prototype;!u&&(l.ngOnChanges||l.ngOnInit||l.ngDoCheck)&&((e.preOrderHooks??=[]).push(r.index),u=!0),!c&&(l.ngOnChanges||l.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(r.index),c=!0),h++}!function(e,t,r){for(let n=t.directiveStart;n<t.directiveEnd;n++){let i=e.data[n];if(null!==r&&r.has(i)){let e=r.get(i);Bh(0,t,e,n),Bh(1,t,e,n),Vh(t,n,!0)}else jh(0,t,i,n),jh(1,t,i,n),Vh(t,n,!1)}}(e,r,s)}(e,t,r,n,s,i,a)}null!==s&&null!==n&&function(e,t,r){let n=e.localNames=[];for(let i=0;i<t.length;i+=2){let e=r[t[i+1]];if(null==e)throw new Xo(-301,!1);n.push(t[i],e)}}(r,n,s)}function Mh(e,t,r){t.componentOffset=r,(e.components??=[]).push(t.index)}function jh(e,t,r,n){let i=0===e?r.inputs:r.outputs;for(let s in i)if(i.hasOwnProperty(s)){let r;r=0===e?t.inputs??={}:t.outputs??={},r[s]??=[],r[s].push(n),zh(t,s)}}function Bh(e,t,r,n){let i=0===e?r.inputs:r.outputs;for(let s in i)if(i.hasOwnProperty(s)){let r,o=i[s];r=0===e?t.hostDirectiveInputs??={}:t.hostDirectiveOutputs??={},r[o]??=[],r[o].push(n,s),zh(t,o)}}function zh(e,t){"class"===t?e.flags|=8:"style"===t&&(e.flags|=16)}function Vh(e,t,r){let{attrs:n,inputs:i,hostDirectiveInputs:s}=e;if(null===n||!r&&null===i||r&&null===s||Gu(e))return e.initialInputs??=[],void e.initialInputs.push(null);let o=null,a=0;for(;a<n.length;){let e=n[a];if(0!==e)if(5!==e){if("number"==typeof e)break;if(!r&&i.hasOwnProperty(e)){let r=i[e];for(let i of r)if(i===t){o??=[],o.push(e,n[a+1]);break}}else if(r&&s.hasOwnProperty(e)){let r=s[e];for(let e=0;e<r.length;e+=2)if(r[e]===t){o??=[],o.push(r[e+1],n[a+1]);break}}a+=2}else a+=2;else a+=4}e.initialInputs??=[],e.initialInputs.push(o)}function $h(e,t,r,n,i){e.data[n]=i;let s=i.factory||(i.factory=ds(i.type)),o=new Af(s,$s(i),Fh,null);e.blueprint[n]=o,r[n]=o,function(e,t,r,n,i){let s=i.hostBindings;if(s){let i=e.hostBindingOpCodes;null===i&&(i=e.hostBindingOpCodes=[]);let o=~t.index;(function(e){let t=e.length;for(;t>0;){let r=e[--t];if("number"==typeof r&&r<0)return r}return 0})(i)!=o&&i.push(o),i.push(r,n,s)}}(e,t,n,dc(e,r,i.hostVars,hm),i)}function Uh(e,t,r){if(r){if(t.exportAs)for(let n=0;n<t.exportAs.length;n++)r[t.exportAs[n]]=e;$s(t)&&(r[""]=e)}}function qh(e,t,r,n,i,s,o,a){let l=t[Pa],u=l.consts,c=Ah(l,e,r,n,Xs(u,o));return s&&Lh(l,t,c,Xs(u,a),i),c.mergedAttrs=Zl(c.mergedAttrs,c.attrs),null!==c.attrs&&Nh(c,
2c.attrs,!1),null!==c.mergedAttrs&&Nh(c,c.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,c),c}function Hh(e,t){zl(e,t),Bs(t)&&e.queries.elementEnd(t)}function Gh(e,t,r,n,i,s){let o=t.consts,a=Ah(t,e,r,n,Xs(o,i));if(a.mergedAttrs=Zl(a.mergedAttrs,a.attrs),null!=s){let e=Xs(o,s);a.localNames=[];for(let t=0;t<e.length;t+=2)a.localNames.push(e[t],-1)}return null!==a.attrs&&Nh(a,a.attrs,!1),null!==a.mergedAttrs&&Nh(a,a.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,a),a}function Wh(e,t,r){return e[t]=r}function Qh(e,t,r){if(r===hm)return!1;let n=e[t];return!Object.is(n,r)&&(e[t]=r,!0)}function Zh(e,t,r,n){let i=Qh(e,t,r);return Qh(e,t+1,n)||i}function Yh(e,t,r){return function n(i){wh(zs(e)?Ys(e.index,t):t,5);let s=t[ja],o=Kh(t,s,r,i),a=n.__ngNextListenerFn__;for(;a;)o=Kh(t,s,a,i)&&o,a=a.__ngNextListenerFn__;return o}}function Kh(e,t,r,n){let i=I(null);try{return xf(6,t,r),!1!==r(n)}catch(s){return function(e,t){let r,n=e[Ba];if(n){try{r=n.get(wl,null)}catch{r=null}r?.(t)}}(e,s),!1}finally{xf(7,t,r),I(i)}}function Xh(e,t,r,n,i,s,o,a){let l=Vs(e),u=!1,c=null;if(!n&&l&&(c=function(e,t,r,n){let i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){let e=i[s];if(e===r&&i[s+1]===n){let e=t[Ma],r=i[s+2];return e&&e.length>r?e[r]:null}"string"==typeof e&&(s+=2)}return null}(t,r,s,e.index)),null!==c){(c.__ngLastListenerFn__||c).__ngNextListenerFn__=o,c.__ngLastListenerFn__=o,u=!0}else{let o=Ws(e,r),l=n?n(o):o;!function(e,t,r,n){tm(e,t,r,n)}(r,l,s,a);let u=i.listen(l,s,a);if(!function(e){return e.startsWith("animation")||e.startsWith("transition")}(s)){Jh(n?t=>n(Hs(t[e.index])):e.index,t,r,s,a,u,!1)}}return u}function Jh(e,t,r,n,i,s,o){let a=t.firstCreatePass?ao(t):null,l=oo(r),u=l.length;l.push(i,s),a&&a.push(n,e,u,(u+1)*(o?-1:1))}function ed(e,t,r,n,i,s){let o=t[r],a=t[Pa],l=o[a.data[r].outputs[n]].subscribe(s);Jh(e.index,a,t,i,s,l,!0)}function td(e,t,r,n){let i=e?["ng-version","20.3.9"]:function(e){let t=[],r=[],n=1,i=2;for(;n<e.length;){let s=e[n];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++n]):8===i&&r.push(s);else{if(!Zu(i))break;i=s}n++}return r.length&&t.push(1,...r),t}(t.selectors[0]),s=null,o=null,a=0;if(r)for(let u of r)a+=u[Jm].requiredVars,u.create&&(u.targetIdx=0,(s??=[]).push(u)),u.update&&(u.targetIdx=0,(o??=[]).push(u));if(n)for(let u=0;u<n.length;u++){let e=n[u];if("function"!=typeof e)for(let t of e.bindings){a+=t[Jm].requiredVars;let e=u+1;t.create&&(t.targetIdx=e,(s??=[]).push(t)),t.update&&(t.targetIdx=e,(o??=[]).push(t))}}let l=[t];if(n)for(let u of n){let e=_s("function"==typeof u?u:u.type);l.push(e)}return lc(0,null,function(e,t){return e||t?r=>{if(1&r&&e)for(let t of e)t.create();if(2&r&&t)for(let e of t)e.update()}:null}(s,o),1,a,l,null,null,null,[i],null)}function rd(e){let t=e[Jm].kind;return"input"===t||"twoWay"===t}function nd(){return od(vo(),fo())}function id(e){return e[al]}function sd(e){return e[al]||(e[al]=[])}function od(e,t){let r,n=t[e.index];return js(n)?r=n:(r=Sh(n,t,null,e),t[e.index]=r,pc(t,r)),og(r,t,e,n),new sg(r,e,t)}function ad(e,t,r,n){if(e[ol])return;let i;i=8&r.type?Hs(n):function(e,t){let r=e[Va],n=r.createComment(""),i=Ws(t,e),s=r.parentNode(i);return nc(r,s,n,r.nextSibling(i),!1),n}(t,r),e[ol]=i}function ld(e,t){let r=e.localNames;if(null!==r)for(let n=0;n<r.length;n+=2)if(r[n]===t)return r[n+1];return null}function ud(e,t,r,n){return-1===r?function(e,t){return 11&e.type?_u(e,t):4&e.type?Oh(e,t):null}(t,e):-2===r?function(e,t,r){if(r===Mf)return _u(t,e);if(r===Vm)return Oh(t,e);if(r===ng)return od(t,e)}(e,t,n):du(e,e[Pa],r,t)}function cd(e,t,r,n){let i=t[Qa].queries[n];if(null===i.matches){let n=e.data,s=r.matches,o=[];for(let e=0;null!==s&&e<s.length;e+=2){let i=s[e];if(i<0)o.push(null);else{let a=n[i];o.push(ud(t,a,s[e+1],r.metadata.read))}}i.matches=o}return i.matches}function hd(e,t,r,n){let i=e.queries.getByIndex(r),s=i.matches;if(null!==s){let o=cd(e,t,i,r);for(let e=0;e<s.length;e+=2){let r=s[e];if(r>0)n.push(o[e/2]);else{let i=s[e+1],o=t[-r];for(let e=ul;e<o.length;e++){let t=o[e];t[Ga]===t[Ra]&&hd(t[Pa],t,i,n)}if(null!==o[ll]){let e=o[ll];for(let t=0;t<e.length;t++){let r=e[t];hd(r[Pa],r,i,n)}}}}}return n}function dd(e,t,r){let n=new jf(!(4&~r));return function(e,t,r,n){let i=oo(t);i.push(r),e.firstCreatePass&&ao(e).push(n,i.length-1)}(e,t,n,n.destroy),(t[Qa]??=new ug).queries.push(new lg(n))-1}function pd(e,t,r){let n=mo();return n.firstCreatePass&&(function(e,t,r){null===e.queries&&(e.queries=new hg),e.queries.track(new dg(t,r))}(n,new cg(e,t,r),-1),!(2&~t)&&(n.staticViewQueries=!0)),dd(n,fo(),t)}function fd(e,t){return e.queries.getByIndex(t)}function md(e,t){let r=e[Pa],n=fd(r,t);return n.crossesNgTemplate?hd(r,e,t,[]):cd(r,e,n,t)}function gd(e,t,r=null){return new fg({providers:e,parent:t,debugName:r,runEnvironmentInitializer
2s:!0}).injector}function yd(e){return Nl(()=>{let t=kd(e),r=v(y({},t),{decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Bf.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:t.standalone?e=>e.get(mg).getOrCreateStandaloneInjector(r):null,getExternalStyles:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||nm.Emulated,styles:e.styles||va,_:null,schemas:e.schemas||null,tView:null,id:""});t.standalone&&vc("NgStandalone"),Cd(r);let n=e.dependencies;return r.directiveDefs=Dd(n,vd),r.pipeDefs=Dd(n,ws),r.id=function(e){let t=0,r="function"==typeof e.consts?"":e.consts,n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,r,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];for(let i of n.join("|"))t=Math.imul(31,t)+i.charCodeAt(0)|0;return t+=2147483648,"c"+t}(r),r})}function vd(e){return bs(e)||_s(e)}function bd(e){return Nl(()=>({type:e.type,bootstrap:e.bootstrap||va,declarations:e.declarations||va,imports:e.imports||va,exports:e.exports||va,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function _d(e,t){if(null==e)return ya;let r={};for(let n in e)if(e.hasOwnProperty(n)){let i,s,o,a,l=e[n];Array.isArray(l)?(o=l[0],i=l[1],s=l[2]??i,a=l[3]||null):(i=l,s=l,o=dm.None,a=null),r[i]=[n,o,a],t[i]=s}return r}function wd(e){if(null==e)return ya;let t={};for(let r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}function Sd(e){return Nl(()=>{let t=kd(e);return Cd(t),t})}function Ed(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:e.standalone??!0,onDestroy:e.type.prototype.ngOnDestroy||null}}function kd(e){let t={};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:t,inputConfig:e.inputs||ya,exportAs:e.exportAs||null,standalone:e.standalone??!0,signals:!0===e.signals,selectors:e.selectors||va,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:_d(e.inputs,t),outputs:wd(e.outputs),debugInfo:null}}function Cd(e){e.features?.forEach(t=>t(e))}function Dd(e,t){return e?()=>{let r="function"==typeof e?e():e,n=[];for(let e of r){let r=t(e);null!==r&&n.push(r)}return n}:null}function Td(e){let t=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),r=!0,n=[e];for(;t;){let i;if($s(e))i=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new Xo(903,!1);i=t.ɵdir}if(i){if(r){n.push(i);let t=e;t.inputs=Od(e.inputs),t.declaredInputs=Od(e.declaredInputs),t.outputs=Od(e.outputs);let r=i.hostBindings;r&&Id(e,r);let s=i.viewQuery,o=i.contentQueries;if(s&&Ad(e,s),o&&Pd(e,o),xd(e,i),$i(e.outputs,i.outputs),$s(i)&&i.data.animation){let t=e.data;t.animation=(t.animation||[]).concat(i.data.animation)}}let t=i.features;if(t)for(let n=0;n<t.length;n++){let i=t[n];i&&i.ngInherit&&i(e),i===Td&&(r=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,r=null;for(let n=e.length-1;n>=0;n--){let i=e[n];i.hostVars=t+=i.hostVars,i.hostAttrs=Zl(i.hostAttrs,r=Zl(r,i.hostAttrs))}}(n)}function xd(e,t){for(let r in t.inputs){if(!t.inputs.hasOwnProperty(r)||e.inputs.hasOwnProperty(r))continue;let n=t.inputs[r];void 0!==n&&(e.inputs[r]=n,e.declaredInputs[r]=t.declaredInputs[r])}}function Od(e){return e===ya?{}:e===va?[]:e}function Ad(e,t){let r=e.viewQuery;e.viewQuery=r?(e,n)=>{t(e,n),r(e,n)}:t}function Pd(e,t){let r=e.contentQueries;e.contentQueries=r?(e,n,i)=>{t(e,n,i),r(e,n,i)}:t}function Id(e,t){let r=e.hostBindings;e.hostBindings=r?(e,n)=>{t(e,n),r(e,n)}:t}function Rd(e,t,r,n,i,s,o,a){if(r.firstCreatePass){e.mergedAttrs=Zl(e.mergedAttrs,e.attrs);let t=e.tView=lc(2,e,i,s,o,r.directiveRegistry,r.pipeRegistry,null,r.schemas,r.consts,null);null!==r.queries&&(r.queries.template(r,e),t.queries=r.queries.embeddedTView(e))}a&&(e.flags|=a),_o(e,!1);let l=gg(r,t,e,n);Uo()&&Bc(r,t,l,e),xu(l,t);let u=Sh(l,t,l,e);t[n+nl]=u,pc(t,u),function(e,t,r){ag(e,t,r)}(u,e,t)}function Nd(e,t,r,n,i,s,o,a,l,u,c){let h,d=r+nl;if(t.firstCreatePass){if(h=Ah(t,d,4,o||null,a||null),null!=u){let e=Xs(t.consts,u);h.localNames=[];for(let t=0;t<e.length;t+=2)h.localNames.push(e[t],-1)}}else h=t.data[d];return Rd(h,e,t,r,n,i,s,l),null!=u&&Qc(e,h,c),h}function Fd(e,t,r,n,i,s,o,a){let l=fo(),u=mo();return function(e,t,r,n,i,s,o,a,l,u,c){let h,d=r+nl;t.firstCreatePass?(h=Ah(t,d,4,o||null,a||null),uo()&&Lh(t,e,h,Xs(t.consts,u),Xc),zl(t,h)):h=t.data[d],Rd(h,e,t,r,n,i,s,l),Vs(h)&&Wc(t,e,h),null!=u&&Qc(e,h,c)}(l,u,e,t,r,n,i,Xs(u.consts,s),void 0,o,a),Fd}function Ld(e,t,r,n){return qo(!0),t[Va].createComment("")}function Md(e){return!!e&&"function"==typeof e.then}
2function jd(e){return!!e&&"function"==typeof e.subscribe}function Bd(){!function(e){ce=e}(()=>{throw new Xo(600,"")})}function zd(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function Vd(e,t,r,n){let i=fo();if(Qh(i,Do(),t)){mo();Jc($o(),i,e,t,r,n)}return Vd}function $d(e,t,r,n,i){return e===r&&Object.is(t,n)?1:Object.is(i(e,t),i(r,n))?-1:0}function Ud(e,t,r,n){return!(void 0===t||!t.has(n))&&(e.attach(r,t.get(n)),t.delete(n),!0)}function qd(e,t,r,n,i){if(Ud(e,t,n,r(n,i)))e.updateValue(n,i);else{let t=e.create(n,i);e.attach(n,t)}}function Hd(e,t,r,n){let i=new Set;for(let s=t;s<=r;s++)i.add(n(s,e.at(s)));return i}function Gd(e,t,r,n,i,s,o,a){vc("NgControlFlow");let l=fo(),u=mo();return Nd(l,u,e,t,r,n,i,Xs(u.consts,s),256,o,a),Wd}function Wd(e,t,r,n,i,s,o,a){vc("NgControlFlow");let l=fo(),u=mo();return Nd(l,u,e,t,r,n,i,Xs(u.consts,s),512,o,a),Wd}function Qd(e,t){vc("NgControlFlow");let r=fo(),n=Do(),i=r[n]!==hm?r[n]:-1,s=-1!==i?Xd(r,nl+i):void 0;if(Qh(r,n,e)){let n=I(null);try{if(void 0!==s&&Ch(s,0),-1!==e){let n=nl+e,i=Xd(r,n),s=Jd(r[Pa],n),o=Rh(i,s,r);kh(i,oh(r,s,t,{dehydratedView:o}),0,ah(s,o))}}finally{I(n)}}else if(void 0!==s){let e=Eh(s,0);void 0!==e&&(e[ja]=t)}}function Zd(e){return e}function Yd(e,t,r,n,i,s,o,a,l,u,c,h,d){vc("NgControlFlow");let p=fo(),f=mo(),m=void 0!==l,g=fo(),y=a?o.bind(g[Ha][ja]):o,v=new Og(m,y);g[nl+e]=v,Nd(p,f,e+1,t,r,n,i,Xs(f.consts,s),256),m&&Nd(p,f,e+2,l,u,c,h,Xs(f.consts,d),512)}function Kd(e){let t=I(null),r=zo();try{let t=fo(),n=t[Pa],i=t[r],s=r+1,o=Xd(t,s);if(void 0===i.liveCollection){let e=Jd(n,s);i.liveCollection=new Ag(o,t,e)}else i.liveCollection.reset();let a=i.liveCollection;if(function(e,t,r){let n,i,s=0,o=e.length-1;if(Array.isArray(t)){let a=t.length-1;for(;s<=o&&s<=a;){let l=e.at(s),u=t[s],c=$d(s,l,s,u,r);if(0!==c){c<0&&e.updateValue(s,u),s++;continue}let h=e.at(o),d=t[a],p=$d(o,h,a,d,r);if(0!==p){p<0&&e.updateValue(o,d),o--,a--;continue}let f=r(s,l),m=r(o,h),g=r(s,u);if(Object.is(g,m)){let t=r(a,d);Object.is(t,f)?(e.swap(s,o),e.updateValue(o,d),a--,o--):e.move(o,s),e.updateValue(s,u),s++;continue}if(n??=new Tg,i??=Hd(e,s,o,r),Ud(e,n,s,g))e.updateValue(s,u),s++,o++;else if(i.has(g))n.set(f,e.detach(s)),o--;else{let r=e.create(s,t[s]);e.attach(s,r),s++,o++}}for(;s<=a;)qd(e,n,r,s,t[s]),s++}else if(null!=t){let a=t[Symbol.iterator](),l=a.next();for(;!l.done&&s<=o;){let t=e.at(s),u=l.value,c=$d(s,t,s,u,r);if(0!==c)c<0&&e.updateValue(s,u),s++,l=a.next();else{n??=new Tg,i??=Hd(e,s,o,r);let c=r(s,u);if(Ud(e,n,s,c))e.updateValue(s,u),s++,o++,l=a.next();else if(i.has(c)){let i=r(s,t);n.set(i,e.detach(s)),o--}else e.attach(s,e.create(s,u)),s++,o++,l=a.next()}}for(;!l.done;)qd(e,n,r,e.length,l.value),l=a.next()}for(;s<=o;)e.destroy(e.detach(o--));n?.forEach(t=>{e.destroy(t)})}(a,e,i.trackByFn),a.updateIndexes(),i.hasEmptyBlock){let e=Do(),i=0===a.length;if(Qh(t,e,i)){let e=r+2,s=Xd(t,e);if(i){let r=Jd(n,e),i=Rh(s,r,t);kh(s,oh(t,r,void 0,{dehydratedView:i}),0,ah(r,i))}else n.firstUpdatePass&&function(e){let t=e[sl]??[],r=e[Ra][Va],n=[];for(let i of t)void 0!==i.data[Xf]?n.push(i):Ph(i,r);e[sl]=n}(s),Ch(s,0)}}}finally{I(t)}}function Xd(e,t){return e[t]}function Jd(e,t){return Qs(e,t)}function ep(e,t,r){let n=fo();if(Qh(n,Do(),t)){mo();Yc($o(),n,e,t,n[Va],r)}return ep}function tp(e,t,r,n,i){nh(t,e,r,i?"class":"style",n)}function rp(e,t,r,n){let i=fo(),s=i[Pa],o=e+nl,a=s.firstCreatePass?qh(o,i,2,t,Xc,uo(),r,n):s.data[o];if(th(a,i,e,t,Pg),Vs(a)){let e=i[Pa];Wc(e,i,a),zu(e,a,i)}return null!=n&&Qc(i,a),rp}function np(){let e=mo(),t=rh(vo());return e.firstCreatePass&&Hh(e,t),ho(t)&&po(),lo(),null!=t.classesWithoutHost&&function(e){return!!(8&e.flags)}(t)&&tp(e,t,fo(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return!!(16&e.flags)}(t)&&tp(e,t,fo(),t.stylesWithoutHost,!1),np}function ip(e,t,r,n){return rp(e,t,r,n),np(),ip}function sp(e,t,r,n){let i=fo(),s=i[Pa],o=e+nl,a=s.firstCreatePass?Gh(o,s,2,t,r,n):s.data[o];return th(a,i,e,t,Pg),null!=n&&Qc(i,a),sp}function op(){return ho(rh(vo()))&&po(),lo(),op}function ap(e,t,r){let n=fo(),i=n[Pa],s=e+nl,o=i.firstCreatePass?qh(s,n,8,"ng-container",Xc,uo(),t,r):i.data[s];if(th(o,n,e,"ng-container",Ig),Vs(o)){let e=n[Pa];Wc(e,n,o),zu(e,o,n)}return null!=r&&Qc(n,o),ap}function lp(){let e=mo(),t=rh(vo());return e.firstCreatePass&&Hh(e,t),lp}function up(e,t,r){return ap(e,t,r),lp(),up}function cp(e,t,r){let n=fo(),i=n[Pa],s=e+nl,o=i.firstCreatePass?Gh(s,i,8,"ng-container",t,r):i.data[s];return th(o,n,e,"ng-container",Ig),null!=r&&Qc(n,o),cp}function hp(e,t,r){return cp(e,t,r),rh(vo()),hp}function dp(){return fo()}function pp(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}function fp(e){let t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),r=mp(t);if(r)return r;let n=t.split("-")[0];if(r=mp(n),r)return r;if("en"===n)return Ng;throw new Xo(701,!1)}function mp(e){return e in Fg||(Fg[e]=Jo.ng&&Jo.ng.common&&Jo.ng.common.locales&&Jo.ng.common.locales[e]),Fg[e]}function gp(e,t,r){let n=fo(),i=mo(),s=vo();return function(e,t,r,n,i,s,o){let a=!0,l=null;if((3&n.type||o)&&(l??=Yh(n,t,s),Xh(n,e,t,o,r,i,s,l)&&(a=!1)),a){let e=n.outputs?.[i],r=n.hostDirectiveOutputs?.[i];if(r&&r.length)for(let o=0;o<r.length;o+=2){let e=r[o],a=r[o+1];l??=Yh(n,t,s),ed(n,t,e,a,i,l)}if(e&&e.length)for(let o of e)l??=Yh(n,t,s),ed(n,t,o,i,i,l)}}(i,n,n[Va],s,e,t,r),gp}function yp(e=1){return Bo(e)}function vp(e,t){let r=null,n=function(e){let t=e.attrs;if(null!=t){let e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(e);for(let i=0;i<t.length;i++){let s=t[i];if("*"!==s){if(null===n?Ku(e,s,!0):Xu(n,s))return i}else r=i}return r}function bp(e){let t=fo()[Ha][Fa];if(!t.projection){let r=e?e.length:1,n=t.projection=function(e,t){let r=[];for(let n=0;n<e;n++)r.push(t);return r}(r,null),i=n.slice(),s=t.child;for(;null!==s;){if(128!==s.type){let t=e?vp(s,e):0;null!==t&&(i[t]?i[t].projectionNext=s:n[t]=s,i[t]=s)}s=s.next}}}function _p(e,t=0,r,n,i,s){let o=fo(),a=mo(),l=n?e+1:null;null!==l&&Nd(o,a,l,n,i,s,null,r);let u=Ah(a,nl+e,16,null,r||null);null===u.projection&&(u.projection=t),So();let c=!o[La]||co();null===o[Ha][Fa].projection[u.projection]&&null!==l?function(e,t,r){let n=nl+r,i=t.data[n],s=e[n],o=Ih(s,i.tView.ssrId),a=oh(e,i,void 0,{dehydratedView:o});kh(s,a,0,ah(i,o))}(o,a,l):c&&!Lu(u)&&function(e,t,r){Hc(t[Va],0,t,r,Lc(e,r,t),Mc(r.parent||t[Fa],r,t))}(a,o,u)}function wp(e,t,r){pd(e,t,r)}function Sp(e){let t=fo(),r=mo(),n=Ao();Po(n+1);let i=fd(r,n);if(e.dirty&&function(e){return!(4&~e[Ia])}(t)===!(2&~i.metadata.flags)){if(null===i.matches)e.reset([]);else{let r=md(t,n);e.reset(r,wu),e.notifyOnChanges()}return!0}return!1}function Ep(){return function(e,t){return e[Qa].queries[t].queryList}(fo(),Ao())}function kp(e){return Zs(dl.lFrame.contextLView,nl+e)}function Cp(e,t){return e<<17|t<<2}function Dp(e){return e>>17&32767}function Tp(e){return 2|e}function xp(e){return(131068&e)>>2}function Op(e,t){return-131069&e|t<<2}function Ap(e){return 1|e}function Pp(e,t,r,n,i,s){let o=s?t.classBindings:t.styleBindings,a=Dp(o),l=xp(o);e[n]=r;let u,c=!1;if(Array.isArray(r)){let e=r;u=e[1],(null===u||vs(e,u)>0)&&(c=!0)}else u=r;if(i)if(0!==l){let t=Dp(e[a+1]);e[n+1]=Cp(t,a),0!==t&&(e[t+1]=Op(e[t+1],n)),e[a+1]=function(e,t){return 131071&e|t<<17}(e[a+1],n)}else e[n+1]=Cp(a,0),0!==a&&(e[a+1]=Op(e[a+1],n)),a=n;else e[n+1]=Cp(l,0),0===a?a=n:e[l+1]=Op(e[l+1],n),l=n;c&&(e[n+1]=Tp(e[n+1])),Ip(e,u,n,!0),Ip(e,u,n,!1),function(e,t,r,n,i){let s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&vs(s,t)>=0&&(r[n+1]=Ap(r[n+1]))}(t,u,e,n,s),o=Cp(a,l),s?t.classBindings=o:t.styleBindings=o}function Ip(e,t,r,n){let i=e[r+1],s=null===t,o=n?Dp(i):xp(i),a=!1;for(;0!==o&&(!1===a||s);){let r=e[o],i=e[o+1];Rp(r,t)&&(a=!0,e[o+1]=n?Ap(i):Tp(i)),o=n?Dp(i):xp(i)}a&&(e[r+1]=n?Tp(i):Ap(i))}function Rp(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&vs(e,t)>=0}function Np(e){return e.substring(jg.key,jg.keyEnd)}function Fp(e){return function(e){jg.key=0,jg.keyEnd=0,jg.value=0,jg.valueEnd=0,jg.textEnd=e.length}(e),Lp(e,Mp(e,0,jg.textEnd))}function Lp(e,t){let r=jg.textEnd;return r===t?-1:(t=jg.keyEnd=function(e,t,r){for(;t<r&&e.charCodeAt(t)>32;)t++;return t}(e,jg.key=t,r),Mp(e,t,r))}function Mp(e,t,r){for(;t<r&&e.charCodeAt(t)<=32;)t++;return t}function jp(e,t,r){return $p(e,t,r,!1),jp}function Bp(e,t){return $p(e,t,null,!0),Bp}function zp(e){!function(e,t,r,n){let i=mo(),s=To(2);i.firstUpdatePass&&qp(i,null,s,n);let o=fo();if(r!==hm&&Qh(o,s,r)){let a=i.data[zo()];if(Kp(a,n)&&!Up(i,s)){let e=n?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(r=qi(e,r||"")),tp(i,a,o,r,n)}else!function(e,t,r,n,i,s,o,a){i===hm&&(i=va);let l=0,u=0,c=0<i.length?i[0]:null,h=0<s.length?s[0]:null;for(;null!==c||null!==h;){let d,p=l<i.length?i[l+1]:void 0,f=u<s.length?s[u+1]:void 0,m=null;c===h?(l+=2,u+=2,p!==f&&(m=h,d=f)):null===h||null!==c&&c<h?(l+=2,m=c):(u+=2,m=h,d=f),null!==m&&Qp(e,t,r,n,m,d,o,a),c=l<i.length?i[l]:null,h=u<s.length?s[u]:null}}(i,a,o,o[Va],o[s+1],o[s+1]=function(e,t,r){if(null==r||""===r)return va;let n=[],i=Vu(r);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(n,i[s],!0);else if("object"==typeof i)for(let s in i)i.hasOwnProperty(s)&&e(n,s,i[s]);else"string"==typeof i&&t(n,i);return n}(e,t,r),n,s)}}(Wp,Vp,e,!0)}function Vp(e,t){for(let r=Fp(t);r>=0;r=Lp(t,r))gs(e,Np(t),!0)}function $p(e,t,r,n){let i=fo(),s=mo(),o=To(2);
2if(s.firstUpdatePass&&qp(s,e,o,n),t!==hm&&Qh(i,o,t)){Qp(s,s.data[zo()],i,i[Va],e,i[o+1]=function(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Ui(Vu(e)))),e}(t,r),n,o)}}function Up(e,t){return t>=e.expandoStartIndex}function qp(e,t,r,n){let i=e.data;if(null===i[r+1]){let s=i[zo()],o=Up(e,r);Kp(s,n)&&null===t&&!o&&(t=!1),t=function(e,t,r,n){let i=function(e){let t=dl.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),s=n?t.residualClasses:t.residualStyles;if(null===i)0===(n?t.classBindings:t.styleBindings)&&(r=Hp(null,e,t,r,n),r=Gp(r,t.attrs,n),s=null);else{let o=t.directiveStylingLast;if(-1===o||e[o]!==i)if(r=Hp(i,e,t,r,n),null===s){let r=function(e,t,r){let n=r?t.classBindings:t.styleBindings;if(0!==xp(n))return e[Dp(n)]}(e,t,n);void 0!==r&&Array.isArray(r)&&(r=Hp(null,e,t,r[1],n),r=Gp(r,t.attrs,n),function(e,t,r,n){let i=r?t.classBindings:t.styleBindings;e[Dp(i)]=n}(e,t,n,r))}else s=function(e,t,r){let n,i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++){n=Gp(n,e[s].hostAttrs,r)}return Gp(n,t.attrs,r)}(e,t,n)}return void 0!==s&&(n?t.residualClasses=s:t.residualStyles=s),r}(i,s,t,n),Pp(i,s,t,r,o,n)}}function Hp(e,t,r,n,i){let s=null,o=r.directiveEnd,a=r.directiveStylingLast;for(-1===a?a=r.directiveStart:a++;a<o&&(s=t[a],n=Gp(n,s.hostAttrs,i),s!==e);)a++;return null!==e&&(r.directiveStylingLast=a),n}function Gp(e,t,r){let n=r?1:2,i=-1;if(null!==t)for(let s=0;s<t.length;s++){let o=t[s];"number"==typeof o?i=o:i===n&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),gs(e,o,!!r||t[++s]))}return void 0===e?null:e}function Wp(e,t,r){let n=String(t);""!==n&&!n.includes(" ")&&gs(e,n,r)}function Qp(e,t,r,n,i,s,o,a){if(!(3&t.type))return;let l=e.data,u=l[a+1],c=function(e){return!(1&~e)}(u)?Zp(l,t,r,i,xp(u),o):void 0;if(!Yp(c)){Yp(s)||function(e){return!(2&~e)}(u)&&(s=Zp(l,null,r,i,a,o)),function(e,t,r,n,i){if(t)i?e.addClass(r,n):e.removeClass(r,n);else{let t=-1===n.indexOf("-")?void 0:pm.DashCase;null==i?e.removeStyle(r,n,t):("string"==typeof i&&i.endsWith("!important")&&(i=i.slice(0,-10),t|=pm.Important),e.setStyle(r,n,i,t))}}(n,o,Gs(zo(),r),i,s)}}function Zp(e,t,r,n,i,s){let o,a=null===t;for(;i>0;){let t=e[i],s=Array.isArray(t),l=s?t[1]:t,u=null===l,c=r[i+1];c===hm&&(c=u?va:void 0);let h=u?ys(c,n):l===n?c:void 0;if(s&&!Yp(h)&&(h=ys(t,n)),Yp(h)&&(o=h,a))return o;let d=e[i+1];i=a?Dp(d):xp(d)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(o=ys(e,n))}return o}function Yp(e){return void 0!==e}function Kp(e,t){return!!(e.flags&(t?8:16))}function Xp(e,t=""){let r=fo(),n=mo(),i=e+nl,s=n.firstCreatePass?Ah(n,i,1,t,null):n.data[i],o=Bg(n,r,s,t,e);r[i]=o,Uo()&&Bc(n,r,o,s),_o(s,!1)}function Jp(e,t,r,n,i,s=""){let o=Zh(e,dl.lFrame.bindingIndex,r,i);return To(2),o?t+Ji(r)+n+Ji(i)+s:hm}function ef(e){return tf("",e),ef}function tf(e,t,r){let n=fo(),i=function(e,t,r,n=""){return Qh(e,Do(),r)?t+Ji(r)+n:hm}(n,e,t,r);return i!==hm&&nf(n,zo(),i),tf}function rf(e,t,r,n,i){let s=fo(),o=Jp(s,e,t,r,n,i);return o!==hm&&nf(s,zo(),o),rf}function nf(e,t,r){let n=Gs(t,e);!function(e,t,r){e.setValue(t,r)}(e[Va],n,r)}function sf(e,t,r,n,i){if(e=Gi(e),Array.isArray(e))for(let s=0;s<e.length;s++)sf(e[s],t,r,n,i);else{let s=mo(),o=fo(),a=vo(),l=xs(e)?e:Gi(e.provide),u=Ps(e),c=1048575&a.providerIndexes,h=a.directiveStart,d=a.providerIndexes>>20;if(xs(e)||!e.multi){let n=new Af(u,i,Fh,null),p=lf(l,t,i?c:c+d,h);-1===p?(su(tu(a,o),s,l),of(s,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(n),o.push(n)):(r[p]=n,o[p]=n)}else{let p=lf(l,t,c+d,h),f=lf(l,t,c,c+d),m=p>=0&&r[p],g=f>=0&&r[f];if(i&&!g||!i&&!m){su(tu(a,o),s,l);let c=function(e,t,r,n,i){let s=new Af(e,r,Fh,null);return s.multi=[],s.index=t,s.componentProviders=0,af(s,i,n&&!r),s}(i?cf:uf,r.length,i,n,u);!i&&g&&(r[f].providerFactory=c),of(s,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(c),o.push(c)}else{of(s,e,p>-1?p:f,af(r[i?f:p],u,!i&&n))}!i&&n&&g&&r[f].componentProviders++}}}function of(e,t,r,n){let i=xs(t),s=function(e){return!!e.useClass}(t);if(i||s){let o=(s?Gi(t.useClass):t).prototype.ngOnDestroy;if(o){let s=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){let e=s.indexOf(r);-1===e?s.push(r,[n,o]):s[e+1].push(n,o)}else s.push(r,o)}}}function af(e,t,r){return r&&e.componentProviders++,e.multi.push(t)-1}function lf(e,t,r,n){for(let i=r;i<n;i++)if(t[i]===e)return i;return-1}function uf(e,t,r,n,i){return hf(this.multi,[])}function cf(e,t,r,n,i){let s,o=this.multi;if(this.providerFactory){let e=this.providerFactory.componentProviders,t=du(n,n[Pa],this.providerFactory.index,i);s=t.slice(0,e),hf(o,s);for(let r=e;r<t.length;r++)s.push(t[r])}else s=[],hf(o,s);return s}function hf(e,t){for(let r=0;r<e.length;r++){let n=e[r];t.push(n())}return t}function df(e,t=[]){return r=>{r.providersResolver=(r,n)=>function(e,t,r){let n=mo();if(n.firstCreatePass){let i=$s(e);sf(r,n.data,n.blueprint,i,!0),sf(t,n.data,n.blueprint,i,!1)}}(r,n?n(e):e,t)}}function pf(e,t,r,n){return mf(fo(),Co(),e,t,r,n)}function ff(e,t){let r=e[t];return r===hm?void 0:r}function mf(e,t,r,n,i,s){let o=t+r;return Qh(e,o,i)?Wh(e,o+1,s?n.call(s,i):n(i)):ff(e,o+1)}function gf(e,t,r,n,i,s,o,a,l){let u=t+r;return function(e,t,r,n,i,s){let o=Zh(e,t,r,n);
2return Zh(e,t+2,i,s)||o}(e,u,i,s,o,a)?Wh(e,u+4,l?n.call(l,i,s,o,a):n(i,s,o,a)):ff(e,u+4)}function yf(e,t){let r,n=mo(),i=e+nl;n.firstCreatePass?(r=function(e,t){if(t)for(let r=t.length-1;r>=0;r--){let n=t[r];if(e===n.name)return n}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks??=[]).push(i,r.onDestroy)):r=n.data[i];let s=r.factory||(r.factory=ds(r.type)),o=is(Fh);try{let e=eu(!1),t=s();return eu(e),function(e,t,r,n){r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=n}(n,fo(),i,t),t}finally{is(o)}}function vf(e,t,r){let n=e+nl,i=fo(),s=Zs(i,n);return wf(i,n)?mf(i,Co(),t,s.transform,r,s):s.transform(r)}function bf(e,t,r,n){let i=e+nl,s=fo(),o=Zs(s,i);return wf(s,i)?function(e,t,r,n,i,s,o){let a=t+r;return Zh(e,a,i,s)?Wh(e,a+2,o?n.call(o,i,s):n(i,s)):ff(e,a+2)}(s,Co(),t,o.transform,r,n,o):o.transform(r,n)}function _f(e,t,r,n,i,s){let o=e+nl,a=fo(),l=Zs(a,o);return wf(a,o)?gf(a,Co(),t,l.transform,r,n,i,s,l):l.transform(r,n,i,s)}function wf(e,t){return e[Pa].data[t].pure}function Sf(e,t){return Oh(e,t)}function Ef({ngZoneFactory:e,ignoreChangesOutsideZone:t,scheduleInRootZone:r}){return e??=()=>new Cm(v(y({},function(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}()),{scheduleInRootZone:r})),[{provide:Cm,useFactory:e},{provide:ba,multi:!0,useFactory:()=>{let e=ls(zg,{optional:!0});return()=>e.initialize()}},{provide:ba,multi:!0,useFactory:()=>{let e=ls(Vg);return()=>{e.initialize()}}},!0===t?{provide:Dl,useValue:!0}:[],{provide:Tl,useValue:r??bm},{provide:wl,useFactory:()=>{let e,t=ls(Cm),r=ls(xa);return n=>{t.runOutsideAngular(()=>{r.destroyed&&!e?setTimeout(()=>{throw n}):(e??=r.get(_l),e.handleError(n))})}}}]}var kf,Cf,Df,Tf,xf,Of,Af,Pf,If,Rf,Nf,Ff,Lf,Mf,jf,Bf,zf,Vf,$f,Uf,qf,Hf,Gf,Wf,Qf,Zf,Yf,Kf,Xf,Jf,em,tm,rm,nm,im,sm,om,am,lm,um,cm,hm,dm,pm,fm,mm,gm,ym,vm,bm,_m,wm,Sm,Em,km,Cm,Dm,Tm,xm,Om,Am,Pm,Im,Rm,Nm,Fm,Lm,Mm,jm,Bm,zm,Vm,$m,Um,qm,Hm,Gm,Wm,Qm,Zm,Ym,Km,Xm,Jm,eg,tg,rg,ng,ig,sg,og,ag,lg,ug,cg,hg,dg,pg,fg,mg,gg,yg,vg,bg,_g,wg,Sg,Eg,kg,Cg,Dg,Tg,xg,Og,Ag,Pg,Ig,Rg,Ng,Fg,Lg,Mg,jg,Bg,zg,Vg,$g,Ug,qg,Hg=b(()=>{"use strict";Il(),pe(),Li(),ji(),Rl(),kf=class{previousValue;currentValue;firstChange;constructor(e,t,r){this.previousValue=e,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}},Cf=(()=>{let e=()=>Ll;return e.ngInherit=!0,e})(),Df="__ngSimpleChanges__",Tf=[],xf=function(e,t=null,r){for(let n=0;n<Tf.length;n++){(0,Tf[n])(e,t,r)}},Of=-1,Af=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,r,n){this.factory=e,this.name=n,this.canSeeViewProviders=t,this.injectImpl=r}},Pf=!0,If=255,Rf=5,Nf=0,Ff={},Lf=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,r){return lu(this._tNode,this._lView,e,us(r),t)}},Mf=class{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=bu},jf=class{_emitDistinctChangesOnly;dirty=!0;_onDirty=void 0;_results=[];_changesDetected=!1;_changes=void 0;length=0;first=void 0;last=void 0;get changes(){return this._changes??=new ht}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let r=function(e){return e.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function(e,t,r){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){let i=e[n],s=t[n];if(r&&(i=r(i),s=r(s)),s!==i)return!1}return!0}(this._results,r,t))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){void 0!==this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=Su},Bf=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Bf||{}),zf=new Map,Vf=0,$f=class{lViewId;nodeIndex;native;component;directives;localRefs;get lView(){return ku(this.lViewId)}constructor(e,t,r){this.lViewId=e,this.nodeIndex=t,this.native=r}},Uf="__ngContext__",Hf=new na("",{providedIn:"root",factory:()=>Gf}),Gf="ng",Wf=new na(""),Qf=new na("",{providedIn:"platform",factory:()=>"unknown"}),Zf=new na(""),Yf=new na("",{providedIn:"root",factory:()=>function(){if(void 0!==qf)return qf;if(typeof document<"u")return document;throw new Xo(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),Kf="r",Xf="di",Jf=!1,em=new na("",{providedIn:"root",factory:()=>Jf}),tm=(e,t,r,n)=>{},rm=()=>null,nm=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(nm||{}),im=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ko})`}},sm=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,om=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}(om||{}),am=/^>|^->|<!--|-->|--!>|<!-$/g,lm=/(<|>)/g,um="â$1â",cm="ng-template",hm={}
2,dm=function(e){return e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",e}(dm||{}),pm=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(pm||{}),mm=new Set,gm=function(e){return e[e.CHANGE_DETECTION=0]="CHANGE_DETECTION",e[e.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",e}(gm||{}),ym=new na(""),vm=new Set,bm=!1,_m=class extends ht{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,Ls()&&(this.destroyRef=ls(vl,{optional:!0})??void 0,this.pendingTasks=ls(xl,{optional:!0})??void 0)}emit(e){let t=I(null);try{super.next(e)}finally{I(t)}}subscribe(e,t,r){let n=e,i=t||(()=>null),s=r;if(e&&"object"==typeof e){let t=e;n=t.next?.bind(t),i=t.error?.bind(t),s=t.complete?.bind(t)}this.__isAsync&&(i=this.wrapInTimeout(i),n&&(n=this.wrapInTimeout(n)),s&&(s=this.wrapInTimeout(s)));let o=super.subscribe({next:n,error:i,complete:s});return e instanceof ke&&e.add(o),o}wrapInTimeout(e){return t=>{let r=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{void 0!==r&&this.pendingTasks?.remove(r)}})}}},wm=_m,Em=(Sm="isAngularZone")+"_ID",km=0,Cm=class e{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new wm(!1);onMicrotaskEmpty=new wm(!1);onStable=new wm(!1);onError=new wm(!1);constructor(e){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:n=!1,scheduleInRootZone:i=bm}=e;if(typeof Zone>"u")throw new Xo(908,!1);Zone.assertZonePatched();let 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=!n&&r,s.shouldCoalesceRunChangeDetection=n,s.callbackScheduled=!1,s.scheduleInRootZone=i,Sc(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(Sm)}static assertInAngularZone(){if(!e.isInAngularZone())throw new Xo(909,!1)}static assertNotInAngularZone(){if(e.isInAngularZone())throw new Xo(909,!1)}run(e,t,r){return this._inner.run(e,t,r)}runTask(e,t,r,n){let i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+n,e,Dm,Yo,Yo);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(e,t,r){return this._inner.runGuarded(e,t,r)}runOutsideAngular(e){return this._outer.run(e)}},Dm={},Tm=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new wm;onMicrotaskEmpty=new wm;onStable=new wm;onError=new wm;run(e,t,r){return e.apply(t,r)}runGuarded(e,t,r){return e.apply(t,r)}runOutsideAngular(e){return e()}runTask(e,t,r,n){return e.apply(t,r)}},xm=(()=>{class e{impl=null;execute(){this.impl?.execute()}static"ɵprov"=Qi({token:e,providedIn:"root",factory:()=>new e})}return e})(),Om=[0,1,2,3],Am=(()=>{class e{ngZone=ls(Cm);scheduler=ls(kl);errorHandler=ls(_l,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){ls(ym,{optional:!0})}execute(){let e=this.sequences.size>0;e&&xf(16),this.executing=!0;for(let r of Om)for(let e of this.sequences)if(!e.erroredOrDestroyed&&e.hooks[r])try{e.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>(0,e.hooks[r])(e.pipelinedValue),e.snapshot))}catch(t){e.erroredOrDestroyed=!0,this.errorHandler?.handleError(t)}this.executing=!1;for(let r of this.sequences)r.afterRun(),r.once&&(this.sequences.delete(r),r.destroy());for(let r of this.deferredRegistrations)this.sequences.add(r);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),e&&xf(17)}register(e){let{view:t}=e;void 0!==t?((t[tl]??=[]).push(e),no(t),t[Ia]|=8192):this.executing?this.deferredRegistrations.add(e):this.addSequence(e)}addSequence(e){this.sequences.add(e),this.scheduler.notify(7)}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}maybeTrace(e,t){return t?t.run(gm.AFTER_NEXT_RENDER,e):e()}static"ɵprov"=Qi({token:e,providedIn:"root",factory:()=>new e})}return e})(),Pm=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,r,n,i,s=null){this.impl=e,this.hooks=t,this.view=r,this.once=n,this.snapshot=s,this.unregisterOnDestroy=i?.onDestroy(()=>this.destroy())}afterRun(){this.erroredOrDestroyed=!1,this.pipelinedValue=void 0,this.snapshot?.dispose(),this.snapshot=null}destroy(){this.impl.unregister(this),this.unregisterOnDestroy?.();let e=this.view?.[tl];e&&(this.view[tl]=e.filter(e=>e!==this))}},Im=new na("",{providedIn:"root",factory:()=>({queue:new Set,isScheduled:!1,scheduler:null})}),Rm=jc,Fm=()=>null,Lm=[],Mm=v(y({},ie),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{no(e.lView)},consumerOnSignalRead(){this.lView[el]=this}}),jm=v(y({},ie),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:e=>{let t=so(e.lView);for(;t&&!dh(t[Pa]);)t=so(t);t&&eo(t)},consumerOnSignalRead(){this.lView[el]=this}}
2),Bm=100,zm=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let e=this._lView,t=e[Pa];return lh(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[ja]}set context(e){this._lView[ja]=e}get destroyed(){return qs(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[Ra];if(js(e)){let t=e[al],r=t?t.indexOf(this):-1;r>-1&&(Dh(e,r),ms(t,r))}this._attachedToViewContainer=!1}Rc(this._lView[Pa],this._lView)}onDestroy(e){io(this._lView,e)}markForCheck(){wh(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ia]&=-129}reattach(){ro(this._lView),this._lView[Ia]|=128}detectChanges(){this._lView[Ia]|=1024,fh(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Xo(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Us(this._lView),t=this._lView[Ga];null!==t&&!e&&Ic(t,this._lView),Pc(this._lView[Pa],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new Xo(902,!1);this._appRef=e;let t=Us(this._lView),r=this._lView[Ga];null!==r&&!t&&Th(r,this._lView),ro(this._lView)}},Vm=class{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=xh;constructor(e,t,r){this._declarationLView=e,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,r){let n=oh(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:t,dehydratedView:r});return new zm(n)}},new RegExp("^(\\d+)*(b|h)*(.*)"),$m=()=>null,Um=()=>null,qm=class{},Hm=class{},Gm=class{resolveComponentFactory(e){throw new Xo(917,!1)}},Wm=class{static NULL=new Gm},Qm=class{},Zm=class{destroyNode=null;static __NG_ELEMENT_ID__=()=>function(){let e=fo(),t=Ys(vo().index,e);return(Ms(t)?t:e)[Va]}()},Ym=(()=>{class e{static"ɵprov"=Qi({token:e,providedIn:"root",factory:()=>null})}return e})(),Km={},Xm=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,r){let n=this.injector.get(e,Km,r);return n!==Km||t===Km?n:this.parentInjector.get(e,t,r)}},Jm=Symbol("BINDING"),eg=class extends Wm{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=bs(e);return new tg(t,this.ngModule)}},tg=class extends Hm{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=function(e){return Object.keys(e).map(t=>{let[r,n,i]=e[t],s={propName:r,templateName:t,isSignal:0!==(n&dm.SignalBased)};return i&&(s.transform=i),s})}(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=function(e){return Object.keys(e).map(t=>({propName:e[t],templateName:t}))}(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=function(e){return e.map(ec).join(",")}(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,r,n,i,s){xf(22);let o=I(null);try{let o=this.componentDef,l=td(r,o,s,i),u=function(e,t,r){let n=t instanceof xa?t:t?.injector;return n&&null!==e.getStandaloneInjector&&(n=e.getStandaloneInjector(n)||n),n?new Xm(r,n):r}(o,n||this.ngModule,e),c=function(e){let t=e.get(Qm,null);if(null===t)throw new Xo(407,!1);return{rendererFactory:t,sanitizer:e.get(Ym,null),changeDetectionScheduler:e.get(kl,null),ngReflect:!1}}(u),h=c.rendererFactory.createRenderer(null,o),d=r?Zc(h,r,o.encapsulation,u):function(e,t){let r=function(e){return(e.selectors[0][0]||"div").toLowerCase()}(e);return rc(t,r,"svg"===r?cl:"math"===r?hl:null)}(o,h),p=s?.some(rd)||i?.some(e=>"function"!=typeof e&&e.bindings.some(rd)),f=uc(null,l,null,512|hc(o),null,null,c,h,u,null,Mu(d,u,!0));f[nl]=d,No(f);let m=null;try{let e=qh(nl,f,2,"#host",()=>l.directiveRegistry,!0,0);ac(h,d,e),xu(d,f),Wc(l,f,e),zu(l,e,f),Hh(l,e),void 0!==t&&function(e,t,r){let n=e.projection=[];for(let i=0;i<t.length;i++){let e=r[i];n.push(null!=e&&e.length?Array.from(e):null)}}(e,this.ngContentSelectors,t),m=Ys(e.index,f),f[ja]=m[ja],sh(l,f,null)}catch(a){throw null!==m&&Cu(m),Cu(f),a}finally{xf(23),jo()}return new rg(this.componentType,f,!!p)}finally{I(o)}}},rg=class extends qm{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,r){super(),this._rootLView=t,this._hasInputBindings=r,this._tNode=Qs(t[Pa],nl),this.location=_u(this._tNode,t),this.instance=Ys(this._tNode.index,t)[ja],this.hostView=this.changeDetectorRef=new zm(t,void 0),this.componentType=e}setInput(e,t){this._hasInputBindings;let r=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let n=this._rootLView;nh(r,n[Pa],n,e,t);this.previousInputValues.set(e,t),wh(Ys(r.index,n),1)}get injector(){return new Lf(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}},ig=ng=class{static __NG_ELEMENT_ID__=nd},sg=class extends ig{_lContainer;_hostTNode;_hostLView;constructor(e,t,r){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=r}
2get element(){return _u(this._hostTNode,this._hostLView)}get injector(){return new Lf(this._hostTNode,this._hostLView)}get parentInjector(){let e=iu(this._hostTNode,this._hostLView);if(Kl(e)){let t=Jl(e,this._hostLView),r=Xl(e),n=t[Pa].data[r+8];return new Lf(n,t)}return new Lf(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=id(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-ul}createEmbeddedView(e,t,r){let n,i;"number"==typeof r?n=r:null!=r&&(n=r.index,i=r.injector);let s=Ih(this._lContainer,e.ssrId),o=e.createEmbeddedViewImpl(t||{},i,s);return this.insertImpl(o,n,ah(this._hostTNode,s)),o}createComponent(e,t,r,n,i,s,o){let a,l=e&&!function(e){return"function"==typeof e}(e);if(l)a=t;else{let e=t||{};a=e.index,r=e.injector,n=e.projectableNodes,i=e.environmentInjector||e.ngModuleRef,s=e.directives,o=e.bindings}let u=l?e:new tg(bs(e)),c=r||this.parentInjector;if(!i&&null==u.ngModule){let e=(l?c:this.parentInjector).get(xa,null);e&&(i=e)}let h=bs(u.componentType??{}),d=Ih(this._lContainer,h?.id??null),p=d?.firstChild??null,f=u.create(c,n,p,i,s,o);return this.insertImpl(f.hostView,a,ah(this._hostTNode,d)),f}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,r){let n=e._lView;if(function(e){return js(e[Ra])}(n)){let t=this.indexOf(e);if(-1!==t)this.detach(t);else{let t=n[Ra],r=new sg(t,t[Fa],t[Ra]);r.detach(r.indexOf(e))}}let i=this._adjustIndex(t),s=this._lContainer;return kh(s,n,i,r),e.attachToViewContainerRef(),fs(sd(s),i,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=id(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),r=Dh(this._lContainer,t);r&&(ms(sd(this._lContainer),t),Rc(r[Pa],r))}detach(e){let t=this._adjustIndex(e,-1),r=Dh(this._lContainer,t);return r&&null!=ms(sd(this._lContainer),t)?new zm(r):null}_adjustIndex(e,t=0){return e??this.length+t}},og=ad,ag=()=>!1,lg=class e{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new e(this.queryList)}setDirty(){this.queryList.setDirty()}},ug=class e{queries;constructor(e=[]){this.queries=e}createEmbeddedView(t){let r=t.queries;if(null!==r){let n=null!==t.contentQueries?t.contentQueries[0]:r.length,i=[];for(let e=0;e<n;e++){let t=r.getByIndex(e),n=this.queries[t.indexInDeclarationView];i.push(n.clone())}return new e(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==fd(e,t).matches&&this.queries[t].setDirty()}},cg=class{flags;read;predicate;constructor(e,t,r=null){this.flags=t,this.read=r,this.predicate="string"==typeof e?function(e){return e.split(",").map(e=>e.trim())}(e):e}},hg=class e{queries;constructor(e=[]){this.queries=e}elementStart(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(t){let r=null;for(let e=0;e<this.length;e++){let n=null!==r?r.length:0,i=this.getByIndex(e).embeddedTView(t,n);i&&(i.indexInDeclarationView=e,null!==r?r.push(i):r=[i])}return null!==r?new e(r):null}template(e,t){for(let r=0;r<this.queries.length;r++)this.queries[r].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},dg=class e{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,t=-1){this.metadata=e,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(t,r){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,r),new e(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1&~this.metadata.flags){let t=this._declarationNodeIndex,r=e.parent;for(;null!==r&&8&r.type&&r.index!==t;)r=r.parent;return t===(null!==r?r.index:-1)}return this._appliesToNextNode}
2matchTNode(e,t){let r=this.metadata.predicate;if(Array.isArray(r))for(let n=0;n<r.length;n++){let i=r[n];this.matchTNodeWithReadOption(e,t,ld(t,i)),this.matchTNodeWithReadOption(e,t,hu(t,e,i,!1,!1))}else r===Vm?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,hu(t,e,r,!1,!1))}matchTNodeWithReadOption(e,t,r){if(null!==r){let n=this.metadata.read;if(null!==n)if(n===Mf||n===ng||n===Vm&&4&t.type)this.addMatch(t.index,-2);else{let r=hu(t,e,n,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,r)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}},pg=class{},fg=class extends pg{injector;componentFactoryResolver=new eg(this);instance=null;constructor(e){super();let t=new Oa([...e.providers,{provide:pg,useValue:this},{provide:Wm,useValue:this.componentFactoryResolver}],e.parent||Os(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}},mg=(()=>{class e{_injector;cachedInjectors=new Map;constructor(e){this._injector=e}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){let t=Es(0,e.type),r=t.length>0?gd([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(let e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static"ɵprov"=Qi({token:e,providedIn:"environment",factory:()=>new e(as(xa))})}return e})(),gg=Ld,yg=new na(""),vg=new na(""),bg=(()=>{class e{_ngZone;registry;_isZoneStable=!0;_callbacks=[];_taskTrackingZone=null;_destroyRef;constructor(e,t,r){this._ngZone=e,this.registry=t,Ls()&&(this._destroyRef=ls(vl,{optional:!0})??void 0),wg||(function(e){wg=e}(r),r.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this._taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){let e=this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),t=this._ngZone.runOutsideAngular(()=>this._ngZone.onStable.subscribe({next:()=>{Cm.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}}));this._destroyRef?.onDestroy(()=>{e.unsubscribe(),t.unsubscribe()})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1))}}getPendingTasks(){return this._taskTrackingZone?this._taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,r){let n=-1;t&&t>0&&(n=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==n),e()},t)),this._callbacks.push({doneCb:e,timeoutId:n,updateCb:r})}whenStable(e,t,r){if(r&&!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(e,t,r),this._runCallbacksIfReady()}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,r){return[]}static"ɵfac"=function(t){return new(t||e)(as(Cm),as(_g),as(vg))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),_g=(()=>{class e{_applications=new Map;registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return wg?.findTestabilityInTree(this,e,t)??null}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"platform"})}return e})(),Sg=new na(""),Eg=(()=>{class e{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,t)=>
2{this.resolve=e,this.reject=t});appInits=ls(Sg,{optional:!0})??[];injector=ls(gl);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let t=Fs(this.injector,r);if(Md(t))e.push(t);else if(jd(t)){let r=new Promise((e,r)=>{t.subscribe({complete:e,error:r})});e.push(r)}}let t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),kg=new na(""),Cg=(()=>{class e{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=ls(wl);afterRenderManager=ls(xm);zonelessEnabled=ls(Cl);rootEffectScheduler=ls(Al);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new ht;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=ls(xl);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(un(e=>!e))}constructor(){ls(ym,{optional:!0})}whenStable(){let e;return new Promise(t=>{e=this.isStable.subscribe({next:e=>{e&&t()}})}).finally(()=>{e.unsubscribe()})}_injector=ls(xa);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,t){return this.bootstrapImpl(e,t)}bootstrapImpl(e,t,r=gl.NULL){return this._injector.get(Cm).run(()=>{xf(10);let n,i=e instanceof Hm;if(!this._injector.get(Eg).done){throw new Xo(405,"")}n=i?e:this._injector.get(Wm).resolveComponentFactory(e),this.componentTypes.push(n.componentType);let s=function(e){return e.isBoundToModule}(n)?void 0:this._injector.get(pg),o=t||n.selector,a=n.create(r,[],o,s),l=a.location.nativeElement,u=a.injector.get(yg,null);return u?.registerApplication(l),a.onDestroy(()=>{this.detachView(a.hostView),zd(this.components,a),u?.unregisterApplication(l)}),this._loadComponent(a),xf(11,a),a})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){xf(12),null!==this.tracingSnapshot?this.tracingSnapshot.run(gm.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new Xo(101,!1);let e=I(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,I(e),this.afterTick.next(),xf(13)}};synchronize(){null===this._rendererFactory&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(Qm,null,{optional:!0}));let e=0;for(;0!==this.dirtyFlags&&e++<10;)xf(14),this.synchronizeOnce(),xf(15)}synchronizeOnce(){16&this.dirtyFlags&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let e=!1;if(7&this.dirtyFlags){let t=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!t&&!to(r))continue;fh(r,t&&!this.zonelessEnabled?0:1),e=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),23&this.dirtyFlags)return}e||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:e})=>to(e))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(e){let t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){let t=e;zd(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView);try{this.tick()}catch(t){this.internalErrorHandler(t)}this.components.push(e),this._injector.get(kg,[]).forEach(t=>t(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>zd(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Xo(406,!1);let e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),typeof document<"u"&&"function"==typeof document?.documentElement?.getAnimations,Dg=class{destroy(e){}updateValue(e,t){}swap(e,t){let r=Math.min(e,t),n=Math.max(e,t),i=this.detach(n);if(n-r>1){let e=this.detach(r);this.attach(r,i),this.attach(n,e)}else this.attach(r,i)}move(e,t){this.attach(t,this.detach(e,!0))}},Tg=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let r=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);let n=this._vMap;for(;n.has(r);)r=n.get(r);n.set(r,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,r]of this.kvMap)if(e(r,t),void 0!==this._vMap){let n=this._vMap;for(;n.has(r);)r=n.get(r),e(r,t)}}},xg=class{lContainer;$implicit;$index;constructor(e,t,r){this.lContainer=e,this.$implicit=t,this.$index=r}get $count(){return this.lContainer.length-ul}},Og=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,r){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=r}},Ag=class extends Dg{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,r){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=r}get length(){return this.lContainer.length-ul}at(e){return this.getLView(e)[ja].$implicit}attach(e,t){let r=t[La];this.needsIndexUpdate||=e!==this.length,kh(this.lContainer,t,e,ah(this.templateTNode,r))}detach(e,t){return this.needsIndexUpdate||=e!==this.length-1,t&&function(e,t){if(e.length<=ul)return;let r=e[ul+t];r&&r[rl]&&(r[rl].skipLeaveAnimations=!0)}(this.lContainer,e),function(e,t){return Dh(e,t)}(this.lContainer,e)}create(e,t){let r=Ih(this.lContainer,this.templateTNode.tView.ssrId),n=oh(this.hostLView,this.templateTNode,new xg(this.lContainer,t,e),{dehydratedView:r});return this.operationsCounter?.recordCreate(),n}destroy(e){Rc(e[Pa],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[ja].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}
2updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[ja].$index=e}getLView(e){return function(e,t){return Eh(e,t)}(this.lContainer,e)}},Pg=(e,t,r,n,i)=>(qo(!0),rc(t[Va],n,dl.lFrame.currentNamespace)),Ig=(e,t,r,n,i)=>(qo(!0),tc(t[Va],"")),Ng=["en",[["a","p"],["AM","PM"]],[["AM","PM"]],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Rg=void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Rg,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Rg,"{1} 'at' {0}",Rg],[".",",",";","%","+","-","E","Ã","â°","â","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",pp],Fg={},Lg=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(Lg||{}),Mg="en-US",jg={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0},Bg=(e,t,r,n,i)=>(qo(!0),function(e,t){return e.createText(t)}(t[Va],n)),zg=(()=>{class e{zone=ls(Cm);changeDetectionScheduler=ls(kl);applicationRef=ls(Cg);applicationErrorHandler=ls(wl);_onMicrotaskEmptySubscription;initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{try{this.applicationRef.dirtyFlags|=1,this.applicationRef._tick()}catch(e){this.applicationErrorHandler(e)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Vg=(()=>{class e{subscription=new ke;initialized=!1;zone=ls(Cm);pendingTasks=ls(xl);initialize(){if(this.initialized)return;this.initialized=!0;let e=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(e=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Cm.assertNotInAngularZone(),queueMicrotask(()=>{null!==e&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Cm.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),$g=(()=>{class e{applicationErrorHandler=ls(wl);appRef=ls(Cg);taskService=ls(xl);ngZone=ls(Cm);zonelessEnabled=ls(Cl);tracing=ls(ym,{optional:!0});disableScheduling=ls(Dl,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new ke;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(Em):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(ls(Tl,{optional:!0})??!1);cancelScheduledCallback=null;useMicrotaskScheduler=!1;runningTick=!1;pendingRenderTaskId=null;constructor(){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 Tm||!this.zoneIsDef
2ined)}notify(e){if(!this.zonelessEnabled&&5===e)return;let t=!1;switch(e){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 6:case 13:this.appRef.dirtyFlags|=2,t=!0;break;case 12:this.appRef.dirtyFlags|=16,t=!0;break;case 11:t=!0;break;default:this.appRef.dirtyFlags|=8}if(this.appRef.tracingSnapshot=this.tracing?.snapshot(this.appRef.tracingSnapshot)??null,!this.shouldScheduleTick(t))return;let r=this.useMicrotaskScheduler?_c:bc;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(e){return!(this.disableScheduling&&!e||this.appRef.destroyed||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(Em+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;if(0===this.appRef.dirtyFlags)return void this.cleanup();!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);let e=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(t){this.taskService.remove(e),this.applicationErrorHandler(t)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,_c(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(e)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){let e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Ug=new na("",{providedIn:"root",factory:()=>ls(Ug,{optional:!0,skipSelf:!0})||typeof $localize<"u"&&$localize.locale||Mg}),qg=new na("",{providedIn:"root",factory:()=>"USD"})});function Gg(e){return function(e){let t=I(null);try{return e()}finally{I(t)}}(e)}function Wg(e,t){return function(e,t){let r=Object.create(ue);r.computation=e,void 0!==t&&(r.equal=t);let n=()=>{if(N(r),R(r),r.value===le)throw r.error;return r.value};return n[ne]=r,W(r),n}(e,t?.equal)}var Qg,Zg=b(()=>{"use strict";Il(),pe(),Mi(),Qg=class{destroyed=!1;listeners=null;errorHandler=ls(_l,{optional:!0});destroyRef=ls(vl);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new Xo(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let t=this.listeners?.indexOf(e);void 0!==t&&-1!==t&&this.listeners?.splice(t,1)}}}emit(e){if(this.destroyed)return void console.warn(zi(953,!1));if(null===this.listeners)return;let t=I(null);try{for(let t of this.listeners)try{t(e)}catch(r){this.errorHandler?.handleError(r)}}finally{I(t)}}}});function Yg(e,t){let r=Object.create(oy);function n(){if(R(r),r.value===sy){throw new Xo(-950,null)}return r.value}return r.value=e,r.transformFn=t?.transform,n[ne]=r,n}function Kg(e,t){return Yg(e,t)}function Xg(e){return Yg(sy,e)}function Jg(e){return!e.moduleRef}function ey(e){let t=Jg(e)?e.r3Injector:e.moduleRef.injector,r=t.get(Cm);return r.run(()=>{Jg(e)?e.r3Injector.resolveInjectorInitializers():e.moduleRef.resolveInjectorInitializers();let n,i=t.get(wl);if(r.runOutsideAngular(()=>{n=r.onError.subscribe({next:i})}),Jg(e)){let r=()=>t.destroy(),i=e.platformInjector.get(ly);i.add(r),t.onDestroy(()=>{n.unsubscribe(),i.delete(r)})}else{let t=()=>e.moduleRef.destroy(),r=e.platformInjector.get(ly);r.add(t),e.moduleRef.onDestroy(()=>{zd(e.allPlatformModules,e.moduleRef),n.unsubscribe(),r.delete(t)})}return function(e,t,r){try{let n=r();return Md(n)?n.catch(r=>{throw t.runOutsideAngular(()=>e(r)),r}):n}catch(i){throw t.runOutsideAngular(()=>e(i)),i}}(i,r,()=>{let r=t.get(xl),n=r.add(),i=t.get(Eg);return i.runInitializers(),i.donePromise.then(()=>{if(function(e){"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}(t.get(Ug,Mg)||Mg),!t.get(uy,!0))return Jg(e)?t.get(Cg):(e.allPlatformModules.push(e.moduleRef),e.moduleRef);if(Jg(e)){let r=t.get(Cg);return void 0!==e.rootComponent&&r.bootstrap(e.rootComponent),r}return cy?.(e.moduleRef,e.allPlatformModules),e.moduleRef}).finally(()=>{r.remove(n)})})})}function ty(e=[]){if(hy)return hy;let t=function(e=[],t){return gl.create({name:t,providers:[{provide:ka,useValue:"platform"},{provide:ly,useValue:new Set([()=>hy=null])},...e]})}(e);return hy=t,Bd(),function(e){let t=e.get(Wf,null);Fs(e,()=>
2{t?.forEach(e=>e())})}(t),t}function ry(e){return function(e,t,r){if(zs(e)&&!r){let r=Ys(e.index,t);return new zm(r,r)}if(175&e.type){let e=t[Ha];return new zm(e,t)}return null}(vo(),fo(),!(16&~e))}function ny(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function iy(e,t){let r=bs(e),n=t.elementInjector||Os();return new tg(r).create(n,t.projectableNodes,t.hostElement,t.environmentInjector,t.directives,t.bindings)}var sy,oy,ay,ly,uy,cy,hy,dy,py,fy=b(()=>{"use strict";Il(),Il(),pe(),Hg(),Hg(),Zg(),Zg(),sy=Symbol("InputSignalNode#UNSET"),oy=v(y({},de),{transformFn:void 0,applyValueToInputSignal(e,t){X(e,t)}}),new na("").__NG_ELEMENT_ID__=e=>{let t=vo();if(null===t)throw new Xo(204,!1);if(2&t.type)return t.value;if(8&e)return null;throw new Xo(204,!1)},Kg.required=Xg,ay=Kg,ly=new na(""),uy=new na(""),hy=null,dy=class{static __NG_ELEMENT_ID__=ry},py=(()=>{class e{constructor(e){}static"ɵfac"=function(t){return new(t||e)(as(Cg))};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({})}return e})()});function my(){return _y}function gy(e,t){return e?t?e.endsWith("/")?t.startsWith("/")?e+t.slice(1):e+t:t.startsWith("/")?e+t:`${e}/${t}`:e:t}function yy(e){let t=e.search(/#|\?|$/);return"/"===e[t-1]?e.slice(0,t-1)+e.slice(t):e}function vy(e){return e&&"?"!==e[0]?`?${e}`:e}function by(e){return e.replace(/\/index.html$/,"")}var _y,wy,Sy,Ey,ky,Cy,Dy,Ty,xy=b(()=>{"use strict";fy(),fy(),Li(),_y=null,wy=class{},Sy=(()=>{class e{historyGo(e){throw new Error("")}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:()=>ls(Ey),providedIn:"platform"})}return e})(),Ey=(()=>{class e extends Sy{_location;_history;_doc=ls(yl);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return my().getBaseHref(this._doc)}onPopState(e){let t=my().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){let t=my().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,t,r){this._history.pushState(e,t,r)}replaceState(e,t,r){this._history.replaceState(e,t,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:()=>new e,providedIn:"platform"})}return e})(),ky=(()=>{class e{historyGo(e){throw new Error("")}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:()=>ls(Dy),providedIn:"root"})}return e})(),Cy=new na(""),Dy=(()=>{class e extends ky{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,t){super(),this._platformLocation=e,this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??ls(yl).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return gy(this._baseHref,e)}path(e=!1){let t=this._platformLocation.pathname+vy(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${t}${r}`:t}pushState(e,t,r,n){let i=this.prepareExternalUrl(r+vy(n));this._platformLocation.pushState(e,t,i)}replaceState(e,t,r,n){let i=this.prepareExternalUrl(r+vy(n));this._platformLocation.replaceState(e,t,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static"ɵfac"=function(t){return new(t||e)(as(Sy),as(Cy,8))};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),Ty=(()=>
2{class e{_subject=new ht;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let t=this._locationStrategy.getBaseHref();this._basePath=function(e){if(new RegExp("^(https?:)?//").test(e)){let[,t]=e.split(/\/\/[^\/]+/);return t}return e}(yy(by(t))),this._locationStrategy.onPopState(e=>{this._subject.next({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+vy(t))}normalize(t){return e.stripTrailingSlash(function(e,t){if(!e||!t.startsWith(e))return t;let r=t.substring(e.length);return""===r||["/",";","?","#"].includes(r[0])?r:t}(this._basePath,by(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",r=null){this._locationStrategy.pushState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+vy(t)),r)}replaceState(e,t="",r=null){this._locationStrategy.replaceState(r,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+vy(t)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)}),()=>{let t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(r=>r(e,t))}subscribe(e,t,r){return this._subject.subscribe({next:e,error:t??void 0,complete:r??void 0})}static normalizeQueryParams=vy;static joinWithSlash=gy;static stripTrailingSlash=yy;static"ɵfac"=function(t){return new(t||e)(as(ky))};static"ɵprov"=Qi({token:e,factory:()=>new Ty(as(ky)),providedIn:"root"})}return e})()});function Oy(e,t){let r=fp(e),n=r[Lg.NumberSymbols][t];if(typeof n>"u"){if(t===My.CurrencyDecimal)return r[Lg.NumberSymbols][My.Decimal];if(t===My.CurrencyGroup)return r[Lg.NumberSymbols][My.Group]}return n}function Ay(e,t,r="en"){let n=function(e){return fp(e)[Lg.Currencies]}(r)[e]||Fy[e]||[],i=n[1];return"narrow"===t&&"string"==typeof i?i:n[0]||e}function Py(e,t,r,n,i,s,o=!1){let a="",l=!1;if(isFinite(e)){let u=function(e){let t,r,n,i,s,o=Math.abs(e)+"",a=0;for((r=o.indexOf(Vy))>-1&&(o=o.replace(Vy,"")),(n=o.search(/e/i))>0?(r<0&&(r=n),r+=+o.slice(n+1),o=o.substring(0,n)):r<0&&(r=o.length),n=0;o.charAt(n)===$y;n++);if(n===(s=o.length))t=[0],r=1;else{for(s--;o.charAt(s)===$y;)s--;for(r-=n,t=[],i=0;n<=s;n++,i++)t[i]=Number(o.charAt(n))}return r>zy&&(t=t.splice(0,zy-1),a=r-1,r=1),{digits:t,exponent:a,integerLen:r}}(e);o&&(u=function(e){if(0===e.digits[0])return e;let t=e.digits.length-e.integerLen;return e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2),e}(u));let c=t.minInt,h=t.minFrac,d=t.maxFrac;if(s){let e=s.match(By);if(null===e)throw new Xo(2306,!1);let t=e[1],r=e[3],n=e[5];null!=t&&(c=Ry(t)),null!=r&&(h=Ry(r)),null!=n?d=Ry(n):null!=r&&h>d&&(d=h)}!function(e,t,r){if(t>r)throw new Xo(2307,!1);let n=e.digits,i=n.length-e.integerLen,s=Math.min(Math.max(t,i),r),o=s+e.integerLen,a=n[o];if(o>0){n.splice(Math.max(e.integerLen,o));for(let e=o;e<n.length;e++)n[e]=0}else{i=Math.max(0,i),e.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let e=1;e<o;e++)n[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)n.unshift(0),e.integerLen++;n.unshift(1),e.integerLen++}else n[o-1]++;for(;i<Math.max(0,s);i++)n.push(0);let l=0!==s,u=t+e.integerLen,c=n.reduceRight(function(e,t,r,n){return t+=e,n[r]=t<10?t:t-10,l&&(0===n[r]&&r>=u?n.pop():l=!1),t>=10?1:0},0);c&&(n.unshift(c),e.integerLen++)}(u,h,d);let p=u.digits,f=u.integerLen,m=u.exponent,g=[];for(l=p.every(e=>!e);f<c;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?g=p.splice(f,p.length):(g=p,p=[0]);let y=[];for(p.length>=t.lgSize&&y.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)y.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&y.unshift(p.join("")),a=y.join(Oy(r,n)),g.length&&(a+=Oy(r,i)+g.join("")),m&&(
2a+=Oy(r,My.Exponential)+"+"+m)}else a=Oy(r,My.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function Iy(e,t,r,n,i){let s=function(e,t){return fp(e)[Lg.NumberFormats][t]}(t,Ly.Currency),o=function(e,t="-"){let r={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=e.split(Uy),i=n[0],s=n[1],o=-1!==i.indexOf(Vy)?i.split(Vy):[i.substring(0,i.lastIndexOf($y)+1),i.substring(i.lastIndexOf($y)+1)],a=o[0],l=o[1]||"";r.posPre=a.substring(0,a.indexOf(Hy));for(let c=0;c<l.length;c++){let e=l.charAt(c);e===$y?r.minFrac=r.maxFrac=c+1:e===Hy?r.maxFrac=c+1:r.posSuf+=e}let u=a.split(qy);if(r.gSize=u[1]?u[1].length:0,r.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,s){let e=i.length-r.posPre.length-r.posSuf.length,t=s.indexOf(Hy);r.negPre=s.substring(0,t).replace(/'/g,""),r.negSuf=s.slice(t+e).replace(/'/g,"")}else r.negPre=t+r.posPre,r.negSuf=r.posSuf;return r}(s,Oy(t,My.MinusSign));return o.minFrac=function(e){let t,r=Fy[e];return r&&(t=r[2]),"number"==typeof t?t:jy}(n),o.maxFrac=o.minFrac,Py(e,o,t,My.CurrencyGroup,My.CurrencyDecimal,i).replace(Gy,r).replace(Gy,"").trim()}function Ry(e){let t=parseInt(e);if(isNaN(t))throw new Xo(2305,!1);return t}function Ny(e,t){return new Xo(2100,!1)}var Fy,Ly,My,jy,By,zy,Vy,$y,Uy,qy,Hy,Gy,Wy,Qy,Zy,Yy,Ky,Xy,Jy,ev,tv,rv,nv,iv,sv,ov,av=b(()=>{"use strict";fy(),fy(),Fy={ADP:[void 0,void 0,0],AFN:[void 0,"Ø",0],ALL:[void 0,void 0,0],AMD:[void 0,"Ö",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"â¼"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"à§³"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CNÂ¥","Â¥"],COP:[void 0,"$",2],CRC:[void 0,"â¡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"KÄ",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"â§",0],EUR:["â¬"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"â¾"],GHS:[void 0,"GHâµ"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["âª"],INR:["â¹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["Â¥",void 0,0],KHR:[void 0,"á"],KMF:[void 0,"CF",0],KPW:[void 0,"â©",0],KRW:["â©",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"â¸"],LAK:[void 0,"â",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"â®",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"â¦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["â±"],PKR:[void 0,"Rs",2],PLN:[void 0,"zÅ"],PYG:[void 0,"â²",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"â½"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"âº"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"â´"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["â«",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["Fâ¯CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Ly=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}(Ly||{}),My={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13},jy=2,By=/^(\d+)?\.((\d+)(-(\d+))?)?$/,zy=22,Vy=".",$y="0",Uy=";",qy=",",Hy="#",Gy="¤",Wy=/\s+/,Qy=[],Zy=(()=>{class e{_ngEl;_renderer;initialClasses=Qy;rawClass;stateMap=new Map;constructor(e,t){this._ngEl=e,this._renderer=t}set klass(e){this.initialClasses=null!=e?e.trim().split(Wy):Qy}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(Wy):e}ngDoCheck(){for(let t of this.initialClasses)this._updateState(t,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let t of e)this._updateState(t,!0);else if(null!=e)for(let t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){let r=this.stateMap.get(e);void 0!==r?(r.enabled!==t&&(r.changed=!0,r.enabled=t),r.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let t=e[0],r=e[1];r.changed?(this._toggleClass(t,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),r.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>
20&&e.split(Wy).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}static"ɵfac"=function(t){return new(t||e)(Fh(Mf),Fh(Zm))};static"ɵdir"=Sd({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return e})(),Yy=(()=>{class e{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);let t=this._createContextForwardProxy();this._viewRef=e.createEmbeddedView(this.ngTemplateOutlet,t,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,r)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,t,r),get:(e,t,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,r)}})}static"ɵfac"=function(t){return new(t||e)(Fh(ng))};static"ɵdir"=Sd({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[Cf]})}return e})(),Ky=class{createSubscription(e,t,r){return Gg(()=>e.subscribe({next:t,error:r}))}dispose(e){Gg(()=>e.unsubscribe())}},Xy=class{createSubscription(e,t,r){return e.then(e=>t?.(e),e=>r?.(e)),{unsubscribe:()=>{t=null,r=null}}}dispose(e){e.unsubscribe()}},Jy=new Xy,ev=new Ky,tv=(()=>{class e{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=ls(wl);constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t),e=>this.applicationErrorHandler(e))}_selectStrategy(e){if(Md(e))return Jy;if(jd(e))return ev;throw Ny()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static"ɵfac"=function(t){return new(t||e)(Fh(dy,16))};static"ɵpipe"=Ed({name:"async",type:e,pure:!1})}return e})(),rv=(()=>{class e{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ny();return e.toLowerCase()}static"ɵfac"=function(t){return new(t||e)};static"ɵpipe"=Ed({name:"lowercase",type:e,pure:!0})}return e})(),nv=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
20EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,iv=(()=>{class e{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ny();return e.replace(nv,e=>e[0].toUpperCase()+e.slice(1).toLowerCase())}static"ɵfac"=function(t){return new(t||e)};static"ɵpipe"=Ed({name:"titlecase",type:e,pure:!0})}return e})(),sv=(()=>{class e{_locale;_defaultCurrencyCode;constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,r="symbol",n,i){if(!function(e){return!(null==e||""===e||e!=e)}(e))return null;i||=this._locale,"boolean"==typeof r&&(r=r?"symbol":"code");let s=t||this._defaultCurrencyCode;"code"!==r&&(s="symbol"===r||"symbol-narrow"===r?Ay(s,"symbol"===r?"wide":"narrow",i):r);try{let r=function(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Xo(2309,!1);return e}(e);return Iy(r,i,s,t,n)}catch(o){throw Ny(0,o.message)}}static"ɵfac"=function(t){return new(t||e)(Fh(Ug,16),Fh(qg,16))};static"ɵpipe"=Ed({name:"currency",type:e,pure:!0})}return e})(),ov=(()=>{class e{static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({})}return e})()});function lv(e,t){t=encodeURIComponent(t);for(let r of e.split(";")){let e=r.indexOf("="),[n,i]=-1==e?[r,""]:[r.slice(0,e),r.slice(e+1)];if(n.trim()===t)return decodeURIComponent(i)}return null}var uv,cv=b(()=>{"use strict";uv=class{}});var hv,dv=b(()=>{"use strict";av(),fy(),cv(),xy(),hv="browser"});function pv(e){for(let t of e)t.remove()}function fv(e,t){let r=t.createElement("style");return r.textContent=e,r}function mv(e,t){let r=t.createElement("link");return r.setAttribute("rel","stylesheet"),r.setAttribute("href",e),r}
2function gv(e,t){return t.map(t=>t.replace(Cv,e))}function yv(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}var vv,bv,_v,wv,Sv,Ev,kv,Cv,Dv,Tv,xv,Ov,Av,Pv,Iv,Rv,Nv,Fv=b(()=>{"use strict";dv(),fy(),fy(),vv=class{_doc;constructor(e){this._doc=e}manager},bv=(()=>{class e extends vv{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,r,n){return e.addEventListener(t,r,n),()=>this.removeEventListener(e,t,r,n)}removeEventListener(e,t,r,n){return e.removeEventListener(t,r,n)}static"ɵfac"=function(t){return new(t||e)(as(yl))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),_v=new na(""),wv=(()=>{class e{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,t){this._zone=t,e.forEach(e=>{e.manager=this});let r=e.filter(e=>!(e instanceof bv));this._plugins=r.slice().reverse();let n=e.find(e=>e instanceof bv);n&&this._plugins.push(n)}addEventListener(e,t,r,n){return this._findPluginFor(t).addEventListener(e,t,r,n)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(t=>t.supports(e)),!t)throw new Xo(5101,!1);return this._eventNameToPlugin.set(e,t),t}static"ɵfac"=function(t){return new(t||e)(as(_v),as(Cm))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),Sv="ng-app-id",Ev=(()=>{class e{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,t,r,n={}){this.doc=e,this.appId=t,this.nonce=r,function(e,t,r,n){let i=e.head?.querySelectorAll(`style[${Sv}="${t}"],link[${Sv}="${t}"]`);if(i)for(let s of i)s.removeAttribute(Sv),s instanceof HTMLLinkElement?n.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&r.set(s.textContent,{usage:0,elements:[s]})}(e,t,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,t){for(let r of e)this.addUsage(r,this.inline,fv);t?.forEach(e=>this.addUsage(e,this.external,mv))}removeStyles(e,t){for(let r of e)this.removeUsage(r,this.inline);t?.forEach(e=>this.removeUsage(e,this.external))}addUsage(e,t,r){let n=t.get(e);n?n.usage++:t.set(e,{usage:1,elements:[...this.hosts].map(t=>this.addElement(t,r(e,this.doc)))})}removeUsage(e,t){let r=t.get(e);r&&(r.usage--,r.usage<=0&&(pv(r.elements),t.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])pv(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[t,{elements:r}]of this.inline)r.push(this.addElement(e,fv(t,this.doc)));for(let[t,{elements:r}]of this.external)r.push(this.addElement(e,mv(t,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,t){return this.nonce&&t.setAttribute("nonce",this.nonce),e.appendChild(t)}static"ɵfac"=function(t){return new(t||e)(as(yl),as(Hf),as(Yf,8),as(Qf))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),kv={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"},Cv=/%COMP%/g,Tv=`_nghost-${Dv="%COMP%"}`,xv=`_ngcontent-${Dv}`,Ov=new na("",{providedIn:"root",factory:()=>true}),Av=(()=>{class e{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,t,r,n,i,s,o,a=null,l=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=r,this.removeStylesOnCompDestroy=n,this.doc=i,this.platformId=s,this.ngZone=o,this.nonce=a,this.tracingService=l,this.platformIsServer=!1,this.defaultRenderer=new Pv(e,i,o,this.platformIsServer,this.tracingService)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,t);return r instanceof Nv?r.applyToHost(e):r instanceof Rv&&r.applyStyles(),r}getOrCreateRenderer(e,t){let r=this.rendererByCompId,n=r.get(t.id);if(!n){let i=this.doc,s=this.ngZone,o=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,u=this.platformIsServer,c=this.tracingService;switch(t.encapsulation){case nm.Emulated:n=new Nv(o,a,t,this.appId,l,i,s,u,c);break;case nm.ShadowDom:return new Iv(o,a,e,t,i,s,this.nonce,u,c);default:n=new Rv(o,a,t,l,i,s,u,c)}
2r.set(t.id,n)}return n}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static"ɵfac"=function(t){return new(t||e)(as(wv),as(Ev),as(Hf),as(Ov),as(yl),as(Qf),as(Cm),as(Yf),as(ym,8))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),Pv=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,r,n,i){this.eventManager=e,this.doc=t,this.ngZone=r,this.platformIsServer=n,this.tracingService=i}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(kv[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(yv(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(yv(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){t.remove()}selectRootElement(e,t){let r="string"==typeof e?this.doc.querySelector(e):e;if(!r)throw new Xo(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,n){if(n){t=n+":"+t;let i=kv[n];i?e.setAttributeNS(i,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let n=kv[r];n?e.removeAttributeNS(n,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,n){n&(pm.DashCase|pm.Important)?e.style.setProperty(t,r,n&pm.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&pm.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){null!=e&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r,n){if("string"==typeof e&&!(e=my().getGlobalEventTarget(this.doc,e)))throw new Xo(5102,!1);let i=this.decoratePreventDefault(r);return this.tracingService?.wrapEventListener&&(i=this.tracingService.wrapEventListener(e,t,i)),this.eventManager.addEventListener(e,t,i,n)}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&t.preventDefault()}}},Iv=class extends Pv{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,r,n,i,s,o,a,l){super(e,i,s,a,l),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let u=n.styles;u=gv(n.id,u);for(let h of u){let e=document.createElement("style");o&&e.setAttribute("nonce",o),e.textContent=h,this.shadowRoot.appendChild(e)}let c=n.getExternalStyles?.();if(c)for(let h of c){let e=mv(h,i);o&&e.setAttribute("nonce",o),this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Rv=class extends Pv{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,r,n,i,s,o,a,l){super(e,i,s,o,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=n;let u=r.styles;this.styles=l?gv(l,u):u,this.styleUrls=r.getExternalStyles?.(l)}
2applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&0===mm.size&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},Nv=class extends Rv{contentAttr;hostAttr;constructor(e,t,r,n,i,s,o,a,l){let u=n+"-"+r.id;super(e,t,r,i,s,o,a,l,u),this.contentAttr=function(e){return xv.replace(Cv,e)}(u),this.hostAttr=function(e){return Tv.replace(Cv,e)}(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}}});function Lv(e){return function(e){let{rootComponent:t,appProviders:r,platformProviders:n,platformRef:i}=e;xf(8);try{let e=i?.injector??ty(n),s=[Ef({}),{provide:kl,useExisting:$g},Sl,...r||[]];return ey({r3Injector:new fg({providers:s,parent:e,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:e,rootComponent:t})}catch(s){return Promise.reject(s)}finally{xf(9)}}(function(e){return{appProviders:[...Yv,...e?.providers??[]],platformProviders:Qv}}(e))}function Mv(){zv.makeCurrent()}function jv(){return new _l}function Bv(){return function(e){qf=e}(document),document}var zv,Vv,$v,Uv,qv,Hv,Gv,Wv,Qv,Zv,Yv,Kv,Xv=b(()=>{"use strict";dv(),fy(),fy(),Fv(),zv=class e extends wy{supportsDOMEvents=!0;static makeCurrent(){!function(e){_y??=e}(new e)}onAndCancel(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){let t=(Vv=Vv||document.head.querySelector("base"))?Vv.getAttribute("href"):null;return null==t?null:function(e){return new URL(e,document.baseURI).pathname}(t)}resetBaseElement(){Vv=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return lv(document.cookie,e)}},Vv=null,$v=class{addToWindow(e){Jo.getAngularTestability=(t,r=!0)=>{let n=e.findTestabilityInTree(t,r);if(null==n)throw new Xo(5103,!1);return n},Jo.getAllAngularTestabilities=()=>e.getAllTestabilities(),Jo.getAllAngularRootElements=()=>e.getAllRootElements();Jo.frameworkStabilizers||(Jo.frameworkStabilizers=[]),Jo.frameworkStabilizers.push(e=>{let t=Jo.getAllAngularTestabilities(),r=t.length,n=function(){r--,0==r&&e()};t.forEach(e=>{e.whenStable(n)})})}findTestabilityInTree(e,t,r){return null==t?null:e.getTestability(t)??(r?my().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null)}},Uv=(()=>{class e{build(){return new XMLHttpRequest}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),qv=["alt","control","meta","shift"],Hv={"\b":"Backspace","\t":"Tab","�":"Delete","�":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Gv={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Wv=(()=>{class e extends vv{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,n,i){let s=e.parseEventName(r),o=e.eventCallback(s.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>my().onAndCancel(t,s.domEventName,o,i))}static parseEventName(t){let r=t.toLowerCase().split("."),n=r.shift();if(0===r.length||"keydown"!==n&&"keyup"!==n)return null;let i=e._normalizeKey(r.pop()),s="",o=r.indexOf("code");if(o>-1&&(r.splice(o,1),s="code."),qv.forEach(e=>{let t=r.indexOf(e);t>-1&&(r.splice(t,1),s+=e+".")}),s+=i,0!=r.length||0===i.length)return null;let a={};return a.domEventName=n,a.fullKey=s,a}static matchEventFullKeyCode(e,t){let r=Hv[e.key]||e.key,n="";return t.indexOf("code.")>-1&&(r=e.code,n="code."),!(null==r||!r)&&(r=r.toLowerCase()," "===r?r="space":"."===r&&(r="dot"),qv.forEach(t=>{if(t!==r){(0,Gv[t])(e)&&(n+=t+".")}}),n+=r,n===t)}static eventCallback(t,r,n){return i=>{e.matchEventFullKeyCode(i,t)&&n.runGuarded(()=>r(i))}}static _normalizeKey(e){return"esc"===e?"escape":e}static"ɵfac"=function(t){return new(t||e)(as(yl))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),Qv=[{provide:Qf,useValue:hv},{provide:Wf,useValue:Mv,multi:!0},{provide:yl,useFactory:Bv}],Zv=[{provide:vg,useClass:$v},{provide:yg,useClass:bg,deps:[Cm,_g,vg]},{provide:bg,useClass:bg,deps:[Cm,_g,vg]}],Yv=[{provide:ka,useValue:"root"},{provide:_l,useFactory:jv},{provide:_v,useClass:bv,multi:!0,deps:[yl]},{provide:_v,useClass:Wv,multi:!0,deps:[yl]},Av,Ev,wv,{provide:Qm,useExisting:Av},{provide:uv,useClass:Uv},[]],Kv=(()=>{class e{constructor(){}static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({providers:[...Yv,...Zv],imports:[ov,py]})}return e})()});function Jv(e){return encodeURIComponent(e).replace(db,(e,t)=>pb[t]??e)}function eb(e){return`${e}`}function tb(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function rb(e){return typeof Blob<"u"&&e instanceof Blob}function nb(e){return typeof FormData<"u"&&e instanceof FormData}function ib(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,credentials:e.credentials,transferCache:e.transferCache,timeout:e.timeout,keepalive:e.keepalive,priority:e.priority,cache:e.cache,mode:e.mode,redirect:e.redirect,integrity:e.integrity,referrer:e.referrer}}
2function sb(e,t){return t(e)}function ob(e,t){let r=e.url.toLowerCase();if(!ls(jb)||"GET"===e.method||"HEAD"===e.method||r.startsWith("http://")||r.startsWith("https://"))return t(e);let n=ls(Vb).getToken(),i=ls(zb);return null!=n&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,n)})),t(e)}function ab(...e){let t=[Ob,Mb,Nb,{provide:lb,useExisting:Nb},{provide:ub,useFactory:()=>ls(Ab,{optional:!0})??ls(Mb)},{provide:Pb,useValue:ob,multi:!0},{provide:jb,useValue:!0},{provide:Vb,useClass:$b}];for(let r of e)t.push(...r.ɵproviders);return function(e){return{"ɵproviders":e}}(t)}var lb,ub,cb,hb,db,pb,fb,mb,gb,yb,vb,bb,_b,wb,Sb,Eb,kb,Cb,Db,Tb,xb,Ob,Ab,Pb,Ib,Rb,Nb,Fb,Lb,Mb,jb,Bb,zb,Vb,$b,Ub=b(()=>{"use strict";fy(),fy(),Rl(),Li(),cv(),lb=class{},ub=class{},cb=class e{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(e=>{let t=e.indexOf(":");if(t>0){let r=e.slice(0,t),n=e.slice(t+1).trim();this.addHeaderEntry(r,n)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((e,t)=>{this.addHeaderEntry(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(t){let r=new e;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(e){let t=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,t);let n=("a"===e.op?this.headers.get(t):void 0)||[];n.push(...r),this.headers.set(t,n);break;case"d":let i=e.value;if(i){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===i.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}addHeaderEntry(e,t){let r=e.toLowerCase();this.maybeSetNormalizedName(e,r),this.headers.has(r)?this.headers.get(r).push(t):this.headers.set(r,[t])}setHeaderEntries(e,t){let r=(Array.isArray(t)?t:[t]).map(e=>e.toString()),n=e.toLowerCase();this.headers.set(n,r),this.maybeSetNormalizedName(e,n)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}},hb=class{encodeKey(e){return Jv(e)}encodeValue(e){return Jv(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}},db=/%(\d[a-f0-9])/gi,pb={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},fb=class e{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new hb,e.fromString){if(e.fromObject)throw new Xo(2805,!1);this.map=function(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(e=>{let n=e.indexOf("="),[i,s]=-1==n?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,n)),t.decodeValue(e.slice(n+1))],o=r.get(i)||[];o.push(s),r.set(i,o)}),r}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{let r=e.fromObject[t],n=Array.isArray(r)?r.map(eb):[eb(r)];this.map.set(t,n)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}
2keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){let t=[];return Object.keys(e).forEach(r=>{let n=e[r];Array.isArray(n)?n.forEach(e=>{t.push({param:r,value:e,op:"a"})}):t.push({param:r,value:n,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(t){let r=new e({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(eb(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[],r=t.indexOf(eb(e.value));-1!==r&&t.splice(r,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}},mb=class{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}},gb="Content-Type",yb="Accept",vb="X-Request-URL",wb=`${_b="application/json"}, ${bb="text/plain"}, */*`,Sb=class e{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(e,t,r,n){let i;if(this.url=t,this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==r?r:null,i=n):i=r,i){if(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,this.keepalive=!!i.keepalive,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),i.priority&&(this.priority=i.priority),i.cache&&(this.cache=i.cache),i.credentials&&(this.credentials=i.credentials),"number"==typeof i.timeout){if(i.timeout<1||!Number.isInteger(i.timeout))throw new Xo(2822,"");this.timeout=i.timeout}i.mode&&(this.mode=i.mode),i.redirect&&(this.redirect=i.redirect),i.integrity&&(this.integrity=i.integrity),i.referrer&&(this.referrer=i.referrer),this.transferCache=i.transferCache}if(this.headers??=new cb,this.context??=new mb,this.params){let e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{let r=t.indexOf("?"),n=-1===r?"?":r<t.length-1?"&":"";this.urlWithParams=t+n+e}}else this.params=new fb,this.urlWithParams=t}serializeBody(){return null===this.body?null:"string"==typeof this.body||tb(this.body)||rb(this.body)||nb(this.body)||function(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)?this.body:this.body instanceof fb?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||nb(this.body)?null:rb(this.body)?this.body.type||null:tb(this.body)?null:"string"==typeof this.body?bb:this.body instanceof fb?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?_b:null}clone(t={}){let r=t.method||this.method,n=t.url||this.url,i=t.responseType||this.responseType,s=t.keepalive??this.keepalive,o=t.priority||this.priority,a=t.cache||this.cache,l=t.mode||this.mode,u=t.redirect||this.redirect,c=t.credentials||this.credentials,h=t.referrer||this.referrer,d=t.integrity||this.integrity,p=t.transferCache??this.transferCache,f=t.timeout??this.timeout,m=void 0!==t.body?t.body:this.body,g=t.withCredentials??this.withCredentials,y=t.reportProgress??this.reportProgress,v=t.headers||this.headers,b=t.params||this.params,_=t.context??this.context;return void 0!==t.setHeaders&&(v=Object.keys(t.setHeaders).reduce((e,r)=>e.set(r,t.setHeaders[r]),v)),t.setParams&&(b=Object.keys(t.setParams).reduce((e,r)=>e.set(r,t.setParams[r]),b)),new e(r,n,m,{params:b,headers:v,context:_,reportProgress:y,responseType:i,withCredentials:g,transferCache:p,keepalive:s,cache:a,priority:o,timeout:f,mode:l,redirect:u,credentials:c,referrer:h,integrity:d})}}
2,Eb=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}(Eb||{}),kb=class{headers;status;statusText;url;ok;type;redirected;constructor(e,t=200,r="OK"){this.headers=e.headers||new cb,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.redirected=e.redirected,this.ok=this.status>=200&&this.status<300}},Cb=class e extends kb{constructor(e={}){super(e)}type=Eb.ResponseHeader;clone(t={}){return new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},Db=class e extends kb{body;constructor(e={}){super(e),this.body=void 0!==e.body?e.body:null}type=Eb.Response;clone(t={}){return new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0,redirected:t.redirected??this.redirected})}},Tb=class extends kb{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},xb=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(xb||{}),Ob=(()=>{class e{handler;constructor(e){this.handler=e}request(e,t,r={}){let n;if(e instanceof Sb)n=e;else{let i,s;i=r.headers instanceof cb?r.headers:new cb(r.headers),r.params&&(s=r.params instanceof fb?r.params:new fb({fromObject:r.params})),n=new Sb(e,t,void 0!==r.body?r.body:null,{headers:i,context:r.context,params:s,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,integrity:r.integrity,timeout:r.timeout})}let i=Gr(n).pipe(ti(e=>this.handler.handle(e)));if(e instanceof Sb||"events"===r.observe)return i;let s=i.pipe(Wn(e=>e instanceof Db));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return s.pipe(un(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Xo(2806,!1);return e.body}));case"blob":return s.pipe(un(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Xo(2807,!1);return e.body}));case"text":return s.pipe(un(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Xo(2808,!1);return e.body}));default:return s.pipe(un(e=>e.body))}case"response":return s;default:throw new Xo(2809,!1)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new fb).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,r={}){return this.request("PATCH",e,ib(r,t))}post(e,t,r={}){return this.request("POST",e,ib(r,t))}put(e,t,r={}){return this.request("PUT",e,ib(r,t))}static"ɵfac"=function(t){return new(t||e)(as(lb))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),Ab=new na(""),Pb=new na(""),Ib=new na(""),Rb=new na("",{providedIn:"root",factory:()=>!0}),Nb=(()=>{class e extends lb{backend;injector;chain=null;pendingTasks=ls(Ol);contributeToStability=ls(Rb);constructor(e,t){super(),this.backend=e,this.injector=t}handle(e){if(null===this.chain){let e=Array.from(new Set([...this.injector.get(Pb),...this.injector.get(Ib,[])]));this.chain=e.reduceRight((e,t)=>function(e,t,r){return(n,i)=>Fs(r,()=>t(n,t=>e(t,i)))}(e,t,this.injector),sb)}if(this.contributeToStability){let t=this.pendingTasks.add();return this.chain(e,e=>this.backend.handle(e)).pipe(bi(t))}return this.chain(e,e=>this.backend.handle(e))}static"ɵfac"=function(t){return new(t||e)(as(ub),as(xa))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),Fb=/^\)\]\}',?\n/,Lb=RegExp(`^${vb}:`,"m"),Mb=(()=>{class e{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Xo(-2800,!1);let t=this.xhrFactory;return Gr(null).pipe(Ai(()=>new it(r=>{let n=t.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEac
2h((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has(yb)||n.setRequestHeader(yb,wb),!e.headers.has(gb)){let t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader(gb,t)}if(e.timeout&&(n.timeout=e.timeout),e.responseType){let t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}let i=e.serializeBody(),s=null,o=()=>{if(null!==s)return s;let t=n.statusText||"OK",r=new cb(n.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:Lb.test(e.getAllResponseHeaders())?e.getResponseHeader(vb):null}(n)||e.url;return s=new Cb({headers:r,status:n.status,statusText:t,url:i}),s},a=()=>{let{headers:t,status:i,statusText:s,url:a}=o(),l=null;204!==i&&(l=typeof n.response>"u"?n.responseText:n.response),0===i&&(i=l?200:0);let u=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof l){let e=l;l=l.replace(Fb,"");try{l=""!==l?JSON.parse(l):null}catch(c){l=e,u&&(u=!1,l={error:c,text:l})}}u?(r.next(new Db({body:l,headers:t,status:i,statusText:s,url:a||void 0})),r.complete()):r.error(new Tb({error:l,headers:t,status:i,statusText:s,url:a||void 0}))},l=e=>{let{url:t}=o(),i=new Tb({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:t||void 0});r.error(i)},u=l;e.timeout&&(u=e=>{let{url:t}=o(),i=new Tb({error:new DOMException("Request timed out","TimeoutError"),status:n.status||0,statusText:n.statusText||"Request timeout",url:t||void 0});r.error(i)});let c=!1,h=t=>{c||(r.next(o()),c=!0);let i={type:Eb.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&n.responseText&&(i.partialText=n.responseText),r.next(i)},d=e=>{let t={type:Eb.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),r.next(t)};return n.addEventListener("load",a),n.addEventListener("error",l),n.addEventListener("timeout",u),n.addEventListener("abort",l),e.reportProgress&&(n.addEventListener("progress",h),null!==i&&n.upload&&n.upload.addEventListener("progress",d)),n.send(i),r.next({type:Eb.Sent}),()=>{n.removeEventListener("error",l),n.removeEventListener("abort",l),n.removeEventListener("load",a),n.removeEventListener("timeout",u),e.reportProgress&&(n.removeEventListener("progress",h),null!==i&&n.upload&&n.upload.removeEventListener("progress",d)),n.readyState!==n.DONE&&n.abort()}})))}static"ɵfac"=function(t){return new(t||e)(as(uv))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),jb=new na(""),Bb=new na("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),zb=new na("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"}),Vb=class{},$b=(()=>{class e{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,t){this.doc=e,this.cookieName=t}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=lv(e,this.cookieName),this.lastCookieString=e),this.lastToken}static"ɵfac"=function(t){return new(t||e)(as(yl),as(Bb))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})()}),qb=b(()=>{"use strict";Ub(),Ub()}),Hb=b(()=>{"use strict";Xv()});function Gb(e,t,r){let n=r;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some((t,r)=>!("*"===t||!function(e,t){if(!Zb){let e=Element.prototype;Zb=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return e.nodeType===Node.ELEMENT_NODE&&Zb.call(e,t)}(e,t))&&(n=r,!0)),n}function Wb(e,t){let r=function(e,t){return t.get(Wm).resolveComponentFactory(e).inputs}(e,t.injector),n=t.strategyFactory||new Yb(e,t.injector),i=function(e){let t={};return e.forEach(({propName:e,templateName:r,transform:n})=>{t[function(e){return e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}(r)]=[e,n]}),t}(r);class s extends Xb{injector;static observedAttributes=Object.keys(i);get ngElementStrategy(){if(!this._ngElementStrategy){let e=this._ngElementStrategy=n.create(this.injector||t.injector);r.forEach(({propName:t,transform:r})=>{if(!this.hasOwnProperty(t))return;let n=this[t];delete this[t],e.setInputValue(t,n,r)})}return this._ngElementStrategy}_ngElementStrategy;constructor(e){super(),this.injector=e}attributeChangedCallback(e,t,r,n){let[s,o]=i[e];this.ngElementStrategy.setInputValue(s,r,o)}connectedCallback(){let e=!1;this.ngElementStrategy.events&&(this.subscribeToEvents(),e=!0),this.ngElementStrategy.connect(this),e||this.subscribeToEvents()}disconnectedCallback(){this._ngElementStrategy&&this._ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}
2subscribeToEvents(){this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(e=>{let t=new CustomEvent(e.name,{detail:e.value});this.dispatchEvent(t)})}}return r.forEach(({propName:e,transform:t})=>{Object.defineProperty(s.prototype,e,{get(){return this.ngElementStrategy.getInputValue(e)},set(r){this.ngElementStrategy.setInputValue(e,r,t)},configurable:!0,enumerable:!0})}),s}var Qb,Zb,Yb,Kb,Xb,Jb=b(()=>{"use strict";fy(),Li(),Rl(),Qb={schedule(e,t){let r=setTimeout(e,t);return()=>clearTimeout(r)}},Yb=class{componentFactory;inputMap=new Map;constructor(e,t){this.componentFactory=t.get(Wm).resolveComponentFactory(e);for(let r of this.componentFactory.inputs)this.inputMap.set(r.propName,r.templateName)}create(e){return new Kb(this.componentFactory,e,this.inputMap)}},Kb=class{componentFactory;injector;inputMap;eventEmitters=new mt(1);events=this.eventEmitters.pipe(Ai(e=>Hn(...e)));componentRef=null;scheduledDestroyFn=null;initialInputValues=new Map;ngZone;elementZone;appRef;cdScheduler;constructor(e,t,r){this.componentFactory=e,this.injector=t,this.inputMap=r,this.ngZone=this.injector.get(Cm),this.appRef=this.injector.get(Cg),this.cdScheduler=t.get(kl),this.elementZone=typeof Zone>"u"?null:this.ngZone.run(()=>Zone.current)}connect(e){this.runInZone(()=>{if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);null===this.componentRef&&this.initializeComponent(e)})}disconnect(){this.runInZone(()=>{null===this.componentRef||null!==this.scheduledDestroyFn||(this.scheduledDestroyFn=Qb.schedule(()=>{null!==this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))})}getInputValue(e){return this.runInZone(()=>null===this.componentRef?this.initialInputValues.get(e):this.componentRef.instance[e])}setInputValue(e,t){null!==this.componentRef?this.runInZone(()=>{this.componentRef.setInput(this.inputMap.get(e)??e,t),function(e){return to(e._lView)||!!(64&e._lView[Ia])}(this.componentRef.hostView)&&(function(e){eo(e._lView)}(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))}):this.initialInputValues.set(e,t)}initializeComponent(e){let t=gl.create({providers:[],parent:this.injector}),r=function(e,t){let r=e.childNodes,n=t.map(()=>[]),i=-1;t.some((e,t)=>"*"===e&&(i=t,!0));for(let s=0,o=r.length;s<o;++s){let e=r[s],o=Gb(e,t,i);-1!==o&&n[o].push(e)}return n}(e,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,r,e),this.initializeInputs(),this.initializeOutputs(this.componentRef),this.appRef.attachView(this.componentRef.hostView),this.componentRef.hostView.detectChanges()}initializeInputs(){for(let[e,t]of this.initialInputValues)this.setInputValue(e,t);this.initialInputValues.clear()}initializeOutputs(e){let t=this.componentFactory.outputs.map(({propName:t,templateName:r})=>{let n=e.instance[t];return new it(e=>{let t=n.subscribe(t=>e.next({name:r,value:t}));return()=>t.unsubscribe()})});this.eventEmitters.next(t)}runInZone(e){return this.elementZone&&Zone.current!==this.elementZone?this.ngZone.run(e):e()}},Xb=class extends HTMLElement{ngElementEventsSubscription=null}});function e_(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;let r,n,i,s=typeof e;if(s==typeof t&&"object"==s){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(n in i=Object.create(null),e){if(!e_(e[n],t[n]))return!1;i[n]=!0}for(n in t)if(!(n in i)&&typeof t[n]<"u")return!1;return!0}if(!Array.isArray(t))return!1;if((r=e.length)==t.length){for(n=0;n<r;n++)if(!e_(e[n],t[n]))return!1;return!0}}return!1}function t_(e){return typeof e<"u"&&null!==e}function r_(e){return n_(e)&&!i_(e)&&null!==e}function n_(e){return"object"==typeof e}function i_(e){return Array.isArray(e)}function s_(e){return"string"==typeof e}function o_(e,t){let r=Object.assign({},e);return n_(e)?(n_(e)&&n_(t)&&Object.keys(t).forEach(n=>{r_(t[n])?n in e?r[n]=o_(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r):o_({},t)}function a_(e,t){let r=t.split(".");t="";do{t+=r.shift(),t_(e)&&t_(e[t])&&(r_(e[t])||i_(e[t])||!r.length)?(e=e[t],t=""):r.length?t+=".":e=void 0}while(r.length);return e}var l_,u_,c_,h_,d_,p_,f_,m_,g_,y_,v_,b_,__,w_,S_,E_,k_,C_,D_,T_,x_=b(()=>{"use strict";fy(),fy(),Li(),Rl(),l_=class{},u_=(()=>{class e extends l_{getTranslation(e){return Gr({})}static"ɵfac"=(()=>{let t;return function(r){return(t||(t=gu(e)))(r||e)}})();static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),c_=class{},h_=(()=>{class e{handle(e){return e.key}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),d_=class{},p_=(()=>{class e extends d_{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,t){return s_(e)?this.interpolateString(e,t):function(e){return"function"==typeof e}(e)?this.interpolateFunction(e,t):void 0}interpolateFunction(e,t){return e(t)}interpolateString(e,t){return t?e.replace(this.templateMatcher,(e,r)=>{let n=a_(t,r);return t_(n)?n:e}):e}static"ɵfac"=(()=>{let t;return function(r){return(t||(t=gu(e)))(r||e)}})();static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),f_=class{},m_=(()=>{class e extends f_{compile(e,t){return e}compileTranslations(e,t){return e}static"ɵfac"=(()=>{let t;return function(r){return(t||(t=gu(e)))(r||e)}})();static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),g_=class{defaultLang;currentLang=this.defaultLang;translations={};langs=[];onTranslationChange=new wm;onLangChange=new wm;onDefaultLangChange=new wm},y_=new na("ISOLATE_TRANSLATE_SERVICE"),v_=new na("USE_DEFAULT_LANG"),b_=new na("DEFAULT_LANGUAGE"),__=new na("USE_EXTEND"),w_=e=>Yr(e)?e:Gr(e),S_=(()=>{class e{store;currentLoader;compiler;parser;missingTranslationHandler;useDefaultLang;extend;loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onDefaultLangChange(){return this.store.onDefaultLangChange}get defaultLang(){return this.store.defaultLang}set defaultLang(e){this.store.defaultLang=e}get currentLang(){return this.store.currentLang}set currentLang(e){this.store.currentLang=e}get langs(){return this.store.langs}set langs(e){this.store.langs=e}get translations(){return this.store.translations}set translations(e){this.store.translations=e}constructor(e,t,r,n,i,s=!0,o=!1,a=!1,l){this.store=e,this.currentLoader=t,this.compiler=r,this.parser=n,this.missingTranslationHandler=i,this.useDefaultLang=s,this.extend=a,o&&(this.store=new g_),l&&this.setDefaultLang(l)}setDefaultLang(e){if(e===this.defaultLang)return;let t=this.retrieveTranslations(e);typeof t<"u"?(null==this.defaultLang&&(this.defaultLang=e),t.pipe(ii(1)).subscribe(()=>{this.changeDefaultLang(e)})):this.changeDefaultLang(e)}getDefaultLang(){return this.defaultLang}use(e){if(this.lastUseLanguage=e,e===this.currentLang)return Gr(this.translations[e]);this.currentLang||(this.currentLang=e);let t=this.retrieveTranslations(e);return Yr(t)?(t.pipe(ii(1)).subscribe(()=>{this.changeLang(e)}),t):(this.changeLang(e),Gr(this.translations[e]))}changeLang(e){e===this.lastUseLanguage&&(this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e))}retrieveTranslations(e){if(typeof this.translations[e]>"u"||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}getTranslation(e){return this.loadAndCompileTranslations(e)}loadAndCompileTranslations(e){this.pending=!0;let t=this.currentLoader.getTranslation(e).pipe(Di(1),ii(1));return this.loadingTranslations=t.pipe(un(t=>this.compiler.compileTranslations(t,e)),Di(1),ii(1)),this.loadingTranslations.subscribe({next:t=>{this.translations[e]=this.extend&&this.translations[e]?y(y({},t),this.translations[e]):t,this.updateLangs(),this.pending=!1},error:e=>{this.pending=!1}}),t}setTranslation(e,t,r=!1){let n=this.compiler.compileTranslations(t,e);(r||this.extend)&&this.translations[e]?this.translations[e]=o_(this.translations[e],n):this.translations[e]=n,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}getLangs(){return this.langs}addLangs(e){let t=e.filter(e=>!this.langs.includes(e));t.length>0&&(this.langs=[...this.langs,...t])}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResultForKey(e,t,r){let n;if(e&&(n=this.runInterpolation(a_(e,t),r)),void 0===n&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(n=this.runInterpolation(a_(this.translations[this.defaultLang],t),r)),void 0===n){let e={key:t,translateService:this};typeof r<"u"&&(e.interpolateParams=r),n=this.missingTranslationHandler.handle(e)}return void 0!==n?n:t}runInterpolation(e,t){if(i_(e))return e.map(e=>this.runInterpolation(e,t));if(r_(e)){let r={};for(let n in e){let i=this.runInterpolation(e[n],t);void 0!==i&&(r[n]=i)}return r}return this.parser.interpolate(e,t)}getParsedResult(e,t,r){if(t instanceof Array){let n={},i=!1;for(let s of t)n[s]=this.getParsedResultForKey(e,s,r),i=i||Yr(n[s]);return i?Fn(t.map(e=>w_(n[e]))).pipe(un(e=>{let r={};return e.forEach((e,n)=>{r[t[n]]=e}),r})):n}return this.getParsedResultForKey(e,t,r)}get(e,t){if(!t_(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ti(r=>w_(this.getParsedResult(r,e,t)))):w_(this.getParsedResult(this.translations[this.currentLang],e,t))}getStreamOnTranslationChange(e,t){if(!t_(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Pn(Rn(()=>this.get(e,t)),this.onTranslationChange.pipe(Ai(r=>{let n=this.getParsedResult(r.translations,e,t);return w_(n)})))}stream(e,t){if(!t_(e)||!e.length)throw new Error('Parameter "key" required');return Pn(Rn(()=>this.get(e,t)),this.onLangChange.pipe(Ai(r=>{let n=this.getParsedResult(r.translations,e,t);return w_(n)})))}instant(e,t){if(!t_(e)||0===e.length)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(this.translations[this.currentLang],e,t);return Yr(r)?Array.isArray(e)?e.reduce((e,t)=>
2(e[t]=t,e),{}):e:r}set(e,t,r=this.currentLang){(function(e,t,r){let n=t.split("."),i=e;for(let s=0;s<n.length;s++){let e=n[s];s===n.length-1?i[e]=r:((!i[e]||!r_(i[e]))&&(i[e]={}),i=i[e])}})(this.translations[r],e,s_(t)?this.compiler.compile(t,r):this.compiler.compileTranslations(t,r)),this.updateLangs(),this.onTranslationChange.emit({lang:r,translations:this.translations[r]})}changeDefaultLang(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],delete this.translations[e]}getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}static"ɵfac"=function(t){return new(t||e)(as(g_),as(l_),as(f_),as(d_),as(c_),as(v_),as(y_),as(__),as(b_))};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),E_=(()=>{class e{translate;_ref;value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onDefaultLangChange;constructor(e,t){this.translate=e,this._ref=t}updateValue(e,t,r){let n=t=>{this.value=void 0!==t?t:e,this.lastKey=e,this._ref.markForCheck()};if(r){let i=this.translate.getParsedResult(r,e,t);Yr(i)?i.subscribe(n):n(i)}this.translate.get(e,t).subscribe(n)}transform(e,...t){if(!e||!e.length)return e;if(e_(e,this.lastKey)&&e_(t,this.lastParams))return this.value;let r;if(t_(t[0])&&t.length)if(s_(t[0])&&t[0].length){let e=t[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(e)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${t[0]}`)}}else r_(t[0])&&(r=t[0]);return this.lastKey=e,this.lastParams=t,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(t=>{this.lastKey&&t.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(e,r,t.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(t=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,t.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}static"ɵfac"=function(t){return new(t||e)(Fh(S_,16),Fh(dy,16))};static"ɵpipe"=Ed({name:"translate",type:e,pure:!1});static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),k_=(()=>{class e{static forRoot(t={}){return{ngModule:e,providers:[t.loader||{provide:l_,useClass:u_},t.compiler||{provide:f_,useClass:m_},t.parser||{provide:d_,useClass:p_},t.missingTranslationHandler||{provide:c_,useClass:h_},g_,{provide:y_,useValue:t.isolate},{provide:v_,useValue:t.useDefaultLang},{provide:__,useValue:t.extend},{provide:b_,useValue:t.defaultLanguage},S_]}}static forChild(t={}){return{ngModule:e,providers:[t.loader||{provide:l_,useClass:u_},t.compiler||{provide:f_,useClass:m_},t.parser||{provide:d_,useClass:p_},t.missingTranslationHandler||{provide:c_,useClass:h_},{provide:y_,useValue:t.isolate},{provide:v_,useValue:t.useDefaultLang},{provide:__,useValue:t.extend},{provide:b_,useValue:t.defaultLanguage},S_]}}static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({})}return e})()}),O_=b(()=>{"use strict";fy(),C_=new na("Chargebee global object")}),A_=b(()=>{"use strict";fy(),Li(),O_(),fy(),D_=(()=>{class e{constructor(e,t){this.document=e,this.injector=t,this.isCheckoutOpened$=new ht,this.isCheckoutClosed$=new ht,this.subscriptionChanged$=new ht,this.subscriptionCancelled$=new ht,this.isCu
2stomerPortalOpened$=new ht,this.isCustomerPortalClosed$=new ht,this.isCheckoutSuccess$=new ht,this.isCheckoutError$=new ht,this.isReady$=new pt(!1)}setUp(e){return S(this,null,function*(){return new Promise((t,r)=>{let n=this.document.createElement("script");n.src=e,this.document.head.appendChild(n),n.onload=()=>{t()},n.onerror=()=>{r()}})})}initialize(e){let t=this.injector.get(C_);t.init({site:e.site,api_key:e.apiKey,iframeOnly:e.iframeOnly}),this.billingProvider=t.getInstance(),this.isReady$.next(!0)}openCheckout(e){this.billingProvider?.openCheckout({hostedPage:()=>Promise.resolve(e),loaded:()=>this.isCheckoutOpened$.next(),close:()=>this.isCheckoutClosed$.next(),success:()=>this.isCheckoutSuccess$.next(),error:e=>this.isCheckoutError$.next(e)})}openCustomerPortal(e){this.billingProvider?.setPortalSession(()=>Promise.resolve(e)),this.billingProvider?.createChargebeePortal()?.open({subscriptionChanged:()=>{this.subscriptionChanged$.next()},subscriptionCancelled:()=>{this.subscriptionCancelled$.next()},close:()=>{this.isCustomerPortalClosed$.next(),this.billingProvider?.logout()},loaded:()=>{this.isCustomerPortalOpened$.next()}})}close(){this.billingProvider?.closeAll()}static{this.ɵfac=function(t){return new(t||e)(as(yl),as(gl))}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),P_=b(()=>{"use strict";A_(),O_(),fy(),T_=(()=>{class e{static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵmod=bd({type:e})}static{this.ɵinj=Zi({providers:[D_,{provide:C_,useFactory:()=>window.Chargebee}]})}}return e})()}),I_=b(()=>{}),R_=b(()=>{}),N_=b(()=>{}),F_=b(()=>{"use strict";P_(),A_(),I_(),R_(),O_(),N_()});function L_(e,t){if(!e)throw new V_(t)}function M_(e){return function(){if($_.indexOf(e)>=U_)return(console[e]||console.log).apply(console,arguments)}}var j_,B_,z_,V_,$_,U_,q_,H_=b(()=>{"use strict";ur(),j_="Invariant Violation",B_=Object.setPrototypeOf,z_=void 0===B_?function(e,t){return e.__proto__=t,e}:B_,V_=function(e){function t(r){void 0===r&&(r=j_);var n=e.call(this,"number"==typeof r?j_+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=j_,z_(n,t.prototype),n}return Zt(t,e),t}(Error),U_=($_=["debug","log","warn","error","silent"]).indexOf("log"),function(e){e.debug=M_("debug"),e.log=M_("log"),e.warn=M_("warn"),e.error=M_("error")}(L_||(L_={}))}),G_=b(()=>{"use strict";q_="3.14.1"});function W_(e){try{return e()}catch{}}var Q_,Z_=b(()=>{}),Y_=b(()=>{"use strict";Z_(),Q_=W_(function(){return globalThis})||W_(function(){return window})||W_(function(){return self})||W_(function(){return r.g})||W_(function(){return W_.constructor("return this")()})});function K_(e){var t=X_.get(e)||1;return X_.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}var X_,J_=b(()=>{"use strict";X_=new Map});function ew(e,t){void 0===t&&(t=0);var r=K_("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}var tw=b(()=>{"use strict";J_()});function rw(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=sw(i))||(t=ow(i,r),r=[])}e.apply(void 0,[t].concat(r))}}function nw(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new V_(sw(e,t)||ow(e,t))}function iw(e){if("string"==typeof e)return e;try{return ew(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function sw(e,t){if(void 0===t&&(t=[]),e)return Q_[lw]&&Q_[lw](e,t.map(iw))}function ow(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:q_,message:e,args:t.map(iw)})))}var aw,lw,uw=b(()=>{"use strict";H_(),G_(),Y_(),tw(),aw=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||L_(e,sw(t,r)||ow(t,r))},{debug:rw(L_.debug),log:rw(L_.log),warn:rw(L_.warn),error:rw(L_.error)}),lw=Symbol.for("ApolloErrorMessageHandler_"+q_)}),cw=b(()=>{"use strict";uw(),Z_(),Y_(),!1!==globalThis.__DEV__});function hw(e,t){if(!e)throw new Error(t)}var dw=b(()=>{});var pw=b(()=>{});function fw(e,t){if(!e)throw new Error(t??"Unexpected invariant triggered.")}var mw=b(()=>{});function gw(e,t){let r=0,n=1;for(let i of e.body.matchAll(yw)){if("number"==typeof i.index||fw(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}var yw,vw=b(()=>{"use strict";mw(),yw=/\r\n|[\n\r]/g});
2function bw(e){return _w(e.source,gw(e.source,e.start))}function _w(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,s=e.locationOffset.line-1,o=t.line+s,a=1===t.line?r:0,l=t.column+a,u=`${e.name}:${o}:${l}\n`,c=n.split(/\r\n|[\n\r]/g),h=c[i];if(h.length>120){let e=Math.floor(l/80),t=l%80,r=[];for(let n=0;n<h.length;n+=80)r.push(h.slice(n,n+80));return u+ww([[`${o} |`,r[0]],...r.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",r[e+1]]])}return u+ww([[o-1+" |",c[i-1]],[`${o} |`,h],["|","^".padStart(l)],[`${o+1} |`,c[i+1]]])}function ww(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}var Sw=b(()=>{"use strict";vw()});function Ew(e){return void 0===e||0===e.length?void 0:e}var kw,Cw=b(()=>{"use strict";pw(),vw(),Sw(),kw=class e extends Error{constructor(t,...r){var n,i,s;let{nodes:o,source:a,positions:l,path:u,originalError:c,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(r);super(t),this.name="GraphQLError",this.path=u??void 0,this.originalError=c??void 0,this.nodes=Ew(Array.isArray(o)?o:o?[o]:void 0);let d=Ew(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=a??(null==d||null===(i=d[0])||void 0===i?void 0:i.source),this.positions=l??d?.map(e=>e.start),this.locations=l&&a?l.map(e=>gw(a,e)):d?.map(e=>gw(e.source,e.start));let p=function(e){return"object"==typeof e&&null!==e}(c?.extensions)?c?.extensions:void 0;this.extensions=null!==(s=h??p)&&void 0!==s?s:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+bw(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+_w(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}});function Dw(e,t,r){return new kw(`Syntax Error: ${r}`,{source:e,positions:[t]})}var Tw=b(()=>{"use strict";Cw()});function xw(e){let t=e?.kind;return"string"==typeof t&&Iw.has(t)}var Ow,Aw,Pw,Iw,Rw,Nw,Fw,Lw=b(()=>{"use strict";Ow=class{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},Aw=class{constructor(e,t,r,n,i,s){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},Pw={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Iw=new Set(Object.keys(Pw)),Rw=function(e){return e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription",e}(Rw||{})}),Mw=b(()=>{"use strict";Nw=function(e){return e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",e}(Nw||{})}),jw=b(()=>{"use strict";Fw=function(e){return e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
2ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e}(Fw||{})});function Bw(e){return 9===e||32===e}function zw(e){return e>=48&&e<=57}function Vw(e){return e>=97&&e<=122||e>=65&&e<=90}function $w(e){return Vw(e)||95===e}function Uw(e){return Vw(e)||zw(e)||95===e}var qw=b(()=>{});function Hw(e){var t;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let o=0;o<e.length;++o){var s;let t=e[o],a=Gw(t);a!==t.length&&(n=null!==(s=n)&&void 0!==s?s:o,i=o,0!==o&&a<r&&(r=a))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function Gw(e){let t=0;for(;t<e.length&&Bw(e.charCodeAt(t));)++t;return t}var Ww,Qw=b(()=>{"use strict";qw()}),Zw=b(()=>{"use strict";Ww=function(e){return e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment",e}(Ww||{})});function Yw(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function Kw(e,t){return Xw(e.charCodeAt(t))&&Jw(e.charCodeAt(t+1))}function Xw(e){return e>=55296&&e<=56319}function Jw(e){return e>=56320&&e<=57343}function eS(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return Ww.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function tS(e,t,r,n,i){let s=e.line,o=1+r-e.lineStart;return new Aw(t,r,n,s,o,i)}function rS(e,t){let r=e.source.body,n=r.length,i=t;for(;i<n;){let t=r.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===r.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return nS(e,i);case 33:return tS(e,Ww.BANG,i,i+1);case 36:return tS(e,Ww.DOLLAR,i,i+1);case 38:return tS(e,Ww.AMP,i,i+1);case 40:return tS(e,Ww.PAREN_L,i,i+1);case 41:return tS(e,Ww.PAREN_R,i,i+1);case 46:if(46===r.charCodeAt(i+1)&&46===r.charCodeAt(i+2))return tS(e,Ww.SPREAD,i,i+3);break;case 58:return tS(e,Ww.COLON,i,i+1);case 61:return tS(e,Ww.EQUALS,i,i+1);case 64:return tS(e,Ww.AT,i,i+1);case 91:return tS(e,Ww.BRACKET_L,i,i+1);case 93:return tS(e,Ww.BRACKET_R,i,i+1);case 123:return tS(e,Ww.BRACE_L,i,i+1);case 124:return tS(e,Ww.PIPE,i,i+1);case 125:return tS(e,Ww.BRACE_R,i,i+1);case 34:return 34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2)?dS(e,i):oS(e,i)}if(zw(t)||45===t)return iS(e,i,t);if($w(t))return pS(e,i);throw Dw(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":Yw(t)||Kw(r,i)?`Unexpected character: ${eS(e,i)}.`:`Invalid character: ${eS(e,i)}.`)}return tS(e,Ww.EOF,n,n)}function nS(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if(10===e||13===e)break;if(Yw(e))++i;else{if(!Kw(r,i))break;i+=2}}return tS(e,Ww.COMMENT,t,i,r.slice(t+1,i))}function iS(e,t,r){let n=e.source.body,i=t,s=r,o=!1;if(45===s&&(s=n.charCodeAt(++i)),48===s){if(s=n.charCodeAt(++i),zw(s))throw Dw(e.source,i,`Invalid number, unexpected digit after 0: ${eS(e,i)}.`)}else i=sS(e,i,s),s=n.charCodeAt(i);if(46===s&&(o=!0,s=n.charCodeAt(++i),i=sS(e,i,s),s=n.charCodeAt(i)),(69===s||101===s)&&(o=!0,s=n.charCodeAt(++i),(43===s||45===s)&&(s=n.charCodeAt(++i)),i=sS(e,i,s),s=n.charCodeAt(i)),46===s||$w(s))throw Dw(e.source,i,`Invalid number, expected digit but got: ${eS(e,i)}.`);return tS(e,o?Ww.FLOAT:Ww.INT,t,i,n.slice(t,i))}function sS(e,t,r){if(!zw(r))throw Dw(e.source,t,`Invalid number, expected digit but got: ${eS(e,t)}.`);let n=e.source.body,i=t+1;for(;zw(n.charCodeAt(i));)++i;return i}function oS(e,t){let r=e.source.body,n=r.length,i=t+1,s=i,o="";for(;i<n;){let n=r.charCodeAt(i);if(34===n)return o+=r.slice(s,i),tS(e,Ww.STRING,t,i+1,o);if(92===n){o+=r.slice(s,i);let t=117===r.charCodeAt(i+1)?123===r.charCodeAt(i+2)?aS(e,i):lS(e,i):hS(e,i);o+=t.value,i+=t.size,s=i;continue}if(10===n||13===n)break;if(Yw(n))++i;else{if(!Kw(r,i))throw Dw(e.source,i,`Invalid character within String: ${eS(e,i)}.`);i+=2}}throw Dw(e.source,i,"Unterminated string.")}function aS(e,t){let r=e.source.body,n=0,i=3;for(;i<12;){let e=r.charCodeAt(t+i++);if(125===e){if(i<5||!Yw(n))break;return{value:String.fromCodePoint(n),size:i}}if(n=n<<4|cS(e),n<0)break}throw Dw(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}function lS(e,t){let r=e.source.body,n=uS(r,t+2);if(Yw(n))return{value:String.fromCodePoint(n),size:6};if(Xw(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=uS(r,t+8);
2if(Jw(e))return{value:String.fromCodePoint(n,e),size:12}}throw Dw(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}function uS(e,t){return cS(e.charCodeAt(t))<<12|cS(e.charCodeAt(t+1))<<8|cS(e.charCodeAt(t+2))<<4|cS(e.charCodeAt(t+3))}function cS(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function hS(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw Dw(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}function dS(e,t){let r=e.source.body,n=r.length,i=e.lineStart,s=t+3,o=s,a="",l=[];for(;s<n;){let n=r.charCodeAt(s);if(34===n&&34===r.charCodeAt(s+1)&&34===r.charCodeAt(s+2)){a+=r.slice(o,s),l.push(a);let n=tS(e,Ww.BLOCK_STRING,t,s+3,Hw(l).join("\n"));return e.line+=l.length-1,e.lineStart=i,n}if(92!==n||34!==r.charCodeAt(s+1)||34!==r.charCodeAt(s+2)||34!==r.charCodeAt(s+3))if(10!==n&&13!==n)if(Yw(n))++s;else{if(!Kw(r,s))throw Dw(e.source,s,`Invalid character within String: ${eS(e,s)}.`);s+=2}else a+=r.slice(o,s),l.push(a),13===n&&10===r.charCodeAt(s+1)?s+=2:++s,a="",o=s,i=s;else a+=r.slice(o,s),o=s+1,s+=4}throw Dw(e.source,s,"Unterminated string.")}function pS(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){if(!Uw(r.charCodeAt(i)))break;++i}return tS(e,Ww.NAME,t,i,r.slice(t,i))}var fS,mS=b(()=>{"use strict";Tw(),Lw(),Qw(),qw(),Zw(),fS=class{constructor(e){let t=new Aw(Ww.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==Ww.EOF)do{if(e.next)e=e.next;else{let t=rS(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===Ww.COMMENT);return e}}});function gS(e){return yS(e,[])}function yS(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let r=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:yS(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";let r=Math.min(10,e.length),n=e.length-r,i=[];for(let s=0;s<r;++s)i.push(yS(e[s],t));return 1===n?i.push("... 1 more item"):n>1&&i.push(`... ${n} more items`),"["+i.join(", ")+"]"}(e,r);return function(e,t){let r=Object.entries(e);return 0===r.length?"{}":t.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]":"{ "+r.map(([e,r])=>e+": "+yS(r,t)).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}var vS,bS,_S=b(()=>{}),wS=b(()=>{"use strict";_S(),vS=globalThis.process&&!0,bS=vS?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(r=e.constructor)||void 0===r?void 0:r.name)){let t=gS(e);throw new Error(`Cannot use ${n} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1}});var SS,ES=b(()=>{"use strict";dw(),_S(),wS(),SS=class{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||hw(!1,`Body must be a string. Received: ${gS(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||hw(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||hw(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}});function kS(e){let t=e.value;return CS(e.kind)+(null!=t?` "${t}"`:"")}function CS(e){return function(e){return e===Ww.BANG||e===Ww.DOLLAR||e===Ww.AMP||e===Ww.PAREN_L||e===Ww.PAREN_R||e===Ww.SPREAD||e===Ww.COLON||e===Ww.EQUALS||e===Ww.AT||e===Ww.BRACKET_L||e===Ww.BRACKET_R||e===Ww.BRACE_L||e===Ww.PIPE||e===Ww.BRACE_R}(e)?`"${e}"`:e}var DS,TS=b(()=>{"use strict";Tw(),Lw(),Mw(),jw(),mS(),ES(),Zw(),DS=class{constructor(e,t={}){let r=function(e){return bS(e,SS)}(e)?e:new SS(e);this._lexer=new fS(r),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(Ww.NAME);return this.node(e,{kind:Fw.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:Fw.DOCUMENT,definitions:this.many(Ww.SOF,this.parseDefinition,Ww.EOF)})}parseDefinition(){if(this.peek(Ww.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===Ww.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw Dw(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e=this._lexer.token;if(this.peek(Ww.BRACE_L))return this.node(e,{kind:Fw.OPERATION_DEFINITION,operation:Rw.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let t,r=this.parseOperationType();return this.peek(Ww.NAME)&&(t=this.parseName()),this.node(e,{kind:Fw.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(Ww.NAME);switch(e.value){case"query":return Rw.QUERY;case"mutation":return Rw.MUTATION;case"subscription":return Rw.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(Ww.PAREN_L,this.parseVariableDefinition,Ww.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:Fw.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Ww.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Ww.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(Ww.DOLLAR),this.node(e,{kind:Fw.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:Fw.SELECTION_SET,selections:this.many(Ww.BRACE_L,this.parseSelection,Ww.BRACE_R)})}parseSelection(){return this.peek(Ww.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(Ww.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:Fw.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Ww.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Ww.PAREN_L,t,Ww.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(Ww.COLON),this.node(t,{kind:Fw.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(Ww.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(Ww.NAME)?this.node(e,{kind:Fw.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:Fw.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:Fw.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:Fw.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case Ww.BRACKET_L:return this.parseList(e);case Ww.BRACE_L:return this.parseObject(e);case Ww.INT:return this.advanceLexer(),this.node(t,{kind:Fw.INT,value:t.value});case Ww.FLOAT:return this.advanceLexer(),this.node(t,{kind:Fw.FLOAT,value:t.value});case Ww.STRING:case Ww.BLOCK_STRING:return this.parseStringLiteral();case Ww.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:Fw.BOOLEAN,value:!0});case"false":return this.node(t,{kind:Fw.BOOLEAN,value:!1});case"null":return this.node(t,{kind:Fw.NULL});default:return this.node(t,{kind:Fw.ENUM,value:t.value})}case Ww.DOLLAR:if(e){if(this.expectToken(Ww.DOLLAR),this._lexer.token.kind===Ww.NAME){let e=this._lexer.token.value;throw Dw(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:Fw.STRING,value:e.value,block:e.kind===Ww.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:Fw.LIST,values:this.any(Ww.BRACKET_L,()=>this.parseValueLiteral(e),Ww.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:Fw.OBJECT,fields:this.any(Ww.BRACE_L,()=>this.parseObjectField(e),Ww.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(Ww.COLON),this.node(t,{kind:Fw.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(Ww.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(Ww.AT),this.node(t,{kind:Fw.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(Ww.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(Ww.BRACKET_R),e=this.node(t,{kind:Fw.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(Ww.BANG)?this.node(t,{kind:Fw.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:Fw.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Ww.STRING)||this.peek(Ww.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(Ww.BRACE_L,this.parseOperationTypeDefinition,Ww.BRACE_R);return this.node(e,{kind:Fw.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(Ww.COLON);let r=this.parseNamedType();return this.node(e,{kind:Fw.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:Fw.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:Fw.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Ww.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Ww.BRACE_L,this.parseFieldDefinition,Ww.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(Ww.COLON);let i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:Fw.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(Ww.PAREN_L,this.parseInputValueDef,Ww.PAREN_R)}parseInputValueDef(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(Ww.COLON);let n,i=this.parseTypeReference();this.expectOptionalToken(Ww.EQUALS)&&(n=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(e,{kind:Fw.INPUT_VALUE_DEFINITION,description:t,name:r,type:i,defaultValue:n,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();
2return this.node(e,{kind:Fw.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:Fw.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(Ww.EQUALS)?this.delimitedMany(Ww.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:Fw.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(Ww.BRACE_L,this.parseEnumValueDefinition,Ww.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:Fw.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw Dw(this._lexer.source,this._lexer.token.start,`${kS(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:Fw.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(Ww.BRACE_L,this.parseInputValueDef,Ww.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===Ww.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(Ww.BRACE_L,this.parseOperationTypeDefinition,Ww.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:Fw.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:Fw.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:Fw.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:Fw.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:Fw.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:Fw.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:Fw.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Ww.AT);let r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:Fw.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany(Ww.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(Nw,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new Ow(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw Dw(this._lexer.source,t.start,`Expected ${CS(e)}, found ${kS(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind!==Ww.NAME||t.value!==e)throw Dw(this._lexer.source,t.start,`Expected "${e}", found ${kS(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===Ww.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return Dw(this._lexer.source,t.start,`Unexpected ${kS(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==Ww.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw Dw(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}});function xS(e){return AS[e.charCodeAt(0)]}var OS,AS,PS=b(()=>{"use strict";OS=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g,AS=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"]});function IS(e,t,r=Pw){let n=new Map;for(let y of Object.values(Fw))n.set(y,RS(t,y));let i,s,o,a=Array.isArray(e),l=[e],u=-1,c=[],h=e,d=[],p=[];do{u++;let e,v=u===l.length,b=v&&0!==c.length;if(v){if(s=0===p.length?void 0:d[d.length-1],h=o,o=p.pop(),b)if(a){h=h.slice();let e=0;for(let[t,r]of c){let n=t-e;null===r?(h.splice(n,1),e++):h[n]=r}}else{h=y({},h);for(let[e,t]of c)h[e]=t}u=i.index,l=i.keys,c=i.edits,a=i.inArray,i=i.prev}else if(o){if(s=a?u:l[u],h=o[s],null==h)continue;d.push(s)}if(!Array.isArray(h)){var f,m;if(xw(h)||hw(!1,`Invalid AST Node: ${gS(h)}.`),e=(v?null===(f=n.get(h.kind))||void 0===f?void 0:f.leave:null===(m=n.get(h.kind))||void 0===m?void 0:m.enter)?.call(t,h,s,o,d,p),e===NS)break;if(!1===e){if(!v){d.pop();continue}}else if(void 0!==e&&(c.push([s,e]),!v)){if(!xw(e)){d.pop();continue}h=e}}var g;if(void 0===e&&b&&c.push([s,h]),v)d.pop();else i={inArray:a,index:u,keys:l,edits:c,prev:i},a=Array.isArray(h),l=a?h:null!==(g=r[h.kind])&&void 0!==g?g:[],u=-1,c=[],o&&p.push(o),o=h}while(void 0!==i);return 0!==c.length?c[c.length-1][1]:e}function RS(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}var NS,FS=b(()=>{"use strict";dw(),_S(),Lw(),jw(),NS=Object.freeze({})});
2function LS(e){return IS(e,$S)}function MS(e,t=""){var r;return null!==(r=e?.filter(e=>e).join(t))&&void 0!==r?r:""}function jS(e){return BS("{\n",zS(MS(e,"\n")),"\n}")}function BS(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function zS(e){return BS(" ",e.replace(/\n/g,"\n "))}function VS(e){var t;return null!==(t=e?.some(e=>e.includes("\n")))&&void 0!==t&&t}var $S,US=b(()=>{"use strict";Qw(),PS(),FS(),$S={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>MS(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=BS("(",MS(e.variableDefinitions,", "),")"),r=MS([e.operation,MS([e.name,t]),MS(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+BS(" = ",r)+BS(" ",MS(n," "))},SelectionSet:{leave:({selections:e})=>jS(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let s=BS("",e,": ")+t,o=s+BS("(",MS(r,", "),")");return o.length>80&&(o=s+BS("(\n",zS(MS(r,"\n")),"\n)")),MS([o,MS(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+BS(" ",MS(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>MS(["...",BS("on ",e),MS(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${BS("(",MS(r,", "),")")} on ${t} ${BS("",MS(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e,t){let r=e.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),i=1===n.length,s=n.length>1&&n.slice(1).every(e=>0===e.length||Bw(e.charCodeAt(0))),o=r.endsWith('\\"""'),a=e.endsWith('"')&&!o,l=e.endsWith("\\"),u=a||l,c=!(null!=t&&t.minimize)&&(!i||e.length>70||u||s||o),h="",d=i&&Bw(e.charCodeAt(0));return(c&&!d||s)&&(h+="\n"),h+=r,(c||u)&&(h+="\n"),'"""'+h+'"""'}(e):function(e){return`"${e.replace(OS,xS)}"`}(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+MS(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+MS(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+BS("(",MS(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>BS("",e,"\n")+MS(["schema",MS(t," "),jS(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>BS("",e,"\n")+MS(["scalar",t,MS(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>BS("",e,"\n")+MS(["type",t,BS("implements ",MS(r," & ")),MS(n," "),jS(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>BS("",e,"\n")+t+(VS(r)?BS("(\n",zS(MS(r,"\n")),"\n)"):BS("(",MS(r,", "),")"))+": "+n+BS(" ",MS(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>BS("",e,"\n")+MS([t+": "+r,BS("= ",n),MS(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>BS("",e,"\n")+MS(["interface",t,BS("implements ",MS(r," & ")),MS(n," "),jS(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>BS("",e,"\n")+MS(["union",t,MS(r," "),BS("= ",MS(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>BS("",e,"\n")+MS(["enum",t,MS(r," "),jS(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>BS("",e,"\n")+MS([t,MS(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>BS("",e,"\n")+MS(["input",t,MS(r," "),jS(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>BS("",e,"\n")+"directive @"+t+(VS(r)?BS("(\n",zS(MS(r,"\n")),"\n)"):BS("(",MS(r,", "),")"))+(n?" repeatable":"")+" on "+MS(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>MS(["extend schema",MS(e," "),jS(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>
2MS(["extend scalar",e,MS(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>MS(["extend type",e,BS("implements ",MS(t," & ")),MS(r," "),jS(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>MS(["extend interface",e,BS("implements ",MS(t," & ")),MS(r," "),jS(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>MS(["extend union",e,MS(t," "),BS("= ",MS(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>MS(["extend enum",e,MS(t," "),jS(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>MS(["extend input",e,MS(t," "),jS(r)]," ")}}});function qS(e){return e.kind===Fw.FIELD||e.kind===Fw.FRAGMENT_SPREAD||e.kind===Fw.INLINE_FRAGMENT}var HS=b(()=>{"use strict";jw()}),GS=b(()=>{"use strict";jw(),TS(),US(),FS(),Lw(),HS()}),WS=b(()=>{"use strict";GS()});function QS(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];return e&&e.length&&e.forEach(function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,n=e.name.value;aw(r&&1===r.length,106,n);var i=r[0];aw(i.name&&"if"===i.name.value,107,n);var s=i.value;aw(s&&("Variable"===s.kind||"BooleanValue"===s.kind),108,n),t.push({directive:e,ifArgument:i})}}),t}(r).every(function(e){var r=e.directive,n=e.ifArgument,i=!1;return"Variable"===n.value.kind?(i=t&&t[n.value.name.value],aw(void 0!==i,105,r.name.value)):i=n.value.value,"skip"===r.name.value?!i:i})}function ZS(e,t,r){var n=new Set(e),i=n.size;return IS(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return NS}}),r?!n.size:n.size<i}function YS(e){return e&&ZS(["client","export"],e,!0)}function KS(e){var t,r,n=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!n)return"mask";var i=null===(r=n.arguments)||void 0===r?void 0:r.find(function(e){return"mode"===e.name.value});return!1!==globalThis.__DEV__&&i&&(i.value.kind===Fw.VARIABLE?!1!==globalThis.__DEV__&&aw.warn(109):i.value.kind!==Fw.STRING?!1!==globalThis.__DEV__&&aw.warn(110):"migrate"!==i.value.value&&!1!==globalThis.__DEV__&&aw.warn(111,i.value.value)),i&&"value"in i.value&&"migrate"===i.value.value?"migrate":"unmask"}var XS=b(()=>{"use strict";cw(),WS()});var JS,eE,tE,rE,nE,iE,sE,oE,aE,lE,uE=b(()=>{"use strict";JS=()=>Object.create(null),({forEach:eE,slice:tE}=Array.prototype),({hasOwnProperty:rE}=Object.prototype),nE=class e{constructor(e=!0,t=JS){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return eE.call(e,e=>t=t.getChildTrie(e)),rE.call(t,"data")?t.data:t.data=this.makeData(tE.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(tE.call(e,1)),!i.data&&!i.weak&&(!i.strong||!i.strong.size)&&n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(t){let r=this.mapFor(t,!0),n=r.get(t);return n||r.set(t,n=new e(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}}),cE=b(()=>{"use strict";cw(),iE="ReactNative"==W_(function(){return navigator.product}),sE="function"==typeof WeakMap&&!(iE&&!r.g.HermesInternal),oE="function"==typeof WeakSet,aE="function"==typeof Symbol&&"function"==typeof Symbol.for,lE=aE&&Symbol.asyncIterator,"function"==typeof W_(function(){return window.document.createElement}),W_(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1});function hE(e){return null!==e&&"object"==typeof e}var dE=b(()=>{});function pE(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw nw(112,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&n.push(e)}),typeof r>"u"&&(aw(1===n.length,113,n.length),r=n[0].name.value),ar(ar({},e),{definitions:rr([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function fE(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function mE(e,t){switch(e.kind){case"InlineFragment":return e;
2case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return aw(n,114,r),n||null;default:return null}}var gE=b(()=>{"use strict";ur(),cw(),WS()});function yE(){}var vE,bE=b(()=>{"use strict";vE=class{constructor(e=1/0,t=yE){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}});function _E(){}var wE,SE,EE,kE,CE,DE=b(()=>{"use strict";wE=_E,SE=typeof WeakRef<"u"?WeakRef:function(e){return{deref:()=>e}},EE=typeof WeakMap<"u"?WeakMap:Map,kE=typeof FinalizationRegistry<"u"?FinalizationRegistry:function(){return{register:_E,unregister:_E}},CE=class{constructor(e=1/0,t=wE){this.max=e,this.dispose=t,this.map=new EE,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new SE(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new kE(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}}),TE=b(()=>{"use strict";bE(),DE()});function xE(e){e.size<=(e.max||-1)||OE.has(e)||(OE.add(e),setTimeout(function(){e.clean(),OE.delete(e)},100))}var OE,AE,PE,IE,RE,NE=b(()=>{"use strict";TE(),OE=new WeakSet,AE=function(e,t){var r=new CE(e,t);return r.set=function(e,t){var r=CE.prototype.set.call(this,e,t);return xE(this),r},r},PE=function(e,t){var r=new vE(e,t);return r.set=function(e,t){var r=vE.prototype.set.call(this,e,t);return xE(this),r},r}}),FE=b(()=>{"use strict";ur(),cw(),IE=Symbol.for("apollo.cacheSize"),RE=ar({},Q_[IE])}),LE=b(()=>{"use strict";NE(),FE()});function ME(e,t){GE[e]=t}function jE(){var e,t,r,n,i;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,RE[t]||r]})),sizes:ar({print:null===(e=GE.print)||void 0===e?void 0:e.call(GE),parser:null===(t=GE.parser)||void 0===t?void 0:t.call(GE),canonicalStringify:null===(r=GE.canonicalStringify)||void 0===r?void 0:r.call(GE),links:HE(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:UE(this.queryManager.documentTransform)}},null===(i=(n=this.cache).getMemoryInternals)||void 0===i?void 0:i.call(n))}}function BE(){return{cache:{fragmentQueryDocuments:VE(this.getFragmentDoc)}}}function zE(){var e=this.config.fragments;return ar(ar({},BE.apply(this)),{addTypenameDocumentTransform:UE(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:VE(this.storeReader.executeSelectionSet),executeSubSelectedArray:VE(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:VE(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:VE(e?.findFragmentSpreads),lookup:VE(e?.lookup),transform:VE(e?.transform)}})}function VE(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function $E(e){return null!=e}function UE(e){return qE(e).map(function(e){return{cache:e}})}function qE(e){return e?rr(rr([VE(e?.performWork)],qE(e?.left),!0),qE(e?.right),!0).filter($E):[]}function HE(e){var t;return e?rr(rr([null===(t=e?.getMemoryInternals)||void 0===t?void 0:t.call(e)],HE(e?.left),!0),HE(e?.right),!0).filter($E):[]}var GE,WE,QE,ZE,YE=b(()=>{"use strict";ur(),FE(),GE={},WE=!1!==globalThis.__DEV__?jE:void 0,QE=!1!==globalThis.__DEV__?zE:void 0,ZE=!1!==globalThis.__DEV__?BE:void 0});function KE(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var n=Object.keys(t);if(n.every(XE))return t;var i=JSON.stringify(n),s=ek.get(i);if(!s){n.sort();var o=JSON.stringify(n);s=ek.get(o)||n,ek.set(i,s),ek.set(o,s)}var a=Object.create(r);
2return s.forEach(function(e){a[e]=t[e]}),a}}return t}function XE(e,t,r){return 0===t||r[t-1]<=e}var JE,ek,tk=b(()=>{"use strict";LE(),YE(),JE=Object.assign(function(e){return JSON.stringify(e,KE)},{reset:function(){ek=new PE(RE.canonicalStringify||1e3)}}),!1!==globalThis.__DEV__&&ME("canonicalStringify",function(){return ek.size}),JE.reset()});function rk(e){return{__ref:String(e)}}function nk(e){return!(!e||"object"!=typeof e||"string"!=typeof e.__ref)}function ik(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var i={};r.fields.map(function(e){return ik(i,e.name,e.value,n)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(r)){var s=(n||{})[r.name.value];e[t.value]=s}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return ik(r,t,e,n),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw nw(123,t.value,r.kind);e[t.value]=null}}function sk(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return ik(r,n,i,t)}),r}return null}function ok(e){return e.alias?e.alias.value:e.name.value}function ak(e,t,r){for(var n,i=0,s=t.selections;i<s.length;i++){if(lk(l=s[i])){if("__typename"===l.name.value)return e[ok(l)]}else n?n.push(l):n=[l]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var o=0,a=n;o<a.length;o++){var l,u=ak(e,mE(l=a[o],r).selectionSet,r);if("string"==typeof u)return u}}function lk(e){return"Field"===e.kind}var uk,ck,hk,dk=b(()=>{"use strict";cw(),dE(),gE(),tk(),uk=["connection","include","skip","client","rest","export","nonreactive"],ck=JE,hk=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(ck(i),")")}return r.connection.key}var s=e;if(t){var o=ck(t);s+="(".concat(o,")")}return r&&Object.keys(r).forEach(function(e){-1===uk.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?s+="@".concat(e,"(").concat(ck(r[e]),")"):s+="@".concat(e))}),s},{setStringify:function(e){var t=ck;return ck=e,t}})});function pk(e){aw(e&&"Document"===e.kind,115);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw nw(116,e.kind);return e});return aw(t.length<=1,117,t.length),e}function fk(e){return pk(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function mk(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function gk(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function yk(e){var t=fk(e);return aw(t&&"query"===t.operation,118),t}function vk(e){aw("Document"===e.kind,119),aw(e.definitions.length<=1,120);var t=e.definitions[0];return aw("FragmentDefinition"===t.kind,121),t}function bk(e){pk(e);for(var t,r=0,n=e.definitions;r<n.length;r++){var i=n[r];if("OperationDefinition"===i.kind){var s=i.operation;if("query"===s||"mutation"===s||"subscription"===s)return i}"FragmentDefinition"===i.kind&&!t&&(t=i)}if(t)return t;throw nw(122)}function _k(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&ik(t,e.variable.name,e.defaultValue)}),t}var wk=b(()=>{"use strict";cw(),dk()});function Sk(e){try{return e()}catch{}}var Ek,kk,Ck,Dk,Tk,xk,Ok,Ak,Pk,Ik,Rk,Nk=b(()=>{"use strict";Ek=null,kk={},Ck=1,Dk=()=>class{constructor(){this.id=["slot",Ck++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=Ek;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===kk)break;return e!==Ek&&(Ek.slots[this.id]=t),!0}return Ek&&(Ek.slots[this.id]=kk),!1}getValue(){if(this.hasValue())return Ek.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},s=Ek;
2Ek={parent:s,slots:i};try{return t.apply(n,r)}finally{Ek=s}}static bind(e){let t=Ek;return function(){let r=Ek;try{return Ek=t,e.apply(this,arguments)}finally{Ek=r}}}static noContext(e,t,r){if(!Ek)return e.apply(r,t);{let n=Ek;try{return Ek=null,e.apply(r,t)}finally{Ek=n}}}},Tk="@wry/context:Slot",xk=Sk(()=>globalThis)||Sk(()=>r.g)||Object.create(null),Ak=(Ok=xk)[Tk]||Array[Tk]||function(e){try{Object.defineProperty(Ok,Tk,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(Dk())}),Fk=b(()=>{"use strict";Nk(),({bind:Pk,noContext:Ik}=Ak)}),Lk=b(()=>{"use strict";Fk(),Fk(),Rk=new Ak});function Mk(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}var jk,Bk,zk=b(()=>{"use strict";({hasOwnProperty:jk}=Object.prototype),Bk=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t}});function Vk(e,t){if(!e)throw new Error(t||"assertion failure")}function $k(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function Uk(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function qk(e){return e.slice(0)}function Hk(e){let t=Rk.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Qk(e)?Xk(t,e):Jk(t,e),t}function Gk(e,t){return tC(e),Rk.withValue(e,Wk,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{Mk(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}(e,t)&&function(e){e.dirty=!1,!Qk(e)&&Yk(e)}(e),Uk(e.value)}function Wk(e,t){e.recomputing=!0;let r,{normalizeResult:n}=e;n&&1===e.value.length&&(r=qk(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!$k(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch{}}catch(i){e.value[1]=i}e.recomputing=!1}function Qk(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Zk(e){Kk(e,Xk)}function Yk(e){Kk(e,Jk)}function Kk(e,t){let r=e.parents.size;if(r){let n=Bk(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function Xk(e,t){Vk(e.childValues.has(t)),Vk(Qk(t));let r=!Qk(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=nC.pop()||new Set;e.dirtyChildren.add(t),r&&Zk(e)}function Jk(e,t){Vk(e.childValues.has(t)),Vk(!Qk(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,qk(t.value)):$k(r,t.value)||e.setDirty(),eC(e,t),!Qk(e)&&Yk(e)}function eC(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(nC.length<iC&&nC.push(r),e.dirtyChildren=null))}function tC(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{rC(e,r)}),e.forgetDeps(),Vk(null===e.dirtyChildren)}function rC(e,t){t.parents.delete(e),e.childValues.delete(t),eC(e,t)}var nC,iC,sC,oC=b(()=>{"use strict";Lk(),zk(),nC=[],iC=100,sC=(()=>{class e{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}peek(){if(1===this.value.length&&!Qk(this))return Hk(this),this.value[0]}recompute(e){return Vk(!this.recomputing,"already recomputing"),Hk(this),Qk(this)?Gk(this,e):Uk(this.value)}setDirty(){this.dirty||(this.dirty=!0,Zk(this),Mk(this))}dispose(){this.setDirty(),tC(this),Kk(this,(e,t)=>{e.setDirty(),rC(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=nC.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(Bk(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),nC.push(this.deps),this.deps=null)}}return e.count=0,e})()});function aC(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=Rk.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(Mk(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&jk.call(lC,r)?r:"setDirty";Bk(n).forEach(e=>e[i]()),t.delete(e),Mk(n)}},n}var lC,uC=b(()=>{"use strict";Lk(),zk(),lC={setDirty:!0,dispose:!0,forget:!0}});function cC(...e){return(dC||(dC=new nE("function"==typeof WeakMap))).lookupArray(e)}function hC(e,{max:t=Math.pow(2,16),keyArgs:r,makeCacheKey:n=cC,normalizeResult:i,subscribe:s,cache:o=vE}=Object.create(null)){let a="function"==typeof o?new o(t,e=>e.dispose()):o,l=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=a.get(t);o||(a.set(t,o=new sC(e)),o.normalizeResult=i,o.subscribe=s,o.forget=()=>a.delete(t));let l=o.recompute(Array.prototype.slice.call(arguments));
2return a.set(t,o),pC.add(a),Rk.hasValue()||(pC.forEach(e=>e.clean()),pC.clear()),l};function u(e){let t=e&&a.get(e);t&&t.setDirty()}function c(e){let t=e&&a.get(e);if(t)return t.peek()}function h(e){return!!e&&a.delete(e)}return Object.defineProperty(l,"size",{get:()=>a.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:s,cache:a}),l.dirtyKey=u,l.dirty=function(){u(n.apply(null,arguments))},l.peekKey=c,l.peek=function(){return c(n.apply(null,arguments))},l.forgetKey=h,l.forget=function(){return h(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}var dC,pC,fC=b(()=>{"use strict";uE(),TE(),oC(),Lk(),Lk(),uC(),pC=new Set});function mC(e){return e}var gC,yC,vC,bC=b(()=>{"use strict";uE(),cE(),wk(),cw(),TE(),fC(),LE(),gC=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=oE?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(mC,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new nE(sE);this.performWork=hC(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return aw(Array.isArray(n),104),r.lookupArray(n)},max:RE["documentTransform.cache"],cache:CE})}},e.prototype.performWork=function(e){return pk(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()}),_C=b(()=>{"use strict";WS(),LE(),YE(),vC=Object.assign(function(e){var t=yC.get(e);return t||(t=LS(e),yC.set(e,t)),t},{reset:function(){yC=new AE(RE.print||2e3)}}),vC.reset(),!1!==globalThis.__DEV__&&ME("print",function(){return yC?yC.size:0})});function wC(e){return Array.isArray(e)&&e.length>0}var SC,EC=b(()=>{"use strict";SC=Array.isArray});function kC(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===Fw.FRAGMENT_SPREAD&&kC(t[e.name.value],t)})}function CC(e){return kC(fk(e)||vk(e),fE(gk(e)))?null:e}function DC(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function TC(e,t){pk(t);for(var r=DC(""),n=DC(""),i=function(e){for(var t=0,i=void 0;t<e.length&&(i=e[t]);++t)if(!SC(i)){if(i.kind===Fw.OPERATION_DEFINITION)return r(i.name&&i.name.value);if(i.kind===Fw.FRAGMENT_DEFINITION)return n(i.name.value)}return!1!==globalThis.__DEV__&&aw.error(124),null},s=0,o=t.definitions.length-1;o>=0;--o)t.definitions[o].kind===Fw.OPERATION_DEFINITION&&++s;var a=function(e){var t=new Map,r=new Map;return e.forEach(function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))}),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach(function(t,r){r(e)&&(n=t)}),n}}(e),l=function(e){return wC(e)&&e.map(a).some(function(e){return e&&e.remove})},u=new Map,c=!1,h={enter:function(e){if(l(e.directives))return c=!0,null}},d=IS(t,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,s){var o=i(s);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,s){if(l(e.directives))return c=!0,null;var o=i(s);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){u.set(JSON.stringify(n),e)},leave:function(e,t,r,i){return e===u.get(JSON.stringify(i))?e:s>0&&e.selectionSet.selections.every(function(e){return e.kind===Fw.FIELD&&"__typename"===e.name.value})?(n(e.name.value).removed=!0,c=!0,null):void 0}},Directive:{leave:function(e){if(a(e))return c=!0,null}}});if(!c)return t;var p=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){p(n(t)).transitiveVars.forEac
2h(function(t){e.transitiveVars.add(t)})})),e},f=new Set;d.definitions.forEach(function(e){e.kind===Fw.OPERATION_DEFINITION?p(r(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){f.add(e)}):e.kind===Fw.FRAGMENT_DEFINITION&&0===s&&!n(e.name.value).removed&&f.add(e.name.value)}),f.forEach(function(e){p(n(e)).fragmentSpreads.forEach(function(e){f.add(e)})});var m={enter:function(e){if(function(e){return!(f.has(e)&&!n(e).removed)}(e.name.value))return null}};return CC(IS(d,{FragmentSpread:m,FragmentDefinition:m,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=p(r(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return ar(ar({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}function xC(e){return"query"===bk(e).operation?e:IS(e,{OperationDefinition:{enter:function(e){return ar(ar({},e),{operation:"query"})}}})}function OC(e){return pk(e),TC([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function AC(e){return pk(e),IS(e,{FragmentSpread:function(e){var t;if(null===(t=e.directives)||void 0===t||!t.some(function(e){return"unmask"===e.name.value}))return ar(ar({},e),{directives:rr(rr([],e.directives||[],!0),[{kind:Fw.DIRECTIVE,name:{kind:Fw.NAME,value:"nonreactive"}}
2],!1)})}})}var PC,IC,RC=b(()=>{"use strict";ur(),cw(),WS(),wk(),dk(),gE(),EC(),PC={kind:Fw.FIELD,name:{kind:Fw.NAME,value:"__typename"}},IC=Object.assign(function(e){return IS(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==Fw.OPERATION_DEFINITION){var n=e.selections;if(n)if(!n.some(function(e){return lk(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))})){var i=r;if(!(lk(i)&&i.directives&&i.directives.some(function(e){return"export"===e.name.value})))return ar(ar({},e),{selections:rr(rr([],n,!0),[PC],!1)})}}}}})},{added:function(e){return e===PC}})});function NC(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return FC(e)}function FC(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new jC,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var LC,MC,jC,BC=b(()=>{"use strict";ur(),dE(),LC=Object.prototype.hasOwnProperty,MC=function(e,t,r){return this.merge(e[r],t[r])},jC=function(){function e(e){void 0===e&&(e=MC),this.reconciler=e,this.isObject=hE,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return hE(t)&&hE(e)?(Object.keys(t).forEach(function(i){if(LC.call(e,i)){var s=e[i];if(t[i]!==s){var o=r.reconciler.apply(r,rr([e,t,i],n,!1));o!==s&&((e=r.shallowCopyForMerge(e))[i]=o)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return hE(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):ar({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()});function zC(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return VC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return VC(e,t)}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function VC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UC(e,t,r){return t&&$C(e.prototype,t),r&&$C(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function qC(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function HC(e){var t=e.constructor;return void 0!==t&&(null===(t=t[nD])&&(t=void 0)),void 0!==t?t:oD}function GC(e){GC.log?GC.log(e):setTimeout(function(){throw e})}function WC(e){Promise.resolve().then(function(){try{e()}catch(o){GC(o)}})}function QC(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=qC(t,"unsubscribe");r&&r.call(t)}}catch(n){GC(n)}}function ZC(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function YC(e,t,r){e._state="running";var n=e._observer;try{var i=qC(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(ZC(e),!i)throw r;i.call(n,r);break;case"complete":ZC(e),i&&i.call(n)}}catch(s){GC(s)}"closed"===e._state?QC(e):"running"===e._state&&(e._state="ready")}function KC(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state)return e._state="buffering",e._queue=[{type:t,value:r}],void WC(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(YC(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});YC(e,t,r)}}var XC,JC,eD,tD,rD,nD,iD,sD,oD,aD=b(()=>{"use strict";JC=function(e){return XC()&&!!Symbol[e]},eD=function(e){return JC(e)?Symbol[e]:"@@"+e},(XC=function(){return"function"==typeof Symbol})()&&!JC("observable")&&(Symbol.observable=Symbol("observable")),tD=eD("iterator"),rD=eD("observable"),nD=eD("species"),iD=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new sD(this);try{this._cleanup=t.call(void 0,r)}catch(n){r.error(n)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(ZC(this),QC(this))},UC(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),sD=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){KC(this._subscription,"next",e)},t.error=function(e){KC(this._subscription,"error",e)},t.complete=function(){KC(this._subscription,"complete")},UC(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),oD=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new iD(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,s)}catch(r){n(r),i.unsubscribe()}},error:n,complete:r});else n(new TypeError(e+" is not a function"));function s(){i.unsubscribe(),r()}})},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(HC(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(n){return r.error(n)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(HC(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(n){return r.error(n)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var r=HC(this),n=arguments.length>1,i=!1,s=arguments[1];return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{s=e(s,t)}catch(a){return r.error(a)}else s=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(s),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=HC(this);return new i(function(t){var n,s=0;return function e(o){n=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){s===r.length?(n=void 0,t.complete()):e(i.from(r[s++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var r=HC(this);return new r(function(n){var i=[],s=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(a){return n.error(a)}var s=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(s);e>=0&&i.splice(e,1),o()}});i.push(s)},error:function(e){n.error(e)},complete:function(){o()}});function o(){s.closed&&0===i.length&&n.complete()}
2return function(){i.forEach(function(e){return e.unsubscribe()}),s.unsubscribe()}})},t[rD]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=qC(t,rD);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return function(e){return e instanceof oD}(i)&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(JC("iterator")&&(n=qC(t,tD)))return new r(function(e){WC(function(){if(!e.closed){for(var r,i=zC(n.call(t));!(r=i()).done;){var s=r.value;if(e.next(s),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){WC(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){WC(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},UC(e,null,[{key:nD,get:function(){return this}}]),e}(),XC()&&Object.defineProperty(oD,Symbol("extensions"),{value:{symbol:rD,hostReportError:GC},configurable:!0})});var lD,uD,cD=b(()=>{}),hD=b(()=>{"use strict";cD(),typeof self<"u"?self:typeof window<"u"?window:typeof r.g<"u"?r.g:r.g=e,function(e){var t,r=e.Symbol;if("function"==typeof r)if(r.observable)t=r.observable;else{t="function"==typeof r.for?r.for("https://github.com/benlesh/symbol-observable"):r("https://github.com/benlesh/symbol-observable");try{r.observable=t}catch{}}else t="@@observable";return t}(r.g)}),dD=b(()=>{"use strict";aD(),hD(),(lD=oD.prototype)[uD="@@observable"]||(lD[uD]=function(){return this})});var pD=b(()=>{});function fD(e){return mD(e)}function mD(e,t){switch(gD.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=mD(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach(function(r){n[r]=mD(e[r],t)}),n;default:return e}}var gD,yD=b(()=>{"use strict";gD=Object.prototype.toString});function vD(e){var t=new Set([e]);return t.forEach(function(e){hE(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){hE(e[r])&&t.add(e[r])})}),e}function bD(e){return!1!==globalThis.__DEV__&&vD(e),e}var _D=b(()=>{"use strict";dE()});function wD(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}var SD=b(()=>{});function ED(e,t,r){return new oD(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function s(e,t){return function(r){if(e){var s=function(){return n.closed?0:e(r)};i=i.then(s,s).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var o={next:s(t,"next"),error:s(r,"error"),complete:function(){i.then(function(){return n.complete()})}},a=e.subscribe(o);return function(){return a.unsubscribe()}})}var kD=b(()=>{"use strict";dD()});function CD(e){function t(t){Object.defineProperty(e,t,{value:oD})}return aE&&Symbol.species&&t(Symbol.species),t("@@species"),e}var DD=b(()=>{"use strict";dD(),cE()});function TD(e){return e&&"function"==typeof e.then}var xD,OD=b(()=>{"use strict";ur(),dD(),SD(),DD(),xD=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),wD(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),wD(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?TD(i)?i.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=i.subscribe(r.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),wD(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new oD(t)]),TD(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return Zt(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(oD),CD(xD)});function AD(e){return"incremental"in e}function PD(e){return hE(e)&&"payload"in e}function ID(e,t){var r=e,n=new jC;return AD(t)&&wC(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,s=i.length-1;s>=0;--s){var o=i[s],a=!isNaN(+o)?[]:{};a[o]=t,t=a}r=n.merge(r,t)}),r}var RD=b(()=>{"use strict";dE(),EC(),BC()});function ND(e){return wC(FD(e))}function FD(e){var t=wC(e.errors)?e.errors.slice(0):[];return AD(e)&&wC(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var LD=b(()=>{"use strict";EC(),RD()});function MD(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}var jD=b(()=>{});function BD(e,t){return MD(e,t,t.variables&&{variables:MD(ar(ar({},e&&e.variables),t.variables))})}var zD=b(()=>{"use strict";ur(),jD()});function VD(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return QD.withValue.apply(QD,rr([Array.isArray(e)?e:[e]],t,!1))}function $D(e,t,r,n){void 0===n&&(n="Please remove this option."),UD(t,function(){t in e&&!1!==globalThis.__DEV__&&aw.warn(103,r,t,n)})}function UD(e,t){(function(e){return WD[HD]||(QD.getValue()||[]).includes(e)})(e)||t()}var qD,HD,GD,WD,QD,ZD=b(()=>{"use strict";ur(),fC(),cw(),HD=Symbol.for("apollo.deprecations"),GD=Symbol.for("apollo.deprecations.slot"),QD=null!==(qD=(WD=Q_)[GD])&&void 0!==qD?qD:WD[GD]=new Ak}),YD=b(()=>{"use strict";cw(),XS(),bC(),gE(),wk(),_C(),dk(),RC(),dD(),pD(),BC(),yD(),_D(),SD(),
2kD(),OD(),DD(),EC(),dE(),LD(),cE(),jD(),J_(),tw(),zD(),RD(),tk(),LE(),ZD()});function KD(e){return new oD(function(t){t.error(e)})}var XD,JD=b(()=>{"use strict";YD()}),eT=b(()=>{"use strict";XD=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}});var tT=b(()=>{"use strict";cw()});var rT=b(()=>{"use strict";ur()});var nT=b(()=>{"use strict";YD()});var iT=b(()=>{"use strict";ur(),WS()}),sT=b(()=>{"use strict";cw(),JD(),eT(),tT(),rT(),nT(),iT()});function oT(e,t){return t?t(e):oD.of()}function aT(e){return"function"==typeof e?new uT(e):e}function lT(e){return e.request.length<=1}var uT,cT,hT,dT=b(()=>{"use strict";cw(),YD(),sT(),YD(),uT=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return oD.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(aT).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i,s=aT(r),o=aT(n||new e(oT));return i=lT(s)&&lT(o)?new e(function(e){return t(e)?s.request(e)||oD.of():o.request(e)||oD.of()}):new e(function(e,r){return t(e)?s.request(e,r)||oD.of():o.request(e,r)||oD.of()}),Object.assign(i,{left:s,right:o})},e.execute=function(e,t){return e.request(function(e,t){var r=ar({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r=ar(ar({},r),"function"==typeof e?e(r):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return ar({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?mk(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];
2if(t.indexOf(i)<0)throw nw(58,i)}return e}(t))))||oD.of()},e.concat=function(t,r){var n=aT(t);if(lT(n))return!1!==globalThis.__DEV__&&aw.warn(47,n),n;var i,s=aT(r);return i=lT(s)?new e(function(e){return n.request(e,function(e){return s.request(e)||oD.of()})||oD.of()}):new e(function(e,t){return n.request(e,function(e){return s.request(e,t)||oD.of()})||oD.of()}),Object.assign(i,{left:n,right:s})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(oT)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw nw(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&UD("onError",function(){!1!==globalThis.__DEV__&&aw.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&aw.warn(50),this.onError=e,this},e}()}),pT=b(()=>{"use strict";dT(),cT=uT.split}),fT=b(()=>{"use strict";dT(),hT=uT.execute}),mT=b(()=>{"use strict";cw(),pT(),fT(),dT()});var gT=b(()=>{});function yT(e){var t=null,r=null,n=!1,i=[],s=[];function o(e){if(!r){if(s.length){var t=s.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function a(e){r=e,s.slice().forEach(function(t){t[1](e)}),!t||t()}function l(){n=!0,s.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",a),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",o),e.on("error",a),e.on("end",l),e.on("finish",l),e.on("close",l);var u={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void s.push([e,t])})}};return lE&&(u[Symbol.asyncIterator]=function(){return this}),u}var vT=b(()=>{"use strict";YD()});var bT=b(()=>{"use strict";YD()});function _T(e){var t={next:function(){return e.read()}};return lE&&(t[Symbol.asyncIterator]=function(){return this}),t}var wT=b(()=>{"use strict";YD()});function ST(e){var t=e;if(function(e){return!!e.body}(e)&&(t=e.body),function(e){return!(!lE||!e[Symbol.asyncIterator])}(t))return function(e){var t,r=e[Symbol.asyncIterator]();return(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t}(t);if(function(e){return!!e.getReader}(t))return _T(t.getReader());if(function(e){return!!e.stream}(t))return _T(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return function(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,r){e.then(function(e){t({value:e,done:!1})}).catch(r)}))}};return lE&&(r[Symbol.asyncIterator]=function(){return this}),r}(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return yT(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var ET=b(()=>{"use strict";YD(),gT(),vT(),bT(),wT()});function kT(e){return!!e.extensions&&Array.isArray(e.extensions[DT])}function CT(e){return e.hasOwnProperty("graphQLErrors")}var DT,TT,xT,OT=b(()=>{"use strict";ur(),cw(),YD(),DT=Symbol(),TT=function(e){var t=rr(rr(rr([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return hE(e)&&e.message||"Error message not found."}).join("\n")},xT=function(e){function t(r){var n=r.graphQLErrors,i=r.protocolErrors,s=r.clientErrors,o=r.networkError,a=r.errorMessage,l=r.extraInfo,u=e.call(this,a)||this;return u.name="ApolloError",u.graphQLErrors=n||[],u.protocolErrors=i||[],u.clientErrors=s||[],u.networkError=o||null,u.message=a||TT(u),u.extraInfo=l,u.cause=rr(rr(rr([o],n||[],!0),i||[],!0),s||[],!0).find(function(e){return!!e})||null,u.__proto__=t.prototype,u}return Zt(t,e),t}(Error)});function AT(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}function PT(e,t){if(e.status>=300){XD(e,function(){try{return JSON.parse(t)}catch{return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var IT,RT,NT=b(()=>{"use strict";ur(),ET(),sT(),OT(),RD(),IT=Object.prototype.hasOwnProperty}),FT=b(()=>{"use strict";cw(),RT=function(e,t){var r;try{r=JSON.stringify(e)}catch(i){var n=nw(54,t,i.message);throw n.parseError=i,n}return r}});function LT(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},s={};r.forEach(function(e){i=ar(ar(ar({},i),e.options),{headers:ar(ar({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),s=ar(ar({},s),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r={};
2return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,s.preserveHeaderCase));var o=e.operationName,a=e.extensions,l=e.variables,u=e.query,c={operationName:o,variables:l};return s.includeExtensions&&(c.extensions=a),s.includeQuery&&(c.query=t(u,vC)),{options:i,body:c}}var MT,jT,BT,zT,VT=b(()=>{"use strict";ur(),YD(),MT={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},jT=function(e,t){return t(e)}}),$T=b(()=>{"use strict";cw(),BT=function(e){if(!e&&typeof fetch>"u")throw nw(51)}}),UT=b(()=>{"use strict";zT=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}});var qT,HT,GT,WT=b(()=>{"use strict";FT()}),QT=b(()=>{"use strict";ur(),cw(),mT(),YD(),FT(),UT(),NT(),$T(),VT(),WT(),sT(),YD(),qT=W_(function(){return fetch}),HT=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,s=void 0===i?jT:i,o=e.includeExtensions,a=e.preserveHeaderCase,l=e.useGETForQueries,u=e.includeUnusedVariables,c=void 0!==u&&u,h=Yt(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&BT(n||qT);var d={http:{includeExtensions:o,preserveHeaderCase:a},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new uT(function(e){var t=zT(e,r),i=e.getContext(),o={};if(i.clientAwareness){var a=i.clientAwareness,u=a.name,p=a.version;u&&(o["apollographql-client-name"]=u),p&&(o["apollographql-client-version"]=p)}var f=ar(ar({},o),i.headers),m={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:f};if(ZS(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&aw.warn(52);var g=OC(e.query);if(!g)return KD(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=g}var y,v=LT(e,s,MT,d,m),b=v.options,_=v.body;_.variables&&!c&&(_.variables=function(e,t){var r=ar({},e),n=new Set(Object.keys(e));return IS(t,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&n.delete(e.name.value)}}),n.forEach(function(e){delete r[e]}),r}(_.variables,e.query)),!b.signal&&typeof AbortController<"u"&&(y=new AbortController,b.signal=y.signal);var w,S="OperationDefinition"===(w=bk(e.query)).kind&&"subscription"===w.operation,E=ZS(["defer"],e.query);if(l&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(b.method="GET"),E||S){b.headers=b.headers||{};var k="multipart/mixed;";S&&E&&!1!==globalThis.__DEV__&&aw.warn(53),S?k+="boundary=graphql;subscriptionSpec=1.0,application/json":E&&(k+="deferSpec=20220824,application/json"),b.headers.accept=k}if("GET"===b.method){var C=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=RT(t.variables,"Variables map")}catch(h){return{parseError:h}}n("variables",i)}if(t.extensions){var s=void 0;try{s=RT(t.extensions,"Extensions map")}catch(h){return{parseError:h}}n("extensions",s)}var o="",a=e,l=e.indexOf("#");-1!==l&&(o=e.substr(l),a=e.substr(0,l));var u=-1===a.indexOf("?")?"?":"&";return{newURI:a+u+r.join("&")+o}}(t,_),D=C.newURI,T=C.parseError;if(T)return KD(T);t=D}else try{b.body=RT(_,"Payload")}catch(w){return KD(w)}return new oD(function(r){var i=n||W_(function(){return fetch})||qT,s=r.next.bind(r);return i(t,b).then(function(t){var r;e.setContext({response:t});var n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?function(e,t){return Jt(this,void 0,void 0,function(){var r,n,i,s,o,a,l,u,c,h,d,p,f,m,g,y,v,b,_,w,S,E,
2k,C;return er(this,function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),n=null===(C=e.headers)||void 0===C?void 0:C.get("content-type"),i="boundary=",s=n?.includes(i)?n?.substring(n?.indexOf(i)+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",o="\r\n--".concat(s),a="",l=ST(e),u=!0,D.label=1;case 1:return u?[4,l.next()]:[3,3];case 2:for(c=D.sent(),h=c.value,d=c.done,p="string"==typeof h?h:r.decode(h),f=a.length-o.length+1,u=!d,m=(a+=p).indexOf(o,f);m>-1;){if(g=void 0,E=[a.slice(0,m),a.slice(m+o.length)],a=E[1],y=(g=E[0]).indexOf("\r\n\r\n"),v=AT(g.slice(0,y)),(b=v["content-type"])&&-1===b.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(_=g.slice(y))if(w=PT(e,_),Object.keys(w).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)if(PD(w)){if(S={},"payload"in w){if(1===Object.keys(w).length&&null===w.payload)return[2];S=ar({},w.payload)}"errors"in w&&(S=ar(ar({},S),{extensions:ar(ar({},"extensions"in S?S.extensions:null),(k={},k[DT]=w.errors,k))})),t(S)}else t(w);else if(1===Object.keys(w).length&&"hasNext"in w&&!w.hasNext)return[2];m=a.indexOf(o)}return[3,1];case 3:return[2]}})})}(t,s):function(e){return function(t){return t.text().then(function(e){return PT(t,e)}).then(function(r){return!Array.isArray(r)&&!IT.call(r,"data")&&!IT.call(r,"errors")&&XD(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}}(e)(t).then(s)}).then(function(){y=void 0,r.complete()}).catch(function(e){y=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,r)}),function(){y&&y.abort()}})})}}),ZT=b(()=>{"use strict";ur(),mT(),QT(),GT=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,HT(t).request)||this;return r.options=t,r}return Zt(t,e),t}(uT)}),YT=b(()=>{"use strict";cw(),ZT()});function KT(e,t){try{return XT(e,t)}finally{sx.clear()}}function XT(e,t){if(e===t)return!0;let r=rx.call(e);if(r!==rx.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(tx(e,t))return!0;let r=JT(e),n=JT(t),i=r.length;if(i!==n.length)return!1;for(let e=0;e<i;++e)if(!nx.call(t,r[e]))return!1;for(let s=0;s<i;++s){let n=r[s];if(!XT(e[n],t[n]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(tx(e,t))return!0;let n=e.entries(),i="[object Map]"===r;for(;;){let e=n.next();if(e.done)break;let[r,s]=e.value;if(!t.has(r)||i&&!XT(s,t.get(r)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let r=e.byteLength;if(r===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let r=ix.call(e);return r===ix.call(t)&&!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(r,ax)}}return!1}function JT(e){return Object.keys(e).filter(ex,e)}function ex(e){return void 0!==this[e]}function tx(e,t){let r=sx.get(e);if(r){if(r.has(t))return!0}else sx.set(e,r=new Set);return r.add(t),!1}var rx,nx,ix,sx,ox,ax,lx=b(()=>{"use strict";({toString:rx,hasOwnProperty:nx}=Object.prototype),ix=Function.prototype.toString,sx=new Map,ox=KT,ax="{ [native code] }"});function ux(e,t,r,n){var i=t.data,s=Yt(t,["data"]),o=r.data,a=Yt(r,["data"]);return ox(s,a)&&cx(bk(e).selectionSet,i,o,{fragmentMap:fE(gk(e)),variables:n})}function cx(e,t,r,n){if(t===r)return!0;var i=new Set;
2return e.selections.every(function(e){if(i.has(e)||(i.add(e),!QS(e,n.variables))||hx(e))return!0;if(lk(e)){var s=ok(e),o=t&&t[s],a=r&&r[s],l=e.selectionSet;if(!l)return ox(o,a);var u=Array.isArray(o),c=Array.isArray(a);if(u!==c)return!1;if(u&&c){var h=o.length;if(a.length!==h)return!1;for(var d=0;d<h;++d)if(!cx(l,o[d],a[d],n))return!1;return!0}return cx(l,o,a,n)}var p=mE(e,n.fragmentMap);return p?!!hx(p)||cx(p.selectionSet,t,r,n):void 0})}function hx(e){return!!e.directives&&e.directives.some(dx)}function dx(e){return"nonreactive"===e.name.value}var px=b(()=>{"use strict";ur(),lx(),YD()});function fx(){vx||(vx=!0,!1!==globalThis.__DEV__&&aw.warn(64))}var mx,gx,yx,vx,bx=b(()=>{"use strict";fC(),cw(),YD(),mx=sE?WeakMap:Map,gx=oE?WeakSet:Set,yx=new Ak,vx=!1});function _x(e,t,r){return yx.withValue(!0,function(){var n=wx(e,t,r,!1);return Object.isFrozen(e)&&bD(n),n})}function wx(e,t,r,n,i){var s,o=r.knownChanged,a=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(e,r.mutableTargets);if(Array.isArray(e)){for(var l=0,u=Array.from(e.entries());l<u.length;l++){var c=u[l],h=c[0],d=c[1];if(null!==d){var p=wx(d,t,r,n,!1!==globalThis.__DEV__?"".concat(i||"","[").concat(h,"]"):void 0);o.has(p)&&o.add(a),a[h]=p}else a[h]=null}return o.has(a)?a:e}for(var f=0,m=t.selections;f<m.length;f++){var g=m[f],y=void 0;if(n&&o.add(a),g.kind===Fw.FIELD){var v=ok(g),b=g.selectionSet;if(void 0===(y=a[v]||e[v]))continue;if(b&&null!==y){p=wx(e[v],b,r,n,!1!==globalThis.__DEV__?"".concat(i||"",".").concat(v):void 0);o.has(p)&&(y=p)}!1===globalThis.__DEV__&&(a[v]=y),!1!==globalThis.__DEV__&&(!n||"__typename"===v||null!==(s=Object.getOwnPropertyDescriptor(a,v))&&void 0!==s&&s.value?(delete a[v],a[v]=y):Object.defineProperty(a,v,Sx(v,y,i||"",r.operationName,r.operationType)))}if(g.kind===Fw.INLINE_FRAGMENT&&(!g.typeCondition||r.cache.fragmentMatches(g,e.__typename))&&(y=wx(e,g.selectionSet,r,n,i)),g.kind===Fw.FRAGMENT_SPREAD){var _=g.name.value,w=r.fragmentMap[_]||(r.fragmentMap[_]=r.cache.lookupFragment(_));aw(w,59,_);var S=KS(g);"mask"!==S&&(y=wx(e,w.selectionSet,r,"migrate"===S,i))}o.has(y)&&o.add(a)}return"__typename"in e&&!("__typename"in a)&&(a.__typename=e.__typename),Object.keys(a).length!==Object.keys(e).length&&o.add(a),o.has(a)?a:e}function Sx(e,t,r,n,i){var s=function(){return yx.getValue()||(!1!==globalThis.__DEV__&&aw.warn(60,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),s=function(){return t}),t};return{get:function(){return s()},set:function(e){s=function(){return e}},enumerable:!0,configurable:!0}}var Ex=b(()=>{"use strict";WS(),YD(),bx(),cw()});function kx(e,t,r,n){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&fx(),e;var i=t.definitions.filter(function(e){return e.kind===Fw.FRAGMENT_DEFINITION});typeof n>"u"&&(aw(1===i.length,61,i.length),n=i[0].name.value);var s=i.find(function(e){return e.name.value===n});return aw(!!s,62,n),null==e||ox(e,{})?e:_x(e,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:fE(gk(t)),cache:r,mutableTargets:new mx,knownChanged:new gx})}var Cx=b(()=>{"use strict";WS(),bx(),cw(),lx(),Ex(),YD()});var Dx,Tx,xx=b(()=>{"use strict";cw(),YD(),Ex(),bx()}),Ox=b(()=>{"use strict";bx(),Cx(),xx()}),Ax=b(()=>{"use strict";ur(),fC(),YD(),TE(),YE(),px(),cw(),Ox(),YD(),Dx=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=hC(pE,{max:RE["cache.fragmentQueryDocuments"]||1e3,cache:CE})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&$D(e,"canonizeResults","cache.readQuery"),VD("canonizeResults",function(){return r.read(ar(ar({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t=this,r=e.fragment,n=e.fragmentName,i=e.from,s=e.optimistic,o=void 0===s||s,a=Yt(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(r,n),u=typeof i>"u"||"string"==typeof i?i:this.identify(i),c=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var h=n||vk(r).name.value;u||!1!==globalThis.__DEV__&&aw.warn(1,h)}var d,p=ar(ar({},a),{returnPartialData:!0,id:u,query:l,optimistic:o});return new oD(function(i){return t.watch(ar(ar({},p),{immediate:!0,callback:function(s){var o=c?kx(s.result,r,t,n):s.result;
2if(!d||!ux(l,{data:d.result},{data:o},e.variables)){var a={data:o,complete:!!s.complete};s.missing&&(a.missing=FC(s.missing.map(function(e){return e.missing}))),d=ar(ar({},s),{result:o}),i.next(a)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&$D(e,"canonizeResults","cache.readFragment"),VD("canonizeResults",function(){return r.read(ar(ar({},e),{query:r.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=Yt(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,s=Yt(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(s,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&$D(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var n=VD("canonizeResults",function(){return r.readQuery(e)}),i=t(n);return null==i?n:(r.writeQuery(ar(ar({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&$D(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var n=VD("canonizeResults",function(){return r.readFragment(e)}),i=t(n);return null==i?n:(r.writeFragment(ar(ar({},e),{data:i})),i)}})},e}(),!1!==globalThis.__DEV__&&(Dx.prototype.getMemoryInternals=ZE)}),Px=b(()=>{"use strict";ur(),Tx=function(e){function t(r,n,i,s){var o,a=e.call(this,r)||this;if(a.message=r,a.path=n,a.query=i,a.variables=s,Array.isArray(a.path)){a.missing=a.message;for(var l=a.path.length-1;l>=0;--l)a.missing=((o={})[a.path[l]]=a.missing,o)}else a.missing=a.path;return a.__proto__=t.prototype,a}return Zt(t,e),t}(Error)});function Ix(e){return null==e}function Rx(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=Ix(n)?Ix(i)?void 0:{_id:i}:{id:n}),Ix(n)&&!Ix(i)&&(n=i),!Ix(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}function Nx(e){var t=e.canonizeResults;return void 0===t?zx.canonizeResults:t}function Fx(e){var t=e.match(Vx);return t?t[0]:e}function Lx(e,t,r){return!!hE(t)&&(SC(t)?t.every(function(t){return Lx(e,t,r)}):e.selections.every(function(e){if(lk(e)&&QS(e,r)){var n=ok(e);return Bx.call(t,n)&&(!e.selectionSet||Lx(e.selectionSet,t[n],r))}return!0}))}function Mx(e){return hE(e)&&!nk(e)&&!SC(e)}function jx(e,t){var r=fE(gk(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var Bx,zx,Vx,$x=b(()=>{"use strict";YD(),Bx=Object.prototype.hasOwnProperty,zx={dataIdFromObject:Rx,addTypename:!0,resultCaching:!0,canonizeResults:!1},Vx=/^[_a-z][_0-9a-z]*/i});function Ux(e,t){return t+"#"+e}function qx(e,t){Gx(e)&&e.group.depend(t,"__exists")}function Hx(e,t,r){var n=e[r],i=t[r];return KT(n,i)?n:i}function Gx(e){return!!(e instanceof Yx&&e.group.caching)}var Wx,Qx,Zx,Yx,Kx,Xx,Jx,eO=b(()=>{"use strict";ur(),cw(),fC(),lx(),uE(),YD(),$x(),Wx=Object.create(null),Qx=function(){return Wx},Zx=Object.create(null),Yx=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return bD(nk(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return nk(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return rk(e);if(nk(e))return e;var n=r.policies.identify(e)[0];if(n){var i=rk(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return ar({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),Bx.call(this.data,e)){var r=this.data[e];if(r&&Bx.call(r,t))return r[t]}return"__typename"===t&&Bx.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Xx?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Bx.call(this.data,e)?this.data[e]:this instanceof Xx?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;nk(e)&&(e=e.__ref),nk(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,s="string"==typeof t?this.lookup(r=t):t;if(s){aw("string"==typeof r,2);var o=new jC(Hx).merge(i,s);if(this.data[r]=o,o!==i&&(delete this.refs[r],this.group.caching)){var a=Object.create(null);
2i||(a.__exists=1),Object.keys(s).forEach(function(e){if(!i||i[e]!==o[e]){a[e]=1;var t=Fx(e);t!==e&&!n.policies.hasKeyArgs(o.__typename,t)&&(a[t]=1),void 0===o[e]&&!(n instanceof Xx)&&delete o[e]}}),a.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===o.__typename&&delete a.__typename,Object.keys(a).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),s=!1,o=!0,a={DELETE:Wx,INVALIDATE:Zx,isReference:nk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||rk(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var u=Fx(l),c=n[l];if(void 0!==c){var h="function"==typeof t?t:t[l]||t[u];if(h){var d=h===Qx?Wx:h(bD(c),ar(ar({},a),{fieldName:u,storeFieldName:l,storage:r.getStorage(e,l)}));if(d===Zx)r.group.dirty(e,l);else if(d===Wx&&(d=void 0),d!==c&&(i[l]=d,s=!0,c=d,!1!==globalThis.__DEV__)){var p=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&aw.warn(3,e),!0};if(nk(d))p(d);else if(Array.isArray(d))for(var f=!1,m=void 0,g=0,y=d;g<y.length;g++){var v=y[g];if(nk(v)){if(f=!0,p(v))break}else if("object"==typeof v&&v){r.policies.identify(v)[0]&&(m=v)}if(f&&void 0!==m){!1!==globalThis.__DEV__&&aw.warn(4,m);break}}}}void 0!==c&&(o=!1)}}),s)return this.merge(e,i),o&&(this instanceof Xx?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var s=this.getFieldValue(i,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:s,fieldName:t,args:r}):t;return this.modify(e,o?((n={})[o]=Qx,n):Qx)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(Bx.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof Xx&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){Bx.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&Bx.call(e,r)||t.delete(r)}),e){var r=e.__META,n=Yt(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Xx?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){Bx.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof Xx;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!Bx.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){nk(e)&&(t[e.__ref]=!0),hE(e)&&Object.keys(e).forEach(function(t){var r=e[t];hE(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Kx=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?aC():null,this.keyMaker=new nE(sE)}
2,e.prototype.depend=function(e,t){if(this.d){this.d(Ux(e,t));var r=Fx(t);r!==t&&this.d(Ux(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(Ux(e,t),"__exists"===t?"forget":"setDirty")},e}(),function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,s=t.seed,o=e.call(this,r,new Kx(i))||this;return o.stump=new Jx(o),o.storageTrie=new nE(sE),s&&o.replace(s),o}return Zt(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Yx||(Yx={})),Xx=function(e){function t(t,r,n,i){var s=e.call(this,r.policies,i)||this;return s.id=t,s.parent=r,s.replay=n,s.group=i,n(s),s}return Zt(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){KT(n[r],i[r])||t.group.dirty(e,r)}
2):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return ar(ar({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return Bx.call(this.data,t)?ar(ar({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Yx),Jx=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new Kx(t.group.caching,t.group))||this}return Zt(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Xx)});var tO,rO=b(()=>{"use strict";ur(),uE(),YD(),$x(),tO=function(){function e(){this.known=new(oE?WeakSet:Set),this.pool=new nE(sE),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return hE(e)&&this.known.has(e)},e.prototype.pass=function(e){if(hE(e)){var t=function(e){return hE(e)?SC(e)?e.slice(0):ar({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(hE(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(a=this.pool.lookupArray(n)).array||(this.known.add(a.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),a.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),s=[i],o=this.sortedKeys(e);s.push(o.json);var a,l=s.length;if(o.sorted.forEach(function(r){s.push(t.admit(e[r]))}),!(a=this.pool.lookupArray(s)).object){var u=a.object=Object.create(i);this.known.add(u),o.sorted.forEach(function(e,t){u[e]=s[l+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return a.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}()});function nO(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}function iO(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(o){return o}}function sO(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){hE(r)&&(aw(!nk(r),11,function(e,t){return nk(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,r),t.name.value),Object.values(r).forEach(n.add,n))})}}var oO,aO=b(()=>{"use strict";ur(),cw(),WS(),fC(),YD(),eO(),$x(),Px(),rO(),oO=function(){function e(e){var t=this;this.knownResults=new(sE?WeakMap:Map),this.config=MD(e,{addTypename:!1!==e.addTypename,canonizeResults:Nx(e)}),this.canon=e.canon||new tO,this.executeSelectionSet=hC(function(e){var r,n=e.context.canonizeResults,i=nO(e);i[3]=!n;var s=(r=t.executeSelectionSet).peek.apply(r,i);return s?n?ar(ar({},s),{result:t.canon.admit(s.result)}):s:(qx(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||RE["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:nO,makeCacheKey:function(e,t,r,n){if(Gx(r.store))return r.store.makeCacheKey(e,nk(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=hC(function(e){return qx(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||RE["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(Gx(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new tO},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.rootId,i=void 0===n?"ROOT_QUERY":n,s=e.variables,o=e.returnPartialData,a=void 0===o||o,l=e.canonizeResults,u=void 0===l?this.config.canonizeResults:l,c=this.config.cache.policies;s=ar(ar({},_k(yk(r))),s);var h,d=rk(i),p=this.executeSelectionSet({selectionSet:bk(r).selectionSet,objectOrReference:d,enclosingRef:d,context:ar({store:t,query:r,policies:c,variables:s,varString:JE(s),canonizeResults:u},jx(r,this.config.fragments))});if(p.missing&&(h=[new Tx(iO(p.missing),p.missing,r,s)],!a))throw h[0];return{result:p.result,complete:!h,missing:h}},e.prototype.isFresh=function(e,t,r,n){if(Gx(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,i=e.enclosingRef,s=e.context;if(nk(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var o,a=s.variables,l=s.policies,u=s.store.getFieldValue(n,"__typename"),c=[],h=new jC;function d(e,t){var r;return e.missing&&(o=h.merge(o,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof u&&!l.rootIdsByTypename[u]&&c.push({__typename:u});var p=new Set(r.selections);p.forEach(function(e){var r,f;
2if(QS(e,a))if(lk(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),g=ok(e);void 0===m?IC.added(e)||(o=h.merge(o,((r={})[g]="Can't find field '".concat(e.name.value,"' on ").concat(nk(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):SC(m)?m.length>0&&(m=d(t.executeSubSelectedArray({field:e,array:m,enclosingRef:i,context:s}),g)):e.selectionSet?null!=m&&(m=d(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:nk(m)?m:i,context:s}),g)):s.canonizeResults&&(m=t.canon.pass(m)),void 0!==m&&c.push(((f={})[g]=m,f))}else{var y=mE(e,s.lookupFragment);if(!y&&e.kind===Fw.FRAGMENT_SPREAD)throw nw(10,e.name.value);y&&l.fragmentMatches(y,u)&&y.selectionSet.selections.forEach(p.add,p)}});var f={result:FC(c),missing:o},m=s.canonizeResults?this.canon.admit(f):bD(f);return m.result&&this.knownResults.set(m.result,r),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,s=e.enclosingRef,o=e.context,a=new jC;function l(e,r){var n;return e.missing&&(t=a.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map(function(e,t){return null===e?null:SC(e)?l(r.executeSubSelectedArray({field:n,array:e,enclosingRef:s,context:o}),t):n.selectionSet?l(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:nk(e)?e:s,context:o}),t):(!1!==globalThis.__DEV__&&sO(o.store,n,e),e)}),{result:o.canonizeResults?this.canon.admit(i):i,missing:t}},e}()});function lO(e){var t=dO.get(e);return t||dO.set(e,t={vars:new Set,dep:aC()}),t}function uO(e){lO(e).vars.forEach(function(t){return t.forgetCache(e)})}function cO(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){lO(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var o=Array.from(r);r.clear(),o.forEach(function(t){return t(e)})}}else{var a=hO.getValue();a&&(i(a),lO(a).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),lO(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var hO,dO,pO=b(()=>{"use strict";fC(),hO=new Ak,dO=new WeakMap});function fO(e){var t=JSON.stringify(e);return SO[t]||(SO[t]=Object.create(null))}function mO(e){var t=fO(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=yO(e,function(e){var i=_O(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&Bx.call(t,e[0])&&(i=_O(t,e,bO)),aw(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function gO(e){var t=fO(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,s=r.fieldName,o=yO(e,function(e){var r=e[0],s=r.charAt(0);if("@"!==s)if("$"!==s){if(t)return _O(t,e)}else{var o=r.slice(1);if(i&&Bx.call(i,o)){var a=e.slice(0);return a[0]=o,_O(i,a)}}else if(n&&wC(n.directives)){var l=r.slice(1),u=n.directives.find(function(e){return e.name.value===l}),c=u&&sk(u,i);return c&&_O(c,e.slice(1))}}),a=JSON.stringify(o);return(t||"{}"!==a)&&(s+=":"+a),s})}function yO(e,t){var r=new jC;return vO(e).reduce(function(e,n){var i,s=t(n);if(void 0!==s){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=s,s=i;e=r.merge(e,s)}return e},Object.create(null))}function vO(e){var t=fO(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach(function(t,i){SC(t)?(vO(t).forEach(function(e){return r.push(n.concat(e))}),n.length=0):(n.push(t),SC(e[i+1])||(r.push(n.slice(0)),n.length=0))})}return t.paths}function bO(e,t){return e[t]}function _O(e,t,r){return r=r||bO,wO(t.reduce(function e(t,n){return SC(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function wO(e){return hE(e)?SC(e)?e.map(wO):yO(Object.keys(e).sort(),function(t){return _O(e,t)}):e}var SO,EO=b(()=>{"use strict";cw(),YD(),$x(),SO=Object.create(null)});function kO(e){return void 0!==e.args?e.args:e.field?sk(e.field,e.variables):null}function CO(e,t,r,n,i){var s=e.getStoreFieldName(r),o=Fx(s),a=r.variables||n.variables,l=n.store,u=l.toReference,c=l.canRead;return{args:kO(r),field:r.field||null,fieldName:o,storeFieldName:s,variables:a,isReference:nk,toReference:u,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(DO(arguments,t,a),n)},mergeObjects:TO(n.store)}}function DO(e,t,r){var n,i=e[0],s=e[1],o=e.length;return"string"==typeof i?n={fieldName:i,from:o>1?s:t}:(n=ar({},i),Bx.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&aw.warn(8,ew(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function TO(e){return function(t,r){if(SC(t)||SC(r))throw nw(9);if(hE(t)&&hE(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if(nk(t)&&Mx(r))return e.merge(t.__ref,r),t;if(Mx(t)&&nk(r))return e.merge(t,r.__ref),r;if(Mx(t)&&Mx(r))return ar(ar({},t),r)}return r}}var xO,OO,AO,PO,IO,RO=b(()=>{"use strict";ur(),cw(),YD(),$x(),pO(),EO(),Ox(),xO=function(){},OO=function(e,t){return t.fieldName},AO=function(e,t,r){return(0,r.mergeObjects)(e,t)},PO=function(e,t){return t},IO=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=ar({dataIdFromObject:Rx},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,n=this,i=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s,o=t&&t.storeObject||e,a=ar(ar({},t),{typename:i,storeObject:o,readField:t&&t.readField||function(){var e=DO(arguments,o);return n.readField(e,{store:n.cache.data,variables:e.variables})}}),l=i&&this.getTypePolicy(i),u=l&&l.keyFn||this.config.dataIdFromObject;return yx.withValue(!0,function(){for(;u;){var t=u(ar(ar({},e),o),a);if(!SC(t)){s=t;break}u=mO(t)}}),s=s?String(s):void 0,a.keyObject?[s,a.keyObject]:[s]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,s=n.mutationType,o=n.subscriptionType,a=Yt(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),s&&t.setRootTypename("Mutation",r),o&&t.setRootTypename("Subscription",r),Bx.call(t.toBeAdded,r)?t.toBeAdded[r].push(a):t.toBeAdded[r]=[a]})},e.prototype.updateTypePolicy=function(e,t,r){var n=this.getTypePolicy(e),i=t.keyFields,s=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?AO:!1===t?PO:e.merge}o(n,t.merge),n.keyFn=!1===i?xO:SC(i)?mO(i):"function"==typeof i?i:n.keyFn,s&&Object.keys(s).forEac
2h(function(t){var n=r[t];(!n||n?.typename!==e)&&(n=r[t]={typename:e});var i=s[t];if("function"==typeof i)n.read=i;else{var a=i.keyArgs,l=i.read,u=i.merge;n.keyFn=!1===a?OO:SC(a)?gO(a):"function"==typeof a?a:n.keyFn,"function"==typeof l&&(n.read=l),o(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||OO)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(aw(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(Vx);(!n||n[0]!==e)&&t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!Bx.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var s=t.supertypeMap.get(i);s&&s.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields,s=Yt(n,["fields"]);Object.assign(r,s),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(r){t.updateTypePolicy(e,r,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var s=e.typeCondition.name.value;if(t===s)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(s))for(var o=this.getSupertypeSet(t,!0),a=[o],l=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&a.indexOf(t)<0&&a.push(t)},u=!(!r||!this.fuzzySubtypes.size),c=!1,h=0;h<a.length;++h){var d=a[h];if(d.has(s))return o.has(s)||(c&&!1!==globalThis.__DEV__&&aw.warn(7,t,s),o.add(s)),!0;d.forEach(l),u&&h===a.length-1&&Lx(e.selectionSet,r,n)&&(u=!1,c=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),s=i&&i.keyFn;if(s&&r)for(var o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},a=kO(e);s;){var l=s(a,o);if(!SC(l)){t=l||n;break}s=gO(l)}return void 0===t&&(t=e.field?function(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,s=n.value;return ik(r[e.name.value],i,s,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return ik(n,r,i,t)})),hk(e.name.value,n,r)}(e.field,e.variables):hk(n,kO(e))),!1===t?n:n===Fx(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),s=Fx(i),o=t.store.getFieldValue(r,i),a=this.getFieldPolicy(e.typename,s),l=a&&a.read;if(l){var u=CO(this,r,e,t,t.store.getStorage(nk(r)?r.__ref:r,i));return hO.withValue(this.cache,l,[o,u])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var s=r.field,o=r.typename,a=r.merge;return a===AO?TO(n.store)(e,t):a===PO?t:(n.overwrite&&(e=void 0),a(e,t,CO(this,void 0,{typename:o,fieldName:s.name.value,field:s,variables:n.variables},n,i||Object.create(null))))},e}()});function NO(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:ar(ar({},e),{clientOnly:t,deferred:r})),i}function FO(e,t){var r=e.map;return r.has(t)||r.set(t,zO.pop()||{map:new Map}),r.get(t)}function LO(e,t){if(e===t||!t||MO(t))return e;if(!e||MO(e))return t;var r=e.info&&t.info?ar(ar({},e.info),t.info):e.info||t.info,n=e.map.size&&t.map.size,i={info:r,map:n?new Map:e.map.size?e.map:t.map};if(n){var s=new Set(t.map.keys());
2e.map.forEach(function(e,r){i.map.set(r,LO(e,t.map.get(r))),s.delete(r)}),s.forEach(function(r){i.map.set(r,LO(t.map.get(r),e.map.get(r)))})}return i}function MO(e){return!e||!(e.info||e.map.size)}function jO(e,t){var r=e.map,n=r.get(t);n&&MO(n)&&(zO.push(n),r.delete(t))}var BO,zO,VO,$O,UO=b(()=>{"use strict";ur(),cw(),lx(),uE(),WS(),YD(),$x(),RO(),BO=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,s=t.dataId,o=t.variables,a=t.overwrite,l=fk(n),u=new jC;o=ar(ar({},_k(l)),o);var c=ar(ar({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:o,varString:JE(o)},jx(n,this.fragments)),{overwrite:!!a,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),h=this.processSelectionSet({result:i||Object.create(null),dataId:s,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:c});if(!nk(h))throw nw(12,i);return c.incomingById.forEach(function(t,n){var i=t.storeObject,s=t.mergeTree,o=t.fieldNodeSet,a=rk(n);if(s&&s.map.size){var l=r.applyMerges(s,a,i,c);if(nk(l))return;i=l}if(!1!==globalThis.__DEV__&&!c.overwrite){var u=Object.create(null);o.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});
2Object.keys(i).forEach(function(e){(function(e){return!0===u[Fx(e)]})(e)&&!function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},s=i(e);if(s){var o=i(t);if(o&&!nk(s)&&!KT(s,o)&&!Object.keys(s).every(function(e){return void 0!==n.getFieldValue(o,e)})){var a=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=Fx(r),u="".concat(a,".").concat(l);if(!VO.has(u)){VO.add(u);var c=[];!SC(s)&&!SC(o)&&[s,o].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"==typeof t&&!c.includes(t)&&c.push(t)}),!1!==globalThis.__DEV__&&aw.warn(15,l,a,c.length?"either ensure all objects of type "+c.join(" and ")+" have an ID or a custom merge function, or ":"",u,ar({},s),ar({},o))}}}}(a,i,e,c.store)})}e.merge(n,i)}),e.retain(h.__ref),h},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,s=e.context,o=e.mergeTree,a=this.cache.policies,l=Object.create(null),u=r&&a.rootTypenamesById[r]||ak(n,i,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof u&&(l.__typename=u);var c=function(){var e=DO(arguments,l,s.variables);if(nk(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=a.readField(ar(ar({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return a.readField(e,s)},h=new Set;this.flattenFields(i,n,s,u).forEach(function(e,r){var i,s=ok(r),d=n[s];if(h.add(r),void 0!==d){var p=a.getStoreFieldName({typename:u,fieldName:r.name.value,field:r,variables:e.variables}),f=FO(o,p),m=t.processFieldValue(d,r,r.selectionSet?NO(e,!1,!1):e,f),g=void 0;r.selectionSet&&(nk(m)||Mx(m))&&(g=c("__typename",m));var y=a.getMergeFunction(u,r.name.value,g);y?f.info={field:r,typename:u,merge:y}:jO(o,p),l=e.merge(l,((i={})[p]=m,i))}else!1!==globalThis.__DEV__&&!e.clientOnly&&!e.deferred&&!IC.added(r)&&!a.getReadFunction(u,r.name.value)&&!1!==globalThis.__DEV__&&aw.error(13,ok(r),n)});try{var d=a.identify(n,{typename:u,selectionSet:i,fragmentMap:s.fragmentMap,storeObject:l,readField:c}),p=d[0],f=d[1];r=r||p,f&&(l=s.merge(l,f))}catch(v){if(!r)throw v}if("string"==typeof r){var m=rk(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(i)>=0||(g.push(i),this.reader&&this.reader.isFresh(n,m,i,s)))return m;var y=s.incomingById.get(r);return y?(y.storeObject=s.merge(y.storeObject,l),y.mergeTree=LO(y.mergeTree,o),h.forEach(function(e){return y.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:MO(o)?void 0:o,fieldNodeSet:h}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?SC(e)?e.map(function(e,s){var o=i.processFieldValue(e,t,r,FO(n,s));return jO(n,s),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?fD(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=ak(t,e,r.fragmentMap));var i=new Map,s=this.cache.policies,o=new nE(!1);return function e(a,l){var u=o.lookup(a,l.clientOnly,l.deferred);u.visited||(u.visited=!0,a.selections.forEach(function(o){if(QS(o,r.variables)){var a=l.clientOnly,u=l.deferred;if(!(a&&u)&&wC(o.directives)&&o.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(a=!0),"defer"===t){var n=sk(e,r.variables);(!n||!1!==n.if)&&(u=!0)}}),lk(o)){var c=i.get(o);c&&(a=a&&c.clientOnly,u=u&&c.deferred),i.set(o,NO(r,a,u))}else{var h=mE(o,r.lookupFragment);if(!h&&o.kind===Fw.FRAGMENT_SPREAD)throw nw(14,o.name.value);h&&s.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,NO(r,a,u))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var s,o=this;if(e.map.size&&!nk(r)){var a=SC(r)||!nk(t)&&!Mx(t)?void 0:t,l=r;a&&!i&&(i=[nk(a)?a.__ref:a]);var u,c=function(e,t){return SC(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=c(a,t),s=c(l,t);if(void 0!==s){i&&i.push(t);var h=o.applyMerges(e,r,s,n,i);h!==s&&(u=u||new Map).set(t,h),i&&aw(i.pop()===t)}}),u&&(r=SC(l)?l.slice(0):ar({},l),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(s=n.store).getStorage.apply(s,i)):r},e}(),zO=[],VO=new Set}),qO=b(()=>{"use strict";ur(),cw(),fC(),lx(),Ax(),Px(),YD(),aO(),UO(),eO(),pO(),RO(),$x(),YE(),YD(),$O=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new gC(IC),r.assumeImmutableResults=!0,r.makeVar=cO,r.txCount=0,!1!==globalThis.__DEV__&&($D(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),$D(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r.config=function(e){return MD(zx,e)}(t),r.addTypename=!!r.config.addTypename,r.policies=new IO({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return Zt(t,e),t.prototype.init=function(){var e=this.data=new Yx.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.addTypenameTransform.resetCache(),n?.resetCaches(),this.storeWriter=new BO(this,this.storeReader=new oO({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Nx(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=hC(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||RE["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(Gx(r)){var n=e.optimistic,i=e.id,s=e.variables;return r.makeCacheKey(e.query,e.callback,JE({optimistic:n,id:i,variables:s}))}}}
2),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){!1!==globalThis.__DEV__&&$D(e,"canonizeResults","cache.read");var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore(ar(ar({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(n){if(n instanceof Tx)return null;throw n}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{! --this.txCount&&!1!==e.broadcast&&this.broadcastWatches()}},t.prototype.modify=function(e){if(Bx.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{! --this.txCount&&!1!==e.broadcast&&this.broadcastWatches()}},t.prototype.diff=function(e){return!1!==globalThis.__DEV__&&$D(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore(ar(ar({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){lO(e).vars.forEach(function(t){return t.attachCache(e)})}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&uO(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&$D(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),JE.reset(),vC.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(nk(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&aw.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(Bx.call(e,"id"))return!1;e=ar(ar({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{! --this.txCount&&!1!==e.broadcast&&this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),JE.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),uO(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,i=e.optimistic,s=void 0===i||i,o=e.removeOptimistic,a=e.onWatchUpdated,l=function(e){var i=r,s=i.data,o=i.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=s,r.optimisticData=o}},u=new Set;return a&&!this.txCount&&this.broadcastWatches(ar(ar({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof s?this.optimisticData=this.optimisticData.addLayer(s,l):!1===s?l(this.data):l(),"string"==typeof o&&(this.optimisticData=this.optimisticData.removeLayer(o)),a&&u.size?(this.broadcastWatches(ar(ar({},e),{onWatchUpdated:function(e,t){var r=a.call(this,e,t);return!1!==r&&u.delete(e),r}})),u.size&&u.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;
2this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=this,n=e.lastDiff,i=VD("canonizeResults",function(){return r.diff(e)});t&&(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,i,n))||(!n||!KT(n.result,i.result))&&e.callback(e.lastDiff=i,n)},t}(Dx),!1!==globalThis.__DEV__&&($O.prototype.getMemoryInternals=QE)}),HO=b(()=>{"use strict";cw(),YD(),qO(),pO()});function GO(e){return!!e&&e<7}var WO,QO=b(()=>{"use strict";WO=function(e){return e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error",e}(WO||{})});function ZO(e){!1!==globalThis.__DEV__&&aw.error(33,e.message,e.stack)}function YO(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&aw.debug(34,e)}function KO(e){return"network-only"===e||"no-cache"===e||"standby"===e}var XO,JO,eA,tA=b(()=>{"use strict";ur(),cw(),lx(),QO(),YD(),OT(),px(),fC(),YD(),XO=Object.assign,JO=Object.hasOwnProperty,eA=function(e){function t(r){var n=r.queryManager,i=r.queryInfo,s=r.options,o=this,a=t.inactiveOnCreation.getValue();(o=e.call(this,function(e){o._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=ZO)}catch{}var r=!o.observers.size;o.observers.add(e);var n=o.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(o.maskResult(n.result)),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this).observers=new Set,o.subscriptions=new Set,o.dirty=!1,o._getOrCreateQuery=function(){return a&&(n.queries.set(o.queryId,i),a=!1),o.queryManager.getOrCreateQuery(o.queryId)},o.queryInfo=i,o.queryManager=n,o.waitForOwnResult=KO(s.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var l=n.defaultOptions.watchQuery,u=(void 0===l?{}:l).fetchPolicy,c=void 0===u?"cache-first":u,h=s.fetchPolicy,d=void 0===h?c:h,p=s.initialFetchPolicy,f=void 0===p?"standby"===d?c:d:p;o.options=ar(ar({},s),{initialFetchPolicy:f,fetchPolicy:d}),o.queryId=i.queryId||n.generateQueryId();var m=fk(o.query);return o.queryName=m&&m.name&&m.name.value,o}return Zt(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return!1!==globalThis.__DEV__&&UD("observableQuery.result",function(){!1!==globalThis.__DEV__&&aw.warn(23)}),new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var r=VD("getLastResult",function(){return t.getLastResult(!0)}),n=this.queryInfo.networkStatus||r&&r.networkStatus||WO.ready,i=ar(ar({},r),{loading:GO(n),networkStatus:n}),s=this.options.fetchPolicy,o=void 0===s?"cache-first":s;if(!KO(o)&&!this.queryManager.getDocumentInfo(this.query).hasForcedResolvers)if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(i.data=a.result),KT(i.data,{})&&(i.data=void 0),a.complete?(delete i.partial,a.complete&&i.networkStatus===WO.loading&&("cache-first"===o||"cac
2he-only"===o)&&(i.networkStatus=WO.ready,i.loading=!1)):i.partial=!0,i.networkStatus===WO.ready&&(i.error||i.errors)&&(i.networkStatus=WO.error),!1!==globalThis.__DEV__&&!a.complete&&!this.options.partialRefetch&&!i.loading&&!i.data&&!i.error&&YO(a.missing)}return e&&this.updateLastResult(i),i},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!ux(i,this.last.result,e,this.variables):!KT(this.last.result,e))||t&&!KT(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||KT(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&UD("getLastResult",function(){!1!==globalThis.__DEV__&&aw.warn(24)}),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&UD("getLastError",function(){!1!==globalThis.__DEV__&&aw.warn(25)}),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&UD("resetLastResults",function(){!1!==globalThis.__DEV__&&aw.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&aw.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},n=this.options.fetchPolicy;if(r.fetchPolicy="no-cache"===n?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&JO.call(e,"variables")){var i=yk(this.query),s=i.variableDefinitions;(!s||!s.some(function(e){return"variables"===e.variable.name.value}))&&!1!==globalThis.__DEV__&&aw.warn(28,e,(null===(t=i.name)||void 0===t?void 0:t.value)||i)}return e&&!KT(this.options.variables,e)&&(r.variables=this.options.variables=ar(ar({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,WO.refetch)},t.prototype.fetchMore=function(e){var t=this,r=ar(ar({},e.query?e:ar(ar(ar(ar({},this.options),{query:this.options.query}),e),{variables:ar(ar({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var n=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var i=this.queryInfo,s=i.networkStatus;i.networkStatus=WO.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var o=new Set,a=e?.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||aw(a,29),this.queryManager.fetchQuery(n,r,WO.fetchMore).then(function(u){if(t.queryManager.removeQuery(n),i.networkStatus===WO.fetchMore&&(i.networkStatus=s),l)t.queryManager.cache.batch({update:function(n){var i=e.updateQuery;i?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:u.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:u.data})},onWatchUpdated:function(e){o.add(e.query)}});else{var c=t.getLast("result"),h=a(c.data,{fetchMoreResult:u.data,variables:r.variables});t.reportResult(ar(ar({},c),{networkStatus:s,loading:GO(s),data:h}),t.variables)}return t.maskResult(u)}).finally(function(){l&&!o.has(t.query)&&t.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,ar({subscriptionData:r},t))})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&aw.error(30,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&($D(e,"canonizeResults","setOptions"),UD("setOptions",function(){!1!==globalThis.__DEV__&&aw.warn(31)})),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=MD(this.options,e||{});XO(this.options,t)},t.prototype.setVariables=function(e){var t=this;return KT(this.variables,e)?this.observers.size?VD("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},WO.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,s=e(n,{variables:this.variables,complete:!!i,previousData:n});s&&(t.cache.writeQuery({query:this.options.query,data:s,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,s=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:s}):t.fetchPolicy="variables-changed"===e?s:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){var n=this._getOrCreateQuery();return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers())return void(t&&(clearTimeout(t.timeout),delete this.pollingInfo));if(!t||t.interval!==r){aw(r,32),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&(GO(e.queryInfo.networkStatus)||null!==(r=(t=e.options).skipPollAttempt)&&void 0!==r&&r.call(t)?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},WO.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){var r=this;void 0===t&&(t=this.variables);var n=VD("getLastError",function(){return r.getLastError()});return n&&this.last&&!KT(t,this.last.variables)&&(n=void 0),this.last=ar({result:this.queryManager.assumeImmutableResults?e:fD(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;
2var n=t===WO.refetch||t===WO.fetchMore||t===WO.poll,i=this.options.variables,s=this.options.fetchPolicy,o=MD(this.options,e||{}),a=n?o:XO(this.options,o),l=this.transformDocument(a.query);this.lastQuery=l,n||(this.updatePolling(),e&&e.variables&&!KT(e.variables,i)&&"standby"!==a.fetchPolicy&&(a.fetchPolicy===s||"function"==typeof a.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",a),void 0===t&&(t=WO.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=KO(a.fetchPolicy));var u=function(){r.concast===d&&(r.waitForOwnResult=!1)},c=a.variables&&ar({},a.variables),h=this.fetch(a,t,l),d=h.concast,p=h.fromLink,f={next:function(e){KT(r.variables,c)&&(u(),r.reportResult(e,c))},error:function(e){KT(r.variables,c)&&(CT(e)||(e=new xT({networkError:e})),u(),r.reportError(e,c))}};return!n&&(p||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=f),d.addObserver(f),d},t.prototype.reobserve=function(e,t){return function(e){return e.catch(function(){}),e}(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.last;VD("resetLastResults",function(){return e.resetLastResults()});var i=this.subscribe.apply(this,t);return this.last=n,i},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this,n=VD("getLastError",function(){return r.getLastError()}),i=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||i)&&wD(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=this,n=ar(ar({},VD("getLastResult",function(){return r.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:WO.error,loading:!1});this.updateLastResult(n,t),wD(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?ar(ar({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){(this.cancelNotifyTimeout(),!this.dirty||"cache-only"!=this.options.fetchPolicy&&"cache-and-network"!=this.options.fetchPolicy&&GO(this.queryInfo.networkStatus))||(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst());this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,n):t}}):this.reobserve()},t.inactiveOnCreation=new Ak,t}(oD),CD(eA)});function rA(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return iA.set(e,(iA.get(e)+1)%1e15),r.apply(this,arguments)})}function nA(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!ND(e);return!n&&r&&e.data&&(n=!0),n}var iA,sA,oA,aA,lA,uA,cA,hA,dA=b(()=>{"use strict";ur(),lx(),YD(),YD(),YD(),QO(),YD(),iA=new(sE?WeakMap:Map),sA=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;iA.has(r)||(iA.set(r,0),rA(r,"evict"),rA(r,"modify"),rA(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||WO.loading;return this.variables&&this.networkStatus!==WO.loading&&!KT(this.variables,e.variables)&&(t=WO.setVariables),KT(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&KT(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=VD("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(n,t),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&VD("getLastError",function(){var e;return null===(e=r.observableQuery)||void 0===e?void 0:e.getLastError()})||(this.updateLastDiff(e),KT(n&&n.result,e&&e.result)||null===(t=this.observableQuery)||void 0===t||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null===(e=this.observableQuery)||void 0===e||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null===(e=this.cancelWatch)||void 0===e||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=ar(ar({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});(!this.lastWatch||!KT(n,this.lastWatch))&&(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===iA.get(this.cache)&&KT(t,r.variables)&&KT(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,s=this,o=new jC,a=wC(e.errors)?e.errors.slice(0):[];if(null===(i=this.observableQuery)||void 0===i||i.resetNotifications(),"incremental"in e&&wC(e.incremental)){var l=ID(this.getDiff().result,e);e.data=l}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(nA(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(s.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),s.lastWrite={result:e,variables:r.variables,dmCount:iA.get(s.cache)};else if(s.lastDiff&&s.lastDiff.diff.complete)return void(e.data=s.lastDiff.diff.result);var o=s.getDiffOptions(r.variables),a=VD("canonizeResults",function(){return i.diff(o)});!s.stopped&&KT(s.variables,r.variables)&&s.updateWatch(r.variables),s.updateLastDiff(a,o),a.complete&&(e.data=a.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=WO.ready},e.prototype.markError=function(e){var t;return this.networkStatus=WO.error,this.lastWrite=void 0,null===(t=this.observableQuery)||void 0===t||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}()}
2),pA=b(()=>{"use strict";ur(),cw(),lx(),mT(),YD(),HO(),YD(),RD(),OT(),tA(),QO(),dA(),OT(),YD(),uE(),YD(),Ox(),YD(),oA=Object.prototype.hasOwnProperty,aA=Object.create(null),lA=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new AE(RE["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new nE(!1),this.noCacheWarningsByQueryId=new Set;var r=new gC(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(nw(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return Jt(this,arguments,void 0,function(e){var t,r,n,i,s,o,a,l=e.mutation,u=e.variables,c=e.optimisticResponse,h=e.updateQueries,d=e.refetchQueries,p=void 0===d?[]:d,f=e.awaitRefetchQueries,m=void 0!==f&&f,g=e.update,y=e.onQueryUpdated,v=e.fetchPolicy,b=void 0===v?(null===(o=this.defaultOptions.mutate)||void 0===o?void 0:o.fetchPolicy)||"network-only":v,_=e.errorPolicy,w=void 0===_?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.errorPolicy)||"none":_,S=e.keepRootFields,E=e.context;return er(this,function(e){switch(e.label){case 0:return aw(l,36),aw("network-only"===b||"no-cache"===b,37),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,u=this.getVariables(l,u),r?[4,this.localState.addExportedVariables(l,u,E)]:[3,2];case 1:u=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:u,loading:!0,error:null}),i=c&&this.markMutationOptimistic(c,{mutationId:t,document:l,variables:u,fetchPolicy:b,errorPolicy:w,context:E,updateQueries:h,update:g,keepRootFields:S}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return ED(s.getObservableFromLink(l,ar(ar({},E),{optimisticResponse:i?c:void 0}),u,{},!1),function(e){if(ND(e)&&"none"===w)throw new xT({graphQLErrors:FD(e)});n&&(n.loading=!1,n.error=null);var r=ar({},e);return"function"==typeof p&&(p=p(r)),"ignore"===w&&ND(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:u,fetchPolicy:b,errorPolicy:w,context:E,update:g,updateQueries:h,awaitRefetchQueries:m,refetchQueries:p,removeOptimistic:i?t:void 0,onQueryUpdated:y,keepRootFields:S})}).subscribe({next:function(r){s.broadcastQueries(),(!("hasNext"in r)||!1===r.hasNext)&&e(ar(ar({},r),{data:s.maskOperation({document:l,data:r.data,fetchPolicy:b,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof xT?e:new xT({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],s="no-cache"===e.fetchPolicy;if(!s&&nA(n,e.errorPolicy)){if(AD(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),AD(n)&&wC(n.incremental)){var o=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),a=void 0;o.result&&(a=ID(o.result,n)),typeof a<"u"&&(n.data=a,i.push({result:a,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach(function(e,s){var o=e.observableQuery,a=o&&o.queryName;if(a&&oA.call(l,a)){var u=l[a],c=r.queries.get(s),h=c.document,d=c.variables,p=t.diff({query:h,variables:d,returnPartialData:!0,optimistic:!1}),f=p.result;if(p.complete&&f){var m=u(f,{mutationResult:n,queryName:h&&mk(h)||void 0,queryVariables:d});m&&i.push({result:m,dataId:"ROOT_QUERY",query:h,variables:d})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];
2if(this.refetchQueries({updateCache:function(t){s||i.forEach(function(e){return t.write(e)});var o=e.update,a=!function(e){return AD(e)||function(e){return"hasNext"in e&&"data"in e}(e)}(n)||AD(n)&&!n.hasNext;if(o){if(!s){var l=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(n=ar(ar({},n),{data:l.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}a&&o(t,n,{context:e.context,variables:e.variables})}!s&&!e.keepRootFields&&a&&t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return u.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:aA}):e;return n!==aA&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult(ar(ar({},t),{result:{data:n}}),e)}catch(i){!1!==globalThis.__DEV__&&aw.error(i)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:YS(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:ZS(["nonreactive"],e),nonReactiveQuery:AC(e),clientQuery:this.localState.clientQuery(e),serverQuery:TC([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:_k(fk(e)),asQuery:ar(ar({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?ar(ar({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return ar(ar({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);typeof(e=ar(ar({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange>"u"&&(e.notifyOnNetworkStatusChange=!1);var r=new sA(this),n=new eA({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,eA.inactiveOnCreation.getValue()||this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),aw(e.query,38),aw("Document"===e.query.kind,39),aw(!e.returnPartialData,40),aw(!e.pollInterval,41);var n=this.transform(e.query);return this.fetchQuery(t,ar(ar({},e),{query:n})).then(function(i){return i&&ar(ar({},i),{data:r.maskOperation({document:n,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(nw(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=WO.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)n.set(e,e),i.set(e,!1);else if(function(e){return hE(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}(e)){var r=vC(t.transform(e));n.set(r,mk(e)),i.set(r,!1)}else hE(e)&&e.query&&s.add(e)}
2),this.queries.forEach(function(t,n){var s=t.observableQuery,o=t.document;if(s){if("all"===e)return void r.set(n,s);var a=s.queryName;if("standby"===s.options.fetchPolicy||"active"===e&&!s.hasObservers())return;("active"===e||a&&i.has(a)||o&&i.has(vC(o)))&&(r.set(n,s),a&&i.set(a,!0),o&&i.set(vC(o),!0))}}),s.size&&s.forEach(function(e){var n=K_("legacyOneTimeQuery"),i=t.getOrCreateQuery(n).init({document:e.query,variables:e.variables}),s=new eA({queryManager:t,queryInfo:i,options:ar(ar({},e),{fetchPolicy:"network-only"})});aw(s.queryId===n),i.setObservableQuery(s),r.set(n,s)}),!1!==globalThis.__DEV__&&i.size&&i.forEach(function(e,t){if(!e){var r=n.get(t);r?!1!==globalThis.__DEV__&&aw.warn(43,r):!1!==globalThis.__DEV__&&aw.warn(44)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var s=n.options.fetchPolicy;VD("resetLastResults",function(){return n.resetLastResults()}),(e||"standby"!==s&&"cache-only"!==s)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,s=e.errorPolicy,o=void 0===s?"none":s,a=e.context,l=void 0===a?{}:a,u=e.extensions,c=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var h=function(e){return t.getObservableFromLink(r,l,e,c).map(function(n){"no-cache"!==i&&(nA(n,o)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var s=ND(n),a=kT(n);if(s||a){var l={};if(s&&(l.graphQLErrors=n.errors),a&&(l.protocolErrors=n.extensions[DT]),"none"===o||a)throw new xT(l)}return"ignore"===o&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,l).then(h);return new oD(function(e){var t=null;return d.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return h(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null===(t=this.queries.get(e))||void 0===t||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null===(t=e.observableQuery)||void 0===t?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n,i){var s,o=this;void 0===i&&(i=null!==(s=t?.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var a,l=this.getDocumentInfo(e),u=l.serverQuery,c=l.clientQuery;if(u){var h=this.inFlightLinkObservables,d=this.link,p={query:u,variables:r,operationName:mk(u)||void 0,context:this.prepareContext(ar(ar({},t),{forceFetch:!i})),extensions:n};if(t=p.context,i){var f=vC(u),m=JE(r),g=h.lookup(f,m);if(!(a=g.observable)){var y=new xD([hT(d,p)]);a=g.observable=y,y.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?y.beforeNext(e):h.remove(f,m)})}}else a=new xD([hT(d,p)])}else a=new xD([oD.of({data:{}})]),t=this.prepareContext(t);return c&&(a=ED(a,function(e){return o.localState.runResolvers({document:c,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return ED(this.getObservableFromLink(i,r.context,r.variables),function(s){var o=FD(s),a=o.length>0,l=r.errorPolicy;if(n>=e.lastRequestId){if(a&&"none"===l)throw e.markError(new xT({graphQLErrors:o}));e.markResult(s,i,r,t),e.markReady()}var u={data:s.data,loading:!1,networkStatus:WO.ready};return a&&"none"===l&&(u.data=void 0),a&&"ignore"!==l&&(u.errors=o,u.networkStatus=WO.error),u},function(t){var r=CT(t)?t:new xT({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i=this;void 0===r&&(r=WO.loading),void 0===n&&(n=t.query);var s,o,a=this.getVariables(n,t.variables),l=this.defaultOptions.watchQuery,u=t.fetchPolicy,c=void 0===u?l&&l.fetchPolicy||"cache-first":u,h=t.errorPolicy,d=void 0===h?l&&l.errorPolicy||"none":h,p=t.returnPartialData,f=void 0!==p&&p,m=t.notifyOnNetworkStatusChange,g=void 0!==m&&m,y=t.context,v=void 0===y?{}:y,b=Object.assign({},t,{query:n,variables:a,fetchPolicy:c,errorPolicy:d,returnPartialData:f,notifyOnNetworkStatusChange:g,context:v}),_=function(n){b.variables=n;var s=i.fetchQueryByPolicy(e,b,r);return"standby"!==b.fetchPolicy&&s.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),s},w=function(){return i.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){w(),setTimeout(function(){return s.cancel(e)})}),this.getDocumentInfo(b.query).hasClientExports)s=new xD(this.localState.addExportedVariables(b.query,b.variables,b.context).then(_).then(function(e){return e.sources})),o=!0;else{var S=_(b.variables);o=S.fromLink,s=new xD(S.sources)}
2return s.promise.then(w,w),{concast:s,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,s=void 0!==i&&i,o=e.removeOptimistic,a=void 0===o?s?K_("refetchQueries"):void 0:o,l=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:s&&a||!1,removeOptimistic:a,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof sA&&e.watcher.observableQuery;if(n){if(l){u.delete(n.queryId);var i=l(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==l&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,s=e.lastDiff,o=e.diff;l&&(o||(o=VD("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),n=l(i,o,s)),(!l||!0===n)&&(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),a&&this.cache.removeOptimistic(a),c},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,s=e.data;if(!1!==globalThis.__DEV__){var o=e.fetchPolicy,a=e.id,l=null===(t=fk(i))||void 0===t?void 0:t.operation,u=(null!==(r=l?.[0])&&void 0!==r?r:"o")+a;this.dataMasking&&"no-cache"===o&&!function(e){var t=!0;return IS(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return NS}}),t}(i)&&!this.noCacheWarningsByQueryId.has(u)&&(this.noCacheWarningsByQueryId.add(u),!1!==globalThis.__DEV__&&aw.warn(45,null!==(n=mk(i))&&void 0!==n?n:"Unnamed ".concat(l??"operation")))}return this.dataMasking?function(e,t,r){var n;if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&fx(),e;var i=fk(t);return aw(i,63),null==e?e:_x(e,i.selectionSet,{operationType:i.operation,operationName:null===(n=i.name)||void 0===n?void 0:n.value,fragmentMap:fE(gk(t)),cache:r,mutableTargets:new mx,knownChanged:new gx})}(s,i,this.cache):s},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?kx(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,s=t.variables,o=t.fetchPolicy,a=t.refetchWritePolicy,l=t.errorPolicy,u=t.returnPartialData,c=t.context,h=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:i,variables:s,networkStatus:r});var p=function(){return e.getDiff()},f=function(t,r){void 0===r&&(r=e.networkStatus||WO.loading);var o=t.result;!1!==globalThis.__DEV__&&!u&&!KT(o,{})&&YO(t.missing);var a=function(e){return oD.of(ar({data:e,loading:GO(r),networkStatus:r},t.complete?null:{partial:!0}))};return o&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:o},context:c,variables:s,onlyRunForcedResolvers:!0}).then(function(e){return a(e.data||void 0)}):"none"===l&&r===WO.refetch&&Array.isArray(t.missing)?a(void 0):a(o)},m="no-cache"===o?0:r===WO.refetch&&"merge"!==a?1:2,g=function(){return n.getResultsFromLink(e,m,{query:i,variables:s,context:c,fetchPolicy:o,errorPolicy:l})},y=h&&"number"==typeof d&&d!==r&&GO(r);switch(o){default:case"cache-first":return(v=p()).complete?{fromLink:!1,sources:[f(v,e.markReady())]}:u||y?{fromLink:!0,sources:[f(v),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var v;return(v=p()).complete||u||y?{fromLink:!0,sources:[f(v),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[f(p(),e.markReady())]};case"network-only":return y?{fromLink:!0,sources:[f(p()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return y?{fromLink:!0,sources:[f(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new sA(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return ar(ar(ar({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}()}),fA=b(()=>{"use strict";ur(),cw(),WS(),YD(),HO(),uA=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=NC(t.resolvers,e)}):this.resolvers=NC(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return Jt(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,s=e.onlyRunForcedResolvers,o=void 0!==s&&s;return er(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,o).then(function(e){return ar(ar({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return ZS(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return OC(e)},e.prototype.prepareContext=function(e){var t=this.cache;return ar(ar({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return Jt(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),er(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return ar(ar({},t),e.exportedVariables)})]:[2,ar({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return IS(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return NS}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:xC(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return Jt(this,arguments,void 0,function(e,t,r,n,i,s){var o,a,l,u,c,h,d,p,f,m;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===s&&(s=!1),er(this,function(g){return o=bk(e),a=gk(e),l=fE(a),u=this.collectSelectionsToResolve(o,l),c=o.operation,h=c?c.charAt(0).toUpperCase()+c.slice(1):"Query",p=(d=this).cache,f=d.client,m={fragmentMap:l,context:ar(ar({},r),{cache:p,client:f}),variables:n,fragmentMatcher:i,defaultOperationType:h,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(o.selectionSet,false,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return Jt(this,void 0,void 0,function(){var i,s,o,a,l,u=this;return er(this,function(c){return i=n.fragmentMap,s=n.context,o=n.variables,a=[r],l=function(e){return Jt(u,void 0,void 0,function(){var l,u;return er(this,function(c){return(t||n.selectionsToResolve.has(e))&&QS(e,o)?lk(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;typeof t<"u"&&a.push(((r={})[ok(e)]=t,r))})]:(function(e){return"InlineFragment"===e.kind}(e)?l=e:(l=i[e.name.value],aw(l,21,e.name.value)),l&&l.typeCondition&&(u=l.typeCondition.name.value,n.fragmentMatcher(r,u,s))?[2,this.resolveSelectionSet(l.selectionSet,t,r,n).then(function(e){a.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return FC(a)})]})})},e.prototype.resolveField=function(e,t,r,n){return Jt(this,void 0,void 0,function(){var i,s,o,a,l,u,c,h,d,p=this;return er(this,function(f){return r?(i=n.variables,s=e.name.value,o=ok(e),a=s!==o,l=r[o
2]||r[s],u=Promise.resolve(l),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(c=r.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[c])&&((d=h[a?s:o])&&(u=Promise.resolve(hO.withValue(this.cache,d,[r,sk(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}]))))),[2,u.then(function(r){var i,s;if(void 0===r&&(r=l),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var o=null!==(s=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==s&&s;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||o,r,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||o,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var s=new Set;n.set(i,s),IS(i,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&qS(e)&&s.add(e)})},FragmentSpread:function(n,i,o,a,l){var u=t[n.name.value];aw(u,22,n.name.value);var c=e(u);c.size>0&&(l.forEach(function(e){r(e)&&qS(e)&&s.add(e)}),s.add(n),c.forEach(function(e){s.add(e)}))}})}return n.get(i)}(e)},e}()}),mA=b(()=>{"use strict";ur(),cw(),mT(),G_(),YT(),pA(),fA(),YD(),YE(),YD(),cA=!1,hA=function(){function e(e){var t,r,n,i=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw nw(16);var s=e.uri,o=e.credentials,a=e.headers,l=e.cache,u=e.documentTransform,c=e.ssrMode,h=void 0!==c&&c,d=e.ssrForceFetchDelay,p=void 0===d?0:d,f=e.connectToDevTools,m=e.queryDeduplication,g=void 0===m||m,y=e.defaultOptions,v=e.defaultContext,b=e.assumeImmutableResults,_=void 0===b?l.assumeImmutableResults:b,w=e.resolvers,S=e.typeDefs,E=e.fragmentMatcher,k=e.clientAwareness,C=e.name,D=e.version,T=e.devtools,x=e.dataMasking;!1!==globalThis.__DEV__&&($D(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),$D(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),$D(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),$D(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),$D(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),$D(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),$D(e,"typeDefs","ApolloClient"),e.link||!1!==globalThis.__DEV__&&aw.warn(17));var O=e.link;O||(O=s?new GT({uri:s,credentials:o,headers:a}):uT.empty()),this.link=O,this.cache=l,this.disableNetworkFetches=h||p>0,this.queryDeduplication=g,this.defaultOptions=y||Object.create(null),this.typeDefs=S,this.devtoolsConfig=ar(ar({},T),{enabled:null!==(t=T?.enabled)&&void 0!==t?t:f}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),p&&setTimeout(function(){return i.disableNetworkFetches=!1},p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=q_,this.localState=new uA({cache:l,client:this,resolvers:w,fragmentMatcher:E}),this.queryManager=new lA({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:u,queryDeduplication:g,ssrMode:h,dataMasking:!!x,clientAwareness:{name:null!==(r=k?.name)&&void 0!==r?r:C,version:null!==(n=k?.version)&&void 0!==n?n:D},localState:this.localState,assumeImmutableResults:_,onBroadcast:this.devtoolsConfig.enabled?function(){i.devToolsHookCb&&i.devToolsHookCb({action:{},state:{queries:i.queryManager.getQueryStore(),mutations:i.queryManager.mutationStore||{}},dataWithOptimisticResults:i.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e}
2,enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if(!(typeof window>"u")){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!cA&&!1!==globalThis.__DEV__&&(cA=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&aw.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=BD(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=ar(ar({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&($D(e,"canonizeResults","client.watchQuery"),$D(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=BD(this.defaultOptions.query,e)),aw("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=ar(ar({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&($D(e,"canonizeResults","client.query"),$D(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&aw.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=BD(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return ar(ar({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment(ar(ar({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return hT(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&aw.debug(20,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
2,enumerable:!1,configurable:!0}),e}(),!1!==globalThis.__DEV__&&(hA.prototype.getMemoryInternals=WE)});function gA(e){return e.replace(/[\s,]+/g," ").trim()}function yA(e){var t=new Set,r=[];return e.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var n=e.name.value,i=function(e){return gA(e.source.body.substring(e.start,e.end))}(e.loc),s=CA.get(n);s&&!s.has(i)?DA&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):s||CA.set(n,s=new Set),s.add(i),t.has(i)||(t.add(i),r.push(e))}else r.push(e)}),ar(ar({},e),{definitions:r})}function vA(e){var t=gA(e);if(!kA.has(t)){var r=function(e,t){let r=new DS(e,t),n=r.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:r.tokenCount}),n}(e,{experimentalFragmentVariables:TA,allowLegacyFragmentVariables:TA});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");kA.set(t,function(e){var t=new Set(e.definitions);t.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(r){var n=e[r];n&&"object"==typeof n&&t.add(n)})});var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}(yA(r)))}return kA.get(t)}function bA(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),vA(n)}function _A(){kA.clear(),CA.clear()}function wA(){DA=!1}function SA(){TA=!0}function EA(){TA=!1}var kA,CA,DA,TA,xA,OA=b(()=>{"use strict";ur(),WS(),kA=new Map,CA=new Map,DA=!0,TA=!1,xA={gql:bA,resetCaches:_A,disableFragmentWarnings:wA,enableExperimentalFragmentVariables:SA,disableExperimentalFragmentVariables:EA},function(e){e.gql=xA.gql,e.resetCaches=xA.resetCaches,e.disableFragmentWarnings=xA.disableFragmentWarnings,e.enableExperimentalFragmentVariables=xA.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=xA.disableExperimentalFragmentVariables}(bA||(bA={})),bA.default=bA}),AA=b(()=>{"use strict";mA(),QO(),OT(),HO(),mT(),YT(),YD(),H_(),OA(),function(e){var t=$_[U_];U_=Math.max(0,$_.indexOf(e))}(!1!==globalThis.__DEV__?"log":"silent")});function PA(e){return new it(t=>(e().then(e=>{t.closed||(t.next(e),t.complete())},e=>{t.closed||t.error(e)}),()=>t.unsubscribe()))}function IA(e){return e[Ye]=()=>e,e}function RA(e,t){return e.pipe(Pr(new LA(t)))}function NA(e){return!!e&&"default"!==e}function FA(e,t={}){return[$A,{provide:BA,useFactory:e},{provide:jA,useValue:t}]}var LA,MA,jA,BA,zA,VA,$A,UA,qA,HA,GA,WA,QA,ZA,YA,KA,XA,JA=b(()=>{"use strict";Li(),fy(),fy(),AA(),Rl(),LA=class{zone;constructor(e){this.zone=e}now=Date.now?Date.now:()=>+new Date;schedule(e,t=0,r){return this.zone.run(()=>Ct.schedule(e,t,r))}},MA=class{obsQuery;valueChanges;queryId;constructor(e,t,r){this.obsQuery=e;let n=RA(qr(IA(this.obsQuery)),t);this.valueChanges=r.useInitialLoading?n.pipe(function(e){return function(t){return new it(function(r){let n=e.getCurrentResult(),{loading:i,errors:s,error:o,partial:a,data:l}=n,{partialRefetch:u,fetchPolicy:c}=e.options,h=s||o;return u&&a&&(!l||0===Object.keys(l).length)&&"cache-only"!==c&&!i&&!h&&r.next(v(y({},n),{loading:!0,networkStatus:WO.loading})),t.subscribe(r)})}}(this.obsQuery)):n,this.queryId=this.obsQuery.queryId}get options(){return this.obsQuery.options}get variables(){return this.obsQuery.variables}result(){return this.obsQuery.result()}getCurrentResult(){return this.obsQuery.getCurrentResult()}getLastResult(){return this.obsQuery.getLastResult()}getLastError(){return this.obsQuery.getLastError()}resetLastResults(){return this.obsQuery.resetLastResults()}refetch(e){return this.obsQuery.refetch(e)}fetchMore(e){return this.obsQuery.fetchMore(e)}subscribeToMore(e){return this.obsQuery.subscribeToMore(e)}updateQuery(e){return this.obsQuery.updateQuery(e)}stopPolling(){return this.obsQuery.stopPolling()}startPolling(e){return this.obsQuery.startPolling(e)}setOptions(e){return this.obsQuery.setOptions(e)}setVariables(e){return this.obsQuery.setVariables(e)}},jA=new na("APOLLO_FLAGS"),BA=new na("APOLLO_OPTIONS"),zA=new na("APOLLO_NAMED_OPTIONS"),VA=class{ngZone;flags;_client;useInitialLoading;useMutationLoading;constructor(e,t,r){this.ngZone=e,this.flags=t,this._client=r,this.useInitialLoading=t?.useInitialLoading??!1,this.useMutationLoading=t?.useMutationLoading??!1}watchQuery(e){return new MA(this.ensureClient().watchQuery(y({},e)),this.ngZone,y({useInitialLoading:this.useInitialLoading},e))}query(e){return PA(()=>this.ensureClient().query(y({},e)))}mutate(e){return function(e,t){return t?e.pipe(xi({loading:!0}),un(e=>v(y({},e),{loading:!!e.loading}
2))):e.pipe(un(e=>v(y({},e),{loading:!1})))}(PA(()=>this.ensureClient().mutate(y({},e))),e.useMutationLoading??this.useMutationLoading)}watchFragment(e,t){let r=qr(IA(this.ensureClient().watchFragment(y({},e))));return t&&!0!==t.useZone?r:RA(r,this.ngZone)}subscribe(e,t){let r=qr(IA(this.ensureClient().subscribe(y({},e))));return t&&!0!==t.useZone?r:RA(r,this.ngZone)}get client(){return this.ensureClient()}set client(e){if(this._client)throw new Error("Client has been already defined");this._client=e}ensureClient(){return this.checkInstance(),this._client}checkInstance(){if(this._client)return!0;throw new Error("Client has not been defined yet")}},$A=(()=>{class e extends VA{map=new Map;constructor(e,t,r,n){if(super(e,n),t&&this.createDefault(t),r&&"object"==typeof r)for(let i in r)if(r.hasOwnProperty(i)){let e=r[i];this.create(e,i)}}create(e,t){NA(t)?this.createNamed(t,e):this.createDefault(e)}default(){return this}use(e){return NA(e)?this.map.get(e):this.default()}createDefault(e){if(this._client)throw new Error("Apollo has been already created.");this.client=this.ngZone.runOutsideAngular(()=>new hA(e))}createNamed(e,t){if(this.map.has(e))throw new Error(`Client ${e} has been already created`);this.map.set(e,new VA(this.ngZone,this.flags,this.ngZone.runOutsideAngular(()=>new hA(t))))}removeClient(e){NA(e)?this.map.delete(e):this._client=void 0}static"ɵfac"=function(t){return new(t||e)(as(Cm),as(BA,8),as(zA,8),as(jA,8))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),UA=bA}),eP=b(()=>{"use strict";fy(),qA=new na("An abstraction over global window object",{factory:()=>{let{defaultView:e}=ls(yl);if(!e)throw new Error("Window is not available");return e}})}),tP=b(()=>{}),rP=b(()=>{"use strict";fy(),eP(),HA=new na("An abstraction over window.navigator object",{factory:()=>ls(qA).navigator})}),nP=b(()=>{"use strict";rP(),{provide:HA,useValue:window.navigator}}),iP=b(()=>{"use strict";eP(),tP(),rP(),nP()}),sP=b(()=>{"use strict";fy(),GA=new na("IP address override for pricing GeoIP testing")}),oP=b(()=>{"use strict";fy(),JA(),Li(),sP(),fy(),WA=(()=>{class e{constructor(){this.apollo=ls($A),this.ipOverride=ls(GA,{optional:!0}),this.productsQuery=UA` 3 query BillingRecurringProductsForCustomerIp($productFamily: ProductFamily, $ip: IpAddress) { 4 billingRecurringProductsForCustomerIp(productFamily: $productFamily, ip: $ip) { 5 id 6 currencyCode 7 name 8 price 9 billingProductFamily { 10 id 11 } 12 product { 13 id 14 name 15 metaData 16 } 17 period 18 periodUnit 19 } 20 } 21 `,this.activeSubscriptionBillingRecurringProductIdQuery=UA` 22 query ActiveSubscriptionBillingRecurringProductId($customerId: PxId!, $productFamily: ProductFamily!) { 23 activeSubscriptionBillingRecurringProductId(customerId: $customerId, productFamily: $productFamily) 24 } 25 `}getProducts(e,t){let r=t||this.ipOverride||void 0;return this.apollo.query({query:this.productsQuery,variables:{productFamily:e,ip:r}}).pipe(un(e=>{if(e.data?.billingRecurringProductsForCustomerIp)return e.data.billingRecurringProductsForCustomerIp.filter(e=>"1"!==e.product.metaData?.experimental);throw new Error("cant get products")}))}getActiveSubscriptionBillingRecurringProductId(e,t){return this.apollo.query({query:this.activeSubscriptionBillingRecurringProductIdQuery,variables:{customerId:e,productFamily:t},fetchPolicy:"network-only"}).pipe(un(e=>{if(e.data.activeSubscriptionBillingRecurringProductId)return e.data.activeSubscriptionBillingRecurringProductId;throw new Error("Cant get active subscription billing recurring product id")}))}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),aP=b(()=>{"use strict";JA(),Li(),fy(),JA(),QA=(()=>
25{class e{constructor(e){this.apollo=e,this.createBillingCheckoutSessionMutation=UA` 26 mutation CreateBillingCheckoutNewSession( 27 $priceId: String! 28 $redirectUrl: String! 29 $cancelUrl: String! 30 $quantity: Int 31 $couponCodes: [String] 32 ) { 33 createBillingCheckoutNewSession( 34 priceId: $priceId 35 redirectUrl: $redirectUrl 36 cancelUrl: $cancelUrl 37 quantity: $quantity 38 couponCodes: $couponCodes 39 ) { 40 session 41 } 42 } 43 `,this.createBillingCheckoutExistingSessionMutation=UA` 44 mutation CreateBillingCheckoutExistingSession( 45 $subscriptionId: String! 46 $priceId: String! 47 $redirectUrl: String! 48 $cancelUrl: String! 49 $quantity: Int 50 $couponCodes: [String] 51 ) { 52 createBillingCheckoutExistingSession( 53 subscriptionId: $subscriptionId 54 priceId: $priceId 55 redirectUrl: $redirectUrl 56 cancelUrl: $cancelUrl 57 quantity: $quantity 58 couponCodes: $couponCodes 59 ) { 60 session 61 } 62 } 63 `}
63createCheckoutSession(e,t){let r={mutation:this.createBillingCheckoutSessionMutation,variables:y({},e),context:t?{headers:{authorization:`bearer ${t}`}}:{}};return this.apollo.mutate(r).pipe(un(e=>{if(e?.data?.createBillingCheckoutNewSession)return e.data.createBillingCheckoutNewSession.session;throw new Error("cant create session")}))}createCheckoutExistingSession(e,t){if(!e.subscriptionId)throw new Error("subscriptionId is required for checkout existing session");let r={mutation:this.createBillingCheckoutExistingSessionMutation,variables:{subscriptionId:e.subscriptionId,priceId:e.priceId,redirectUrl:e.redirectUrl,cancelUrl:e.cancelUrl,quantity:e.quantity,couponCodes:e.couponCodes},context:t?{headers:{authorization:`bearer ${t}`}}:{}};return this.apollo.mutate(r).pipe(un(e=>{if(e?.data?.createBillingCheckoutExistingSession)return e.data.createBillingCheckoutExistingSession.session;throw new Error("cant create existing checkout session")}))}static{this.ɵfac=function(t){return new(t||e)(as($A))}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),lP=_(e=>{"use strict";var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),d=Symbol.for("react.activity"),p=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function y(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||f}function v(){}function b(e,t,r){this.props=e,this.context=t,this.refs=g,this.updater=r||f}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=y.prototype;var _=b.prototype=new v;_.constructor=b,m(_,y.prototype),_.isPureReactComponent=!0;var w=Array.isArray;function S(){}var E={H:null,A:null,T:null,S:null},k=Object.prototype.hasOwnProperty;function C(e,r,n){var i=n.ref;return{$$typeof:t,type:e,key:r,ref:void 0!==i?i:null,props:n}}function D(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var T=/\/+/g;function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function O(e,n,i,s,o){var a=typeof e;("undefined"===a||"boolean"===a)&&(e=null);var l=!1;if(null===e)l=!0;else switch(a){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case t:case r:l=!0;break;case h:return O((l=e._init)(e._payload),n,i,s,o)}}if(l)return o=o(e),l=""===s?"."+x(e,0):s,w(o)?(i="",null!=l&&(i=l.replace(T,"$&/")+"/"),O(o,n,i,"",function(e){return e})):null!=o&&(D(o)&&(o=function(e,t){return C(e.type,t,e.props)}(o,i+(null==o.key||e&&e.key===o.key?"":(""+o.key).replace(T,"$&/")+"/")+l)),n.push(o)),1;l=0;var u=""===s?".":s+":";if(w(e))for(var c=0;c<e.length;c++)l+=O(s=e[c],n,i,a=u+x(s,c),o);else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),c=0;!(s=e.next()).done;)l+=O(s=s.value,n,i,a=u+x(s,c++),o);else if("object"===a){if("function"==typeof e.then)return O(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(S,S):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),n,i,s,o);throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return l}function A(e,t,r){if(null==e)return e;var n=[],i=0;return O(e,n,"","",function(e){return t.call(r,e,i++)}),n}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){(0===e._status||-1===e._status)&&(e._status=1,e._result=t)},function(t){(0===e._status||-1===e._status)&&(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},R={map:A,forEach:function(e,t,r){A(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};e.Activity=d,e.Children=R,e.Component=y,e.Fragment=n,e.Profiler=s,e.PureComponent=b,e.StrictMode=i,e.Suspense=u,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return E.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=m({},e.props),i=e.key;if(null!=t)for(s in void 0!==t.key&&(i=""+t.key),t)!k.call(t,s)||"key"===s||"__self"===s||"__source"===s||"ref"===s&&void 0===t.ref||(n[s]=t[s]);var s=arguments.length-2;if(1===s)n.children=r;else if(1<s){for(var o=Array(s),a=0;a<s;a++)o[a]=arguments[a+2];n.children=o}return C(e.type,i,n)},e.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,r){var n,i={},s=null;if(null!=t)for(n in void 0!==t.key&&(s=""+t.key),t)k.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(i[n]=t[n]);var o=arguments.length-2;if(1===o)i.children=r;else if(1<o){for(var a=Array(o),l=0;l<o;l++)a[l]=arguments[l+2];i.children=a}if(e&&e.defaultProps)for(n in o=e.defaultProps)void 0===i[n]&&(i[n]=o[n]);return C(e,s,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:l,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:P}},e.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},e.startTransition=function(e){var t=E.T,r={};E.T=r;try{var n=e(),i=E.S;null!==i&&i(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(S,I)}catch(s){I(s)}finally{null!==t&&null!==r.types&&(t.types=r.types),E.T=t}},e.unstable_useCacheRefresh=function(){return E.H.useCacheRefresh()},e.use=function(e){return E.H.use(e)},e.useActionState=function(e,t,r){return E.H.useActionState(e,t,r)},e.useCallback=function(e,t){return E.H.useCallback(e,t)},e.useContext=function(e){return E.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return E.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return E.H.useEffect(e,t)},e.useEffectEvent=function(e){return E.H.useEffectEvent(e)},e.useId=function(){return E.H.useId()},e.useImperativeHandle=function(e,t,r){return E.H.useImperativeHandle(e,t,r)},e.useInsertionEffect=function(e,t){return E.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return E.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return E.H.useMemo(e,t)},e.useOptimistic=function(e,t){return E.H.useOptimistic(e,t)},e.useReducer=function(e,t,r){return E.H.useReducer(e,t,r)},e.useRef=function(e){return E.H.useRef(e)},e.useState=function(e){return E.H.useState(e)},e.useSyncExternalStore=function(e,t,r){return E.H.useSyncExternalStore(e,t,r)},e.useTransition=function(){return E.H.useTransition()}
63,e.version="19.2.6"}),uP=_((e,t)=>{"use strict";t.exports=lP()}),cP=_((e,t)=>{"use strict";t.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,t.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,t.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(t.exports,uP())}),hP=b(()=>{"use strict";cw(),w(cP(),1)}),dP=b(()=>{"use strict";w(cP(),1),uw()}),pP=b(()=>{"use strict";w(cP(),1),lx()}),fP=b(()=>{"use strict";cw(),w(cP(),1),lx()}),mP=b(()=>{"use strict";w(cP(),1)}),gP=b(()=>{"use strict";w(cP(),1),lx()}),yP=b(()=>{"use strict";cw(),hP(),dP(),pP(),fP(),mP(),gP()}),vP=b(()=>{"use strict";cw(),yP()}),bP=b(()=>{"use strict";AA(),vP()}),_P=b(()=>{"use strict";ZA=class extends Error{constructor(){super(...arguments),this.name="SessionCreationForbidden",this.message="checkout session creation forbidden"}},YA=class extends Error{constructor(e,t,r){super(),this.family=e,this.subscriptionId=t,this.priceId=r,this.name="SameFamilySubscriptionExistsError",this.message="An active subscription already exists in this product family"}},KA=class extends Error{constructor(){super(...arguments),this.name="UnknownSessionCreationError",this.message="unknown checkout creation error"}}}),wP=b(()=>{"use strict";qb(),bP(),_P(),fy(),XA=(()=>{class e{isForbiddenGQLError(e){return e instanceof xT&&!!e.graphQLErrors.length&&"FORBIDDEN"===e.graphQLErrors[0].extensions?.code}isForbiddenNetworkError(e){return e instanceof xT&&e.networkError instanceof Tb&&[401,403].includes(e.networkError.status)}isForbidden(e){return this.isForbiddenGQLError(e)||this.isForbiddenNetworkError(e)}toSameFamilyError(e){if(!(e instanceof xT&&e.graphQLErrors.length))return null;let t=e.graphQLErrors.find(e=>"SAME_FAMILY_SUBSCRIPTION_EXISTS"===e.extensions?.code);return t?new YA(t.extensions?.family,t.extensions?.subscriptionId,t.extensions?.priceId):null}transform(e){return this.toSameFamilyError(e)||(this.isForbidden(e)?new ZA:new KA)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()});function SP(e){return"string"==typeof e?Symbol(`__destroy__${e}`):IP}function EP(e,t){e[t]||(e[t]=new ht)}function kP(e,t){e[t]&&(e[t].next(),e[t].complete(),e[t]=null)}function CP(e){e instanceof ke&&e.unsubscribe()}function DP(e,t){return function(){if(e&&e.call(this),kP(this,SP()),t.arrayName&&function(e){Array.isArray(e)&&e.forEach(CP)}(this[t.arrayName]),t.checkProperties)for(let e in this)t.blackList?.includes(e)||CP(this[e])}}function TP(e={}){return t=>{!function(e){return!!e[PP]}(t)?function(e,t){e.prototype.ngOnDestroy=DP(e.prototype.ngOnDestroy,t)}(t,e):function(e,t){let r=e.ɵpipe;r.onDestroy=DP(r.onDestroy,t)}(t,e),function(e){e.prototype[RP]=!0}(t)}}function xP(e,t){e[FP]||typeof __karma__<"u"&&__karma__||typeof jasmine<"u"&&jasmine||typeof jest<"u"&&jest||typeof Mocha<"u"&&Mocha||typeof process<"u"&&"[object process]"===Object.prototype.toString.call(process)||(OP(()=>qr(Promise.resolve()).pipe(Dn(()=>{let t;try{t=Du(e)}catch{t=null}let r=t?.lView;if(null==r)return Dt;let n=r[NP]||(r[NP]=[]),i=new ht;return n.push(function(){OP(()=>{i.next(),i.complete()})}),i}),Dn(()=>Promise.resolve())).subscribe(()=>{(t.observed??t.observers.length>0)&&console.warn(function(e){return`\n The ${e.constructor.name} still has subscriptions that haven't been unsubscribed.\n This may happen if the class extends another class decorated with @UntilDestroy().\n The child class implements its own ngOnDestroy() method but doesn't call super.ngOnDestroy().\n Let's look at the following example:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {}\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n }\n }\n The BaseDirective.ngOnDestroy() will not be called since Angular will call ngOnDestroy()\n on the ConcreteComponent, but not on the BaseDirective.\n One of the solutions is to declare an empty ngOnDestroy method on the BaseDirective:\n @UntilDestroy()\n @Directive()\n export abstract class BaseDirective {\n ngOnDestroy(): void {}\n }\n @Component({ template: '' })\n export class ConcreteComponent extends BaseDirective implements OnDestroy {\n constructor() {\n super();\n someObservable$.pipe(untilDestroyed(this)).subscribe();\n }\n ngOnDestroy(): void {\n // Some logic here...\n super.ngOnDestroy();\n }\n }\n `}(e))})),e[FP]=!0)}function OP(e){let t=Jo.Zone;return t&&"function"==typeof t.root?.run?t.root.run(e):e()}function AP(e,t){return r=>{let n=SP(t);"string"==typeof t?function(e,t,r){let n=e[t];if(LP&&"function"!=typeof n)throw new Error(`${e.constructor.name} is using untilDestroyed but doesn't implement ${t}`);EP(e,r),e[t]=function(){n.apply(this,arguments),kP(this,r),e[t]=n}}
63(e,t,n):(LP&&function(e){let t=Object.getPrototypeOf(e);if(!(RP in t))throw new Error("untilDestroyed operator cannot be used inside directives or components or providers that are not decorated with UntilDestroy decorator")}(e),EP(e,n));let i=e[n];return LP&&xP(e,i),r.pipe(Ii(i))}}var PP,IP,RP,NP,FP,LP,MP,jP,BP,zP,VP,$P,UP,qP,HP,GP,WP,QP,ZP,YP,KP,XP,JP,eI,tI,rI,nI=b(()=>{"use strict";Li(),fy(),Rl(),PP=oa,IP=Symbol("__destroy"),RP=Symbol("__decoratorApplied"),NP=7,FP=Symbol("CheckerHasBeenSet"),LP=!1}),iI=b(()=>{"use strict";MP=class extends Error{constructor(e){super(),this.attempts=e,this.name="JWTWrapperAttemptsExpiredError",this.message=`Cant call a function with JWT after ${this.attempts} attempts`}},jP=class extends Error{constructor(){super(...arguments),this.name="JWTWrappingTimeout",this.message="Valid JWT token was not fed for JWT wrapping in a time."}}}),sI=b(()=>{"use strict";fy(),BP=new na("Checkout facade options")}),oI=b(()=>{"use strict";qb(),fy(),bP(),Li(),iI(),sI(),fy(),zP=(()=>{class e{constructor(){this.OPTIONS=ls(BP,{optional:!0}),this.ATTEMPTS=this.OPTIONS?.attempts??3,this.TIMEOUT_MS=this.OPTIONS?.timeoutMS??5e3,this.jwt$=new pt(void 0),this.invalidTokenInternal$=new ht,this.emptyTokenInternal$=new ht,this.invalidToken$=this.invalidTokenInternal$.asObservable(),this.emptyToken$=this.emptyTokenInternal$.asObservable(),this.jwtRequired=!1}set jwt(e){this.jwt$.next(e)}get jwt(){return this.jwt$.value}isForbiddenGQLError(e){return e instanceof xT&&!!e.graphQLErrors.length&&"FORBIDDEN"===e.graphQLErrors[0].extensions?.code}isForbiddenNetworkError(e){return e instanceof xT&&e.networkError instanceof Tb&&[401,403].includes(e.networkError.status)}isForbidden(e){return this.isForbiddenGQLError(e)||this.isForbiddenNetworkError(e)}handleInvalidToken(e,t){return e>=this.ATTEMPTS?Qr(()=>new MP(this.ATTEMPTS)):this.jwt?(wt.schedule(()=>this.invalidTokenInternal$.next(this.jwt??"")),Un(this.TIMEOUT_MS).pipe(Ii(t),Dn(()=>Qr(()=>new jP)))):(wt.schedule(()=>this.emptyTokenInternal$.next()),Qr(()=>new jP))}wrap(e){let t,r=0;return this.jwt$.pipe(Ni(()=>{t&&(t.next(),t.complete())}),Dn(e=>e?Gr(e):this.jwtRequired?(r++,t=new ht,this.handleInvalidToken(r,t)):Gr(void 0)),yi(n=>e(n).pipe(Jn(e=>this.isForbidden(e)?(this.jwtRequired=!0,r++,t=new ht,this.handleInvalidToken(r,t)):Qr(()=>e)))),ii(1))}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),aI=b(()=>{"use strict";ur(),aP(),Li(),F_(),nI(),oI(),wP(),fy(),aP(),F_(),oI(),wP(),VP=class e{constructor(e,t,r,n){this.checkoutSessionService=e,this.billingProviderFacade=t,this.jwtWrapperService=r,this.sessionCreationErrorTransformer=n,this.initialised=!1,this.busy=!1,this.successHandled=!1,this.checkoutSuccessInternal$=new ht,this.checkoutErrorInternal$=new ht,this.checkoutOpenInternal$=new ht,this.checkoutClosedInternal$=new ht,this.checkoutSuccess$=this.checkoutSuccessInternal$.asObservable(),this.checkoutError$=this.checkoutErrorInternal$.asObservable(),this.checkoutOpen$=this.checkoutOpenInternal$.asObservable(),this.checkoutClosed$=this.checkoutClosedInternal$.asObservable(),this.billingProviderFacade.isCheckoutError$.pipe(AP(this)).subscribe(e=>this.handleCheckoutError(e)),this.billingProviderFacade.isCheckoutClosed$.pipe(AP(this)).subscribe(()=>this.handleCheckoutClosed())}handleCheckoutClosed(){this.successHandled||(this.busy=!1),this.checkoutClosedInternal$.next()}handleCheckoutSuccess(e){this.successHandled=!0,this.checkoutSuccessInternal$.next(e),this.billingProviderFacade.close()}handleCheckoutError(e){this.busy=!1,this.successHandled=!1,this.checkoutErrorInternal$.next(e)}releaseBusy(){this.busy=!1,this.successHandled=!1}initBillingProvider(e,t,r){return S(this,null,function*(){this.initialised||(yield this.billingProviderFacade.setUp(r),this.billingProviderFacade.initialize({site:e,apiKey:t,iframeOnly:!0}),this.initialised=!0)})}openCheckout(e){if(this.busy)return;this.busy=!0,this.successHandled=!1,this.successSub?.unsubscribe(),this.successSub=this.billingProviderFacade.isCheckoutSuccess$.pipe(AP(this)).subscribe(()=>this.handleCheckoutSuccess(e.billingProduct));let t={priceId:e.billingProduct.id,quantity:e.quantity,cancelUrl:e.cancelUrl,redirectUrl:e.redirectUrl,couponCodes:e.couponCodes,subscriptionId:e.subscriptionId},r=t.subscriptionId;(r?this.jwtWrapperService.wrap(e=>this.checkoutSessionService.createCheckoutExistingSession(v(y({},t),{subscriptionId:r}),e)):this.jwtWrapperService.wrap(e=>this.checkoutSessionService.createCheckoutSession(t,e))).pipe(Ni(e=>this.billingProviderFacade.openCheckout(e)),Ni(()=>this.checkoutOpenInternal$.next(e.billingProduct)),Jn(e=>(this.handleCheckoutError(this.sessionCreationErrorTransformer.transform(e)),Dt))).subscribe()}static{this.ɵfac=function(t){return new(t||e)(as(QA),as(D_),as(zP),as(XA))}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}},VP=Kt([TP(),Xt("design:paramtypes",[QA,D_,zP,XA])],VP)}),lI=b(()=>{"use strict";$P=function(e){return e.PSS="PSS",e.PSF="PSF",e.SA="SA",e.CP="CP",e.BUNDLE="BUNDLE",e}($P||{})}),uI=b(()=>{"use strict";fy(),UP=new na("product family")}),cI=b(()=>{"use strict";lI(),uI()}),hI=b(()=>{"use strict";qP=function(e){return e.YEARLY="Yearly",e.MONTHLY="Monthly",e}(qP||{})}),dI=b(()=>{"use strict";HP=function(e){return e.MONTH="MONTH",e.YEAR="YEAR",e.WEEK="WEEK",e.DAY="DAY",e}(HP||{})}),pI=b(()=>{"use strict";
63cI(),hI(),dI(),fy(),x_(),GP=(()=>{class e{constructor(e){this.translate=e,this.SORTED_METADATA_KEYS=["PSS_SLIDESHOW_COUNT","PSF_GALLERIES_COUNT","PSS_VIDEO_4K_ALLOWED","PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED","PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED","PSS_GA_CODE_ALLOWED","PSF_GA_CODE_ALLOWED","PRODUCT_ACCESS","PSS_VIDEO_LIMIT","PSS_VIDEO_WATERMARK","PSS_IS_TRIAL","PSF_IS_TRIAL"],this.PRODUCT_INFO={[$P.PSS]:{prefix:"PSS_",name:"SmartSlides",maxPlan:"Unlimited"},[$P.PSF]:{prefix:"PSF_",name:"SmartGalleries",maxPlan:"Unlimited"},[$P.SA]:{name:"SmartAlbums Plus"}}}getValue(e){if(!isNaN(Number(e))){let t=Number(e);if(t>1)return t}return"-1"===e?9999:"0"!==e&&("1"===e||null)}getBundleFeatures(e,t){let r=e.PRODUCT_ACCESS.split(","),n=[];for(let i of r){let r=i.toUpperCase();if(!this.PRODUCT_INFO[r])continue;let s=this.createBundleFeature(r,e,t,this.PRODUCT_INFO[r]);n.push(s)}return this.sortFeaturesByProductInfo(n,this.PRODUCT_INFO[t])}getFeatures(e){let t=[],r=this.sortMetadata(e,this.SORTED_METADATA_KEYS),n=this.removeHDIf4KPresent(r);for(let i in n){let e={parts:[]};if("PRODUCT_ACCESS"===i){n[i].split(",").forEach(e=>{let r={parts:[{text:this.translate.instant(i,{product:e})}]};r.parts[0].text&&r.parts[0].text!==i&&t.push(r)});continue}let r=this.getValue(n[i]);if(null!==r&&!1!==r){let t={text:this.translate.instant(i,"number"==typeof r?{count:r}:{})};t.text&&t.text!==i&&e.parts.push(t)}t.push(e)}return t.filter(e=>e.parts.length)}getPeriod(e){return 1===e.period&&e.periodUnit===HP.YEAR||4===e.period&&e.periodUnit===HP.DAY?qP.YEARLY:1===e.period&&e.periodUnit===HP.MONTH||3===e.period&&e.periodUnit===HP.DAY?qP.MONTHLY:null}getPrice(e){return e.price/100}getPromo(e,t,r){return r?.[e.product.id]?.[t]?.title??null}sortFeaturesByProductInfo(e,t){return e.sort((e,r)=>e.parts[0].text===t.name?-1:r.parts[0].text===t.name?1:0)}filterMetadataByPrefix(e,t={},r){return Object.entries(e).filter(([e])=>r&&e.startsWith(r)).reduce((e,[t,r])=>v(y({},e),{[t]:r}),t)}sortMetadata(e,t){let r={};t.forEach(t=>{t in e&&(r[t]=e[t])});for(let n in e)n in r||(r[n]=e[n]);return r}createBundleFeature(e,t,r,n){let{prefix:i,name:s,maxPlan:o}=n,a=i?{}:{PRODUCT_ACCESS:"sa,cp"},l=this.filterMetadataByPrefix(t,a,i),u=r===e?[]:this.getFeatures(l).map(e=>e.parts.map(e=>e.text).join(" "));return{parts:o?[{text:s},{text:o,hint:u}]:[{text:s,hint:u}]}}transformToClient(e,t,r){let n=this.getPeriod(e),i=this.getPrice(e);return null!==n?{id:e.id,name:this.translate.instant(e.product.name),priceMonthly:n===qP.YEARLY?Math.floor(i/12):i,priceYearly:n===qP.YEARLY?i:12*i,period:n,features:e.billingProductFamily.id===$P.BUNDLE?this.getBundleFeatures(e.product.metaData,t):this.getFeatures(e.product.metaData),promo:this.getPromo(e,n,r),currencyCode:e.currencyCode,productId:e.product.id,productFamily:e.billingProductFamily.id,productName:e.product.name}:null}removeHDIf4KPresent(e){let t=this.getValue(e.PSS_VIDEO_4K_ALLOWED),r=this.getValue(e.PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED);if(t&&r){let t=y({},e);return delete t.PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED,t}return e}static{this.ɵfac=function(t){return new(t||e)(as(S_))}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),fI=b(()=>{"use strict";fy(),oP(),pI(),Li(),fy(),WP=(()=>{class e{constructor(){this.billingProductsDataService=ls(WA),this.billingProductAdapter=ls(GP)}getProducts(e,t,r,n){let i=r||e;return this.billingProductsDataService.getProducts(e,n).pipe(un(e=>e.map(e=>this.billingProductAdapter.transformToClient(e,i,t)).filter(e=>!!e)))}getActiveSubscriptionBillingRecurringProductId(e,t){return this.billingProductsDataService.getActiveSubscriptionBillingRecurringProductId(e,t)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),mI=b(()=>{"use strict";fy(),JA(),Li(),fy(),QP=(()=>{class e{constructor(){this.customerSubscriptionsQuery=UA` 64 query CustomerSubscriptions($customerId: PxId, $productFamily: ProductFamily, $status: BillingSubscriptionStatus) { 65 customerSubscriptions(customerId: $customerId, productFamily: $productFamily, status: $status) { 66 id 67 package { 68 products { 69 price { 70 id 71 name 72 billingProductFamily { 73 productFamily 74 } 75 product { 76 id 77 } 78 } 79 } 80 } 81 customer { 82 paymentSourceCards { 83 brand 84 expiryMonth 85 expiryYear 86 firstName 87 lastName 88 last4 89 } 90 } 91 } 92 } 93 `,this.updateCustomerSubscriptionMutation=UA` 94 mutation UpdateCustomerSubscription($subscriptionId: ID!, $priceId: ID!, $couponIds: [ID!]) { 95 updateCustomerSubscription(subscriptionId: $subscriptionId, priceId: $priceId, couponIds: $couponIds) 96 } 97 `,this.cancelCustomerSubscriptionMutation=UA` 98 mutation CancelCustomerSubscription($subscriptionId: ID!) { 99 cancelCustomerSubscription(subscriptionId: $subscriptionId) 100 } 101 `,this.apollo=ls($A)}getCustomerSubscriptions(e,t,r,n){return this.apollo.query({query:this.customerSubscriptionsQuery,variables:{productFamily:t,customerId:e,status:r},fetchPolicy:"network-only",context:n?{headers:{authorization:`bearer ${n}`}}:{}}).pipe(un(e=>e.data.customerSubscriptions))}updateCustomerSubscription(e,t,r,n){return this.apollo.mutate({mutation:this.updateCustomerSubscriptionMutation,variables:{subscriptionId:e,priceId:t,couponIds:r},fetchPolicy:"network-only",context:n?{headers:{authorization:`bearer ${n}`}}:{}}).pipe(un(e=>!!e.data?.updateCustomerSubscription))}cancelCustomerSubscription(e,t){return this.apollo.mutate({mutation:this.cancelCustomerSubscriptionMutation,variables:{subscriptionId:e},fetchPolicy:"network-only",context:t?{headers:{authorization:`bearer ${t}`}}:{}}).pipe(un(e=>!!e.data?.cancelCustomerSubscription))}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),gI=b(()=>{"use strict";ZP=function(e){return e.FUTURE="FUTURE",e.IN_TRIAL="IN_TRIAL",e.ACTIVE="ACTIVE",e.NON_RENEWING="NON_RENEWING",e.PAUSED="PAUSED",e.CANCELLED="CANCELLED",e}(ZP||{})}),yI=b(()=>{"use strict";
101fy(),mI(),gI(),Li(),oI(),fy(),YP=(()=>{class e{constructor(){this.customerSubscriptionsDataService=ls(QP),this.jwtWrapperService=ls(zP)}getCustomerActiveSubscriptions(e,t){return this.jwtWrapperService.wrap(r=>this.customerSubscriptionsDataService.getCustomerSubscriptions(t,e,ZP.ACTIVE,r))}updateCustomerActiveSubscription(e,t,r){return this.jwtWrapperService.wrap(n=>this.customerSubscriptionsDataService.updateCustomerSubscription(e,t,r,n))}cancelCustomerSubscription(e){return this.jwtWrapperService.wrap(t=>this.customerSubscriptionsDataService.cancelCustomerSubscription(e,t))}billingProductIsOnlyActiveSubscription(e,t,r){return this.getCustomerActiveSubscriptions(t,r).pipe(un(t=>!!t[0]?.package.products.find(t=>t.price?.id===e)))}waitForOnlyActivatedSubscription(e,t,r=1e3,n,i){return Un(0,r).pipe(Ai(()=>this.billingProductIsOnlyActiveSubscription(e,t,i)),Wn(e=>e),un(()=>{}),ii(1),n?sn(n):Je)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),vI=b(()=>{"use strict";ur(),fy(),Li(),yI(),nI(),fy(),KP=class e{constructor(){this.customerSubscriptionsDataService=ls(YP),this.activationStateInternal$=new pt({isActivating:null}),this.stopWaitingInternal$=new ht,this.activationState$=this.activationStateInternal$.asObservable()}scheduleStateReset(){wt.schedule(()=>this.activationStateInternal$.next({isActivating:null}))}startWaitingActivationOnlyFor(e,t=!1){null===this.activationStateInternal$.value.isActivating&&(this.activationStateInternal$.next({billingProduct:e,isActivating:!0}),this.customerSubscriptionsDataService.waitForOnlyActivatedSubscription(e.id,t?e.productFamily:void 0,2e3,12e4).pipe(Ii(this.stopWaitingInternal$),Jn(t=>(this.activationStateInternal$.next({billingProduct:e,isActivating:!1,activationResult:{isActivated:!1,error:t}}),Dt)),bi(()=>this.scheduleStateReset())).subscribe(()=>{this.activationStateInternal$.next({billingProduct:e,isActivating:!1,activationResult:{isActivated:!0}})}))}stopWaitingActivation(){this.stopWaitingInternal$.next(!0)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}},KP=Kt([TP()],KP)}),bI=b(()=>{"use strict";oP(),aP(),wP(),aI(),fI(),pI(),yI(),mI(),oI(),vI(),fy(),XP=(()=>{class e{static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵmod=bd({type:e})}static{this.ɵinj=Zi({providers:[WA,QA,XA,VP,WP,GP,YP,QP,zP,KP]})}}return e})()}),_I=b(()=>{"use strict";JP=function(e){return e.PIXELLU="pixellu",e.PIXELLU_TEST="pixellu-test",e}(JP||{})}),wI=b(()=>{}),SI=b(()=>{}),EI=b(()=>{}),kI=b(()=>{}),CI=b(()=>{"use strict";fy(),eI=new na("billing provider settings")}),DI=b(()=>{"use strict";tI=function(e){return e.CHECKOUT_OPEN="CHECKOUT_OPEN",e.CHECKOUT_CLOSE="CHECKOUT_CLOSE",e.CHECKOUT_SUCCESS="CHECKOUT_SUCCESS",e.UPGRADE_SUCCESS="UPGRADE_SUCCESS",e.CHECKOUT_ERROR="CHECKOUT_ERROR",e.BUY_NOW_CLICK="BUY_NOW_CLICK",e.SUBSCRIPTION_ACTIVATION_STATE="SUBSCRIPTION_ACTIVATION_STATE",e.SUBSCRIPTION_ACTIVATION_SUCCESS="SUBSCRIPTION_ACTIVATION_SUCCESS",e.SUBSCRIPTION_ACTIVATED_ACTION_CLICK="SUBSCRIPTION_ACTIVATED_ACTION_CLICK",e}(tI||{})}),TI=b(()=>{}),xI=b(()=>{}),OI=b(()=>{}),AI=b(()=>{}),PI=b(()=>{}),II=b(()=>{}),RI=b(()=>{}),NI=b(()=>{"use strict";hI(),cI(),[{id:"billing-product-pss-id",name:"billing product pss name",period:qP.YEARLY,currencyCode:"USD",productId:"product-id",features:[],productFamily:$P.PSS,priceYearly:12e3,priceMonthly:1e3,promo:null,productName:"Pixellu SmartSlides"},{id:"billing-product-bundle-id",name:"billing product bundle name",period:qP.YEARLY,currencyCode:"USD",productId:"product-id",features:[],productFamily:$P.BUNDLE,promo:"promo",priceYearly:12e4,priceMonthly:1e4,productName:"Pixellu SmartSlides + Pixellu SmartAlbums"}]}),FI=b(()=>{}),LI=b(()=>{"use strict";cI(),[{id:"subId",nextBillingDate:0,currentPeriodEnd:"",customer:{paymentSourceCards:[{brand:"brand"}]},package:{products:[{price:{id:"priceId",name:"price name",billingProductFamily:{productFamily:$P.PSS},product:{id:"productId",name:"product name",metaData:{}},metaData:{}}}]}},{id:"subId2",nextBillingDate:0,currentPeriodEnd:"",customer:{paymentSourceCards:[{brand:"brand"}]}
101,package:{products:[{price:{id:"priceId2",name:"price name",billingProductFamily:{productFamily:$P.PSS},product:{id:"productId",name:"product name",metaData:{}},metaData:{}}}]}}],[{id:"subId",nextBillingDate:0,currentPeriodEnd:"",customer:{paymentSourceCards:[{brand:"brand"}]},package:{products:[{price:{id:"priceId",name:"price name",billingProductFamily:{productFamily:$P.PSS},product:{id:"productId",name:"product name",metaData:{}},metaData:{}}}]}}],[{id:"subId",nextBillingDate:0,currentPeriodEnd:"",customer:{paymentSourceCards:null},package:{products:[{price:{id:"priceId",name:"price name",billingProductFamily:{productFamily:$P.PSS},product:{id:"productId",name:"product name",metaData:{}},metaData:{}}}]}}]}),MI=b(()=>{}),jI=b(()=>{}),BI=b(()=>{"use strict";rI=class extends Error{constructor(e=""){super(),this.message=e,this.name="SubscriptionDowngradeError"}}});var zI=b(()=>{"use strict";hI()});function VI(e){return e in UI}var $I,UI,qI,HI,GI,WI,QI,ZI,YI,KI=b(()=>{"use strict";hI(),$I={id:"SABF25",name:"SABF25"},UI={"Pixellu-SmartAlbums-with-Cloud-Proofing":{[qP.YEARLY]:{discountPercentage:.4,coupon:$I}},"Pixellu-SmartAlbums":{[qP.YEARLY]:{discountPercentage:.4,coupon:$I}},"All-Apps-Bundle":{[qP.YEARLY]:{discountPercentage:.4,coupon:$I}}}}),XI=b(()=>{"use strict";bI(),_I(),hI(),wI(),SI(),EI(),kI(),aI(),fI(),CI(),gI(),DI(),TI(),yI(),xI(),OI(),sI(),sP(),AI(),_P(),PI(),II(),RI(),NI(),FI(),oI(),LI(),vI(),MI(),jI(),BI(),zI(),KI()}),JI=_((e,t)=>
101{"use strict";var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;t.exports=n}),eR=_((e,t)=>{"use strict";var r=JI(),n="object"==typeof self&&self&&self.Object===Object&&self,i=r||n||Function("return this")();t.exports=i}),tR=_((e,t)=>{"use strict";var r=eR().Symbol;t.exports=r}),rR=_((e,t)=>{"use strict";var r=tR(),n=Object.prototype,i=n.hasOwnProperty,s=n.toString,o=r?r.toStringTag:void 0;t.exports=function(e){var t=i.call(e,o),r=e[o];try{e[o]=void 0;var n=!0}catch{}var a=s.call(e);return n&&(t?e[o]=r:delete e[o]),a}}),nR=_((e,t)=>{"use strict";var r=Object.prototype.toString;t.exports=function(e){return r.call(e)}}),iR=_((e,t)=>{"use strict";var r=tR(),n=rR(),i=nR(),s=r?r.toStringTag:void 0;t.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?n(e):i(e)}}),sR=_((e,t)=>{"use strict";t.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}),oR=_((e,t)=>{"use strict";var r=iR(),n=sR();t.exports=function(e){if(!n(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}}),aR=_((e,t)=>{"use strict";var r=eR()["__core-js_shared__"];t.exports=r}),lR=_((e,t)=>{"use strict";var r,n=aR(),i=(r=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(e){return!!i&&i in e}}),uR=_((e,t)=>{"use strict";var r=Function.prototype.toString;t.exports=function(e){if(null!=e){try{return r.call(e)}catch{}try{return e+""}catch{}}return""}}),cR=_((e,t)=>{"use strict";var r=oR(),n=lR(),i=sR(),s=uR(),o=/^\[object .+?Constructor\]$/,a=Function.prototype,l=Object.prototype,u=a.toString,c=l.hasOwnProperty,h=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return!(!i(e)||n(e))&&(r(e)?h:o).test(s(e))}}),hR=_((e,t)=>{"use strict";t.exports=function(e,t){return e?.[t]}}),dR=_((e,t)=>{"use strict";var r=cR(),n=hR();t.exports=function(e,t){var i=n(e,t);return r(i)?i:void 0}}),pR=_((e,t)=>{"use strict";var r=dR(),n=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch{}}();t.exports=n}),fR=_((e,t)=>{"use strict";var r=pR();t.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}}),mR=_((e,t)=>{"use strict";t.exports=function(e,t){return e===t||e!=e&&t!=t}}),gR=_((e,t)=>{"use strict";var r=fR(),n=mR(),i=Object.prototype.hasOwnProperty;t.exports=function(e,t,s){var o=e[t];(!i.call(e,t)||!n(o,s)||void 0===s&&!(t in e))&&r(e,t,s)}}),yR=_((e,t)=>{"use strict";var r=Array.isArray;t.exports=r}),vR=_((e,t)=>{"use strict";t.exports=function(e){return null!=e&&"object"==typeof e}}),bR=_((e,t)=>{"use strict";var r=iR(),n=vR();t.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==r(e)}}),_R=_((e,t)=>{"use strict";var r=yR(),n=bR(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=function(e,t){if(r(e))return!1;var o=typeof e;return!("number"!=o&&"symbol"!=o&&"boolean"!=o&&null!=e&&!n(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}}),wR=_((e,t)=>{"use strict";var r=dR()(Object,"create");t.exports=r}),SR=_((e,t)=>{"use strict";var r=wR();t.exports=function(){this.__data__=r?r(null):{},this.size=0}}),ER=_((e,t)=>{"use strict";t.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}}
vendor: 3,025 bytes, line 101
101),kR=_((e,t)=>{"use strict";var r=wR(),n=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;if(r){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return n.call(t,e)?t[e]:void 0}}),CR=_((e,t)=>{"use strict";var r=wR(),n=Object.prototype.hasOwnProperty;t.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:n.call(t,e)}}),DR=_((e,t)=>{"use strict";var r=wR();t.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}}),TR=_((e,t)=>{"use strict";var r=SR(),n=ER(),i=kR(),s=CR(),o=DR();function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=i,a.prototype.has=s,a.prototype.set=o,t.exports=a}),xR=_((e,t)=>{"use strict";t.exports=function(){this.__data__=[],this.size=0}}),OR=_((e,t)=>{"use strict";var r=mR();t.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}}),AR=_((e,t)=>{"use strict";var r=OR(),n=Array.prototype.splice;t.exports=function(e){var t=this.__data__,i=r(t,e);return!(i<0)&&(i==t.length-1?t.pop():n.call(t,i,1),--this.size,!0)}}),PR=_((e,t)=>{"use strict";var r=OR();t.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}}),IR=_((e,t)=>{"use strict";var r=OR();t.exports=function(e){return r(this.__data__,e)>-1}}),RR=_((e,t)=>{"use strict";var r=OR();t.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}}),NR=_((e,t)=>{"use strict";var r=xR(),n=AR(),i=PR(),s=IR(),o=RR();function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=i,a.prototype.has=s,a.prototype.set=o,t.exports=a}),FR=_((e,t)=>{"use strict";var r=dR()(eR(),"Map");t.exports=r}),LR=_((e,t)=>{"use strict";var r=TR(),n=NR(),i=FR();t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||n),string:new r}}}),MR=_((e,t)=>{"use strict";t.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}}),jR=_((e,t)=>{"use strict";var r=MR();t.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}}),BR=_((e,t)=>{"use strict";var r=jR();t.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}}),zR=_((e,t)=>{"use strict";var r=jR();t.exports=function(e){return r(this,e).get(e)}}),VR=_((e,t)=>{"use strict";var r=jR();t.exports=function(e){return r(this,e).has(e)}}),$R=_((e,t)=>{"use strict";var r=jR();t.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}}),UR=_((e,t)=>{"use strict";var r=LR(),n=BR(),i=zR(),s=VR(),o=$R();function a(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}a.prototype.clear=r,a.prototype.delete=n,a.prototype.get=i,a.prototype.has=s,a.prototype.set=o,t.exports=a}),qR=_((e,t)=>
101{"use strict";var r=UR();function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var r=arguments,n=t?t.apply(this,r):r[0],s=i.cache;if(s.has(n))return s.get(n);var o=e.apply(this,r);return i.cache=s.set(n,o)||s,o};return i.cache=new(n.Cache||r),i}n.Cache=r,t.exports=n}),HR=_((e,t)=>{"use strict";var r=qR();t.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}}),GR=_((e,t)=>{"use strict";var r=HR(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,n,s){t.push(n?s.replace(i,"$1"):r||e)}),t});t.exports=s}),WR=_((e,t)=>{"use strict";t.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}}),QR=_((e,t)=>{"use strict";var r=tR(),n=WR(),i=yR(),s=bR(),o=1/0,a=r?r.prototype:void 0,l=a?a.toString:void 0;t.exports=function e(t){if("string"==typeof t)return t;if(i(t))return n(t,e)+"";if(s(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-o?"-0":r}}),ZR=_((e,t)=>{"use strict";var r=QR();t.exports=function(e){return null==e?"":r(e)}}),YR=_((e,t)=>
101{"use strict";var r=yR(),n=_R(),i=GR(),s=ZR();t.exports=function(e,t){return r(e)?e:n(e,t)?[e]:i(s(e))}}),KR=_((e,t)=>{"use strict";var r=/^(?:0|[1-9]\d*)$/;t.exports=function(e,t){var n=typeof e;return!!(t=t??9007199254740991)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}}),XR=_((e,t)=>{"use strict";var r=bR(),n=1/0;t.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-n?"-0":t}}),JR=_((e,t)=>{"use strict";var r=gR(),n=YR(),i=KR(),s=sR(),o=XR();t.exports=function(e,t,a,l){if(!s(e))return e;for(var u=-1,c=(t=n(t,e)).length,h=c-1,d=e;null!=d&&++u<c;){var p=o(t[u]),f=a;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(u!=h){var m=d[p];void 0===(f=l?l(m,p,d):void 0)&&(f=s(m)?m:i(t[u+1])?[]:{})}r(d,p,f),d=d[p]}return e}}),eN=_((e,t)=>{"use strict";var r=JR();t.exports=function(e,t,n){return null==e?e:r(e,t,n)}}),tN=b(()=>{"use strict";qI=function(e){return e.en="en",e.pt="pt",e.ru="ru",e.uk="uk",e.it="it",e.de="de",e.auto="auto",e.es="es",e.fr="fr",e.pl="pl",e}(qI||{})}),rN=b(()=>{"use strict";HI=w(eN()),tN(),GI=class e{static{this.NO_CACHE_KEY="no-cache"}static{this.APP_VERSION=null}static{this.CACHE_OFF="1790149208707"}static{this.GIT_COMMIT="b7a5983d"}static{this.GIT_BRANCH="local"}static{this.DEPLOY_ENV="stg"}static{this.IS_DEV=!1}static{this.APP_NAME="rpt-standalone"}static{this.CYPRESS_IS_CI=null}get SA_GRAPH_QL_ENDPOINT(){return this.SA_GRAPH_QL_ENDPOINT_INTERNAL}set SA_GRAPH_QL_ENDPOINT(e){this.SA_GRAPH_QL_ENDPOINT_INTERNAL=e}get GIT_COMMIT(){return e.GIT_COMMIT}get GIT_BRANCH(){return e.GIT_BRANCH}get DEPLOY_ENV(){return e.DEPLOY_ENV}get APP_VERSION(){return e.APP_VERSION}get APOLLO_STUDIO_VERSION(){return this.APP_VERSION||`${this.GIT_BRANCH}-${this.GIT_COMMIT}`}get APP_NAME(){return e.APP_NAME??""}get SMARTSLIDES_PRICING_URL(){return`${this.PIXELLU_URL}/smartslides/pricing`}get SMARTSLIDES_PRICING_WITH_PARAMS_URL(){return`${this.PIXELLU_URL}/smartslides/pricing?utm_medium=app&utm_source=wizard&utm_campaign=ss-cont&utm_content=share-slideshow-upgrade`}get PIXELLU_ACCOUNT_SUBSCRIPTIONS_URL(){return`${this.PIXELLU_ACCOUNT_URL}/`}get PIXELLU_ACCOUNT_PROFILE_URL(){return`${this.PIXELLU_ACCOUNT_URL}/profile/`}get IS_DEV(){return!!e.IS_DEV}get ENABLED_FEATURES(){return Object.entries(this.FEATURES).filter(([e,t])=>!0===t).map(([e])=>e)}constructor(){this.BASE_LANG=qI.en,this.LANGUAGES=[],this.LANGUAGE_LIST=[{id:0,title:"Automatic",value:qI.auto,disabled:!1},{id:1,title:"English",value:qI.en,disabled:!1},{id:2,title:"Portuguese",value:qI.pt,disabled:!1},{id:3,title:"Russian",value:qI.ru,disabled:!0},{id:4,title:"Ukrainian",value:qI.uk,disabled:!0},{id:5,title:"Italian",value:qI.it,disabled:!1},{id:6,title:"German",value:qI.de,disabled:!1},{id:7,title:"Spanish",value:qI.es,disabled:!1},{id:8,title:"French",value:qI.fr,disabled:!1},{id:9,title:"Polish",value:qI.pl,disabled:!1}],this.GRAPH_QL_REQUESTS_WITH_AUTH_HEADER=[],this.FEATURES=new Proxy({},{get(e,t){return e[t]??!1},set(e,t,r){return e[t]=r,!0}}),this.FEATURES_BODY_CLASSES=[],this.LATEST_BROWSERS_VER={chrome:">=100",firefox:">=100",safari:">=13.0",edge:">=100"},this.LOW_RESOLUTION_THRESHOLD=400,this.SAMPLE_CONTENT_USER_ID=141053,this.STORAGE_CLASS="STANDARD_IA",window.__PLATFORM_ENV__=this}static getQueryString(){return`${this.NO_CACHE_KEY}=${this.CACHE_OFF}`}getKey(e){return this[e]}getQueryString(){return e.getQueryString()}hasFeature(e){return!!this.FEATURES[e]}getFeatureConfig(e){return this.FEATURE_CONFIG?.[e]}printVersion(){console.log(`%cVersion: ${e.APP_VERSION?.trim()}`,"background: #EBF5F8; color: gray; font-size: x-medium; border-radius: 5px; padding: 10px;"),this.production||(console.log(`%cFE commit: ${e.GIT_COMMIT};\nFE branch: ${e.GIT_BRANCH};`,"background: #EBF5F8; color: gray; font-size: x-medium; border-radius: 5px; padding: 10px; margin: 5px 0;"),console.log(`%cName: ${e.APP_NAME?.trim()}`,"background: #EBF5F8; color: gray; font-size: x-medium; border-radius: 5px; padding: 10px;"))}setApiHealthCheck(e){this.healthCheck=e}isGQLOperationWithHeader(e){return!!e&&this.GRAPH_QL_REQUESTS_WITH_AUTH_HEADER.includes(e)}getAuthNavigationUrl(){throw new Error("getAuthNavigationUrl is not implemented")}setFeatureState(e,t){this.FEATURES[e]=t}setFeatureConfig(e,t,r){t.length>0&&(0,HI.default)(this.FEATURE_CONFIG,[e,...t],r)}isLanguageAvailable(e){return this.LANGUAGE_LIST.some(t=>!t.disabled&&t.value!==qI.auto&&t.value===e)}updateLanguages(){this.LANGUAGE_LIST=this.LANGUAGE_LIST.map(e=>e.value===this.BASE_LANG?v(y({},e),{disabled:!1}):v(y({}
101,e),{disabled:!this.LANGUAGES.includes(e.value)}))}}}),nN=b(()=>{"use strict";rN()}),iN=b(()=>{"use strict";nN()}),sN=b(()=>{}),oN=b(()=>{}),aN=b(()=>{}),lN=b(()=>{}),uN=b(()=>{}),cN=b(()=>{}),hN=b(()=>{}),dN=b(()=>{"use strict";iN(),rN(),sN(),oN(),tN(),aN(),lN(),uN(),cN(),nN(),hN()}),pN=b(()=>{"use strict";dN(),WI=function(e){return e.RPT_ENABLED="RPT_ENABLED",e.RPT_PROMOTION_FALL_SALE="RPT_PROMOTION_FALL_SALE",e}(WI||{}),QI=class extends GI{constructor(){super(...arguments),this.LANGUAGE_LIST=[{id:0,title:"Automatic",value:qI.auto,disabled:!1,locales:[]},{id:1,title:"English",value:qI.en,disabled:!0,locales:["en_US","en_GB"]},{id:2,title:"Portuguese",value:qI.pt,disabled:!0,locales:["pt_BR","pt_PT"]},{id:7,title:"Spanish",value:qI.es,disabled:!0,locales:["es_ES","es_MX"]},{id:3,title:"Russian",value:qI.ru,disabled:!0,locales:["ru_RU"]},{id:6,title:"German",value:qI.de,disabled:!0,locales:["de_DE"]},{id:4,title:"Ukrainian",value:qI.uk,disabled:!0,locales:["uk_UA"]},{id:5,title:"Italian",value:qI.it,disabled:!0,locales:["it_IT"]}]}setupHeaders(e){let t=Array.from(new Set([this.GRAPH_QL_ENDPOINT].map(e=>new URL(e).origin)));try{for(let r of t){let t=document.createElement("link");t.rel="preconnect",t.href=r,e.appendChild(t)}}catch(r){console.error("Error while setting up headers",r)}}hasRptPromotionFallSale(){return this.hasFeature(WI.RPT_PROMOTION_FALL_SALE)}getRPTHighlightsPlanId(){return this.getFeatureConfig(WI.RPT_ENABLED)?.HIGHLIGHT_PLAN_ID??""}getRPTHighlightsPlanText(){return this.getFeatureConfig(WI.RPT_ENABLED)?.HIGHLIGHT_PLAN_TEXT??""}getRPTHighlightsPlanButtonText(){return this.getFeatureConfig(WI.RPT_ENABLED)?.HIGHLIGHT_PLAN_BUTTON_TEXT??""}getRPTHighlightsPlanProductFamily(){return this.getFeatureConfig(WI.RPT_ENABLED)?.HIGHLIGHT_PLAN_PRODUCT_FAMILY??null}}}),fN=b(()=>{"use strict";pN()}),mN=b(()=>{"use strict";fy(),fy(),dv();try{ZI=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ZI=!1}YI=(()=>{class e{_platformId=ls(Qf);isBrowser=this._platformId?function(e){return e===hv}(this._platformId):"object"==typeof document&&!!document;EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent);TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent);BLINK=this.isBrowser&&!(!window.chrome&&!ZI)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT;WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT;IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window);FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent);ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT;SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT;constructor(){}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})()});function gN(e){return e.composedPath?e.composedPath()[0]:e.target}var yN=b(()=>{});function vN(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var bN,_N,wN=b(()=>{}),SN=b(()=>{"use strict";fy(),fy(),bN=new WeakMap,_N=(()=>{class e{_appRef;_injector=ls(gl);_environmentInjector=ls(xa);load(e){let t=this._appRef=this._appRef||this._injector.get(Cg),r=bN.get(t);r||(r={loaders:new Set,refs:[]},bN.set(t,r),t.onDestroy(()=>{bN.get(t)?.refs.forEach(e=>e.destroy()),bN.delete(t)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(iy(e,{environmentInjector:this._environmentInjector})))}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})()});function EN(e){return null==e?"":"string"==typeof e?e:`${e}px`}var kN=b(()=>{});function CN(e){return Array.isArray(e)?e:[e]}var DN=b(()=>{});function TN(e,t=0){return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):2===arguments.length?t:0}var xN=b(()=>{"use strict";fy()});function ON(){return ls(yl)}var AN,PN,IN,RN=b(()=>{"use strict";fy(),fy(),AN=new na("cdk-dir-doc",{providedIn:"root",factory:ON}),PN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,IN=(()=>{class e{get value(){return this.valueSignal()}valueSignal=Wo("ltr");change=new wm;constructor(){let e=ls(AN,{optional:!0});if(e){let t=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(function(e){let t=e?.toLowerCase()||"";return"auto"===t&&typeof navigator<"u"&&navigator?.language?PN.test(navigator.language)?"rtl":"ltr":"rtl"===t?"rtl":"ltr"}(t||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})()});var NN,FN,LN,MN,jN,BN,zN,VN,$N,UN,qN,HN,GN,WN,QN,ZN=b(()=>{}),YN=b(()=>{"use strict";fy(),FN=(()=>{class e{static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({})}return e})()}),KN=b(()=>{"use strict";fy(),fy(),Li(),Rl(),xN(),mN(),YN(),LN=(()=>{class e{_ngZone=ls(Cm);_platform=ls(YI);_renderer=ls(Qm).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new ht;_scrolledCount=0;
101scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new it(t=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Kn(e)).subscribe(t):this._scrolled.subscribe(t);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Gr()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,t)=>this.deregister(t)),this._scrolled.complete()}ancestorScrolled(e,t){let r=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Wn(e=>!e||r.indexOf(e)>-1))}getAncestorScrollContainers(e){let t=[];return this.scrollContainers.forEach((r,n)=>{this._scrollableContainsElement(n,e)&&t.push(n)}),t}_scrollableContainsElement(e,t){let r=function(e){return e instanceof Mf?e.nativeElement:e}(t),n=e.getElementRef().nativeElement;do{if(r==n)return!0}while(r=r.parentElement);return!1}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),MN=(()=>{class e{_platform=ls(YI);_listeners;_viewportSize;_change=new ht;_document=ls(yl);constructor(){let e=ls(Cm),t=ls(Qm).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let e=e=>this._change.next(e);this._listeners=[t.listen("window","resize",e),t.listen("window","orientationchange",e)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:t,height:r}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+t,height:r,width:t}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,t=this._getWindow(),r=e.documentElement,n=r.getBoundingClientRect();return{top:-n.top||e.body.scrollTop||t.scrollY||r.scrollTop||0,left:-n.left||e.body.scrollLeft||t.scrollX||r.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(Kn(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),jN=(()=>{class e{static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({})}return e})(),BN=(()=>{class e{static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({imports:[FN,jN,FN,jN]})}return e})()}),XN=b(()=>{"use strict";fy(),fy(),zN=class{_attachedHost;attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(e){this._attachedHost=e}},VN=class extends zN{component;viewContainerRef;injector;projectableNodes;constructor(e,t,r,n){super(),this.component=e,this.viewContainerRef=t,this.injector=r,this.projectableNodes=n}},$N=class extends zN{templateRef;viewContainerRef;context;injector;constructor(e,t,r,n){super(),this.templateRef=e,this.viewContainerRef=t,this.context=r,this.injector=n}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},UN=class extends zN{element;constructor(e){super(),this.element=e instanceof Mf?e.nativeElement:e}},qN=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(e){return e instanceof VN?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof $N?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof UN?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDis
101poseFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},HN=class extends qN{outletElement;_appRef;_defaultInjector;constructor(e,t,r){super(),this.outletElement=e,this._appRef=t,this._defaultInjector=r}attachComponentPortal(e){let t;if(e.viewContainerRef){let r=e.injector||e.viewContainerRef.injector,n=r.get(pg,null,{optional:!0})||void 0;t=e.viewContainerRef.createComponent(e.component,{index:e.viewContainerRef.length,injector:r,ngModuleRef:n,projectableNodes:e.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{let r=this._appRef,n=e.injector||this._defaultInjector||gl.NULL,i=n.get(xa,r.injector);t=iy(e.component,{elementInjector:n,environmentInjector:i,projectableNodes:e.projectableNodes||void 0}),r.attachView(t.hostView),this.setDisposeFn(()=>{r.viewCount>0&&r.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}attachTemplatePortal(e){let t=e.viewContainerRef,r=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return r.rootNodes.forEach(e=>this.outletElement.appendChild(e)),r.detectChanges(),this.setDisposeFn(()=>{let e=t.indexOf(r);-1!==e&&t.remove(e)}),this._attachedPortal=e,r}attachDomPortal=e=>{let t=e.element;t.parentNode;let r=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(r,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(t,r)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},GN=(()=>{class e{static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({})}return e})()}),JN=b(()=>{"use strict";fy(),fy(),WN={},QN=(()=>{class e{_appId=ls(Hf);getId(e){return"ng"!==this._appId&&(e+=this._appId),WN.hasOwnProperty(e)||(WN[e]=0),`${e}${WN[e]++}`}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})()});function eF(e,t){return t.some(t=>{let r=e.bottom<t.top,n=e.top>t.bottom,i=e.right<t.left,s=e.left>t.right;return r||n||i||s})}function tF(e,t){return t.some(t=>{let r=e.top<t.top,n=e.bottom>t.bottom,i=e.left<t.left,s=e.right>t.right;return r||n||i||s})}function rF(e,t){return new dF(e.get(LN),e.get(MN),e.get(Cm),t)}function nF(e,t){let r=typeof ShadowRoot<"u"&&ShadowRoot,n=t;for(;n;){if(n===e)return!0;n=r&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}function iF(e,t){for(let r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function sF(e){if("number"!=typeof e&&null!=e){let[t,r]=e.split(kF);return r&&"px"!==r?null:parseFloat(t)}return e||null}function oF(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}function aF(e){let t=ls(gl);return()=>rF(t)}var lF,uF,cF,hF,dF,pF,fF,mF,gF,yF,vF,bF,_F,wF,SF,EF,kF,CF,DF,TF,xF,OF,AF,PF,IF,RF,NF=b(()=>{"use strict";fy(),fy(),dv(),mN(),yN(),wN(),SN(),Li(),kN(),DN(),KN(),XN(),ZN(),Rl(),JN(),RN(),YN(),lF=function(){if(null==NN){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return NN=!1;if(document.documentElement?.style&&"scrollBehavior"in document.documentElement.style)NN=!0;else{let e=Element.prototype.scrollTo;NN=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return NN}(),uF=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(e,t){this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=EN(-this._previousScrollPosition.left),e.style.top=EN(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,r=e.style,n=t.style,i=r.scrollBehavior||"",s=n.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),lF&&(r.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),lF&&(r.scrollBehavior=i,n.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}},cF=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(e,t,r,n){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler
101=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Wn(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}},hF=class{enable(){}disable(){}attach(){}},dF=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(e,t,r,n){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=r,this._config=n}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:r}=this._viewportRuler.getViewportSize();eF(e,[{width:t,height:r,bottom:r,right:t,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},pF=(()=>{class e{_injector=ls(gl);constructor(){}noop=()=>new hF;close=e=>function(e,t){return new cF(e.get(LN),e.get(Cm),e.get(MN),t)}(this._injector,e);block=()=>function(e){return new uF(e.get(MN),e.get(yl))}(this._injector);reposition=e=>rF(this._injector,e);static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),fF=class{positionStrategy;scrollStrategy=new hF;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(e){if(e){let t=Object.keys(e);for(let r of t)void 0!==e[r]&&(this[r]=e[r])}}},mF=class{connectionPair;scrollableViewProperties;constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}},gF=(()=>{class e{_attachedOverlays=[];_document=ls(yl);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),yF=(()=>{class e extends gF{_ngZone=ls(Cm);_renderer=ls(Qm).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let t=this._attachedOverlays;for(let r=t.length-1;r>-1;r--)if(t[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>t[r]._keydownEvents.next(e));break}};static"ɵfac"=(()=>{let t;return function(r){return(t||(t=gu(e)))(r||e)}})();static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),vF=(()=>{class e extends gF{_platform=ls(YI);_ngZone=ls(Cm);_renderer=ls(Qm).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let e=this._document.body,t={capture:!0},r=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[r.listen(e,"pointerdown",this._pointerDownListener,t),r.listen(e,"click",this._clickListener,t),r.listen(e,"auxclick",this._clickListener,t),r.listen(e,"contextmenu",this._clickListener,t)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=e.style.cursor,e.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}
vendor: 11,874 bytes, line 101
101detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=gN(e)};_clickListener=e=>{let t=gN(e),r="click"===e.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:t;this._pointerDownEventTarget=null;let n=this._attachedOverlays.slice();for(let i=n.length-1;i>-1;i--){let s=n[i];if(s._outsidePointerEvents.observers.length<1||!s.hasAttached())continue;if(nF(s.overlayElement,t)||nF(s.overlayElement,r))break;let o=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>o.next(e)):o.next(e)}};static"ɵfac"=(()=>{let t;return function(r){return(t||(t=gu(e)))(r||e)}})();static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),bF=(()=>{class e{static"ɵfac"=function(t){return new(t||e)};static"ɵcmp"=yd({type:e,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(e,t){},styles:[".cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}\n"],encapsulation:2,changeDetection:0})}return e})(),_F=(()=>{class e{_platform=ls(YI);_containerElement;_document=ls(yl);_styleLoader=ls(_N);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||vN()){let t=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let e=0;e<t.length;e++)t[e].remove()}let t=this._document.createElement("div");t.classList.add(e),vN()?t.setAttribute("platform","test"):this._platform.isBrowser||t.setAttribute("platform","server"),this._document.body.appendChild(t),this._containerElement=t}_loadStyles(){this._styleLoader.load(bF)}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),wF=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(e,t,r,n){this._renderer=t,this._ngZone=r,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",n)}detach(){this._ngZone.runOutsideAngular(()=>{let e=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},SF=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new ht;_attachments=new ht;_detachments=new ht;_positionStrategy;_scrollStrategy;_locationChanges=ke.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new ht;_outsidePointerEvents=new ht;_afterNextRenderRef;constructor(e,t,r,n,i,s,o,a,l,u=!1,c,h){this._portalOutlet=e,this._host=t,this._pane=r,this._config=n,this._ngZone=i,this._keyboardDispatcher=s,this._document=o,this._location=a,this._outsideClickDispatcher=l,this._animationsDisabled=u,this._injector=c,this._renderer=h,n.scrollStrategy&&(this._scrollStrategy=n.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=n.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=Tc(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof t?.onDestroy&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,e&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=y(y({},this._config),e),this._updateElementSize()}setDirection(e){this._config=v(y({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=EN(this._config.width),e.height=EN(this._config.height),e.minWidth=EN(this._config.minWidth),e.minHeight=EN(this._config.minHeight),e.maxWidth=EN(this._config.maxWidth),e.maxHeight=EN(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new wF(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(e))}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(e,t,r){let n=CN(t||[]).filter(e=>!!e);n.length&&(r?e.classList.add(...n):e.classList.remove(...n))}_detachContentWhenEmpty(){let e=!1;try{this._detachContentAfterRenderRef=Tc(()=>{e=!0,this._detachContent()},{injector:this._injector})}catch(o){if(e)throw o;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let e=this._scrollStrategy;e?.disable(),e?.detach?.()}},EF="cdk-overlay-connected-position-bounding-box",kF=/([A-Za-z%]+)$/,CF=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new ht;_resizeSubscription=ke.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}
101constructor(e,t,r,n,i){this._viewportRuler=t,this._document=r,this._platform=n,this._overlayContainer=i,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(EF),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e,t=this._originRect,r=this._overlayRect,n=this._viewportRect,i=this._containerRect,s=[];for(let o of this._preferredPositions){let a=this._getOriginPoint(t,i,o),l=this._getOverlayPoint(a,r,o),u=this._getOverlayFit(l,r,n,o);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(o,a);this._canFitWithFlexibleDimensions(u,l,n)?s.push({position:o,origin:a,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(a,o)}):(!e||e.overlayFit.visibleArea<u.visibleArea)&&(e={overlayFit:u,overlayPoint:l,originPoint:a,position:o,overlayRect:r})}if(s.length){let e=null,t=-1;for(let r of s){let n=r.boundingBoxRect.width*r.boundingBoxRect.height*(r.position.weight||1);n>t&&(t=n,e=r)}return this._isPushed=!1,void this._applyPosition(e.position,e.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&iF(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(EF),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,r){let n,i;if("center"==r.originX)n=e.left+e.width/2;else{let t=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==r.originX?t:i}return t.left<0&&(n-=t.left),i="center"==r.originY?e.top+e.height/2:"top"==r.originY?e.top:e.bottom,t.top<0&&(i-=t.top),{x:n,y:i}}_getOverlayPoint(e,t,r){let n,i;return n="center"==r.overlayX?-t.width/2:"start"===r.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,i="center"==r.overlayY?-t.height/2:"top"==r.overlayY?0:-t.height,{x:e.x+n,y:e.y+i}}_getOverlayFit(e,t,r,n){let i=oF(t),{x:s,y:o}=e,a=this._getOffset(n,"x"),l=this._getOffset(n,"y");a&&(s+=a),l&&(o+=l);let u=0-s,c=s+i.width-r.width,h=0-o,d=o+i.height-r.height,p=this._subtractOverflows(i.width,u,c),f=this._subtractOverflows(i.height,h,d),m=p*f;return{visibleArea:m,isCompletelyWithinViewport:i.width*i.height===m,fitsInViewportVertically:f===i.height,fitsInViewportHorizontally:p==i.width}}_canFitWithFlexibleDimensions(e,t,r){if(this._hasFlexibleDimensions){let n=r.bottom-t.y,i=r.right-t.x,s=sF(this._overlayRef.getConfig().minHeight),o=sF(this._overlayRef.getConfig().minWidth),a=e.fitsInViewportVertically||null!=s&&s<=n,l=e.fitsInViewportHorizontally||null!=o&&o<=i;return a&&l}return!1}_pushOverlayOnScreen(e,t,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let n=oF(t),i=this._viewportRect,s=Math.max(e.x+n.width-i.width,0),o=Math.max(e.y+n.height-i.height,0),a=Math.max(i.top-r.top-e.y,0),l=Math.max(i.left-r.left-e.x,0),u=0,c=0;return u=n.width<=i.width?l||-s:e.x<this._viewportMargin?i.left-r.left-e.x:0,c=n.height<=i.height?a||-o:e.y<this._viewportMargin?i.top-r.top-e.y:0,this._previousPushAmount={x:u,y:c},{x:e.x+u,y:e.y+c}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let t=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!function(e,t){return e===t||e.isOriginClipped===t.isOriginClipped&&e.isOriginOutsideView===t.isOriginOutsideView&&e.isOverlayClipped===t.isOverlayClipped&&e.isOverlayOutsideView===t.isOverlayOutsideView}(this._lastScrollVisibility,t)){let r=new mF(e,t);this._positionChanges.next(r)}this._lastScrollVisibility=t}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t,r=this._boundingBox.querySelectorAll(this._transformOriginSelector),n=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(let i=0;i<r.length;i++)r[i].style.transformOrigin=`${t} ${n}`}_calculateBoundingBoxRect(e,t){let r,n,i,s=this._viewportRect,o=this._isRtl();if("top"===t.overlayY)n=e.y,r=s.height-n+this._viewportMargin;else if("bottom"===t.overlayY)i=s.height-e.y+2*this._viewportMargin,r=s.height-i+this._viewportMargin;else{let t=Math.min(s.bottom-e.y+s.top,e.y),i=this._lastBoundingBoxSize.height;r=2*t,n=e.y-t,r>i&&!this._isInitialRender&&!this._growAfterOpen&&(n=e.y-i/2)}let a,l,u,c="start"===t.overlayX&&!o||"end"===t.overlayX&&o;if("end"===t.overlayX&&!o||"start"===t.overlayX&&o)u=s.width-e.x+2*this._viewportMargin,a=e.x-this._viewportMargin;else if(c)l=e.x,a=s.right-e.x;else{let t=Math.min(s.right-e.x+s.left,e.x),r=this._lastBoundingBoxSize.width;a=2*t,l=e.x-t,a>r&&!this._isInitialRender&&!this._growAfterOpen&&(l=e.x-r/2)}return{top:n,left:l,bottom:i,right:u,width:a,height:r}}_setBoundingBoxStyles(e,t){let r=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let n={};if(this._hasExactPosition())n.top=n.left="0",n.bottom=n.right=n.maxHeight=n.maxWidth="",n.width=n.height="100%";else{let e=this._overlayRef.getConfig().maxHeight,i=this._overlayRef.getConfig().maxWidth;n.height=EN(r.height),n.top=EN(r.top),n.bottom=EN(r.bottom),n.width=EN(r.width),n.left=EN(r.left),n.right=EN(r.right),"center"===t.overlayX?n.alignItems="center"
101:n.alignItems="end"===t.overlayX?"flex-end":"flex-start","center"===t.overlayY?n.justifyContent="center":n.justifyContent="bottom"===t.overlayY?"flex-end":"flex-start",e&&(n.maxHeight=EN(e)),i&&(n.maxWidth=EN(i))}this._lastBoundingBoxSize=r,iF(this._boundingBox.style,n)}_resetBoundingBoxStyles(){iF(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){iF(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let r={},n=this._hasExactPosition(),i=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(n){let n=this._viewportRuler.getViewportScrollPosition();iF(r,this._getExactOverlayY(t,e,n)),iF(r,this._getExactOverlayX(t,e,n))}else r.position="static";let o="",a=this._getOffset(t,"x"),l=this._getOffset(t,"y");a&&(o+=`translateX(${a}px) `),l&&(o+=`translateY(${l}px)`),r.transform=o.trim(),s.maxHeight&&(n?r.maxHeight=EN(s.maxHeight):i&&(r.maxHeight="")),s.maxWidth&&(n?r.maxWidth=EN(s.maxWidth):i&&(r.maxWidth="")),iF(this._pane.style,r)}_getExactOverlayY(e,t,r){let n={top:"",bottom:""},i=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,r)),"bottom"===e.overlayY){let e=this._document.documentElement.clientHeight;n.bottom=e-(i.y+this._overlayRect.height)+"px"}else n.top=EN(i.y);return n}_getExactOverlayX(e,t,r){let n,i={left:"",right:""},s=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,r)),n=this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left","right"===n){let e=this._document.documentElement.clientWidth;i.right=e-(s.x+this._overlayRect.width)+"px"}else i.left=EN(s.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),r=this._scrollables.map(e=>e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:tF(e,r),isOriginOutsideView:eF(e,r),isOverlayClipped:tF(t,r),isOverlayOutsideView:eF(t,r)}}_subtractOverflows(e,...t){return t.reduce((e,t)=>e-Math.max(t,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&CN(e).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof Mf)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+t,height:r,width:t}}},DF="cdk-global-overlay-wrapper",TF=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(DF),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}
101apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:n,height:i,maxWidth:s,maxHeight:o}=r,a=!("100%"!==n&&"100vw"!==n||s&&"100%"!==s&&"100vw"!==s),l=!("100%"!==i&&"100vh"!==i||o&&"100%"!==o&&"100vh"!==o),u=this._xPosition,c=this._xOffset,h="rtl"===this._overlayRef.getConfig().direction,d="",p="",f="";a?f="flex-start":"center"===u?(f="center",h?p=c:d=c):h?"left"===u||"end"===u?(f="flex-end",d=c):("right"===u||"start"===u)&&(f="flex-start",p=c):"left"===u||"start"===u?(f="flex-start",d=c):("right"===u||"end"===u)&&(f="flex-end",p=c),e.position=this._cssPosition,e.marginLeft=a?"0":d,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=a?"0":p,t.justifyContent=f,t.alignItems=l?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,r=t.style;t.classList.remove(DF),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},xF=(()=>{class e{_injector=ls(gl);constructor(){}global(){return new TF}flexibleConnectedTo(e){return function(e,t){return new CF(t,e.get(MN),e.get(yl),e.get(YI),e.get(_F))}(this._injector,e)}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),OF=(()=>{class e{scrollStrategies=ls(pF);_positionBuilder=ls(xF);_injector=ls(gl);constructor(){}create(e){return function(e,t){e.get(_N).load(bF);let r=e.get(_F),n=e.get(yl),i=e.get(QN),s=e.get(Cg),o=e.get(IN),a=n.createElement("div"),l=n.createElement("div");l.id=i.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),a.appendChild(l),r.getContainerElement().appendChild(a);let u=new HN(l,s,e),c=new fF(t),h=e.get(Zm,null,{optional:!0})||e.get(Qm).createRenderer(null,null);return c.direction=c.direction||o.value,new SF(u,a,l,c,e.get(Cm),e.get(yF),n,e.get(Ty),e.get(vF),t?.disableAnimations??"NoopAnimations"===e.get(Zf,null,{optional:!0}),e.get(xa),h)}(this._injector,e)}position(){return this._positionBuilder}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})(),AF=new na("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let e=ls(gl);return()=>rF(e)}}),PF={provide:AF,useFactory:aF},IF=(()=>{class e{static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({providers:[OF,PF],imports:[FN,GN,BN,BN]})}return e})()}),FF=b(()=>{"use strict";NF()}),LF=b(()=>{}),MF=b(()=>{"use strict";fy(),RF=new na("Provider for disabled entity")}),jF=b(()=>{"use strict";LF(),MF()});var BF,zF=b(()=>{"use strict";xN()}),VF=b(()=>{"use strict";zF(),fy(),fy(),BF=(()=>{class e{constructor(){this.tabIndexInternal=0,this.click$=new wm,this.disabled=!1,this.readonly=!1,this.hasProgress=!1}set tabIndex(e){this.tabIndexInternal=TN(e)>=0?TN(e):-1}get tabIndex(){return this.tabIndexInternal}onClick(e){this.disabled||this.click$.emit(e)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵdir=Sd({type:e,inputs:{disabled:[2,"disabled","disabled",ny],readonly:[2,"readonly","readonly",ny],hasProgress:[2,"hasProgress","hasProgress",ny],tabIndex:"tabIndex"},outputs:{click$:"click$"}})}}return e})()});function $F(e,t){1&e&&up(0)}function UF(e,t){if(1&e){let e=dp();rp(0,"a",3),gp("click",function(t){return go(e),yo(yp().onClick(t))})("keydown.enter",function(t){return go(e),yo(yp().onClick(t))}),Fd(1,$F,1,0,"ng-container",4),np()}if(2&e){let e=yp(),t=kp(3);jp("min-width",e.minWidth),Bp("disabled",e.disabled),ep("ngClass",e.hostClass)("tabIndex",e.tabIndex),Vd("href",e.href,Uu)("target",e.target),fc(),ep("ngTemplateOutlet",t)}}function qF(e,t){1&e&&up(0)}function HF(e,t){if(1&e){let e=dp();rp(0,"button",5),gp("click",function(t){return go(e),yo(yp().onClick(t))})("keydown.enter",function(t){return go(e),yo(yp().onClick(t))}),Fd(1,qF,1,0,"ng-container",4),np()}if(2&e){let e=yp(),t=kp(3);jp("min-width",e.minWidth),ep("disabled",e.disabled)("ngClass",e.hostClass)("tabIndex",e.tabIndex)("type",e.buttonType),fc(),ep("ngTemplateOutlet",t)}}function GF(e,t){1&e&&(rp(0,"div",6)(1,"div",7)(2,"div",8),_p(3),np()(),rp(4,"div",9),_p(5,1),np()(),ip(6,"span",10)(7,"span",11))}var WF,QF,ZF,YF=b(()=>{"use strict";dv(),fy(),jF(),VF(),fy(),WF=[[["mds-icon"],["",8,"mds-icon"],["pui-icon"]],"*"],QF=["mds-icon,.mds-icon,pui-icon","*"],ZF=(()=>{class e extends BF{constructor(){super(...arguments),this.elementRef=ls(Mf),this.hasTransitions=!1,this.size="md",this.type="text",this.buttonType="submit",this.variant="base",this.color="primary",this.target="_self",this.minWidth="none",this.fullWidth=!1,this.focused=!1}get nativeElement(){return this.elementRef.nativeElement}get hostClass(){let e=[];return this.disabled&&e.push("c-button--disabled"),this.readonly&&e.push("c-button--readonly"),this.type&&e.push(`c-button--type-${this.type}`),this.size&&e.push(`c-button--size-${this.size}`),this.variant&&e.push(`c-button--variant-${this.variant}`),this.color&&e.push(`c-button--color-${this.color}`),this.hasTransitions&&e.push("has-transitions"),this.iconPosition&&e.push("c-button--icon-"
101+this.iconPosition),this.hasProgress&&e.push("c-button--progress"),this.focused&&e.push("c-button--state-hover"),e}ngOnInit(){this.hasTransitions=!0}static{this.ɵfac=(()=>{let t;return function(r){return(t||(t=gu(e)))(r||e)}})()}static{this.ɵcmp=yd({type:e,selectors:[["mds-button"]],hostVars:2,hostBindings:function(e,t){2&e&&Bp("full-width",t.fullWidth)},inputs:{size:"size",type:"type",buttonType:"buttonType",variant:"variant",color:"color",href:"href",target:"target",iconPosition:"iconPosition",minWidth:"minWidth",fullWidth:[2,"fullWidth","fullWidth",ny],focused:[2,"focused","focused",ny]},features:[df([{provide:RF,useExisting:Hi(()=>e)}]),Td],ngContentSelectors:QF,decls:4,vars:1,consts:[["btnContentTmpl",""],["data-qa","button","rel","noopener noreferrer",1,"c-button",3,"ngClass","disabled","tabIndex","min-width"],[1,"c-button",3,"disabled","ngClass","tabIndex","type","min-width"],["data-qa","button","rel","noopener noreferrer",1,"c-button",3,"click","keydown.enter","ngClass","tabIndex"],[4,"ngTemplateOutlet"],[1,"c-button",3,"click","keydown.enter","disabled","ngClass","tabIndex","type"],[1,"c-button__inner"],[1,"c-button__icon"],[1,"c-button__icon-inner"],[1,"c-button__text"],[1,"c-button__hover"],[1,"c-button__hover-2"]],template:function(e,t){1&e&&(bp(WF),Gd(0,UF,2,9,"a",1)(1,HF,2,7,"button",2),Fd(2,GF,8,0,"ng-template",null,0,Sf)),2&e&&Qd(t.href?0:1)},dependencies:[Zy,Yy],styles:['[_ngcontent-%COMP%]:root{--mds-comp-skeleton-bone-background-color: var(--mds-sys-color-surface-container, #e5e5e5);--mds-comp-skeleton-bone-border-radius: var(--mds-sys-shape-xs);--mds-skeleton-animation-duration: 1.5s;--mds-skeleton-animation-distance: 100%}@keyframes _ngcontent-%COMP%_spinner-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%]{position:relative;display:inline-flex}.full-width[_nghost-%COMP%]{display:flex;width:100%}.full-width[_nghost-%COMP%] .c-button[_ngcontent-%COMP%]{display:flex;width:100%}.c-button[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center;padding:0;line-height:normal;text-align:center;text-decoration:none;background:none;border:none;transition:none;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;--mds-button-color: var(--mds-sys-color-on-neutral-container);--mds-button-disabled-color: rgba(var(--mds-sys-color-on-neutral-container-rgb), .3);--mds-button-background-color: transparent;--mds-button-hover-background-color: rgba(var(--mds-sys-color-neutral-rgb), var(--mds-sys-state-hover));--mds-button-disabled-background-color: rgba(var(--mds-sys-color-neutral-container-rgb), .65);--mds-button-border-color: transparent;--mds-button-hover-border-color: var(--mds-button-border-color);--mds-button-disabled-border-color: var(--mds-button-disabled-background-color);--mds-button-width: 100%;--mds-button-height: 36px;--mds-button-font-family: var(--mds-font-family);--mds-button-font-size: 14px;--mds-button-line-height: normal;--mds-button-letter-spacing: 0;--mds-button-font-weight: 500;--mds-button-border-style: solid;--mds-button-border-width: 0;--mds-button-border-radius: var(--mds-sys-shape-md);--mds-button-padding-x: var(--mds-sys-spacing-4);--mds-button-padding-y: 0;--mds-button-flex-direction: initial;--mds-button-icon-size: 18px;--mds-button-icon-margin: 0;--mds-button-text-transform: none;flex-direction:var(--mds-button-flex-direction);width:var(--mds-button-width);min-width:var(--mds-button-min-width);height:var(--mds-button-height);min-height:var(--mds-button-min-height);padding:var(--mds-button-padding-y) var(--mds-button-padding-x);color:var(--mds-button-color);font-weight:var(--mds-button-font-weight);font-size:var(--mds-button-font-size);font-family:var(--mds-button-font-family);line-height:var(--mds-button-line-height);letter-spacing:var(--mds-button-letter-spacing);text-transform:var(--mds-button-text-transform);background-color:var(--mds-button-background-color);border-width:var(--mds-button-border-width);border-style:var(--mds-button-border-style);border-color:var(--mds-button-border-color);border-radius:var(--mds-button-border-radius);opacity:var(--mds-button-opacity);position:relative;z-index:0;display:var(--mds-comp-button-display, inline-flex);justify-content:var(--mds-comp-button-justify-content, center);align-items:var(--mds-comp-button-align-items, center);white-space:nowrap;--mds-button-font-weight: var(--mds-comp-button-font-weight);--mds-button-line-height: var(--mds-comp-button-line-height, inherit);--mds-button-letter-spacing: var(--mds-comp-button-letter-spacing, 0);--mds-button-font-family: var(--mds-comp-button-font-family);--mds-button-text-transform: var(--mds-comp-button-text-transform);--mds-button-progress-background-color: var(--mds-button-hover-background-color)}.c-button__inner[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center}@media (min-width: 568px){.c-button.has-transitions[_ngcontent-%COMP%]{transition-timing-function:cubic-bezier(.5,.25,0,1);transition-duration:.3s;transition-property:background-color,color,border-color,opacity}}.c-button[_ngcontent-%COMP%] .c-button__inner[_ngcontent-%COMP%]{min-width:var(--mds-button-inner-min-width);min-height:var(--mds-button-inner-min-height)}.c-button[_ngcontent-%COMP%] .c-button__hover[_ngcontent-%COMP%], .c-button[_ngcontent-%COMP%] .c-button__hover-2[_ng
101content-%COMP%]{position:absolute;top:0;left:0;z-index:0;display:block;width:100%;height:100%;background-color:var(--mds-button-hover-background-color);border-radius:var(--mds-button-border-radius);opacity:var(--mds-button-hover-opacity, 0);will-change:opacity;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}@media (min-width: 568px){.c-button[_ngcontent-%COMP%] .c-button__hover[_ngcontent-%COMP%], .c-button[_ngcontent-%COMP%] .c-button__hover-2[_ngcontent-%COMP%]{transition-timing-function:cubic-bezier(.5,.25,0,1);transition-duration:.3s;transition-property:opacity}}.c-button[_ngcontent-%COMP%] .c-button__hover[_ngcontent-%COMP%]:after, .c-button[_ngcontent-%COMP%] .c-button__hover-2[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;transform-origin:left;pointer-events:none;content:""}.c-button[_ngcontent-%COMP%] .c-button__hover-2[_ngcontent-%COMP%]{background-color:var(--mds-button-hover-2-background-color);opacity:var(--mds-button-hover-2-opacity, 0)}.c-button[_ngcontent-%COMP%]:hover, .c-button--state-hover[_ngcontent-%COMP%]{color:var(--mds-button-hover-color, var(--mds-button-color));border-color:var(--mds-button-hover-border-color)}.c-button[_ngcontent-%COMP%]:hover .c-button__hover[_ngcontent-%COMP%], .c-button--state-hover[_ngcontent-%COMP%] .c-button__hover[_ngcontent-%COMP%]{--mds-button-hover-opacity: 1}.c-button[_ngcontent-%COMP%]:hover .c-button__hover-2[_ngcontent-%COMP%], .c-button--state-hover[_ngcontent-%COMP%] .c-button__hover-2[_ngcontent-%COMP%]{--mds-button-hover-2-opacity: 1}.c-button[_ngcontent-%COMP%]:disabled, .c-button--disabled[_ngcontent-%COMP%]{color:var(--mds-button-disabled-color);background-color:var(--mds-button-disabled-background-color);border-color:var(--mds-button-disabled-border-color);cursor:default;opacity:var(--mds-button-disabled-opacity);pointer-events:var(--mds-button-disabled-pointer, none)}.c-button--readonly[_ngcontent-%COMP%]{pointer-events:none}.c-button[_ngcontent-%COMP%] .c-button__inner[_ngcontent-%COMP%]{position:relative;z-index:1;display:flex;flex-direction:var(--mds-button-flex-direction);justify-content:center;align-items:center;font-weight:var(--mds-button-font-weight);font-family:var(--mds-button-font-family);line-height:var(--mds-button-line-height);letter-spacing:var(--mds-button-letter-spacing);text-transform:var(--mds-button-text-transform)}.c-button[_ngcontent-%COMP%] .c-button__text[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:var(--mds-button-text-min-height)}.c-button[_ngcontent-%COMP%] .c-button__text[_ngcontent-%COMP%]:empty{display:none}.c-button[_ngcontent-%COMP%] .c-button__icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin:var(--mds-button-icon-margin)}.c-button[_ngcontent-%COMP%] .c-button__icon-inner[_ngcontent-%COMP%]{--mds-comp-icon-size: var(--mds-button-icon-size);display:flex;justify-content:center;align-items:center;min-width:var(--mds-button-icon-size);max-width:var(--mds-button-icon-size);height:var(--mds-button-icon-size);margin:var(--mds-button-icon-inner-margin, var(--mds-sys-spacing-1))}.c-button[_ngcontent-%COMP%] .c-button__icon-inner[_ngcontent-%COMP%]:empty{display:none}.c-button--icon-right[_ngcontent-%COMP%]{--mds-button-icon-margin: 0 calc((var(--mds-button-icon-size) + var(--mds-button-icon-inner-margin, var(--mds-sys-spacing-1))) / -3) 0 0;--mds-button-flex-direction: row-reverse}.c-button--icon-left[_ngcontent-%COMP%]{--mds-button-icon-margin: 0 0 0 calc((var(--mds-button-icon-size) + var(--mds-button-icon-inner-margin, var(--mds-sys-spacing-1))) / -3);--mds-button-flex-direction: row}.c-button--progress[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;cursor:progress;pointer-events:none}.c-button--progress[_ngcontent-%COMP%] .c-button__hover[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_mds-progress-bar-secondary-indeterminate-translate 1.5s infinite linear;background-color:transparent;opacity:1}@keyframes _ngcontent-%COMP%_mds-progress-bar-secondary-indeterminate-translate{0%{transform:translate(0);animation-timing-function:cubic-bezier(.15,0,.515058,.409685)}25%{transform:translate(37.651913%);animation-timing-function:cubic-bezier(.31033,.284058,.8,.733712)}48.35%{transform:translate(84.386165%);animation-timing-function:cubic-bezier(.4,.627035,.6,.902026)}to{transform:translate(110%)}}.c-button--progress[_ngcontent-%COMP%] .c-button__hover[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_mds-progress-bar-secondary-indeterminate-scale 1.5s infinite linear;background-color:var(--mds-button-progress-background-color)}@keyframes _ngcontent-%COMP%_mds-progress-bar-secondary-indeterminate-scale{0%{transform:scale
101X(.08);animation-timing-function:cubic-bezier(.15,0,.515058,.409685)}19.15%{transform:scaleX(.457104);animation-timing-function:cubic-bezier(.31033,.284058,.8,.733712)}44.15%{transform:scaleX(.72796);animation-timing-function:cubic-bezier(.4,.627035,.6,.902026)}to{transform:scaleX(.08)}}.c-button--progress[_ngcontent-%COMP%]:disabled .c-button__hover[_ngcontent-%COMP%]:after, .c-button--progress--disabled[_ngcontent-%COMP%] .c-button__hover[_ngcontent-%COMP%]:after{background-color:rgba(var(--mds-sys-color-on-neutral-rgb),var(--mds-sys-state-hover))}.c-button--color-primary[_ngcontent-%COMP%]{--mds-button-color: var(--mds-comp-button-filled-primary-color);--mds-button-hover-color: var(--mds-comp-button-filled-primary-hover-color);--mds-button-background-color: var(--mds-comp-button-filled-primary-background-color);--mds-button-hover-background-color: var(--mds-comp-button-filled-primary-hover-background-color);--mds-button-hover-2-background-color: var(--mds-comp-button-filled-primary-hover-2-background-color);--mds-button-hover-2-opacity: var(--mds-comp-button-filled-primary-hover-2-opacity);--mds-button-disabled-color: var(--mds-comp-button-filled-primary-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-filled-primary-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-filled-primary-disabled-border-color);--mds-button-progress-background-color: var(--mds-comp-button-filled-primary-progress-background-color)}.c-button--color-primary.c-button--type-outlined[_ngcontent-%COMP%]{--mds-button-border-width: var(--mds-comp-button-outlined-border-width);--mds-button-color: var(--mds-comp-button-outlined-primary-color);--mds-button-background-color: var(--mds-comp-button-outlined-primary-background-color);--mds-button-border-color: var(--mds-comp-button-outlined-primary-border-color);--mds-button-hover-background-color: var(--mds-comp-button-outlined-primary-hover-background-color);--mds-button-hover-2-background-color: var(--mds-comp-button-outlined-primary-hover-2-background-color);--mds-button-disabled-color: var(--mds-comp-button-outlined-primary-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-outlined-primary-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-outlined-primary-disabled-border-color);--mds-button-progress-background-color: var(--mds-button-hover-background-color)}.c-button--color-primary.c-button--type-text[_ngcontent-%COMP%]{--mds-button-border-width: var(--mds-comp-button-text-border-width);--mds-button-color: var(--mds-comp-button-text-primary-color);--mds-button-background-color: var(--mds-comp-button-text-primary-background-color);--mds-button-hover-background-color: var(--mds-comp-button-text-primary-hover-background-color);--mds-button-hover-2-background-color: var(--mds-comp-button-text-primary-hover-2-background-color);--mds-button-disabled-color: var(--mds-comp-button-text-primary-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-text-primary-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-text-primary-disabled-border-color);--mds-button-progress-background-color: var(--mds-button-hover-background-color)}.c-button--color-secondary[_ngcontent-%COMP%]{--mds-button-color: var(--mds-comp-button-filled-secondary-color);--mds-button-hover-color: var(--mds-comp-button-filled-secondary-hover-color);--mds-button-background-color: var(--mds-comp-button-filled-secondary-background-color);--mds-button-hover-background-color: var(--mds-comp-button-filled-secondary-hover-background-color);--mds-button-hover-2-background-color: var(--mds-comp-button-filled-secondary-hover-2-background-color);--mds-button-disabled-color: var(--mds-comp-button-filled-secondary-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-filled-secondary-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-filled-secondary-disabled-border-color);--mds-button-progress-background-color: var(--mds-button-hover-background-color)}.c-button--color-secondary.c-button--type-outlined[_ngcontent-%COMP%]{--mds-button-border-width: var(--mds-comp-button-outlined-border-width);--mds-button-color: var(--mds-comp-button-outlined-secondary-color);--mds-button-background-color: var(--mds-comp-button-outlined-secondary-background-color);--mds-button-border-color: var(--mds-comp-button-outlined-secondary-border-color);--mds-button-hover-background-color: var(--mds-comp-button-outlined-secondary-hover-background-color);--mds-button-hover-2-background-color: var(--mds-comp-button-outlined-secondary-hover-2-background-color);--mds-button-disabled-color: var(--mds-comp-button-outlined-secondary-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-outlined-secondary-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-outlined-secondary-disabled-border-color)}.c-button--color-secondary.c-button--type-text[_ngcontent-%COMP%]{--mds-button-border-width: var(--mds-comp-button-text-border-width);--mds-button-color: var(--mds-comp-button-text-secondary-color);--mds-button-background-color: var(--mds-comp-button-text-secondary-background-color);--mds-button-hover-background-color: var(--mds-comp-button-text-secondary-hover-background-color);--mds-button-hover-2-background-color: var(--mds-comp-button-text-secondary-hover-2-background-color);--mds-button-disabled-color: var(--mds-comp-button-text-secondary-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-text-secondary-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-text-secondary-disabled-border-color)}.c-button--color-dark[_ngcontent-%COMP%]{--mds-button-color: var(--mds-ref-palette-neutral-99);--mds-button-background-color: var(--mds-ref-palette-neutral-40);--mds-button-hover-background-color: rgba(var(--mds-ref-palette-neutral-99-rgb), var(--mds-sys-state-hover));--mds-button-disabled-color: rgba(var(--mds-ref-palette-neutral-99-rgb), .3);--mds-button-disabled-background-color: rgba(var(--mds-ref-palette-neutral-40-rgb), .65);
101--mds-button-disabled-border-color: var(--mds-button-disabled-background-color);--mds-button-hover-2-background-color: rgba(var(--mds-ref-palette-neutral-99-rgb), .1)}.c-button--color-dark.c-button--type-text[_ngcontent-%COMP%]{--mds-button-border-width: 0;--mds-button-color: var(--mds-ref-palette-neutral-40);--mds-button-background-color: transparent;--mds-button-progress-background-color: var(--mds-button-hover-background-color);--mds-button-hover-background-color: var(--mds-comp-button-text-neutral-hover-background-color)}.c-button--color-dark.c-button--type-outlined[_ngcontent-%COMP%]{--mds-button-border-color: var(--mds-comp-button-outlined-neutral-border-color);--mds-button-color: var(--mds-ref-palette-neutral-40);--mds-button-background-color: transparent;--mds-button-hover-background-color: var(--mds-comp-button-outlined-neutral-hover-background-color);--mds-button-progress-background-color: var(--mds-button-hover-background-color)}.c-button--color-white[_ngcontent-%COMP%]{--mds-button-color: var(--mds-sys-color-neutrals-700);--mds-button-hover-background-color: rgb(var(--mds-sys-color-neutrals-black-rgb), 10%);--mds-button-background-color: var(--mds-sys-color-neutrals-white)}.c-button--color-white.c-button--type-text[_ngcontent-%COMP%]{--mds-button-color: #ffffff;--mds-button-background-color: transparent;--mds-button-hover-background-color: rgb(var(--mds-sys-color-neutrals-white-rgb), 10%)}.c-button--color-white.c-button--type-outlined[_ngcontent-%COMP%]{--mds-button-border-width: var(--mds-comp-button-outlined-border-width);--mds-button-color: #ffffff;--mds-button-background-color: transparent;--mds-button-border-color: #ffffff;--mds-button-disabled-color: var(--mds-comp-button-outlined-neutral-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-outlined-neutral-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-outlined-neutral-disabled-border-color);--mds-button-hover-2-background-color: var(--mds-comp-button-outlined-neutral-hover-2-background-color);--mds-button-hover-background-color: rgb(var(--mds-sys-color-neutrals-white-rgb), 10%)}.c-button--color-light[_ngcontent-%COMP%]{--mds-button-color: var(--mds-comp-button-filled-light-color, var(--mds-sys-color-neutrals-700));--mds-button-hover-color: var(--mds-comp-button-filled-light-hover-color);--mds-button-background-color: var( --mds-comp-button-filled-light-background-color, var(--mds-sys-color-neutrals-white) );--mds-button-hover-background-color: var(--mds-comp-button-filled-light-hover-background-color)}.c-button--color-neutral[_ngcontent-%COMP%]{--mds-button-color: var(--mds-comp-button-filled-neutral-color);--mds-button-hover-color: var(--mds-comp-button-filled-neutral-hover-color);--mds-button-background-color: var(--mds-comp-button-filled-neutral-background-color);--mds-button-hover-background-color: var(--mds-comp-button-filled-neutral-hover-background-color);--mds-button-disabled-color: var(--mds-comp-button-filled-neutral-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-filled-neutral-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-filled-neutral-disabled-border-color);--mds-button-hover-2-background-color: var(--mds-comp-button-filled-neutral-hover-2-background-color)}.c-button--color-neutral.c-button--type-outlined[_ngcontent-%COMP%]{--mds-button-border-width: var(--mds-comp-button-outlined-border-width);--mds-button-color: var(--mds-comp-button-outlined-neutral-color);--mds-button-background-color: var(--mds-comp-button-outlined-neutral-background-color);--mds-button-border-color: var(--mds-comp-button-outlined-neutral-border-color);--mds-button-hover-background-color: var(--mds-comp-button-outlined-neutral-hover-background-color);--mds-button-disabled-color: var(--mds-comp-button-outlined-neutral-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-outlined-neutral-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-outlined-neutral-disabled-border-color);--mds-button-disabled-opacity: var(--mds-comp-button-outlined-neutral-disabled-opacity);--mds-button-hover-2-background-color: var(--mds-comp-button-outlined-neutral-hover-2-background-color)}.c-button--color-neutral.c-button--type-text[_ngcontent-%COMP%]{--mds-button-border-width: var(--mds-comp-button-text-border-width);--mds-button-color: var(--mds-comp-button-text-neutral-color);--mds-button-background-color: var(--mds-comp-button-text-neutral-background-color);--mds-button-hover-background-color: var(--mds-comp-button-text-neutral-hover-background-color);--mds-button-disabled-color: var(--mds-comp-button-text-neutral-disabled-color);--mds-button-disabled-background-color: var(--mds-comp-button-text-neutral-disabled-background-color);--mds-button-disabled-border-color: var(--mds-comp-button-text-neutral-disabled-border-color);--mds-button-hover-2-background-color: var(--mds-comp-button-text-neutral-hover-2-background-color)}.c-button--type-text[_ngcontent-%COMP%]{--mds-button-border-radius: var(--mds-comp-button-text-border-radius);--mds-button-border-width: var(--mds-comp-button-text-border-width);--mds-button-disabled-pointer: var(--mds-comp-button-text-disabled-pointer)}.c-button--type-outlined[_ngcontent-%COMP%]{--mds-button-border-radius: var(--mds-comp-button-outlined-border-radius);--mds-button-border-width: var(--mds-comp-button-outlined-border-width);--mds-button-disabled-pointer: var(--mds-comp-button-outlined-disabled-pointer)}.c-button--type-filled[_ngcontent-%COMP%]{--mds-button-border-radius: var(--mds-comp-button-filled-border-radius);--mds-button-border-width: var(--mds-comp-button-filled-border-width);--mds-button-disabled-pointer: var(--mds-comp-button-filled-disabled-pointer)}.c-button--size-xs[_ngcontent-%COMP%]{--mds-button-height: var(--mds-comp-button-size-xs-height);--mds-button-padding-x: var(--mds-comp-button-size-xs-padding-x);--mds-button-font-size: var(--mds-comp-button-size-xs-font-size);--mds-button-font-weight: var(--mds-comp-button-size-xs-font-weight);--mds-button-icon-size: var(--mds-comp-button-size-xs-icon-size);--mds-button-text-transform: var(--mds-comp-button-size-xs-text-transform)}.c-button--size-xs.c-button--variant-fab[_ngcontent-%COMP%], .c-button--size-xs.c-button--variant-fab-circle[_ng
101content-%COMP%]{--mds-button-icon-size: var(--mds-comp-button-size-xs-icon-size)}.c-button--size-sm[_ngcontent-%COMP%]{--mds-button-height: var(--mds-comp-button-size-sm-height);--mds-button-padding-x: var(--mds-comp-button-size-sm-padding-x);--mds-button-font-size: var(--mds-comp-button-size-sm-font-size);--mds-button-font-weight: var(--mds-comp-button-size-sm-font-weight);--mds-button-icon-size: var(--mds-comp-button-size-sm-icon-size);--mds-button-text-transform: var(--mds-comp-button-size-sm-text-transform)}.c-button--size-sm.c-button--variant-fab[_ngcontent-%COMP%], .c-button--size-sm.c-button--variant-fab-circle[_ngcontent-%COMP%]{--mds-button-icon-size: var(--mds-comp-button-size-sm-icon-size)}.c-button--size-md[_ngcontent-%COMP%]{--mds-button-height: var(--mds-comp-button-size-md-height);--mds-button-padding-x: var(--mds-comp-button-size-md-padding-x);--mds-button-font-size: var(--mds-comp-button-size-md-font-size);--mds-button-font-weight: var(--mds-comp-button-size-md-font-weight);--mds-button-icon-size: var(--mds-comp-button-size-md-icon-size);--mds-button-text-transform: var(--mds-comp-button-size-md-text-transform)}.c-button--size-md.c-button--variant-fab[_ngcontent-%COMP%], .c-button--size-md.c-button--variant-fab-circle[_ngcontent-%COMP%]{--mds-button-icon-size: var(--mds-comp-button-size-lg-icon-size)}.c-button--size-lg[_ngcontent-%COMP%]{--mds-button-height: var(--mds-comp-button-size-lg-height);--mds-button-padding-x: var(--mds-comp-button-size-lg-padding-x);--mds-button-font-size: var(--mds-comp-button-size-lg-font-size);--mds-button-font-weight: var(--mds-comp-button-size-lg-font-weight);--mds-button-icon-size: var(--mds-comp-button-size-lg-icon-size);--mds-button-text-transform: var(--mds-comp-button-size-lg-text-transform);--mds-button-left-icon-margin: var(--mds-comp-button-size-lg-left-icon-margin);--mds-button-right-icon-margin: var(--mds-comp-button-size-lg-right-icon-margin);--mds-button-icon-inner-margin: var(--mds-comp-button-size-lg-icon-inner-margin)}.c-button--size-lg.c-button--variant-fab[_ngcontent-%COMP%], .c-button--size-lg.c-button--variant-fab-circle[_ngcontent-%COMP%]{--mds-button-icon-size: var(--mds-comp-button-size-lg-icon-size);--mds-button-height: 48px;--mds-button-padding-y: 0;--mds-button-padding-x: 0}.c-button--size-xl[_ngcontent-%COMP%]{--mds-button-min-height: var(--mds-comp-button-size-xl-min-height);--mds-button-min-width: var(--mds-comp-button-size-xl-min-width);--mds-button-height: var(--mds-comp-button-size-xl-height);--mds-button-padding-x: var(--mds-comp-button-size-xl-padding-x);--mds-button-padding-y: var(--mds-comp-button-size-xl-padding-y);--mds-button-font-size: var(--mds-comp-button-size-xl-font-size);--mds-button-font-weight: var(--mds-comp-button-size-xl-font-weight);--mds-button-flex-direction: column;--mds-button-padding-bottom: var(--mds-comp-button-size-xl-padding-bottom);--mds-button-icon-margin: var(--mds-comp-button-size-xl-icon-margin);--mds-button-icon-inner-margin: var(--mds-comp-button-size-xl-icon-inner-margin);--mds-button-icon-size: var(--mds-comp-button-size-xl-icon-size);--mds-button-text-min-height: var(--mds-comp-button-size-xl-text-min-height);--mds-button-inner-min-width: var(--mds-comp-button-size-xl-inner-min-width);white-space:normal}.c-button--size-xl.c-button--variant-fab[_ngcontent-%COMP%], .c-button--size-xl.c-button--variant-fab-circle[_ngcontent-%COMP%]{--mds-button-icon-margin: 0;--mds-button-min-width: var(--mds-comp-button-size-xl-min-height);--mds-button-icon-size: var(--mds-comp-button-size-xl-icon-size);--mds-button-padding-y: 0;--mds-button-padding-x: 0}.c-button--variant-fab[_ngcontent-%COMP%], .c-button--variant-fab-circle[_ngcontent-%COMP%]{--mds-button-padding-x: 0;--mds-button-padding-y: 0;--mds-button-width: var(--mds-button-height);--mds-button-icon-margin: 0}.c-button--variant-fab-circle[_ngcontent-%COMP%]{--mds-button-border-radius: var(--mds-sys-shape-full)}'],changeDetection:0})}}return e})()}),KF=b(()=>{});function XF(e){if("number"==typeof e)return`${e}px`;let t=parseFloat(e);return e.includes("%")?`${t}%`:isNaN(t)?e.includes("px")?e.slice(0,e.indexOf("px")+2):"0px":`${t}px`}var JF,eL,tL,rL,nL,iL,sL=b(()=>{}),oL=b(()=>{}),aL=b(()=>{"use strict";KF(),sL(),oL()}),lL=b(()=>{}),uL=b(()=>{}),cL=b(()=>{"use strict";lL(),uL()}),hL=b(()=>{}),dL=b(()=>{"use strict";aL(),cL(),hL()}),pL=b(()=>{"use strict";fy(),dL(),fy(),JF=["*"],eL=(()=>{class e{constructor(){this.borderRadius="default",this.animated=!1}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["mds-skeleton-bone"]],hostVars:4,hostBindings:function(e,t){2&e&&jp("width",t.width)("height",t.height)},inputs:{borderRadius:"borderRadius",width:[2,"width","width",XF],height:[2,"height","height",XF],animated:[2,"animated","animated",ny]},ngContentSelectors:JF,decls:2,vars:8,consts:[[1,"c-skeleton-bone"]],template:function(e,t){1&e&&(bp(),sp(0,"div",0),_p(1),op()),2&e&&Bp("c-skeleton-bone--default","default"===t.borderRadius)("c-skeleton-bone--rounded","rounded"===t.borderRadius)("c-skeleton-bone--circle","circle"===t.borderRadius)("animated",t.animated)},styles:['[_ngcontent-%COMP%]:root{--mds-comp-skeleton-bone-background-color: var(--mds-sys-color-surface-container, #e5e5e5);--mds-comp-skeleton-bone-border-radius: var(--mds-sys-shape-xs);--mds-skeleton-animation-duration: 1.5s;--mds-skeleton-animation-distance: 100%}@keyframes _ngcontent-%COMP%_spinner-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%]{position:relative;display:block}.c-skeleton-bone[_ngcontent-%COMP%]{position:relative;display:block;width:100%;height:100%;overflow:hidden;background-color:var(--mds-comp-skeleton-bone-background-color);border:none;border-radius:var(--mds-comp-skeleton-bone-border-radius)}.c-skeleton-bone.c-skeleton-bone--sharp[_ngcontent-%COMP%]{border-radius:0}.c-skeleton-bone.c-skeleton-bone--rounded[_ngcontent-%COMP%]{border-radius:1000px}.animated[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to right,transparent 0%,var(--mds-comp-skeleton-bone-background-color) 25%,transparent 50%) no-repeat;transform:skew(-45deg);transform-origin:0 0;mix-blend-mode:soft-light;animation:var(--mds-skeleton-animation-duration, 1.5s) _ngcontent-%COMP%_loading ease-
101out infinite;content:"";pointer-events:none;will-change:transform}@keyframes _ngcontent-%COMP%_loading{0%{transform:skew(-45deg) translate(-100%)}to{transform:skew(-45deg) translate(var(--mds-skeleton-animation-distance))}}'],changeDetection:0})}}return e})()}),fL=b(()=>{"use strict";fy(),fy(),tL=["skeleton"],rL=["*"],nL=(()=>{class e{constructor(){this.isAnimated=!1}get skeletonAnimationDistance(){if(this.skeleton){let{width:e,height:t}=this.skeleton.nativeElement.getBoundingClientRect();return`${e+t}px`}return"100%"}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["mds-skeleton"]],viewQuery:function(e,t){if(1&e&&wp(tL,7),2&e){let e;Sp(e=Ep())&&(t.skeleton=e.first)}},inputs:{isAnimated:[2,"isAnimated","isAnimated",ny]},ngContentSelectors:rL,decls:3,vars:4,consts:[["skeleton",""],[1,"c-skeleton"]],template:function(e,t){1&e&&(bp(),sp(0,"div",1,0),_p(2),op()),2&e&&(jp("--mds-skeleton-animation-distance",t.skeletonAnimationDistance),Bp("animation-active",t.isAnimated))},styles:['[_ngcontent-%COMP%]:root{--mds-comp-skeleton-bone-background-color: var(--mds-sys-color-surface-container, #e5e5e5);--mds-comp-skeleton-bone-border-radius: var(--mds-sys-shape-xs);--mds-skeleton-animation-duration: 1.5s;--mds-skeleton-animation-distance: 100%}@keyframes _ngcontent-%COMP%_spinner-rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[_nghost-%COMP%]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center}.c-skeleton[_ngcontent-%COMP%]{position:relative;display:block;width:100%;height:100%;overflow:hidden}.c-skeleton[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(to right,transparent 0%,var(--mds-comp-skeleton-bone-background-color) 25%,transparent 50%) no-repeat;transform:skew(-45deg);transform-origin:0 0;mix-blend-mode:soft-light;pointer-events:none;will-change:transform}.c-skeleton.animation-active[_ngcontent-%COMP%]:after{animation:var(--mds-skeleton-animation-duration, 1.5s) _ngcontent-%COMP%_skeletonLoadingAnimation ease-out infinite;content:""}@keyframes _ngcontent-%COMP%_skeletonLoadingAnimation{0%{transform:skew(-45deg) translate(-100%)}to{transform:skew(-45deg) translate(var(--mds-skeleton-animation-distance))}}'],changeDetection:0})}}return e})()}),mL=b(()=>{"use strict";fy(),iL=(()=>{class e{static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵmod=bd({type:e})}static{this.ɵinj=Zi({})}}return e})()}),gL=b(()=>{"use strict";mL(),fL(),pL()});function yL(e,t){return{type:kL.Trigger,name:e,definitions:t,options:{}}}function vL(e,t=null){return{type:kL.Animate,styles:t,timings:e}}function bL(e){return{type:kL.Style,styles:e,offset:null}}function _L(e,t,r){return{type:kL.State,name:e,styles:t,options:r}}function wL(e){return{type:kL.Keyframes,steps:e}}function SL(e,t,r=null){return{type:kL.Transition,expr:e,animation:t,options:r}}function EL(e,t=null){return{type:kL.Reference,animation:e,options:t}}var kL,CL,DL,TL,xL,OL,AL,PL,IL,RL,NL,FL,LL=b(()=>{"use strict";kL=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}(kL||{}),CL="*",DL=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}
101_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},TL=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,r=0,n=0,i=this.players.length;0==i?queueMicrotask(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==i&&this._onFinish()}),e.onDestroy(()=>{++r==i&&this._onDestroy()}),e.onStart(()=>{++n==i&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(e=>{let r=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(r)})}getPosition(){let e=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=e?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},xL="!"}),ML=b(()=>{"use strict";LL()}),jL=b(()=>{"use strict";ML(),yL("puiBlockInitialRenderAnim",[SL(":enter",[])])}),BL=b(()=>{"use strict";OL="{{duration}}ms ease",AL="{{duration}}ms ease",PL="{{duration}}ms ease",IL={params:{duration:250}},RL={params:{duration:100}},NL="250ms ease"}),zL=b(()=>{"use strict";ML(),BL(),EL([bL({opacity:"{{ start }}"}),vL("300ms",bL({opacity:"{{ end }}"}))],{params:{start:0,end:1}}),yL("puiFadeIn",[_L("void",bL({opacity:0})),_L("*",bL({opacity:1})),SL("void => *",[vL(OL)],IL)]),yL("puiFadeInOutDisplay",[SL(":enter",[bL({opacity:0}),vL(OL,bL({opacity:1}))],IL),SL(":leave",[vL(PL,bL({opacity:0}))],IL)]),yL("puiFadeInDisplay",[SL(":enter",[bL({opacity:0}),vL(OL,bL({opacity:1}))],IL)])}),VL=b(()=>{"use strict";ML(),BL(),FL=yL("puiFadeInOut",[SL("* => enter",[bL({opacity:0,transform:"scale(0.95)"}),vL(OL,bL({opacity:1,transform:"scale(1)"}))],RL),SL("* => exit",[bL({opacity:1,transform:"scale(1)"}),vL(PL,bL({opacity:0,transform:"scale(0.95)"}))],RL)]),yL("puiFadeInOutDisplayAnim",[SL(":enter",[bL({opacity:0,visibility:"hidden"}),vL(OL,bL({visibility:"visible",opacity:1}))],IL),SL(":leave",[bL({position:"absolute"}),vL(PL,bL({opacity:0,visibility:"hidden"}))],IL)])}),$L=b(()=>{"use strict";ML(),EL([bL({opacity:"{{ start }}"}),vL("300ms",bL({opacity:"{{ end }}"}))],{params:{start:1,end:0}})}),UL=b(()=>{"use strict";ML(),yL("puiFadeSlide",[SL(":enter",[bL({opacity:0,transform:"translateY({{up}})"}),vL("200ms ease-out",bL({opacity:1,transform:"translateY(0px)"}))]),SL(":leave",[vL("200ms ease-out",bL({opacity:0,transform:"translateY({{up}})"}))])])}),qL=b(()=>{"use strict";ML(),yL("puiParentFakeAnim",[SL(":enter",[])])}),HL=b(()=>{"use strict";ML(),BL(),yL("mdsSlide",[_L("false",bL({maxHeight:"0",opacity:"0",overflow:"hidden"})),_L("true",bL({maxHeight:"{{maxHeight}}
101",opacity:"1",overflow:"hidden"}),{params:{maxHeight:"*"}}),SL("false => true",[vL(AL)],IL),SL("true => false",[vL(AL)],IL)]),yL("puiSlideAnim",[SL(":enter",[bL({height:0,visibility:"hidden",opacity:0}),vL(AL,bL({height:CL,visibility:CL,opacity:CL}))],IL),SL(":leave",[vL(PL,bL({height:0,visibility:"hidden",opacity:0}))],IL)]),yL("puiSlideWidthAnim",[SL(":enter",[bL({width:0,visibility:"hidden",opacity:0,overflow:"hidden"}),vL(AL,bL({width:CL,visibility:CL,opacity:CL}))],IL),SL(":leave",[bL({overflow:"hidden"}),vL(PL,bL({width:0,visibility:"hidden",opacity:0}))],IL)]),yL("puiSlideXAnim",[SL(":enter",[bL({opacity:0,visibility:"hidden",transform:"translateX(100%)"}),vL(OL,bL({visibility:"visible",opacity:1,transform:"translateX(0)"}))],IL),SL(":leave",[bL({position:"absolute"}),vL(PL,bL({opacity:0,visibility:"hidden",transform:"translateX(100%)"}))],IL)])}),GL=b(()=>{"use strict";ML(),BL(),yL("puiSlideHeightAnim",[SL(":leave",[vL(NL,wL([bL({opacity:1,offset:0}),bL({opacity:0,height:"*",offset:.25}),bL({opacity:0,height:0,offset:1})]))]),SL(":enter",[vL(NL,wL([bL({opacity:0,height:0,offset:0}),bL({opacity:0,height:"*",offset:.25}),bL({opacity:1,offset:1})]))])])}),WL=b(()=>{"use strict";ML(),BL(),yL("puiSlideWith",[_L("false",bL({maxWidth:"0",opacity:"0",overflow:"hidden"})),_L("true",bL({maxWidth:"{{maxWidth}}",opacity:"1",overflow:"hidden"}),{params:{maxWidth:"*"}}),SL("false => true",[vL(AL)],IL),SL("true => false",[vL(AL)],IL)])}),QL=b(()=>{"use strict";jL(),zL(),VL(),$L(),UL(),qL(),HL(),GL(),WL()}),ZL=b(()=>{"use strict";QL(),BL()});function YL(e,t){1&e&&ip(0,"span",2),2&e&&ep("innerText",t)}function KL(e,t){}function XL(e,t){1&e&&Fd(0,KL,0,0,"ng-template",3),2&e&&ep("ngTemplateOutlet",t)}var JL,eM,tM,rM,nM,iM,sM=b(()=>{"use strict";dv(),fy(),ZL(),fy(),JL=(()=>{class e{constructor(){this.cdr=ls(dy),this.type="base",this.width="medium",this.animationState="enter",this.wrapBalancer=!1,this.animationStateChanged$=new wm,this.resize$=new wm}get asString(){return"string"==typeof this.tooltip&&this.tooltip}get asTemplate(){return this.tooltip instanceof Vm?this.tooltip:null}onAnimationStart(e){this.animationStateChanged$.emit(e)}onAnimationDone(e){this.animationStateChanged$.emit(e)}startExitAnimation(){this.animationState="exit",this.cdr.markForCheck()}startOpenAnimation(){this.animationState="enter",this.cdr.markForCheck()}markForCheck(){this.cdr.markForCheck()}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["pui-tooltip"]],inputs:{type:"type",width:"width",animationState:"animationState",wrapBalancer:[2,"wrapBalancer","wrapBalancer",ny],tooltip:"tooltip"},outputs:{animationStateChanged$:"animationStateChanged$",resize$:"resize$"},decls:4,vars:17,consts:[["data-qa","tooltip-container",1,"tooltip"],["data-qa","tooltip-container-content",1,"tooltip__inner"],[3,"innerText"],[3,"ngTemplateOutlet"]],template:function(e,t){if(1&e&&(rp(0,"div",0),gp("@puiFadeInOut.start",function(e){return t.onAnimationStart(e)})("@puiFadeInOut.done",function(e){return t.onAnimationDone(e)}),rp(1,"div",1),Gd(2,YL,1,1,"span",2),Gd(3,XL,1,1,null,3),np()()),2&e){let e,r;Bp("tooltip--w-small","small"===t.width)("tooltip--w-medium","medium"===t.width)("tooltip--w-large","large"===t.width)("tooltip--w-x-large","xLarge"===t.width)("tooltip--w-auto","auto"===t.width)("tooltip--w-nowrap","nowrap"===t.width)("tooltip--wrap-balancer",t.wrapBalancer),ep("@puiFadeInOut",t.animationState),fc(2),Qd((e=t.asString)?2:-1,e),fc(),Qd((r=t.asTemplate)?3:-1,r)}},dependencies:[Yy],styles:[".tooltip[_ngcontent-%COMP%]{--color: var(--pui-comp-tooltip-color, var(--mds-comp-tooltip-color, #ffffff));--background-color: var( --pui-comp-tooltip-background-color, var(--mds-comp-tooltip-background-color, rgba(97, 97, 97, 90%)) );--font-size: var(--pui-comp-tooltip-font-size, var(--mds-comp-tooltip-font-size, 12px));--line-height: var(--pui-comp-tooltip-line-height, var(--mds-comp-tooltip-line-height, 1.2));--padding-y: var(--pui-comp-tooltip-padding-y, var(--mds-comp-tooltip-padding-y, 8px));--padding-x: var(--pui-comp-tooltip-padding-x, var(--mds-comp-tooltip-padding-x, 10px));--border-radius: var(--pui-comp-tooltip-border-radius, var(--mds-comp-tooltip-border-radius, 4px));--font-family: var(--pui-comp-tooltip-font-family, var(--mds-comp-font-family-base, var(--mds-font-family-base)));--font-weight: var(--pui-comp-tooltip-font-weight, var(--mds-comp-tooltip-font-weight));position:relative;z-index:1;max-width:var(--pui-comp-tooltip-max-width, var(--mds-comp-tooltip-max-width, 250px));font-weight:400}@media (min-width: 568px){.tooltip[_ngcontent-%COMP%]{transition-timing-function:var(--pui-sys-transition-function, cubic-bezier(.5, .25, 0, 1));transition-duration:var(--pui-sys-transition-duration, .25s);transition-property:opacity}}.tooltip__inner[_ngcontent-%COMP%]{display:inline-block;width:auto;padding:var(--padding-y) var(--padding-x);color:var(--color);font-weight:var(--font-weight);font-size:var(--font-size);font-family:var(--font-family);line-height:var(--line-height);word-wrap:break-word;background-color:var(--background-color);border-radius:var(--border-radius)}
101.tooltip--w-small[_ngcontent-%COMP%]{max-width:200px}.tooltip--w-medium[_ngcontent-%COMP%]{max-width:250px}.tooltip--w-large[_ngcontent-%COMP%]{max-width:300px}.tooltip--w-x-large[_ngcontent-%COMP%]{max-width:385px}.tooltip--w-auto[_ngcontent-%COMP%]{max-width:none}.tooltip--w-nowrap[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}.tooltip--wrap-balancer[_ngcontent-%COMP%]{text-wrap:balance}"],data:{animation:[FL]},changeDetection:0})}}return e})()}),oM=b(()=>{"use strict";ur(),FF(),XN(),fy(),nI(),Li(),sM(),fy(),eM=(()=>{let e=class e{constructor(){this.overlay=ls(OF),this.elementRef=ls(Mf),this.cdr=ls(dy),this.closed$=new wm,this.position="top",this.type="base",this.width="medium",this.showDelay=0,this.hideDelay=0,this.opened=!1,this.disabled=!1,this.wrapBalancer=!1,this.inside=!1}get showDelayValue(){return this.showDelay??150}get hideDelayValue(){return this.hideDelay??150}createEventListeners(){let e=Mn(this.elementRef.nativeElement,"mouseenter"),t=Mn(this.elementRef.nativeElement,"mouseleave");e.pipe(Ai(e=>Gr(e.type).pipe(ci(this.showDelayValue),Ii(t))),AP(this)).subscribe(()=>this.show()),t.pipe(Ai(t=>Gr(t.type).pipe(ci(this.hideDelayValue),Ii(e))),AP(this)).subscribe(()=>this.hide())}attach(){if(this.overlayRef)return;this.opened=!0,this.overlayRef=this.overlay.create(this.getOverlayConfig());let e=new VN(JL);this.componentRef=this.overlayRef?.attach(e),this.overlayRef.updatePosition(),this.componentRef.instance.tooltip=this.tooltip,this.componentRef.instance.type=this.type,this.componentRef.instance.width=this.width,this.componentRef.instance.wrapBalancer=this.wrapBalancer,this.componentRef.instance.resize$?.pipe(AP(this)).subscribe(()=>{this.overlayRef?.updatePosition()}),this.componentRef.instance.markForCheck()}detach(){this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0),this.opened=!1,this.closed$.emit()}getOverlayConfig(){return new fF({hasBackdrop:!1,disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),positionStrategy:this.overlay.position().flexibleConnectedTo(this.elementRef).withPositions(this.inside?this.getInnerPositions():this.getPositions()).withTransformOriginOn(".tooltip")})}getPositions(){let e=[],t={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-4},r={originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:4},n={originX:"end",originY:"top",overlayX:"start",overlayY:"top",offsetX:4},i={originX:"end",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:4},s={originX:"start",originY:"top",overlayX:"end",overlayY:"top",offsetX:-4},o={originX:"start",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetX:-4},a={originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:4},l={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-4},u={originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:4},c={originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:4},h={originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-4},d={originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-4};switch(this.position){case"top":e=[t,a];break;case"topLeft":e=[h,a];break;case"topRight":e=[d,a];break;case"right":e=[r,l];break;case"rightTop":e=[n,s];break;case"rightBottom":e=[i,o];break;case"bottom":e=[a,t];break;case"bottomRight":e=[u,d];break;case"bottomLeft":e=[c,h];break;case"left":e=[l,r];break;case"leftTop":e=[s,n];break;case"leftBottom":e=[o,i]}return e}getInnerPositions(){let e=[],t={originX:"center",originY:"top",overlayX:"center",overlayY:"top",offsetY:4},r={originX:"center",originY:"bottom",overlayX:"center",overlayY:"bottom",offsetY:-4},n={originX:"end",originY:"center",overlayX:"end",overlayY:"center",offsetX:-4},i={originX:"start",originY:"center",overlayX:"start",overlayY:"center",offsetX:4},s={originX:"start",originY:"top",overlayX:"start",overlayY:"top",offsetX:4,offsetY:4},o={originX:"end",originY:"top",overlayX:"end",overlayY:"top",offsetX:-4,offsetY:4},a={originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:4,offsetY:-4},l={originX:"end",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetX:-4,offsetY:-4},u={originX:"end",originY:"top",overlayX:"end",overlayY:"top",offsetX:-4,offsetY:4},c={originX:"end",originY:"bottom",overlayX:"end",overlayY:"bottom",offsetX:-4,offsetY:-4},h={originX:"start",originY:"top",overlayX:"start",overlayY:"top",offsetX:4,offsetY:4},d={originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom",offsetX:4,offsetY:-4},p={originX:"center",originY:"center",overlayX:"center",overlayY:"center"};switch(this.position){case"top":e=[t,r];break;case"topLeft":e=[s,a];break;case"topRight":e=[o,l];break;case"right":e=[n,i];break;case"rightTop":e=[u,h];break;case"rightBottom":e=[c,d];break;case"bottom":e=[r,t];break;case"bottomRight":e=[l,o];break;case"bottomLeft":e=[a,s];break;case"left":e=[i,n];break;case"leftTop":e=[h,u];break;case"leftBottom":e=[d,c];break;default:e=[p]}return e}ngOnInit(){this.createEventListeners()}ngOnChanges(e){e.disabled&&this.hide(),e.tooltip&&(this.tooltip?this.componentRef&&(this.componentRef.instance.tooltip=this.tooltip,this.componentRef.instance.markForCheck()):this.hide())}ngOnDestroy(){this.detach()}show(){if(!this.disabled&&this.tooltip){if(this.opened&&"exit"===this.componentRef?.instance.animationState)return void this.componentRef?.instance.startOpenAnimation();this.attach()}}hide(){this.opened&&(this.componentRef?.instance.animationStateChanged$.pipe(AP(this,"show")).subscribe(e=>{"done"===e.phaseName&&"exit"===e.toState&&this.detach()}),this.componentRef?.instance.startExitAnimation())}toggle(){this.opened?this.hide():this.show()}detectChanges(){this.cdr.detectChanges()}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵdir=Sd({type:e,selectors:[["","puiTooltip",""]],inputs:{tooltip:[0,"puiTooltip","tooltip"],position:[0,"puiTooltipPosition","position"],type:[0,"puiTooltipType","type"],width:[0,"puiTooltipWidth","width"],showDelay:[0,"puiTooltipShowDelay","showDelay"],hideDelay:[0,"puiTooltipHideDelay","hideDelay"],opened:[2,"puiTooltipOpened","opened",ny],disabled:[2,"puiTooltipDisabled","disabled",ny],wrapBalancer:[2,"puiTooltipWra
101pBalancer","wrapBalancer",ny],inside:[2,"puiTooltipInside","inside",ny]},outputs:{closed$:"puiTooltipClosed$"},exportAs:["puiTooltip"],features:[Cf]})}};return e=Kt([TP()],e),e})()}),aM=b(()=>{"use strict";fy(),fy(),dv(),tM=e=>({"toggle--on":e}),rM=(()=>{class e{constructor(){this.value=!1,this.valueChange=new wm}toggle(){this.value=!this.value,this.valueChange.emit(this.value)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["px-pricing-toggle"]],inputs:{value:"value"},outputs:{valueChange:"valueChange"},standalone:!1,decls:4,vars:3,consts:[[1,"toggle",3,"click","ngClass"],[1,"toggle__thumb"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 8 12"],["d","M7.00047 11.2892C7.39047 10.8992 7.39047 10.2692 7.00047 9.87925L3.12047 5.99925L7.00047 2.11925C7.39047 1.72925 7.39047 1.09925 7.00047 0.709246C6.61047 0.319245 5.98047 0.319245 5.59047 0.709246L1.00047 5.29925C0.610469 5.68925 0.610469 6.31925 1.00047 6.70925L5.59047 11.2992C5.97047 11.6792 6.61047 11.6792 7.00047 11.2892Z"]],template:function(e,t){1&e&&(rp(0,"div",0),gp("click",function(){return t.toggle()}),rp(1,"div",1),dl.lFrame.currentNamespace=cl,rp(2,"svg",2),ip(3,"path",3),np()()()),2&e&&ep("ngClass",pf(1,tM,t.value))},dependencies:[Zy],styles:[".toggle[_ngcontent-%COMP%]{position:relative;box-sizing:border-box;width:60px;height:28px;padding:2px;background-color:var(--mds-sys-color-on-surface-variant);border-radius:1000px;cursor:pointer;transition:background-color .25s ease-out}.toggle__thumb[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:24px;height:24px;background-color:var(--mds-sys-color-surface-bright);border-radius:50%;transform:translate(32px) rotate(180deg);transition:transform .25s ease-out}.toggle__thumb[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:8px;height:12px}.toggle--on[_ngcontent-%COMP%] .toggle__thumb[_ngcontent-%COMP%]{transform:translate(0)}.toggle[_ngcontent-%COMP%]:hover{background-color:var(--mds-sys-color-on-surface-bright)}"],changeDetection:0})}}return e})()}),lM=b(()=>{"use strict";fy(),XI(),fy(),dv(),aM(),x_(),nM=e=>({"period-selector--disabled":e}),iM=(()=>{class e{constructor(){this.BillingPeriod=qP,this.disabled=!1,this.value=qP.MONTHLY,this.valueChange=new wm}changePeriod(e){this.value=e?qP.YEARLY:qP.MONTHLY,this.valueChange.emit(this.value)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["px-pricing-period-selector"]],inputs:{disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},standalone:!1,decls:8,vars:14,consts:[[1,"period-selector",3,"ngClass"],[1,"period-selector__label"],[1,"period-selector__toggle",3,"valueChange","value"]],template:function(e,t){1&e&&(rp(0,"div",0)(1,"span",1),Xp(2),yf(3,"translate"),np(),rp(4,"px-pricing-toggle",2),gp("valueChange",function(e){return t.changePeriod(e)}),np(),rp(5,"span",1),Xp(6),yf(7,"translate"),np()()),2&e&&(ep("ngClass",pf(12,nM,t.disabled)),fc(),Bp("period-selector__label--selected",t.value===t.BillingPeriod.YEARLY),fc(),ef(vf(3,8,"Billed yearly")),fc(2),ep("value",t.value===t.BillingPeriod.YEARLY),fc(),Bp("period-selector__label--selected",t.value===t.BillingPeriod.MONTHLY),fc(),ef(vf(7,10,"Billed monthly")))},dependencies:[Zy,rM,E_],styles:[".period-selector[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;font-weight:500;column-gap:var(--mds-sys-spacing-4);transition:opacity .25s ease-out}.period-selector--disabled[_ngcontent-%COMP%]{pointer-events:none}.period-selector__toggle[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none}.period-selector__label[_ngcontent-%COMP%]{color:var(--mds-sys-color-neutral);font-size:14px;transition:color .25s ease-out}.period-selector__label--selected[_ngcontent-%COMP%]{color:var(--mds-sys-color-on-surface-variant)}.period-selector__label[_ngcontent-%COMP%]:first-child{justify-self:end;text-align:right}.period-selector__label[_ngcontent-%COMP%]:last-child{justify-self:start}"],changeDetection:0})}}return e})()});function uM(e,t){if(1&e&&(rp(0,"li"),Xp(1),np()),2&e){let e=t.$implicit;fc(),ef(e)}}function cM(e,t){if(1&e&&(rp(0,"ul",3),Yd(1,uM,2,1,"li",null,Zd),np()),2&e){let e=yp(2).$implicit;fc(),Kd(e.hint)}}function hM(e,t){if(1&e&&Gd(0,cM,3,0,"ul",3),2&e){let e=yp().$implicit;Qd(null!=e.hint&&e.hint.length?0:-1)}}function dM(e,t){if(1&e&&(rp(0,"span",2),Xp(1),Fd(2,hM,1,1,"ng-template",null,0,Sf),np()),2&e){let e=t.$implicit,r=kp(3);ep("ngClass",pf(5,pM,!(null==e.hint||!e.hint.length)))("puiTooltip",r)("puiTooltipDisabled",!(null!=e.hint&&e.hint.length))("puiTooltipShowDelay",10),fc(),tf(" ",e.text," ")}}var pM,fM,mM=b(()=>{"use strict";fy(),dv(),oM(),pM=e=>
101({"plan-feature-part--with-tooltip":e}),fM=(()=>{class e{static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["px-plan-feature"]],inputs:{feature:"feature"},standalone:!1,decls:3,vars:0,consts:[["tooltipTmpl",""],["data-qa","rpt-plan-feature",1,"plan-feature"],[1,"plan-feature-part",3,"ngClass","puiTooltip","puiTooltipDisabled","puiTooltipShowDelay"],[1,"plan-feature__tooltip"]],template:function(e,t){1&e&&(rp(0,"div",1),Yd(1,dM,4,7,"span",2,Zd),np()),2&e&&(fc(),Kd(null==t.feature?null:t.feature.parts))},dependencies:[Zy,eM],styles:[".plan-feature[_ngcontent-%COMP%]{font-weight:var(--mds-comp-pricing-plan-card-feature-font-weight, 400);font-size:14px;line-height:var(--mds-comp-pricing-plan-card-feature-line-height, 20px)}.plan-feature__tooltip[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.plan-feature__tooltip[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--mds-comp-pricing-plan-card-feature-tooltip-margin-bottom, 0)}.plan-feature-part[_ngcontent-%COMP%]{position:relative}.plan-feature-part--with-tooltip[_ngcontent-%COMP%]{border-bottom:1px dashed var(--mds-sys-color-on-surface-bright);cursor:pointer}.plan-feature-part--with-tooltip[_ngcontent-%COMP%]:hover .plan-feature-part__tooltip[_ngcontent-%COMP%]{transform:scale(1);opacity:1}"],changeDetection:0})}}return e})()});function gM(e,t){if(1&e&&(rp(0,"span",1),Xp(1),np()),2&e){let e=yp();fc(),ef(e.promoTitle)}}function yM(e,t){if(1&e&&(rp(0,"span",15),Xp(1),np(),rp(2,"span",16),Xp(3),np()),2&e){let e=yp(2);fc(),ef(e.symbol),fc(2),ef(e.value)}}function vM(e,t){if(1&e&&(rp(0,"span",16),Xp(1),np(),rp(2,"span",15),Xp(3),np()),2&e){let e=yp(2);fc(),ef(e.value),fc(2),ef(e.symbol)}}function bM(e,t){if(1&e&&(rp(0,"p",10)(1,"span",12)(2,"span",13),Gd(3,yM,4,2)(4,vM,4,2),np()(),rp(5,"span",14)(6,"span",13),Xp(7),yf(8,"currency"),np(),rp(9,"span"),Xp(10),yf(11,"translate"),np()()()),2&e){let e=yp(),t=yp();fc(3),Qd(e.symbolFirst?3:4),fc(2),Vd("data-qa-value",t.discountPriceMonthly()),fc(2),tf(" ",_f(8,4,t.discountPriceMonthly(),t.currencyCode(),"symbol","1.0-0")," "),fc(3),tf("/",vf(11,9,"mo"))}}function _M(e,t){if(1&e&&(rp(0,"span",18),Xp(1),np(),rp(2,"span",19),Xp(3),np()),2&e){let e=yp(2);fc(),ef(e.symbol),fc(2),ef(e.value)}}function wM(e,t){if(1&e&&(rp(0,"span",19),Xp(1),np(),rp(2,"span",18),Xp(3),np()),2&e){let e=yp(2);fc(),ef(e.value),fc(2),ef(e.symbol)}}function SM(e,t){if(1&e&&(rp(0,"p",11)(1,"span",17)(2,"span",13),Gd(3,_M,4,2)(4,wM,4,2),np(),rp(5,"span"),Xp(6),yf(7,"translate"),np()()()),2&e){let e=yp();fc(3),Qd(e.symbolFirst?3:4),fc(3),tf("/",vf(7,2,"mo"))}}function EM(e,t){if(1&e&&Gd(0,bM,12,11,"p",10)(1,SM,8,4,"p",11),2&e){Qd(null!==yp().discountPriceMonthly()?0:1)}}function kM(e,t){if(1&e&&(rp(0,"p",20)(1,"span",22)(2,"span",23),Xp(3),yf(4,"currency"),np()(),rp(5,"span",24)(6,"span",25),Xp(7),yf(8,"currency"),yf(9,"translate"),np()()()),2&e){let e=yp(2);fc(2),Vd("data-qa-value",e.priceYearly()),fc(),ef(_f(4,5,e.priceYearly(),e.currencyCode(),"symbol","1.0-0")),fc(3),Vd("data-qa-value",e.discountPriceYearly()),fc(),rf(" ",_f(8,10,e.discountPriceYearly(),e.currencyCode(),"symbol","1.0-0"),"/",vf(9,15,"year")," ")}}function CM(e,t){if(1&e&&(rp(0,"p",21)(1,"span",17)(2,"span",26),Xp(3),yf(4,"currency"),yf(5,"translate"),np()()()),2&e){let e=yp(2);fc(2),Vd("data-qa-value",e.priceYearly()),fc(),rf("",_f(4,3,e.priceYearly(),e.currencyCode(),"symbol","1.0-0"),"/",vf(5,8,"year"))}}function DM(e,t){if(1&e&&Gd(0,kM,10,17,"p",20)(1,CM,6,10,"p",21),2&e){Qd(null!==yp().discountPriceYearly()?0:1)}}function TM(e,t){if(1&e&&ip(0,"px-plan-feature",6),2&e){ep("feature",t.$implicit)}}function xM(e,t){1&e&&(rp(0,"div",8),Xp(1),yf(2,"translate"),np()),2&e&&(fc(),tf(" ",vf(2,1,"Subscribed")," "))}function OM(e,t){if(1&e){let e=dp();rp(0,"mds-button",27),gp("click$",function(){return go(e),yo(yp().buy())}),Xp(1),np()}if(2&e){let e=yp();ep("hasProgress",e.actionPerformed)("readonly",e.actionBlocked)("type",e.highlighted?"filled":"outlined")("color",e.highlighted?"primary":"secondary")("disabled",e.actionDisabled),fc(),tf(" ",e.actionLabel," ")}}var AM,PM=b(()=>{"use strict";fy(),fy(),YF(),mM(),dv(),x_(),AM=(()=>{class e{constructor(){this._locale=ls(Ug),this.priceMonthly=ay(null),this.priceYearly=ay(null),this.discountPriceMonthly=ay(null),this.discountPriceYearly=ay(null),this.currencyCode=
101ay("USD"),this.highlighted=!1,this.promoTitle=null,this.actionBlocked=!1,this.actionDisabled=!1,this.actionPerformed=!1,this.buy$=new wm,this.priceMonthlyParts=Wg(()=>{let e=this.priceMonthly(),t=this.currencyCode();if(null===e)return null;try{let r=new Intl.NumberFormat(this._locale,{style:"currency",currency:t,maximumFractionDigits:0}).formatToParts(e),n=r.findIndex(e=>"currency"===e.type);return{symbol:r[n]?.value??t,value:r.filter(e=>"currency"!==e.type&&"literal"!==e.type).map(e=>e.value).join(""),symbolFirst:0===n}}catch{return null}})}buy(){this.buy$.emit()}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["px-pricing-plan-card"]],inputs:{priceMonthly:[1,"priceMonthly"],priceYearly:[1,"priceYearly"],discountPriceMonthly:[1,"discountPriceMonthly"],discountPriceYearly:[1,"discountPriceYearly"],currencyCode:[1,"currencyCode"],highlighted:"highlighted",title:"title",features:"features",subscribed:"subscribed",promoTitle:"promoTitle",actionBlocked:"actionBlocked",actionDisabled:"actionDisabled",actionPerformed:"actionPerformed",actionLabel:"actionLabel"},outputs:{buy$:"buy$"},standalone:!1,decls:14,vars:10,consts:[["data-qa","rpt-plan",1,"plan-card"],["data-qa","rpt-plan-promo-title",1,"plan-card__promo-title"],["data-qa","rpt-plan-body",1,"plan-card__body"],["data-qa","rpt-plan-title",1,"plan-card__title"],["data-qa","rpt-plan-price",1,"plan-card__price","price"],["data-qa","rpt-plan-features",1,"plan-card__features"],[3,"feature"],["data-qa","rpt-plan-footer",1,"plan-card__action"],["data-qa","rpt-plan-label",1,"plan-card__subscribed-label"],["data-qa","rpt-plan-button",3,"hasProgress","readonly","type","color","disabled"],["data-qa","rpt-plan-newprice-monthly",1,"price__monthly"],["data-qa","rpt-plan-price-monthly",1,"price__monthly"],["data-qa","rpt-plan-newprice-old-monthly",1,"price__value","price__value--old"],[1,"price__currency"],["data-qa","rpt-plan-newprice-new-monthly-value",1,"price__value","price__value--new"],["data-qa","rpt-plan-newprice-old-monthly-currency",1,"price__symbol"],["data-qa","rpt-plan-newprice-old-monthly-value"],[1,"price__value"],["data-qa","rpt-plan-price-monthly-currency",1,"price__symbol"],["data-qa","rpt-plan-price-monthly-value"],["data-qa","rpt-plan-newprice-old-yearly",1,"price__yearly"],["data-qa","rpt-plan-price-yearly",1,"price__yearly"],[1,"price__value","price__value--old"],["data-qa","rpt-plan-newprice-old-yearly-value"],["data-qa","rpt-plan-newprice-new-yearly",1,"price__value","price__value--new"],["data-qa","rpt-plan-newprice-new-yearly-value"],["data-qa","rpt-plan-price-yearly-value"],["data-qa","rpt-plan-button",3,"click$","hasProgress","readonly","type","color","disabled"]],template:function(e,t){if(1&e&&(rp(0,"div",0),Gd(1,gM,2,1,"span",1),rp(2,"div",2)(3,"h3",3),Xp(4),np(),rp(5,"div",4),Gd(6,EM,2,1),Gd(7,DM,2,1),np(),rp(8,"div",5),Yd(9,TM,1,1,"px-plan-feature",6,Zd),np(),rp(11,"div",7),Gd(12,xM,3,3,"div",8)(13,OM,2,6,"mds-button",9),np()()()),2&e){let e;Bp("plan-card--highlighted",t.highlighted)("plan-card--has-discount",null!==t.discountPriceMonthly()||null!==t.discountPriceYearly()),Vd("data-qa-plan-name",t.title?t.title.toLowerCase():null),fc(),Qd(t.promoTitle?1:-1),fc(3),ef(t.title),fc(2),Qd((e=t.priceMonthlyParts())?6:-1,e),fc(),Qd(null!==t.priceYearly()?7:-1),fc(2),Kd(t.features),fc(3),Qd(t.subscribed?12:13)}},dependencies:[ZF,fM,sv,E_],styles:[".plan-card[_ngcontent-%COMP%]{position:relative;box-sizing:border-box;width:240px}@media (min-width: 500px){.plan-card[_ngcontent-%COMP%]{height:100%;padding-top:calc(var(--mds-sys-spacing-2) + var(--mds-comp-pricing-plan-card-promo-title-line-height, 20px))}}.plan-card__promo-title[_ngcontent-%COMP%]{top:0;left:0;display:flex;justify-content:center;width:100%;margin-bottom:var(--mds-sys-spacing-2);color:var(--mds-comp-pricing-plan-card-promo-title-color, var(--mds-sys-color-primary));font-weight:500;font-size:16px;line-height:var(--mds-comp-pricing-plan-card-promo-title-line-height, 20px);white-space:nowrap;text-transform:uppercase}@media (min-width: 500px){.plan-card__promo-title[_ngcontent-%COMP%]{position:absolute;margin-bottom:0}}.plan-card__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;box-sizing:border-box;height:100%;
101min-height:var(--mds-comp-pricing-plan-card-min-height, 290px);padding:var(--mds-comp-pricing-plan-card-padding, var(--mds-sys-spacing-7));border:1px solid var(--mds-sys-color-surface-container);border-radius:var(--mds-sys-shape-lg)}.plan-card__title[_ngcontent-%COMP%]{margin:0 0 var(--mds-comp-pricing-plan-card-title-margin-bottom, var(--mds-sys-spacing-3));color:var(--mds-sys-color-on-surface-variant);font-weight:500;font-size:18px;line-height:22px}.plan-card__price[_ngcontent-%COMP%]{display:flex;margin-bottom:var(--mds-comp-pricing-plan-card-price-margin-bottom, var(--mds-sys-spacing-3))}.plan-card__features[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){display:block;margin-bottom:var(--mds-comp-pricing-plan-card-feature-margin-bottom, 0)}.plan-card__action[_ngcontent-%COMP%]{display:flex;align-items:flex-end;height:100%;margin-top:auto}.plan-card__subscribed-label[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;height:36px;color:var(--mds-sys-color-success);font-weight:500;font-size:14px;line-height:26px}.plan-card--highlighted[_ngcontent-%COMP%] .plan-card__body[_ngcontent-%COMP%]{border-color:var(--mds-comp-pricing-plan-card-highlighted-border-color, var(--mds-sys-color-primary))}.plan-card--has-discount[_ngcontent-%COMP%]{--mds-comp-pricing-plan-card-promo-title-color: #DE2629;--mds-comp-pricing-plan-card-price-new-color: #DE2629;--mds-comp-pricing-plan-card-highlighted-border-color: #DE2629;--mds-comp-button-filled-primary-background-color: #DE2629;--mds-comp-button-filled-primary-color: white;--mds-comp-button-outlined-secondary-color: #DE2629;--mds-comp-button-outlined-secondary-border-color: #DE2629}.price[_ngcontent-%COMP%]{position:relative;gap:8px;padding-bottom:var(--mds-comp-pricing-plan-card-price-yearly-line-height, 16px);white-space:nowrap}.price__monthly[_ngcontent-%COMP%]{margin:0;color:var(--mds-sys-color-on-surface-container);font-weight:var(--mds-comp-pricing-plan-card-price-monthly-font-weight, 400)}.price__symbol[_ngcontent-%COMP%]{font-weight:400}.price__currency[_ngcontent-%COMP%]{display:inline-block;font-weight:500;font-size:32px;line-height:var(--mds-comp-pricing-plan-card-price-monthly-currency-line-height, 40px)}.price__yearly[_ngcontent-%COMP%]{position:absolute;bottom:0;margin:0;color:var(--mds-sys-color-outline);font-weight:var(--mds-comp-pricing-plan-card-price-yearly-font-weight, 400);font-size:13px;line-height:var(--mds-comp-pricing-plan-card-price-yearly-line-height, 16px)}.price__value[_ngcontent-%COMP%]{margin-right:8px}.price__value[_ngcontent-%COMP%]:last-child{margin-right:0}.price__value--new[_ngcontent-%COMP%]{color:var(--mds-comp-pricing-plan-card-price-new-color, #d10000)}.price__value--old[_ngcontent-%COMP%]{color:var(--mds-sys-color-outline);font-size:12px;text-decoration:line-through!important;text-decoration-color:var(--mds-sys-color-outline)!important}.price__value--old[_ngcontent-%COMP%] .price__currency[_ngcontent-%COMP%]{color:var(--mds-sys-color-outline);font-weight:300!important;font-size:12px;line-height:1;text-decoration:line-through!important;text-decoration-color:var(--mds-sys-color-outline)!important}"],changeDetection:0})}}return e})()});function IM(e){e||(e=ls(vl));let t=new it(t=>{if(!e.destroyed)return e.onDestroy(t.next.bind(t));t.next()});return e=>e.pipe(Ii(t))}var RM,NM=b(()=>{"use strict";Li(),Rl(),Il(),RM=class{source;destroyed=!1;destroyRef=ls(vl);constructor(e){this.source=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}subscribe(e){if(this.destroyed)throw new Xo(953,!1);let t=this.source.pipe(IM(this.destroyRef)).subscribe({next:t=>e(t)});return{unsubscribe:()=>t.unsubscribe()}}}});function FM(e,t){return t.id}var LM=b(()=>{});function MM(e){return e}var jM,BM,zM=b(()=>{}),VM=b(()=>{"use strict";LM(),zM()}),$M=b(()=>{}),UM=b(()=>{"use strict";Li(),Rl(),fy(),jM=(()=>{class e{constructor(){this.eventBus=new mt(1)}on(e){return this.eventBus.asObservable().pipe(Wn(t=>t.key===e),un(e=>e.data))}emit(e){this.eventBus.next(e)}ngOnDestroy(){this.eventBus.complete()}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}}return e})()}),qM=b(()=>{}),HM=b(()=>{"use strict";fy(),UM(),BM=new na("SHARED_EVENT_BUS_SERVICE",{providedIn:"root",factory:()=>ls(jM)})}),GM=b(()=>{"use strict";$M(),UM(),qM(),HM()}),WM=_((e,t)=>
101{"use strict";var r=NR();t.exports=function(){this.__data__=new r,this.size=0}}),QM=_((e,t)=>{"use strict";t.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}}),ZM=_((e,t)=>{"use strict";t.exports=function(e){return this.__data__.get(e)}}),YM=_((e,t)=>{"use strict";t.exports=function(e){return this.__data__.has(e)}}),KM=_((e,t)=>{"use strict";var r=NR(),n=FR(),i=UR();t.exports=function(e,t){var s=this.__data__;if(s instanceof r){var o=s.__data__;if(!n||o.length<199)return o.push([e,t]),this.size=++s.size,this;s=this.__data__=new i(o)}return s.set(e,t),this.size=s.size,this}}),XM=_((e,t)=>{"use strict";var r=NR(),n=WM(),i=QM(),s=ZM(),o=YM(),a=KM();function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=s,l.prototype.has=o,l.prototype.set=a,t.exports=l}),JM=_((e,t)=>{"use strict";var r=fR(),n=mR();t.exports=function(e,t,i){(void 0!==i&&!n(e[t],i)||void 0===i&&!(t in e))&&r(e,t,i)}}),ej=_((e,t)=>{"use strict";t.exports=function(e){return function(t,r,n){for(var i=-1,s=Object(t),o=n(t),a=o.length;a--;){var l=o[e?a:++i];if(!1===r(s[l],l,s))break}return t}}}),tj=_((e,t)=>{"use strict";var r=ej()();t.exports=r}),rj=_((e,t)=>{"use strict";var r=eR(),n="object"==typeof e&&e&&!e.nodeType&&e,i=n&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===n?r.Buffer:void 0,o=s?s.allocUnsafe:void 0;t.exports=function(e,t){if(t)return e.slice();var r=e.length,n=o?o(r):new e.constructor(r);return e.copy(n),n}}),nj=_((e,t)=>{"use strict";var r=eR().Uint8Array;t.exports=r}),ij=_((e,t)=>{"use strict";var r=nj();t.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}}),sj=_((e,t)=>{"use strict";var r=ij();t.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}}),oj=_((e,t)=>{"use strict";t.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}}),aj=_((e,t)=>{"use strict";var r=sR(),n=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(n)return n(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();t.exports=i}),lj=_((e,t)=>{"use strict";t.exports=function(e,t){return function(r){return e(t(r))}}}),uj=_((e,t)=>{"use strict";var r=lj()(Object.getPrototypeOf,Object);t.exports=r}),cj=_((e,t)=>
101{"use strict";var r=Object.prototype;t.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}}),hj=_((e,t)=>{"use strict";var r=aj(),n=uj(),i=cj();t.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(n(e))}}),dj=_((e,t)=>{"use strict";var r=iR(),n=vR();t.exports=function(e){return n(e)&&"[object Arguments]"==r(e)}}),pj=_((e,t)=>{"use strict";var r=dj(),n=vR(),i=Object.prototype,s=i.hasOwnProperty,o=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(e){return n(e)&&s.call(e,"callee")&&!o.call(e,"callee")};t.exports=a}),fj=_((e,t)=>{"use strict";t.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}),mj=_((e,t)=>{"use strict";var r=oR(),n=fj();t.exports=function(e){return null!=e&&n(e.length)&&!r(e)}}),gj=_((e,t)=>{"use strict";var r=mj(),n=vR();t.exports=function(e){return n(e)&&r(e)}}),yj=_((e,t)=>{"use strict";t.exports=function(){return!1}}),vj=_((e,t)=>{"use strict";var r=eR(),n=yj(),i="object"==typeof e&&e&&!e.nodeType&&e,s=i&&"object"==typeof t&&t&&!t.nodeType&&t,o=s&&s.exports===i?r.Buffer:void 0,a=(o?o.isBuffer:void 0)||n;t.exports=a}),bj=_((e,t)=>{"use strict";var r=iR(),n=uj(),i=vR(),s=Function.prototype,o=Object.prototype,a=s.toString,l=o.hasOwnProperty,u=a.call(Object);t.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=n(e);if(null===t)return!0;var s=l.call(t,"constructor")&&t.constructor;return"function"==typeof s&&s instanceof s&&a.call(s)==u}}),_j=_((e,t)=>{"use strict";var r=iR(),n=fj(),i=vR(),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,t.exports=function(e){return i(e)&&n(e.length)&&!!s[r(e)]}}),wj=_((e,t)=>{"use strict";t.exports=function(e){return function(t){return e(t)}}}),Sj=_((e,t)=>{"use strict";var r=JI(),n="object"==typeof e&&e&&!e.nodeType&&e,i=n&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===n&&r.process,o=function(){try{return i&&i.require&&i.require("util").types||s&&s.binding&&s.binding("util")}catch{}}();t.exports=o}),Ej=_((e,t)=>{"use strict";var r=_j(),n=wj(),i=Sj(),s=i&&i.isTypedArray,o=s?n(s):r;t.exports=o}),kj=_((e,t)=>
101{"use strict";t.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}}),Cj=_((e,t)=>{"use strict";var r=gR(),n=fR();t.exports=function(e,t,i,s){var o=!i;i||(i={});for(var a=-1,l=t.length;++a<l;){var u=t[a],c=s?s(i[u],e[u],u,i,e):void 0;void 0===c&&(c=e[u]),o?n(i,u,c):r(i,u,c)}return i}}),Dj=_((e,t)=>{"use strict";t.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}}),Tj=_((e,t)=>{"use strict";var r=Dj(),n=pj(),i=yR(),s=vj(),o=KR(),a=Ej(),l=Object.prototype.hasOwnProperty;t.exports=function(e,t){var u=i(e),c=!u&&n(e),h=!u&&!c&&s(e),d=!u&&!c&&!h&&a(e),p=u||c||h||d,f=p?r(e.length,String):[],m=f.length;for(var g in e)(t||l.call(e,g))&&(!p||!("length"==g||h&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||o(g,m)))&&f.push(g);return f}}),xj=_((e,t)=>{"use strict";t.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}}),Oj=_((e,t)=>{"use strict";var r=sR(),n=cj(),i=xj(),s=Object.prototype.hasOwnProperty;t.exports=function(e){if(!r(e))return i(e);var t=n(e),o=[];for(var a in e)"constructor"==a&&(t||!s.call(e,a))||o.push(a);return o}}),Aj=_((e,t)=>{"use strict";var r=Tj(),n=Oj(),i=mj();t.exports=function(e){return i(e)?r(e,!0):n(e)}}),Pj=_((e,t)=>{"use strict";var r=Cj(),n=Aj();t.exports=function(e){return r(e,n(e))}}),Ij=_((e,t)=>{"use strict";var r=JM(),n=rj(),i=sj(),s=oj(),o=hj(),a=pj(),l=yR(),u=gj(),c=vj(),h=oR(),d=sR(),p=bj(),f=Ej(),m=kj(),g=Pj();t.exports=function(e,t,y,v,b,_,w){var S=m(e,y),E=m(t,y),k=w.get(E);if(k)r(e,y,k);else{var C=_?_(S,E,y+"",e,t,w):void 0,D=void 0===C;if(D){var T=l(E),x=!T&&c(E),O=!T&&!x&&f(E);C=E,T||x||O?l(S)?C=S:u(S)?C=s(S):x?(D=!1,C=n(E,!0)):O?(D=!1,C=i(E,!0)):C=[]:p(E)||a(E)?(C=S,a(S)?C=g(S):(!d(S)||h(S))&&(C=o(E))):D=!1}D&&(w.set(E,C),b(C,E,v,_,w),w.delete(E)),r(e,y,C)}}}),Rj=_((e,t)=>{"use strict";var r=XM(),n=JM(),i=tj(),s=Ij(),o=sR(),a=Aj(),l=kj();t.exports=function e(t,u,c,h,d){t!==u&&i(u,function(i,a){if(d||(d=new r),o(i))s(t,u,a,c,e,h,d);else{var p=h?h(l(t,a),i,a+"",t,u,d):void 0;void 0===p&&(p=i),n(t,a,p)}},a)}}),Nj=_((e,t)=>{"use strict";t.exports=function(e){return e}}),Fj=_((e,t)=>{"use strict";t.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}}),Lj=_((e,t)=>{"use strict";var r=Fj(),n=Math.max;t.exports=function(e,t,i){return t=n(void 0===t?e.length-1:t,0),function(){for(var s=arguments,o=-1,a=n(s.length-t,0),l=Array(a);++o<a;)l[o]=s[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=s[o];return u[t]=i(l),r(e,this,u)}}}),Mj=_((e,t)=>{"use strict";t.exports=function(e){return function(){return e}}}),jj=_((e,t)=>{"use strict";var r=Mj(),n=pR(),i=Nj(),s=n?function(e,t){return n(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;t.exports=s}),Bj=_((e,t)=>{"use strict";var r=Date.now;t.exports=function(e){var t=0,n=0;return function(){var i=r(),s=16-(i-n);if(n=i,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}}),zj=_((e,t)=>{"use strict";var r=jj(),n=Bj()(r);t.exports=n}),Vj=_((e,t)=>
101{"use strict";var r=Nj(),n=Lj(),i=zj();t.exports=function(e,t){return i(n(e,t,r),e+"")}}),$j=_((e,t)=>{"use strict";var r=mR(),n=mj(),i=KR(),s=sR();t.exports=function(e,t,o){if(!s(o))return!1;var a=typeof t;return!!("number"==a?n(o)&&i(t,o.length):"string"==a&&t in o)&&r(o[t],e)}}),Uj=_((e,t)=>{"use strict";var r=Vj(),n=$j();t.exports=function(e){return r(function(t,r){var i=-1,s=r.length,o=s>1?r[s-1]:void 0,a=s>2?r[2]:void 0;for(o=e.length>3&&"function"==typeof o?(s--,o):void 0,a&&n(r[0],r[1],a)&&(o=s<3?void 0:o,s=1),t=Object(t);++i<s;){var l=r[i];l&&e(t,l,i,o)}return t})}}),qj=_((e,t)=>{"use strict";var r=Rj(),n=Uj()(function(e,t,n){r(e,t,n)});t.exports=n});function Hj(e,t){if(1&e&&(rp(0,"span",9),Xp(1),yf(2,"translate"),np()),2&e){let e=yp(2);fc(),ef(vf(2,1,e.yearlyPricingPromo()??"Save 33% with yearly billing"))}}function Gj(e,t){if(1&e){let e=dp();rp(0,"div",7)(1,"px-pricing-period-selector",8),gp("valueChange",function(t){return go(e),yo(yp().period$.next(t))}),np(),Gd(2,Hj,3,3,"span",9),np()}if(2&e){let e=yp();Bp("pricing__period-selector--with-promo",null!==e.yearlyPricingPromo()),fc(),ep("disabled",e.isLoading||!!e.buyingProduct)("value",e.period),fc(),Qd(null!==e.yearlyPricingPromo()?2:-1)}}function Wj(e,t){if(1&e){let e=dp();rp(0,"px-pricing-plan-card",11),yf(1,"translate"),yf(2,"titlecase"),gp("buy$",function(){let t=go(e).$implicit;return yo(yp(2).buy(t))}),np()}if(2&e){let e=t.$implicit,r=yp(2);ep("title",e.name)("priceMonthly",e.priceMonthly)("priceYearly",e.priceYearly??null)("discountPriceMonthly",e.discountPriceMonthly??null)("discountPriceYearly",e.discountPriceYearly??null)("features",e.features)("promoTitle",e.promo)("highlighted",!!e.promo)("currencyCode",e.currencyCode)("actionBlocked",!!r.buyingProduct)("actionDisabled",r.disableUnavailablePlans&&!(null==r.activeBundleSubscription||!r.activeBundleSubscription.id))("actionPerformed",(null==r.buyingProduct?null:r.buyingProduct.id)===e.id)("subscribed",r.isProductSubscribed(e.id))("actionLabel",vf(2,16,vf(1,14,r.getActionLabel(e.productId))))}}function Qj(e,t){if(1&e&&(rp(0,"div",3),Yd(1,Wj,3,18,"px-pricing-plan-card",10,iB),yf(3,"async"),np()),2&e){let e=yp();fc(),Kd(vf(3,0,e.billingProductsByPeriod$))}}function Zj(e,t){1&e&&(rp(0,"div",13)(1,"div",14),ip(2,"mds-skeleton-bone",15),rp(3,"div",16),ip(4,"mds-skeleton-bone",17),np(),rp(5,"div",18)(6,"div",19),ip(7,"mds-skeleton-bone",20),np(),rp(8,"div",19),ip(9,"mds-skeleton-bone",21),np(),rp(10,"div",19),ip(11,"mds-skeleton-bone",22),np()(),rp(12,"mds-skeleton-bone",23)(13,"div",24)(14,"mds-button"),Xp(15),yf(16,"translate"),yf(17,"titlecase"),np()()()()()),2&e&&(fc(15),tf(" ",vf(17,3,vf(16,1,"Buy now"))," "))}function Yj(e,t){if(1&e&&(rp(0,"mds-skeleton",4)(1,"div",12),Yd(2,Zj,18,5,"div",13,Zd),np()()),2&e){let e=yp();fc(2),Kd(e.skeletons)}}function Kj(e,t){1&e&&ip(0,"mds-skeleton-bone",6)}function Xj(e,t){1&e&&(rp(0,"span"),Xp(1),yf(2,"translate"),yf(3,"lowercase"),np()),2&e&&(fc(),tf(", ",vf(3,3,vf(2,1,"Billed yearly"))," "))}function Jj(e,t){if(1&e&&(Xp(0),yf(1,"async"),yf(2,"translate"),Gd(3,Xj,4,5,"span")),2&e){let e=yp();tf(" ",bf(2,4,"All prices are in [currencyCode]",pf(7,nB,vf(1,2,e.currencyCode$)))," "),fc(3),Qd(e.isYearlyPricing?3:-1)}}function eB(e,t){1&e&&(rp(0,"div",13)(1,"div",14),ip(2,"mds-skeleton-bone",15),rp(3,"div",16),ip(4,"mds-skeleton-bone",17),np(),rp(5,"div",18)(6,"div",19),ip(7,"mds-skeleton-bone",20),np(),rp(8,"div",19),ip(9,"mds-skeleton-bone",21),np(),rp(10,"div",19),ip(11,"mds-skeleton-bone",22),np()(),rp(12,"mds-skeleton-bone",23)(13,"div",24)(14,"mds-button"),Xp(15),yf(16,"translate"),yf(17,"titlecase"),np()()()()()),2&e&&(fc(15),tf(" ",vf(17,3,vf(16,1,"Buy now"))," "))}function tB(e,t){if(1&e&&(rp(0,"mds-skeleton",4)(1,"div",12),Yd(2,eB,18,5,"div",13,Zd),np()()),2&e){let e=yp();fc(2),Kd(e.skeletons)}}var rB,nB,iB,sB,oB,aB=b(()=>{"use strict";ur(),zF(),fy(),NM(),nI(),XI(),VM(),cI(),GM(),Li(),rB=w(qj()),x_(),fy(),YF(),fL(),pL(),PM(),lM(),dv(),x_(),nB=e=>({currencyCode:e}),iB=(e,t)=>t.id,sB=class e{constructor(){this.translate=ls(S_),this.DEFAULT_HIGHLIGHT_PLAN_OPTIONS={"All-Apps-Bundle":{[qP.YEARLY]:{title:this.translate.instant("Bundle and save")},[qP.MONTHLY]:{title:this.translate.instant("Bundle and save")}}},this.DOWNGRADE_ERROR_MESSAGE='It is forbidden to switch from a "bundle" subscription to a regular subscription',this.COMMON_ACTION_LABEL="Buy now",this.billingProductsFacade=ls(WP),this.jwtWrapperService=ls(zP),this.customerSubscriptionsFacade=ls(YP),this.checkoutFacade=ls(VP),this.cdr=ls(dy),this.activationFacade=ls(KP),this.eventBus=ls(BM),this.productFamilyProvider=ls(UP,{optional:!0}),this.billingProviderSettings=ls(eI,{optional:!0}),this.productFamilyInternal=void 0,this.bundleIncludedInternal=!0,this.isLoadingProductsInternal=!0,this.isLoadingSubscriptionsInternal=!0,this.utilTrackByIndex=MM,this.BillingPeriod=qP,this.showPeriodSelector=!0,this.buyingProduct=null,this.checkoutSucceeded=!1,this.trackBy=FM,this.period$=new pt(qP.YEARLY),this.billingProducts$=new pt([]),this.activeCustomerSubscriptions$=new pt([]),this.billingProductsByPeriod$=Sn([this.billingProducts$,this.period$]).pipe(un(([e,t])=>e.filter(e=>e.period===t).sort(this.sortProducts))),this.highlightPlanOptions=ay(null),this.yearlyPricingPromo=ay(),this.discountProductsIds=ay([]),this.sale10=!1,this.successRedirectUrl="/",this.cancelRedirectUrl="/",this.highlightPlan=null,this.highlightPlanTitle=null,this.highlightPButtonText=null,this.disableUnavailablePlans=!1,this.hideLogs=!1,this.initialised$=new wm,this.invalidJwt$=this.jwtWrapperService.invalidToken$,this.emptyJwt$=this.jwtWrapperService.emptyToken$,this.checkoutSuccess$=new wm,this.subscriptionActivationState$=new wm,this.checkoutError$=new wm,this.checkoutOpen$=new wm,this.checkoutClosed$=new wm,this.upgradeSuccess$=new wm,this.buy$=new wm,this.periodChanged=function(e){return new RM(e)}(this.period$)}set productFamily(e){this.productFamilyInternal=this.productFamilyFromString(e)}get productFamily(){return(this.productFamilyInternal||this.productFamilyProvider&&this.productFamilyFromString(this.productFamilyProvider))??void 0}set site(e){if(e)if(Object.values(JP).includes(e))this.siteInternal=e;else{if(!(e in JP))throw new Error(`not a chargebee site '${e}'. Please select value of ChargebeeSite enum or one of ${Object.values(JP)} strings`);this.siteInternal=JP[e]}}get site(){return this.siteInternal}set jwtRequired(e){this.jwtWrapperService.jwtRequired=function(e){return null!=e&&"false"!=`${e}`}(e)}
101set period(e){this.period$.next(e)}get period(){return this.period$.value}set bundleIncluded(e){if("string"==typeof e&&!["true","false"].includes(e))throw new Error('bundle included prop should be "true" or "false"');this.bundleIncludedInternal="string"==typeof e?"true"===e:e}get bundleIncluded(){return this.bundleIncludedInternal}get activeProductFamilyCustomerSubscriptions(){return this.activeCustomerSubscriptions$.value.filter(e=>e.package.products.every(e=>e.price?.billingProductFamily.productFamily===this.productFamily))}get activeBundleSubscription(){return this.activeCustomerSubscriptions$.value.find(e=>e.package.products.some(e=>e.price?.billingProductFamily.productFamily===$P.BUNDLE))}get hasActiveCard(){return this.activeCustomerSubscriptions$.value.some(e=>!!e.customer.paymentSourceCards?.length)}get skeletons(){return this.productFamily===$P.SA?[1,2,3]:[1,2,3,4]}set isLoadingProducts(e){this.isLoadingProductsInternal=e,this.cdr.detectChanges()}set isLoadingSubscriptions(e){this.isLoadingSubscriptionsInternal=e,this.cdr.detectChanges()}get isLoading(){return this.isLoadingProductsInternal||this.isLoadingSubscriptionsInternal}get isYearlyPricing(){return this.period===qP.YEARLY}get currencyCode$(){return this.billingProducts$.pipe(un(e=>e[0]?.currencyCode??null))}get availableProductFamilies(){return Object.keys($P).join(", ")}ngOnInit(){return S(this,null,function*(){this.subscribePeriodSelectorToggle(),this.tryToGetProducts(),this.getCustomerActiveSubscriptions();let e=this.siteInternal||this.billingProviderSettings?.site,t=this.billingProviderApiKey||this.billingProviderSettings?.apiKey,r=this.billingProviderSdkUrl||this.billingProviderSettings?.sdkUrl;if(!e)throw new Error("Site info for chargebee not provided.");if(!t)throw new Error("Api key for chargebee not provided.");if(!r)throw new Error("provide billing provider sdk url");yield this.checkoutFacade.initBillingProvider(e,t,r),this.checkoutFacade.checkoutSuccess$.pipe(AP(this)).subscribe(this.checkoutSuccess$),this.checkoutFacade.checkoutError$.pipe(AP(this)).subscribe(this.checkoutError$),this.checkoutFacade.checkoutClosed$.pipe(AP(this)).subscribe(this.checkoutClosed$),this.checkoutFacade.checkoutOpen$.pipe(AP(this)).subscribe(this.checkoutOpen$),this.activationFacade.activationState$.pipe(AP(this)).subscribe(this.subscriptionActivationState$),this.activationFacade.activationState$.pipe(Wn(e=>!(!1!==e.isActivating||!e.activationResult?.isActivated)),AP(this)).subscribe(()=>this.getCustomerActiveSubscriptions()),this.checkoutSuccess$.pipe(AP(this)).subscribe(e=>this.eventBus.emit({key:tI.CHECKOUT_SUCCESS,data:e})),this.checkoutError$.pipe(AP(this)).subscribe(e=>this.eventBus.emit({key:tI.CHECKOUT_ERROR,data:e})),this.checkoutClosed$.pipe(AP(this)).subscribe(()=>this.eventBus.emit({key:tI.CHECKOUT_CLOSE})),this.checkoutOpen$.pipe(AP(this)).subscribe(e=>this.eventBus.emit({key:tI.CHECKOUT_OPEN,data:e})),this.upgradeSuccess$.pipe(AP(this)).subscribe(e=>this.eventBus.emit({key:tI.UPGRADE_SUCCESS,data:e})),this.subscriptionActivationState$.pipe(AP(this)).subscribe(e=>{this.eventBus.emit({key:tI.SUBSCRIPTION_ACTIVATION_STATE,data:e}),!e.isActivating&&e.activationResult?.isActivated&&this.eventBus.emit({key:tI.SUBSCRIPTION_ACTIVATION_SUCCESS,data:e})}),Hn(this.activationFacade.activationState$.pipe(Wn(e=>!1===e.isActivating)),this.checkoutFacade.checkoutError$).pipe(AP(this)).subscribe(()=>{this.checkoutFacade.releaseBusy(),this.buyingProduct=null,this.checkoutSucceeded=!1,this.cdr.detectChanges()}),this.checkoutFacade.checkoutSuccess$.pipe(AP(this)).subscribe(()=>{this.checkoutSucceeded=!0}),this.checkoutFacade.checkoutClosed$.pipe(AP(this)).subscribe(()=>{wt.schedule(()=>{this.checkoutSucceeded||(this.buyingProduct=null,this.cdr.detectChanges())})}),this.initialised$.emit(),this.cdr.detectChanges()})}setJwt(e){this.jwtWrapperService.jwt=e??void 0}buy(e){return S(this,null,function*(){if(!this.buyingProduct){if(this.buyingProduct=e,this.buy$.next(e),this.eventBus.emit({key:tI.BUY_NOW_CLICK,data:e}),this.activeBundleSubscription){this.activationFacade.stopWaitingActivation(),this.buyingProduct=null;let e=new rI(this.DOWNGRADE_ERROR_MESSAGE);this.checkoutError$.next(e),console.warn(this.DOWNGRADE_ERROR_MESSAGE)}else e.productFamily===$P.BUNDLE?yield this.buyBundleSubscription():0===this.activeProductFamilyCustomerSubscriptions.length?yield this.buySubscription():this.updateSubscriptionWithinProductFamily();this.cdr.detectChanges()}})}isProductSubscribed(e){return!!this.activeCustomerSubscriptions$.value.find(t=>t.package.products.some(t=>t.price?.id===e))}getActionLabel(e){return e===this.highlightPlan&&this.highlightPButtonText?this.highlightPButtonText:this.COMMON_ACTION_LABEL}sortProducts(e,t){return e.productFamily===t.productFamily?e.priceMonthly-t.priceMonthly:e.productFamily===$P.BUNDLE?1:t.productFamily===$P.BUNDLE?-1:0}productFamilyFromString(e){if(!e||!(e in $P))throw new Error(`product family '${e}' doesn't exists. Please set as one of ${this.availableProductFamilies}`);return $P[e]}tryToGetProducts(){if(!this.productFamily)throw new Error(`Product family in pricing component is undefined. Please set a product family as one of ${this.availableProductFamilies}`);this.isLoadingProducts=!0;let e=this.highlightPlan&&this.highlightPlanTitle?{[this.highlightPlan]:{[qP.YEARLY]:{title:this.highlightPlanTitle,buttonText:this.highlightPButtonText??void 0},[qP.MONTHLY]:{title:this.highlightPlanTitle,buttonText:this.highlightPButtonText??void 0}}}:{},t=(0,rB.default)({},this.DEFAULT_HIGHLIGHT_PLAN_OPTIONS,this.highlightPlanOptions()??e);Sn([this.billingProductsFacade.getProducts(this.productFamily,t,void 0,this.ip),this.bundleIncludedInternal?this.billingProductsFacade.getProducts($P.BUNDLE,t,this.productFamily,this.ip):Gr([])]).pipe(un(([e,t])=>[...e,...t]),bi(()=>this.isLoadingProducts=!1),AP(this)).subscribe(e=>this.billingProducts$.next(this.extendProductWithDiscount(e)))}extendProductWithDiscount(e){return e.map(e=>{if(VI(e.productId)&&this.discountProductsIds().includes(e.productId)){let t=UI[e.productId][e.period]?.discountPercentage,r=y({},e);return t&&(r.discountPriceMonthly=e.priceMonthly-e.priceMonthly*t,e.priceYearly&&(r.discountPriceYearly=e.priceYearly-e.priceYearly*t)),r}return e})}getCustomerActiveSubscriptions(){this.isLoadingSubscriptions=!0,this.customerSubscriptionsFacade.getCustomerActiveSubscriptions().pipe(bi(()=>this.isLoadingSubscriptions=!1),AP(this)).subscribe({next:e=>this.activeCustomerSubscriptions$.next(e),error:e=>{this.hideLogs||console.error(e)}})}buyBundleSubscription(){return S(this,null,function*(){if(this.buyingProduct){if(!(yield en(this.cancelRemainingSubscriptionsIfNeeded())))return void console.error("Cancelled the subscription with an error");try{let e=yield en(this.openCheckout());this.activationFacade.startWaitingActivationOnlyFor(e)}catch(o){console.error(o)}}})}buySubscription(){return S(this,null,function*(){if(this.buyingProduct)try{let e=yield en(this.openCheckout());this.activationFacade.startWaitingActivationOnlyFor(e,!0)}catch(o){console.error(o)}})}updateSubscriptionWithinProductFamily(){if(!this.buyingProduct)return;let e=this.buyingProduct,t=this.activeProductFamilyCustomerSubscriptions[0]??null;if(!t)return;let r=this.getCouponForProduct(e.productId),n=this.customerSubscriptionsFacade.updateCustomerActiveSubscription(t.id,e.id,r&&[r.id]);
101this.hasActiveCard||(n=this.openCheckout(t.id)),n.pipe(wi(),Jn(()=>Dt),Ni(()=>this.activationFacade.startWaitingActivationOnlyFor(e,!0)),Ai(()=>this.cancelRemainingProductFamilySubscriptionsIfNeeded(t)),AP(this)).subscribe(t=>{t||(console.error("Cancelled the subscription with an error"),this.activationFacade.stopWaitingActivation()),this.upgradeSuccess$.emit(e)})}getCouponForProduct(e){if(VI(e)&&this.discountProductsIds().includes(e))return UI[e][this.period]?.coupon??void 0}openCheckout(e){if(!this.buyingProduct)return Dt;let t={billingProduct:this.buyingProduct,redirectUrl:this.successRedirectUrl,cancelUrl:this.cancelRedirectUrl,subscriptionId:e},r=this.getCouponForProduct(this.buyingProduct.productId);return r&&(t.couponCodes=[r.name]),this.checkoutFacade.openCheckout(t),this.checkoutSuccess$}cancelRemainingProductFamilySubscriptionsIfNeeded(e=null){let t=this.activeProductFamilyCustomerSubscriptions.filter(t=>t.id!==e?.id);return 0===t.length?Gr(!0):Fn(t.map(e=>this.customerSubscriptionsFacade.cancelCustomerSubscription(e.id))).pipe(un(e=>e.every(e=>!!e)),Jn(e=>(console.error(e),Gr(!1))))}cancelRemainingSubscriptionsIfNeeded(){let e=this.activeCustomerSubscriptions$.value;return 0===e.length?Gr(!0):Fn(e.map(({id:e})=>this.customerSubscriptionsFacade.cancelCustomerSubscription(e))).pipe(un(e=>e.every(e=>!!e)),Ni(e=>e&&this.activeCustomerSubscriptions$.next([])),Jn(e=>(console.error(e),Gr(!1))))}subscribePeriodSelectorToggle(){this.billingProducts$.pipe(AP(this)).subscribe(e=>{let t=e.filter(e=>e.period===qP.MONTHLY);this.showPeriodSelector=!!t.length,this.cdr.detectChanges()})}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["px-pricing"]],hostBindings:function(e,t){1&e&&gp("px-pricing-set-jwt",function(e){return t.setJwt(e.detail)})},inputs:{highlightPlanOptions:[1,"highlightPlanOptions"],yearlyPricingPromo:[1,"yearlyPricingPromo"],discountProductsIds:[1,"discountProductsIds"],sale10:"sale10",billingProviderSdkUrl:"billingProviderSdkUrl",billingProviderApiKey:"billingProviderApiKey",successRedirectUrl:"successRedirectUrl",cancelRedirectUrl:"cancelRedirectUrl",highlightPlan:"highlightPlan",highlightPlanTitle:"highlightPlanTitle",highlightPButtonText:"highlightPButtonText",disableUnavailablePlans:[2,"disableUnavailablePlans","disableUnavailablePlans",ny],hideLogs:[2,"hideLogs","hideLogs",ny],ip:"ip",productFamily:"productFamily",site:"site",jwtRequired:"jwtRequired",period:"period",bundleIncluded:"bundleIncluded"},outputs:{initialised$:"px-pricing-initialised",invalidJwt$:"px-pricing-invalid-jwt",emptyJwt$:"px-pricing-empty-jwt",checkoutSuccess$:"px-pricing-checkout-success",subscriptionActivationState$:"px-pricing-subscription-activation-state",checkoutError$:"px-pricing-checkout-error",checkoutOpen$:"px-pricing-checkout-open",checkoutClosed$:"px-pricing-checkout-closed",upgradeSuccess$:"px-pricing-upgrade-success",buy$:"px-pricing-buy-now-click",periodChanged:"periodChanged"},standalone:!1,decls:10,vars:5,consts:[["skeleton",""],["data-qa","rpt-body",1,"pricing"],["data-qa","rpt-period-selector",1,"pricing__period-selector",3,"pricing__period-selector--with-promo"],["data-qa","rpt-plans",1,"pricing__plans"],["isAnimated",""],["data-qa","rpt-currency-note",1,"pricing__note"],["width","242px","height","14px"],["data-qa","rpt-period-selector",1,"pricing__period-selector"],[3,"valueChange","disabled","value"],["data-qa","rpt-period-selector-promo",1,"pricing__promo"],[3,"title","priceMonthly","priceYearly","discountPriceMonthly","discountPriceYearly","features","promoTitle","highlighted","currencyCode","actionBlocked","actionDisabled","actionPerformed","subscribed","actionLabel"],[3,"buy$","title","priceMonthly","priceYearly","discountPriceMonthly","discountPriceYearly","features","promoTitle","highlighted","currencyCode","actionBlocked","actionDisabled","actionPerformed","subscribed","actionLabel"],[1,"plans-skeleton"],[1,"plans-skeleton__item"],[1,"plans-skeleton__card"],[1,"plans-skeleton__bone","plans-skeleton__title"],[1,"plans-skeleton__price"],["width","70px","height","32px"],[1,"plans-skeleton__features"],[1,"plans-skeleton__feature"],["
101width","120px","height","14px"],["width","90px","height","14px"],["width","105px","height","14px"],[1,"plans-skeleton__action"],[1,"plans-skeleton__action-button"]],template:function(e,t){1&e&&(rp(0,"div",1),Gd(1,Gj,3,5,"div",2),Gd(2,Qj,4,2,"div",3)(3,Yj,4,0,"mds-skeleton",4),rp(4,"div",5),Gd(5,Kj,1,0,"mds-skeleton-bone",6),yf(6,"async"),Wd(7,Jj,4,9),np(),Fd(8,tB,4,0,"ng-template",null,0,Sf),np()),2&e&&(fc(),Qd(t.showPeriodSelector?1:-1),fc(),Qd(t.isLoading?3:2),fc(3),Qd(null===vf(6,3,t.currencyCode$)?5:7))},dependencies:[ZF,nL,eL,AM,iM,tv,rv,iv,E_],styles:[".pricing[_ngcontent-%COMP%]{--pricing-promo-line-height: 20px;display:flex;flex-direction:column;color:var(--mds-sys-color-on-surface-variant)}.pricing__period-selector[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;margin-bottom:var(--mds-comp-pricing-period-margin-bottom, var(--mds-sys-spacing-6))}.pricing__period-selector--with-promo[_ngcontent-%COMP%]{padding-bottom:calc(var(--mds-sys-spacing-2) + var(--pricing-promo-line-height))}.pricing__promo[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;color:var(--mds-sys-color-on-surface-container);font-size:14px;line-height:var(--pricing-promo-line-height);text-align:center}.pricing__plans[_ngcontent-%COMP%]{--row-gap: var(--mds-comp-pricing-row-gap, var(--mds-sys-spacing-7));--column-gap: var(--mds-comp-pricing-column-gap, var(--mds-sys-spacing-7));display:flex;flex-wrap:wrap;justify-content:center;width:calc(100% + var(--column-gap));margin:calc(-1 * var(--row-gap)) 0 0 calc(-1 * var(--column-gap))}.pricing__plans[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:var(--row-gap) 0 0 var(--column-gap)}.pricing__note[_ngcontent-%COMP%]{display:flex;justify-content:center;min-height:20px;margin-top:var(--mds-comp-pricing-note-margin-top, var(--mds-sys-spacing-8));color:var(--mds-sys-color-on-surface-container);font-weight:var(--mds-comp-pricing-note-font-weight, 400);font-size:14px;line-height:var(--mds-comp-pricing-note-line-height, 20px);text-align:center}@media (max-width: 767px){.pricing__note[_ngcontent-%COMP%]{display:block}}.plans-skeleton[_ngcontent-%COMP%]{--row-gap: var(--mds-comp-pricing-row-gap, var(--mds-sys-spacing-7));--column-gap: var(--mds-comp-pricing-column-gap, var(--mds-sys-spacing-7));display:flex;flex-wrap:wrap;justify-content:center;width:calc(100% + var(--column-gap));margin:calc(-1 * var(--row-gap)) 0 0 calc(-1 * var(--column-gap))}.plans-skeleton[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin:var(--row-gap) 0 0 var(--column-gap)}.plans-skeleton__item[_ngcontent-%COMP%]{box-sizing:border-box;width:240px;height:100%;padding-top:calc(var(--mds-sys-spacing-2) + var(--pricing-promo-line-height))}.plans-skeleton__card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;height:100%;min-height:var(--mds-comp-pricing-plan-card-min-height, 290px);padding:var(--mds-comp-pricing-plan-card-padding, var(--mds-sys-spacing-7));border:1px solid var(--mds-sys-color-surface-container);border-radius:var(--mds-sys-shape-lg)}.plans-skeleton__title[_ngcontent-%COMP%]{width:95px;height:18px;margin:0 0 calc(var(--mds-comp-pricing-plan-card-title-margin-bottom, var(--mds-sys-spacing-3)) + 4px)}.plans-skeleton__price[_ngcontent-%COMP%]{min-height:var(--mds-comp-pricing-plan-card-price-monthly-currency-line-height, 40px);margin-bottom:calc(var(--mds-comp-pricing-plan-card-price-yearly-line-height, 16px) + var(--mds-comp-pricing-plan-card-price-margin-bottom, var(--mds-sys-spacing-3)))}.plans-skeleton__action[_ngcontent-%COMP%]{margin-top:auto;overflow:hidden;border-radius:var(--mds-comp-button-filled-border-radius)}.plans-skeleton__action-button[_ngcontent-%COMP%]{opacity:0;pointer-events:none}.plans-skeleton__feature[_ngcontent-%COMP%]{display:flex;align-items:center;height:var(--mds-comp-pricing-plan-card-feature-line-height, 20px)}.plans-skeleton__feature[_ngcontent-%COMP%]:not(:last-child){margin-bottom:var(--mds-comp-pricing-plan-card-feature-margin-bottom, 0)}"],changeDetection:0})}},sB=Kt([TP()],sB)}),lB=b(()=>{"use strict";
101FF(),dv(),x_(),F_(),XI(),gL(),lM(),PM(),mM(),aB(),aM(),fy(),oB=(()=>{class e{static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵmod=bd({type:e})}static{this.ɵinj=Zi({imports:[ov,T_,XP,k_,IF,iL]})}}return e})()}),uB=b(()=>{"use strict";lB(),aB()});function cB(e,t,r){return function(...e){return e.find(e=>typeof e<"u")}(e[r],t[r],pB[r])}var hB,dB,pB,fB,mB,gB,yB=b(()=>{"use strict";WS(),fy(),AA(),Li(),qb(),qb(),hB=(e,t,r)=>{let n,i=-1!==["POST","PUT","PATCH"].indexOf(e.method.toUpperCase()),s=e.body.length,o=e.options&&e.options.useMultipart;if(o){if(s)return new it(e=>e.error(new Error("File upload is not available when combined with Batching")));if(!i)return new it(e=>e.error(new Error("File upload is not available when GET is used")));if(!r)return new it(e=>e.error(new Error('To use File upload you need to pass "extractFiles" function from "extract-files" library to HttpLink\'s options')));n=r(e.body),o=!!n.files.size}let a={};if(s){if(!i)return new it(e=>e.error(new Error("Batching is not available for GET requests")));a={body:e.body}}else{let t=o?n.clone:e.body;a=i?{body:t}:{params:Object.keys(e.body).reduce((t,r)=>{let n=e.body[r];return t[r]=(e=>-1!==["variables","extensions"].indexOf(e.toLowerCase()))(r)?JSON.stringify(n):n,t},{})}}if(o&&i){let e=new FormData;e.append("operations",JSON.stringify(a.body));let t={},r=n.files,i=0;r.forEach(e=>{t[++i]=e}),e.append("map",JSON.stringify(t)),i=0,r.forEach((t,r)=>{e.append(++i+"",r,r.name)}),a.body=e}return t.request(e.method,e.url,y(y({observe:"response",responseType:"json",reportProgress:!1},a),e.options))},dB=(e,t)=>e&&t?t.keys().reduce((e,r)=>e.set(r,t.getAll(r)),e):t||e,pB={batchInterval:10,batchMax:10,uri:"graphql",method:"POST",withCredentials:!1,includeQuery:!0,includeExtensions:!1,useMultipart:!1},fB=class extends uT{httpClient;options;requester;print=LS;constructor(e,t){super(),this.httpClient=e,this.options=t,this.options.operationPrinter&&(this.print=this.options.operationPrinter),this.requester=e=>new oD(t=>{let r=e.getContext(),n=cB(r,this.options,"method"),i=cB(r,this.options,"includeQuery"),s=cB(r,this.options,"includeExtensions"),o=cB(r,this.options,"uri"),a=cB(r,this.options,"withCredentials"),l=cB(r,this.options,"useMultipart"),u=!0===this.options.useGETForQueries,c=e.query.definitions.some(e=>"OperationDefinition"===e.kind&&"query"===e.operation);u&&c&&(n="GET");let h={method:n,url:"function"==typeof o?o(e):o,body:{operationName:e.operationName,variables:e.variables},options:{withCredentials:a,useMultipart:l,headers:this.options.headers}};s&&(h.body.extensions=e.extensions),i&&(h.body.query=this.print(e.query));let d=function(e){let t=e.headers&&e.headers instanceof cb?e.headers:new cb(e.headers);if(e.clientAwareness){let{name:r,version:n}=e.clientAwareness;r&&!t.has("apollographql-client-name")&&(t=t.set("apollographql-client-name",r)),n&&!t.has("apollographql-client-version")&&(t=t.set("apollographql-client-version",n))}return t}(r);h.options.headers=dB(h.options.headers,d);let p=hB(h,this.httpClient,this.options.extractFiles).subscribe({next:r=>{e.setContext({response:r}),t.next(r.body)},error:e=>t.error(e),complete:()=>t.complete()});return()=>{p.closed||p.unsubscribe()}})}request(e){return this.requester(e)}},mB=(()=>{class e{httpClient;constructor(e){this.httpClient=e}create(e){return new fB(this.httpClient,e)}static"ɵfac"=function(t){return new(t||e)(as(Ob))};static"ɵprov"=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}return e})()}),vB=b(()=>{"use strict";fy(),gB=new na("GQL Cache")}),bB=b(()=>{}),_B=b(()=>{"use strict";bB()}),wB=b(()=>{}),SB=b(()=>{"use strict";_B(),wB()}),EB=b(()=>{}),kB=b(()=>{"use strict";dN(),bB()}),CB=b(()=>{"use strict";SB(),_B(),bB(),wB(),EB(),kB()});function DB(e){if(e instanceof Tb)return e.status===xb.BadRequest||e.status===xb.Unauthorized||e.status===xb.Forbidden;if(e instanceof Error&&"NonRetryableRefreshError"===e.name)return!0;if(!e||"object"!=typeof e)return!1;let t=e;return!(!Array.isArray(t.graphQLErrors)||!t.graphQLErrors.some(e=>{let t=e.extensions?.code;return"string"==typeof t&&TB.has(t)}))||!!t.networkError&&DB(t.networkError)}var TB,xB,OB,AB=b(()=>{"use strict";qb(),TB=new Set(["BAD_USER_INPUT","UNAUTHENTICATED","FORBIDDEN"])}),PB=b(()=>{"use strict";dv(),fy(),NM(),Li(),AB(),IB(),fy(),xB=(()=>{class e{constructor(){this.document=ls(yl),this.sessionProviderFacade=ls(OB),this.destroyRef=ls(vl),this.refreshWhenExpiresWithinMs=12e4,this.started=!1}ensureStarted(){this.started||(this.started=!0,this.watchVisibility().pipe(IM(this.destroyRef)).subscribe())}watchVisibility(){return Mn(this.document,"visibilitychange").pipe(Wn(()=>"visible"===this.document.visibilityState),yi(()=>this.refreshIfNeeded()))}refreshIfNeeded(){let e=this.sessionProviderFacade.getSessionService();return e?.supportsAutomaticRefresh&&this.shouldRefresh(e)?e.refresh().pipe(Jn(t=>(console.error("[SessionKeepAlive] Silent token refresh failed",t),DB(t)?e.handleNoSession().pipe(Ai(()=>Dt),Jn(e=>(console.error(e),Dt))):Dt))):Dt}shouldRefresh(e){return!!e.hasSession()&&(!!e.isSessionExpired()||e.getCurrentTokenExpiresIn()<=this.refreshWhenExpiresWithinMs)}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}}return e})()}),IB=b(()=>{"use strict";fy(),PB(),fy(),OB=(()=>{class e{constructor(){this.injector=ls(gl)}getSessionService(){return this.service}attach(e){this.service=e,this.injector.get(xB).ensureStarted()}detach(){this.service=void 0}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac,providedIn:"root"})}}return e})()}),RB=b(()=>{}),NB=b(()=>{"use strict";dN(),IB(),RB(),AB()});var FB,LB,MB,jB,BB,zB,VB=b(()=>{"use strict";ur(),Tt(),st(),xr()}),$B=b(()=>{"use strict";VB()}),UB=b(()=>{"use strict";FB="CONNECTION_ISSUE"}),qB=b(()=>{"use strict";ur(),fy(),nI(),Li(),$B(),dN(),UB(),iP(),fy(),LB=class e{constructor(){this.platform=ls(GI),this.document=ls(yl),this.window=ls(qA),this.imageDownloadStatus$=new pt(!0),this.isTrackingInitialized=!1,this.isVisible=!0,this.online$=Hn(Mn(window,"online"),Mn(window,"offline")).pipe(un(()=>this.isBrowserOnline),xi(this.isBrowserOnline),Di(1)),this.visible$=Mn(this.document,"visibilitychange").pipe(un(()=>"visible"===this.document.visibilityState),Di(1)),this.checkImmediate$=new ht,this.hasConnection$=Sn([this.online$,this.imageDownloadStatus$]).pipe(un(e=>e.every(Boolean)),function(e,t=Je){return e=e??di,ot((r,n)=>{let i,s=!0;r.subscribe(lt(n,r=>{let o=t(r);(s||!e(i,o))&&(s=!1,i=o,n.next(r))}))})}(),Di(1))}get URL(){return`${this.platform.S3_URL}cleardot.gif?zx=${(new Date).getTime()}`}get isBrowserOnline(){return this.window.navigator.onLine}initialize(){this.platform.hasFeature(FB)&&(this.ping(),this.online$.pipe(ot((e,t)=>{let r,n=!1;e.subscribe(lt(t,e=>{let i=r;r=e,n&&t.next([i,e]),n=!0}))}),AP(this)).subscribe(([e,t])=>{!1===e&&!0===t&&this.checkNow()}),this.visible$.pipe(AP(this)).subscribe(e=>{this.isVisible=e}))}checkNow(){this.checkImmediate$.next(null)}
101setImageDownloadStatus(e){this.imageDownloadStatus$.next(e),this.imageDownloadStatus$.getValue()&&(this.isTrackingInitialized=!1)}ping(){this.timer$?.unsubscribe(),this.timer$=Hn(Un(1e4,1e4).pipe(Wn(()=>this.isVisible)),this.checkImmediate$).pipe(Ai(()=>function(e,t={}){let{selector:r}=t,n=Yt(t,["selector"]);return new it(t=>{let i=new AbortController,{signal:s}=i,o=!0,{signal:a}=n;if(a)if(a.aborted)i.abort();else{let e=()=>{s.aborted||i.abort()};a.addEventListener("abort",e),t.add(()=>a.removeEventListener("abort",e))}let l=Object.assign(Object.assign({},n),{signal:s}),u=e=>{o=!1,t.error(e)};return fetch(e,l).then(e=>{r?Dr(r(e)).subscribe(lt(t,void 0,()=>{o=!1,t.complete()},u)):(o=!1,t.next(e),t.complete())}).catch(u),()=>{o&&i.abort()}})}(this.URL,{headers:{"ngsw-bypass":"on"}}).pipe(Ni(()=>{this.setImageDownloadStatus(!0)}),Jn(()=>(this.setImageDownloadStatus(!1),Dt)))),AP(this)).subscribe()}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}},LB=Kt([TP()],LB)}),HB=b(()=>{"use strict";qB()}),GB=b(()=>{"use strict";HB(),qB(),UB()}),WB=b(()=>{}),QB=b(()=>{}),ZB=b(()=>{"use strict";dN(),GB(),WB(),QB(),dN(),GB()}),YB=b(()=>{"use strict";dN(),WB(),dN()}),KB=b(()=>{"use strict";dN(),WB(),dN()}),XB=b(()=>{"use strict";dN(),WB(),dN()}),JB=b(()=>{"use strict";dN(),WB(),dN()}),ez=b(()=>{"use strict";ZB(),YB(),KB(),XB(),JB()}),tz=b(()=>{}),rz=b(()=>{"use strict";MB=function(e){return e[e.CROSS_FADE=0]="CROSS_FADE",e[e.AUTO=7]="AUTO",e[e.HARD_CUT=1]="HARD_CUT",e[e.WIPE_UP=2]="WIPE_UP",e[e.WIPE_DOWN=3]="WIPE_DOWN",e[e.WIPE_LEFT=4]="WIPE_LEFT",e[e.WIPE_RIGHT=5]="WIPE_RIGHT",e[e.DIP_TO_BACKGROUND=6]="DIP_TO_BACKGROUND",e}(MB||{})}),nz=b(()=>{}),iz=b(()=>{}),sz=b(()=>{}),oz=b(()=>{"use strict";jB=function(e){return e[e.PLAIN_TO_CLASS=0]="PLAIN_TO_CLASS",e[e.CLASS_TO_PLAIN=1]="CLASS_TO_PLAIN",e[e.CLASS_TO_CLASS=2]="CLASS_TO_CLASS",e}(jB||{})}),az=b(()=>{"use strict";oz()}),lz=b(()=>{"use strict";az(),BB=class{constructor(){this._typeMetadatas=new Map,this._transformMetadatas=new Map,this._exposeMetadatas=new Map,this._excludeMetadatas=new Map,this._ancestorsMap=new Map}addTypeMetadata(e){this._typeMetadatas.has(e.target)||this._typeMetadatas.set(e.target,new Map),this._typeMetadatas.get(e.target).set(e.propertyName,e)}addTransformMetadata(e){this._transformMetadatas.has(e.target)||this._transformMetadatas.set(e.target,new Map),this._transformMetadatas.get(e.target).has(e.propertyName)||this._transformMetadatas.get(e.target).set(e.propertyName,[]),this._transformMetadatas.get(e.target).get(e.propertyName).push(e)}addExposeMetadata(e){this._exposeMetadatas.has(e.target)||this._exposeMetadatas.set(e.target,new Map),this._exposeMetadatas.get(e.target).set(e.propertyName,e)}addExcludeMetadata(e){this._excludeMetadatas.has(e.target)||this._excludeMetadatas.set(e.target,new Map),this._excludeMetadatas.get(e.target).set(e.propertyName,e)}findTransformMetadatas(e,t,r){return this.findMetadatas(this._transformMetadatas,e,t).filter(e=>!e.options||!0===e.options.toClassOnly&&!0===e.options.toPlainOnly||(!0===e.options.toClassOnly?r===jB.CLASS_TO_CLASS||r===jB.PLAIN_TO_CLASS:!0!==e.options.toPlainOnly||r===jB.CLASS_TO_PLAIN))}findExcludeMetadata(e,t){return this.findMetadata(this._excludeMetadatas,e,t)}findExposeMetadata(e,t){return this.findMetadata(this._exposeMetadatas,e,t)}findExposeMetadataByCustomName(e,t){return this.getExposedMetadatas(e).find(e=>e.options&&e.options.name===t)}findTypeMetadata(e,t){return this.findMetadata(this._typeMetadatas,e,t)}getStrategy(e){let t=this._excludeMetadatas.get(e),r=t&&t.get(void 0),n=this._exposeMetadatas.get(e),i=n&&n.get(void 0);return r&&i||!r&&!i?"none":r?"excludeAll":"exposeAll"}getExposedMetadatas(e){return this.getMetadata(this._exposeMetadatas,e)}getExcludedMetadatas(e){return this.getMetadata(this._excludeMetadatas,e)}getExposedProperties(e,t){return this.getExposedMetadatas(e).filter(e=>!e.options||!0===e.options.toClassOnly&&!0===e.options.toPlainOnly||(!0===e.options.toClassOnly?t===jB.CLASS_TO_CLASS||t===jB.PLAIN_TO_CLASS:!0!==e.options.toPlainOnly||t===jB.CLASS_TO_PLAIN)).map(e=>e.propertyName)}getExcludedProperties(e,t){return this.getExcludedMetadatas(e).filter(e=>!e.options||!0===e.options.toClassOnly&&!0===e.options.toPlainOnly||(!0===e.options.toClassOnly?t===jB.CLASS_TO_CLASS||t===jB.PLAIN_TO_CLASS:!0!==e.options.toPlainOnly||t===jB.CLASS_TO_PLAIN)).map(e=>e.propertyName)}clear(){this._typeMetadatas.clear(),this._exposeMetadatas.clear(),this._excludeMetadatas.clear(),this._ancestorsMap.clear()}getMetadata(e,t){let r,n=e.get(t);n&&(r=Array.from(n.values()).filter(e=>void 0!==e.propertyName));let i=[];for(let s of this.getAncestors(t)){let t=e.get(s);if(t){let e=Array.from(t.values()).filter(e=>void 0!==e.propertyName);i.push(...e)}}return i.concat(r||[])}findMetadata(e,t,r){let n=e.get(t);if(n){let e=n.get(r);if(e)return e}for(let i of this.getAncestors(t)){let t=e.get(i);if(t){let e=t.get(r);if(e)return e}}}findMetadatas(e,t,r){let n,i=e.get(t);i&&(n=i.get(r));let s=[];for(let o of this.getAncestors(t)){let t=e.get(o);t&&t.has(r)&&s.push(...t.get(r))}return s.slice().reverse().concat((n||[]).slice().reverse())}getAncestors(e){if(!e)return[];if(!this._ancestorsMap.has(e)){let t=[];for(let r=Object.getPrototypeOf(e.prototype.constructor);typeof r.prototype<"u";r=Object.getPrototypeOf(r.prototype.constructor))t.push(r);this._ancestorsMap.set(e,t)}return this._ancestorsMap.get(e)}}}),uz=b(()=>{"use strict";lz(),zB=new BB});var cz=b(()=>{});var hz=b(()=>{}),dz=b(()=>{"use strict";cz(),hz()});var pz,fz,mz,gz=b(()=>{"use strict";uz(),az(),dz(),pz=class{constructor(e,t){this.transformationType=e,this.options=t,this.recursionStack=new Set}transform(e,t,n,i,s,o=0){if(Array.isArray(t)||t instanceof Set){let r=i&&this.transformationType===jB.PLAIN_TO_CLASS?function(e){let t=new e;return t instanceof Set||"push"in t?t:[]}(i):[];return t.forEach((t,i)=>{let s=e?e[i]:void 0;if(this.options.enableCircularCheck&&this.isCircular(t))this.transformationType===jB.CLASS_TO_CLASS&&(r instanceof Set?r.add(t):r.push(t));else{let e;if("function"!=typeof n&&n&&n.options&&n.options.discriminator&&n.options.discriminator.property&&n.options.discriminator.subTypes){if(this.transformationType===jB.PLAIN_TO_CLASS){e=n.options.discriminator.subTypes.find(e=>e.name===t[n.options.discriminator.property]);let i={newObject:r,object:t,property:void 0},s=n.typeFunction(i);e=void 0===e?s:e.value,n.options.keepDiscriminatorProperty||delete t[n.options.discriminator.property]}this.transformationType===jB.CLASS_TO_CLASS&&(e=t.constructor),this.transformationType===jB.CLASS_TO_PLAIN&&(t[n.options.discriminator.property]=n.options.discriminator.subTypes.find(e=>e.value===t.constructor).name)}else e=n;let i=this.transform(s,t,e,void 0,t instanceof Map,o+1);r instanceof Set?r.add(i):r.push(i)}}),r}if(n===String&&!s)return null==t?t:String(t);if(n===Number&&!s)return null==t?t:Number(t);if(n===Boolean&&!s)return null==t?t:!!t;if((n===Date||t instanceof Date)&&!s)return t instanceof Date?new Date(t.valueOf()):null==t?t:new Date(t);if((typeof globalThis<"u"?globalThis:typeof r.g<"u"?r.g:typeof window<"u"?window:typeof self<"u"?self:void 0).Buffer&&(n===Buffer||t instanceof Buffer)&&!s)return null==t?t:Buffer.from(t);if(function(e){return null!==e&&"object"==typeof e&&"function"==typeof e.then}(t)&&!s)return new Promise((e,r)=>{t.then(t=>e(this.transform(void 0,t,n,void 0,void 0,o+1)),r)});if(!s&&null!==t&&"object"==typeof t&&"function"==typeof t.then)return t;if("object"==typeof t&&null!==t){!n&&t.constructor!==Object&&(!Array.isArray(t)&&t.constructor===Array||(n=t.constructor)),!n&&e&&(n=e.constructor),this.options.enableCircularCheck&&this.recursionStack.add(t);let r=this.getKeys(n,t,s),i=e||{};!e&&(this.transformationType===jB.PLAIN_TO_CLASS||this.transformationType===jB.CLASS_TO_CLASS)&&(i=s?
101new Map:n?new n:{});for(let a of r){if("__proto__"===a||"constructor"===a)continue;let r,l=a,u=a,c=a;if(!this.options.ignoreDecorators&&n)if(this.transformationType===jB.PLAIN_TO_CLASS){let e=zB.findExposeMetadataByCustomName(n,a);e&&(c=e.propertyName,u=e.propertyName)}else if(this.transformationType===jB.CLASS_TO_PLAIN||this.transformationType===jB.CLASS_TO_CLASS){let e=zB.findExposeMetadata(n,a);e&&e.options&&e.options.name&&(u=e.options.name)}r=this.transformationType===jB.PLAIN_TO_CLASS?t[l]:t instanceof Map?t.get(l):t[l]instanceof Function?t[l]():t[l];let h,d=r instanceof Map;if(n&&s)h=n;else if(n){let e=zB.findTypeMetadata(n,c);if(e){let n={newObject:i,object:t,property:c},s=e.typeFunction?e.typeFunction(n):e.reflectedType;e.options&&e.options.discriminator&&e.options.discriminator.property&&e.options.discriminator.subTypes?t[l]instanceof Array?h=e:(this.transformationType===jB.PLAIN_TO_CLASS&&(h=e.options.discriminator.subTypes.find(t=>{if(r&&r instanceof Object&&e.options.discriminator.property in r)return t.name===r[e.options.discriminator.property]}),h=void 0===h?s:h.value,e.options.keepDiscriminatorProperty||r&&r instanceof Object&&e.options.discriminator.property in r&&delete r[e.options.discriminator.property]),this.transformationType===jB.CLASS_TO_CLASS&&(h=r.constructor),this.transformationType===jB.CLASS_TO_PLAIN&&r&&(r[e.options.discriminator.property]=e.options.discriminator.subTypes.find(e=>e.value===r.constructor).name)):h=s,d=d||e.reflectedType===Map}else if(this.options.targetMaps)this.options.targetMaps.filter(e=>e.target===n&&!!e.properties[c]).forEach(e=>h=e.properties[c]);else if(this.options.enableImplicitConversion&&this.transformationType===jB.PLAIN_TO_CLASS){let e=Reflect.getMetadata("design:type",n.prototype,c);e&&(h=e)}}let p=Array.isArray(t[l])?this.getReflectedType(n,c):void 0,f=e?e[l]:void 0;if(i.constructor.prototype){let e=Object.getOwnPropertyDescriptor(i.constructor.prototype,u);if((this.transformationType===jB.PLAIN_TO_CLASS||this.transformationType===jB.CLASS_TO_CLASS)&&(e&&!e.set||i[u]instanceof Function))continue}if(this.options.enableCircularCheck&&this.isCircular(r)){if(this.transformationType===jB.CLASS_TO_CLASS){let e=r;e=this.applyCustomTransformations(e,n,a,t,this.transformationType),(void 0!==e||this.options.exposeUnsetFields)&&(i instanceof Map?i.set(u,e):i[u]=e)}}else{let e,s=this.transformationType===jB.PLAIN_TO_CLASS?u:a;this.transformationType===jB.CLASS_TO_PLAIN?(e=t[s],e=this.applyCustomTransformations(e,n,s,t,this.transformationType),e=t[s]===e?r:e,e=this.transform(f,e,h,p,d,o+1)):void 0===r&&this.options.exposeDefaultValues?e=i[u]:(e=this.transform(f,r,h,p,d,o+1),e=this.applyCustomTransformations(e,n,s,t,this.transformationType)),(void 0!==e||this.options.exposeUnsetFields)&&(i instanceof Map?i.set(u,e):i[u]=e)}}return this.options.enableCircularCheck&&this.recursionStack.delete(t),i}return t}applyCustomTransformations(e,t,r,n,i){let s=zB.findTransformMetadatas(t,r,this.transformationType);return void 0!==this.options.version&&(s=s.filter(e=>!e.options||this.checkVersion(e.options.since,e.options.until))),s=this.options.groups&&this.options.groups.length?s.filter(e=>!e.options||this.checkGroups(e.options.groups)):s.filter(e=>!e.options||!e.options.groups||!e.options.groups.length),s.forEach(t=>{e=t.transformFn({value:e,key:r,obj:n,type:i,options:this.options})}),e}isCircular(e){return this.recursionStack.has(e)}getReflectedType(e,t){if(!e)return;let r=zB.findTypeMetadata(e,t);return r?r.reflectedType:void 0}getKeys(e,t,r){let n=zB.getStrategy(e);"none"===n&&(n=this.options.strategy||"exposeAll");let i=[];if(("exposeAll"===n||r)&&(i=t instanceof Map?Array.from(t.keys()):Object.keys(t)),r)return i;if(this.options.ignoreDecorators&&this.options.excludeExtraneousValues&&e){i=[...zB.getExposedProperties(e,this.transformationType),...zB.getExcludedProperties(e,this.transformationType)]}if(!this.options.ignoreDecorators&&e){let t=zB.getExposedProperties(e,this.transformationType);this.transformationType===jB.PLAIN_TO_CLASS&&(t=t.map(t=>{let r=zB.findExposeMetadata(e,t);return r&&r.options&&r.options.name?r.options.name:t})),i=this.options.excludeExtraneousValues?t:i.concat(t);let r=zB.getExcludedProperties(e,this.transformationType);r.length>0&&(i=i.filter(e=>!r.includes(e))),void 0!==this.options.version&&(i=i.filter(t=>{let r=zB.findExposeMetadata(e,t);return!r||!r.options||this.checkVersion(r.options.since,r.options.until)})),i=this.options.groups&&this.options.groups.length?i.filter(t=>{let r=zB.findExposeMetadata(e,t);return!r||!r.options||this.checkGroups(r.options.groups)}):i.filter(t=>{let r=zB.findExposeMetadata(e,t);return!(r&&r.options&&r.options.groups&&r.options.groups.length)})}return this.options.excludePrefixes&&this.options.excludePrefixes.length&&(i=i.filter(e=>this.options.excludePrefixes.every(t=>e.substr(0,t.length)!==t))),i=i.filter((e,t,r)=>r.indexOf(e)===t),i}checkVersion(e,t){let r=!0;return r&&e&&(r=this.options.version>=e),r&&t&&(r=this.options.version<t),r}checkGroups(e){return!e||this.options.groups.some(t=>e.includes(t))}}}),yz=b(()=>{"use strict";fz={enableCircularCheck:!1,enableImplicitConversion:!1,excludeExtraneousValues:!1,excludePrefixes:void 0,exposeDefaultValues:!1,exposeUnsetFields:!0,groups:void 0,ignoreDecorators:!1,strategy:void 0,targetMaps:void 0,version:void 0}}),vz=b(()=>{"use strict";gz(),az(),yz(),mz=class{instanceToPlain(e,t){return new pz(jB.CLASS_TO_PLAIN,y(y({},fz),t)).transform(void 0,e,void 0,void 0,void 0,void 0)}classToPlainFromExist(e,t,r){return new pz(jB.CLASS_TO_PLAIN,y(y({},fz),r)).transform(t,e,void 0,void 0,void 0,void 0)}plainToInstance(e,t,r){return new pz(jB.PLAIN_TO_CLASS,y(y({},fz),r)).transform(void 0,t,e,void 0,void 0,void 0)}plainToClassFromExist(e,t,r){return new pz(jB.PLAIN_TO_CLASS,y(y({},fz),r)).transform(e,t,void 0,void 0,void 0,void 0)}instanceToInstance(e,t){return new pz(jB.CLASS_TO_CLASS,y(y({},fz),t)).transform(void 0,e,void 0,void 0,void 0,void 0)}classToClassFromExist(e,t,r){return new pz(jB.CLASS_TO_CLASS,y(y({},fz),r)).transform(t,e,void 0,void 0,void 0,void 0)}serialize(e,t){return JSON.stringify(this.instanceToPlain(e,t))}deserialize(e,t,r){let n=JSON.parse(t);return this.plainToInstance(e,n,r)}deserializeArray(e,t,r){let n=JSON.parse(t);return this.plainToInstance(e,n,r)}}});function bz(e={}){return function(t,r){zB.addExcludeMetadata({target:t instanceof Function?t:t.constructor,propertyName:r,options:e})}}var _z=b(()=>{"use strict";uz()}),wz=b(()=>{}),Sz=b(()=>{}),Ez=b(()=>{}),kz=b(()=>{});function Cz(e,t={}){return function(r,n){zB.addTransformMetadata({target:r.constructor,propertyName:n,transformFn:e,options:t})}}var Dz=b(()=>{"use strict";uz()});function Tz(e,t={}){return function(r,n){let i=Reflect.getMetadata("design:type",r,n);zB.addTypeMetadata({target:r.constructor,propertyName:n,reflectedType:i,typeFunction:e,options:t})}}var xz=b(()=>{"use strict";uz()}),Oz=b(()=>{"use strict";_z(),wz(),Sz(),Ez(),kz(),Dz(),xz()}),Az=b(()=>{}),Pz=b(()=>{}),Iz=b(()=>{}),Rz=b(()=>{}),Nz=b(()=>{}),Fz=b(()=>{}),Lz=b(()=>{}),Mz=b(()=>{}),jz=b(()=>{}),Bz=b(()=>{}),zz=b(()=>{}),Vz=b(()=>{}),$z=b(()=>{}),Uz=b(()=>{}),qz=b(()=>{"use strict";Az(),Pz(),Iz(),Rz(),Nz(),Fz(),Lz(),Mz(),jz(),Bz(),zz(),Vz(),$z(),Uz()});function Hz(e,t){return Qz.instanceToPlain(e,t)}function Gz(e,t,r){return Qz.plainToInstance(e,t,r)}function Wz(e,t){return Qz.instanceToInstance(e,t)}var Qz,Zz,Yz,Kz,Xz,Jz,eV,tV,rV,nV,iV,sV,oV,aV,lV,uV,cV,hV,dV,pV,fV,mV,gV=b(()=>{"use strict";vz(),Oz(),qz(),az(),Qz=new mz}),yV=_((s,o)=>{"use strict";var a;a=function(){var e=6e4,t=36e5,r="millisecond",n="second",i="minute",s="hour",o="day",a="week",l="month",u="quarter",c="year",h="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}
vendor: 5,418 bytes, line 101
101|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},y={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,l),s=r-i<0,o=t.clone().add(n+(s?-1:1),l);return+(-(n+(r-i)/(s?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:c,w:a,d:o,D:h,h:s,m:i,s:n,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",b={};b[v]=m;var _="$isDayjsObject",w=function(e){return e instanceof C||!(!e||!e[_])},S=function e(t,r,n){var i;if(!t)return v;if("string"==typeof t){var s=t.toLowerCase();b[s]&&(i=s),r&&(b[s]=r,i=s);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var a=t.name;b[a]=t,i=a}return!n&&i&&(v=i),i||!n&&v},E=function(e,t){if(w(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new C(r)},k=y;k.l=S,k.i=w,k.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function m(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[_]=!0}var g=m.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(p);if(n){var i=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(t)}(e),this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return k},g.isValid=function(){return this.$d.toString()!==d},g.isSame=function(e,t){var r=E(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return E(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<E(e)},g.$g=function(e,t,r){return k.u(e)?this[t]:this.set(r,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var r=this,u=!!k.u(t)||t,d=k.p(e),p=function(e,t){var n=k.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return u?n:n.endOf(o)},f=function(e,t){return k.w(r.toDate()[e].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},m=this.$W,g=this.$M,y=this.$D,v="set"+(this.$u?"UTC":"");switch(d){case c:return u?p(1,0):p(31,11);case l:return u?p(1,g):p(0,g+1);case a:var b=this.$locale().weekStart||0,_=(m<b?m+7:m)-b;return p(u?y-_:y+(6-_),g);case o:case h:return f(v+"Hours",0);case s:return f(v+"Minutes",1);case i:return f(v+"Seconds",2);case n:return f(v+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var a,u=k.p(e),d="set"+(this.$u?"UTC":""),p=(a={},a[o]=d+"Date",a[h]=d+"Date",a[l]=d+"Month",a[c]=d+"FullYear",a[s]=d+"Hours",a[i]=d+"Minutes",a[n]=d+"Seconds",a[r]=d+"Milliseconds",a)[u],f=u===o?this.$D+(t-this.$W):t;if(u===l||u===c){var m=this.clone().set(h,1);m.$d[p](f),m.init(),this.$d=m.set(h,Math.min(this.$D,m.daysInMonth())).$d}else p&&this.$d[p](f);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[k.p(e)]()},g.add=function(r,u){var h,d=this;r=Number(r);var p=k.p(u),f=function(e){var t=E(d);return k.w(t.date(t.date()+Math.round(e*r)),d)};if(p===l)return this.set(l,this.$M+r);if(p===c)return this.set(c,this.$y+r);if(p===o)return f(1);if(p===a)return f(7);var m=(h={},h[i]=e,h[s]=t,h[n]=1e3,h)[p]||1,g=this.$d.getTime()+r*m;return k.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||d;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=k.z(this),s=this.$H,o=this.$m,a=this.$M,l=r.weekdays,u=r.months,c=r.meridiem,h=function(e,r,i,s){return e&&(e[r]||e(t,n))||i[r].slice(0,s)},p=function(e){return k.s(s%12||12,e,"0")},m=c||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(f,function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return a+1;case"MM":return k.s(a+1,2,"0");case"MMM":return h(r.monthsShort,a,u,3);case"MMMM":return h(u,a);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return h(r.weekdaysMin,t.$W,l,2);case"ddd":return h(r.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(s);case"HH":return k.s(s,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(s,o,!0);case"A":return m(s,o,!1);case"m":return String(o);case"mm":return k.s(o,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})}
101,g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(r,h,d){var p,f=this,m=k.p(h),g=E(r),y=(g.utcOffset()-this.utcOffset())*e,v=this-g,b=function(){return k.m(f,g)};switch(m){case c:p=b()/12;break;case l:p=b();break;case u:p=b()/3;break;case a:p=(v-y)/6048e5;break;case o:p=(v-y)/864e5;break;case s:p=v/t;break;case i:p=v/e;break;case n:p=v/1e3;break;default:p=v}return d?p:k.a(p)},g.daysInMonth=function(){return this.endOf(l).$D},g.$locale=function(){return b[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=S(e,t,!0);return n&&(r.$L=n),r},g.clone=function(){return k.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},m}(),D=C.prototype;return E.prototype=D,[["$ms",r],["$s",n],["$m",i],["$H",s],["$W",o],["$M",l],["$y",c],["$D",h]].forEach(function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),E.extend=function(e,t){return e.$i||(e(t,C,E),e.$i=!0),E},E.locale=S,E.isDayjs=w,E.unix=function(e){return E(1e3*e)},E.en=b[v],E.Ls=b,E.p={},E},"object"==typeof s&&typeof o<"u"?o.exports=a():void 0===(i="function"==typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=i)}),vV=b(()=>{"use strict";Zz=function(e){return e[e.SLOW=0]="SLOW",e[e.UPTEMPO=1]="UPTEMPO",e}(Zz||{})}),bV=b(()=>{"use strict";gV(),vV(),Yz=class{constructor(){this.is_custom=!1,this.name="",this.tempo_type="",this.id=-1,this.matching_images=0,this.version=1,this.configs_path="",this.tempo_id=Zz.SLOW,this.transitions=[]}get isSlow(){return this.tempo_id===Zz.SLOW}get isUptempo(){return this.tempo_id===Zz.UPTEMPO}getPlain(){return Hz(this)}}}),_V=b(()=>{"use strict";Kz=function(e){return e[e.MY_UPLOADS=0]="MY_UPLOADS",e[e.PARTY_TIME=1]="PARTY_TIME",e[e.HAPPY=2]="HAPPY",e[e.CALM_MELODIES=3]="CALM_MELODIES",e[e.BEATS=4]="BEATS",e[e.EMOTIONAL=5]="EMOTIONAL",e[e.LOVE_SONGS=6]="LOVE_SONGS",e[e.EPIC_BEAT_MATCHING=7]="EPIC_BEAT_MATCHING",e}(Kz||{})}),wV=b(()=>{"use strict";Xz=function(e){return e[e.LOW=0]="LOW",e[e.LOW_MEDIUM=1]="LOW_MEDIUM",e[e.MEDIUM=2]="MEDIUM",e[e.MEDIUM_HIGH=3]="MEDIUM_HIGH",e[e.HIGH=4]="HIGH",e}(Xz||{})}),SV=b(()=>{"use strict";ur(),gV(),Jz=w(yV()),bV(),_V(),wV(),eV=class e{constructor(){this.templates=[],this.up_tempo=null,this.down_tempo=null,this.lyrics=null,this.energy=null,this.is_new=!1,this.expires_at=null,this.genre=null,this.original_file_name="",this.instrumental=!1,this.is_favorite=!1,this.song_title="",this.audio_mp3="",this.audio_ogg="",this.expired=!1,this.id=-1,this.category="",this.waveform_data=[],this.artist="",this.length=0,this.provider=null,this.round_added=null,this.category_id=Kz.MY_UPLOADS,this.energy_id=Xz.LOW,this.is_recently_used=null,this.is_enabled=!1,this.duration=(0,Jz.default)(0)}static{this.CUSTOM_CATEGORY="My Uploads"}get isCustom(){return this.category===e.CUSTOM_CATEGORY}get durationFormat(){return this.duration||(this.duration=(0,Jz.default)(1e3*Math.round(1e3*this.length/60/1e3))),this.duration.format("mm:ss")}get slowInfo(){return this.slowTemplate||(this.slowTemplate=this.templates.find(e=>e.isSlow)),this.slowTemplate}get uptempoInfo(){return this.uptempoTemplate||(this.uptempoTemplate=this.templates.find(e=>e.isUptempo)),this.uptempoTemplate}markAsFavorite(){return this.is_favorite=!0,Wz(this)}removeFromFavorites(){return this.is_favorite=!1,Wz(this)}updateInfo(t){return Gz(e,Object.assign(Hz(this),t))}hasNoTitleOrArtist(){return!this.song_title||!this.artist}getPlain(){return Hz(this)}},Kt([bz(),Xt("design:type",Yz)],eV.prototype,"slowTemplate",void 0),Kt([bz(),Xt("design:type",Yz)],eV.prototype,"uptempoTemplate",void 0),Kt([Cz(({value:e})=>Hz(e),{toPlainOnly:!0}),Tz(()=>Yz),Xt("design:type",Array)],eV.prototype,"templates",void 0),Kt([bz(),Xt("design:type",Jz.Dayjs)],eV.prototype,"duration",void 0)}),EV=b(()=>{}),kV=b(()=>{}),CV=b(()=>{}),DV=b(()=>{}),TV=b(()=>{}),xV=b(()=>{}),OV=b(()=>{}),AV=b(()=>{}),PV=b(()=>{}),IV=b(()=>{"use strict";PV()}),RV=b(()=>{"use strict";PV()}),NV=b(()=>{"use strict";PV()}),FV=b(()=>{"use strict";PV()}),LV=b(()=>{"use strict";RV(),NV(),FV()}),MV=b(()=>{"use strict";IV(),RV(),NV(),FV(),LV()}),jV=b(()=>{"use strict";MV()}),BV=b(()=>{"use strict";dN(),jV(),dN()}),zV=b(()=>{}),VV=b(()=>{}),$V=b(()=>{}),UV=b(()=>{}),qV=b(()=>{"use strict";tV=class{}}),HV=b(()=>{"use strict";rV=class{}}),GV=b(()=>{"use strict";nV=class{}}),WV=b(()=>{"use strict";iV=class{}}),QV=b(()=>{"use strict";ur(),gV(),qV(),HV(),GV(),WV(),sV=class{},Kt([Tz(()=>rV),Xt("design:type",rV)],sV.prototype,"embed_config",void 0),Kt([Tz(()=>nV),Xt("design:type",nV)],sV.prototype,"featured_image",void 0),Kt([Tz(()=>tV),Xt("design:type",tV)],sV.prototype,"call_to_action",void 0),Kt([Tz(()=>iV),Xt("design:type",iV)],sV.prototype,"focal_point",void 0)}),ZV=b(()=>{"use strict";GV(),oV=class extends nV{}}),YV=b(()=>{"use strict";ur(),gV(),ZV(),bV(),SV(),aV=class{},Kt([Tz(()=>Yz),Xt("design:type",Object)],aV.prototype,"beat_matching_template",void 0),Kt([Tz(()=>oV),Xt("design:type",Array)],aV.prototype,"photos",void 0),Kt([Tz(()=>Yz),Xt("design:type",Yz)],aV.prototype,"template",void 0),Kt([Tz(()=>eV),Xt("design:type",eV)],aV.prototype,"audio",void 0)}),KV=b(()=>{"use strict";ur(),QV(),YV(),gV(),lV=class{},Kt([Tz(()=>aV),Xt("design:type",Array)],lV.prototype,"segments",void 0),Kt([Tz(()=>sV),Xt("design:type",sV)],lV.prototype,"common_data",void 0)}),XV=b(()=>{}),JV=b(()=>{}),e$=b(()=>{}),t$=b(()=>{"use strict";uV=class{}}
101),r$=b(()=>{"use strict";ur(),t$(),gV(),cV=class{},Kt([Tz(()=>uV),Xt("design:type",uV)],cV.prototype,"studio_logo",void 0)}),n$=b(()=>{"use strict";hV=class{}}),i$=b(()=>{"use strict";ur(),QV(),YV(),gV(),dV=class{},Kt([Tz(()=>aV),Xt("design:type",Array)],dV.prototype,"segments",void 0),Kt([Tz(()=>sV),Xt("design:type",sV)],dV.prototype,"common_data",void 0)}),s$=_((s,o)=>{"use strict";var a;a=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,i,s){var o=i.prototype;s.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var r=s(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},o.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var a=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var l=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var u=o.utcOffset;o.utcOffset=function(n,i){var s=this.$utils().u;if(s(n))return this.$u?0:s(this.$offset)?u.call(this):this.$offset;if("string"==typeof n&&null===(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var i=(""+n[0]).match(r)||["-",0,0],s=i[0],o=60*+i[1]+ +i[2];return 0===o?0:"+"===s?o:-o}(n)))return this;var o=Math.abs(n)<=16?60*n:n;if(0===o)return this.utc(i);var a=this.clone();if(i)return a.$offset=o,a.$u=!1,a;var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(a=this.local().add(o+l,e)).$offset=o,a.$x.$localOffset=l,a};var c=o.format;o.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var h=o.toDate;o.toDate=function(e){return"s"===e&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var d=o.diff;o.diff=function(e,t,r){if(e&&this.$u===e.$u)return d.call(this,e,t,r);var n=this.local(),i=s(e).local();return d.call(n,i,t,r)}}},"object"==typeof s&&typeof o<"u"?o.exports=a():void 0===(i="function"==typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=i)}),o$=b(()=>{"use strict";ur(),r$(),gV(),n$(),i$(),pV=w(yV()),fV=w(s$()),pV.default.extend(fV.default),mV=class e{static parseDate(e){if(!e)return null;let t=pV.default.unix(e);return t.utc().add(-t.utcOffset(),"minutes").toDate().getTime()}isProtected(){return this.password_protected}isNotProtected(){return!this.password_protected}getTheme(){return this.slide_show.common_data.theme}getEventDate(){return e.parseDate(this.slide_show.common_data.event_date)}getName(){return this.slide_show.name}getLogoUrl(){return this.user.business_logo}getStudioName(){return this.user.studio_name||this.user.full_name}getAnalyticsCode(){return this.user.ga_user_code}isNoTracking(){return this.user.no_tracking}},Kt([Tz(()=>cV),Xt("design:type",cV)],mV.prototype,"user",void 0),Kt([Tz(()=>hV),Xt("design:type",hV)],mV.prototype,"urls",void 0),Kt([Tz(()=>dV),Xt("design:type",dV)],mV.prototype,"slide_show",void 0)}),a$=b(()=>{"use strict";dN(),o$(),dN()}),l$=b(()=>{}),u$=b(()=>{}),c$=b(()=>{}),h$=b(()=>{}),d$=b(()=>{}),p$=b(()=>{"use strict";dN()}),f$=b(()=>{"use strict";cI()}),m$=b(()=>{"use strict";w(yV()),cI(),rz(),MB.AUTO}),g$=b(()=>{}),y$=b(()=>{}),v$=b(()=>{"use strict";f$(),m$(),p$(),g$(),y$()}),b$=b(()=>{}),_$=b(()=>{}),w$=b(()=>{}),S$=b(()=>{}),E$=b(()=>{}),k$=b(()=>{"use strict";dN(),jV()}),C$=b(()=>{"use strict";jV(),cI()}),D$=b(()=>{}),T$=b(()=>{"use strict";D$()}),x$=b(()=>{}),O$=b(()=>{"use strict";ez(),tz(),rz(),nz(),iz(),sz(),SV(),EV(),kV(),CV(),DV(),TV(),xV(),OV(),AV(),BV(),zV(),VV(),$V(),UV(),qV(),QV(),HV(),GV(),WV(),ZV(),YV(),KV(),bV(),XV(),JV(),e$(),a$(),l$(),u$(),c$(),i$(),o$(),t$(),n$(),r$(),h$(),QB(),WB(),ZB(),KB(),YB(),d$(),p$(),v$(),b$(),_$(),w$(),XB(),JB(),S$(),E$(),k$(),C$(),jV(),D$(),y$(),T$(),x$()}),A$=b(()=>{"use strict";NB(),O$()}),P$=b(()=>{"use strict";IB(),NB(),A$()});function I$(e){this.message=e}function R$(e){this.message=e}var N$,F$=b(()=>{"use strict";I$.prototype=new Error,I$.prototype.name="InvalidCharacterError",typeof window<"u"&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new I$("'atob' failed: The string to be decoded is not correctly encoded.");for(var r,n,i=0,s=0,o="";n=t.charAt(s++);~n&&(r=i%4?64*r+n:n,i++%4)?o+=String.fromCharCode(255&r>>(-2*i&6)):0)n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
101+/=".indexOf(n);return o},R$.prototype=new Error,R$.prototype.name="InvalidTokenError"}),L$=b(()=>{"use strict";F$(),w(yV())}),M$=b(()=>{}),j$=b(()=>{}),B$=b(()=>{}),z$=b(()=>{}),V$=b(()=>{}),$$=b(()=>{"use strict";P$(),IB(),L$(),NB(),A$(),RB(),M$(),j$(),B$(),z$(),V$()}),U$=b(()=>{}),q$=b(()=>{"use strict";fy(),N$=new na("Photographer backend client id")}),H$=b(()=>{"use strict";U$(),q$()}),G$=b(()=>{"use strict";$$()}),W$=b(()=>{"use strict";CB(),dN(),$$(),F$(),H$(),G$()}),Q$=b(()=>{"use strict";dN(),W$()}),Z$=b(()=>{}),Y$=b(()=>{}),K$=b(()=>{}),X$=b(()=>{}),J$=b(()=>{}),eU=b(()=>{}),tU=b(()=>{}),rU=b(()=>{"use strict";Z$(),Y$(),K$(),X$(),J$(),eU(),tU()}),nU=b(()=>{}),iU=b(()=>{}),sU=b(()=>{"use strict";iU()}),oU=b(()=>{}),aU=b(()=>{}),lU=b(()=>{}),uU=b(()=>{"use strict";sU(),iU(),oU(),aU(),lU()}),cU=b(()=>{"use strict";uU(),CB()}),hU=b(()=>{"use strict";W$(),Q$(),rU(),nU(),H$(),cU()});var dU,pU=b(()=>{"use strict";ur(),YD(),mT(),YD(),OT(),dU=function(e){function t(t){var r=e.call(this)||this;return r.client=t,r}return Zt(t,e),t.prototype.request=function(e){var t=this;return new oD(function(r){return t.client.subscribe(ar(ar({},e),{query:vC(e.query)}),{next:r.next.bind(r),complete:r.complete.bind(r),error:function(e){if(e instanceof Error)return r.error(e);var t=function(e){return hE(e)&&"code"in e&&"reason"in e}(e);return t||function(e){var t;return hE(e)&&(null===(t=e.target)||void 0===t?void 0:t.readyState)===WebSocket.CLOSED}(e)?r.error(new Error("Socket closed".concat(t?" with event ".concat(e.code):"").concat(t?" ".concat(e.reason):""))):r.error(new xT({graphQLErrors:Array.isArray(e)?e:[e]}))}})})},t}(uT)});function fU(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function mU(e){return"object"===fU(e)}function gU(e,t){return e.length<124?e:t}function yU(e){if(!mU(e))throw new Error(`Message is expected to be an object, but got ${fU(e)}`);if(!e.type)throw new Error("Message is missing the 'type' property");if("string"!=typeof e.type)throw new Error(`Message is expects the 'type' property to be a string, but got ${fU(e.type)}`);switch(e.type){case"connection_init":case"connection_ack":case"ping":case"pong":if(null!=e.payload&&!mU(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break;case"subscribe":if("string"!=typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${fU(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!mU(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${fU(e.payload)}`);if("string"!=typeof e.payload.query)throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${fU(e.payload.query)}`);if(null!=e.payload.variables&&!mU(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${fU(e.payload.variables)}`);if(null!=e.payload.operationName&&"string"!==fU(e.payload.operationName))throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${fU(e.payload.operationName)}`);if(null!=e.payload.extensions&&!mU(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${fU(e.payload.extensions)}`);break;case"next":if("string"!=typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${fU(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!mU(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${fU(e.payload)}`);break;case"error":if("string"!=typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${fU(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);
101if(!function(e){return Array.isArray(e)&&e.length>0&&e.every(e=>"message"in e)}(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break;case"complete":if("string"!=typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${fU(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${e.type}"`)}return e}function vU(e,t){return yU(e),JSON.stringify(e,t)}var bU,_U,wU,SU=b(()=>{"use strict";bU="graphql-transport-ws",_U=(e=>(e[e.InternalServerError=4500]="InternalServerError",e[e.InternalClientError=4005]="InternalClientError",e[e.BadRequest=4400]="BadRequest",e[e.BadResponse=4004]="BadResponse",e[e.Unauthorized=4401]="Unauthorized",e[e.Forbidden=4403]="Forbidden",e[e.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",e[e.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",e[e.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",e[e.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",e[e.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",e))(_U||{}),wU=(e=>(e.ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete",e))(wU||{})});function EU(e){let t,{url:n,connectionParams:i,lazy:s=!0,onNonLazyError:o=console.error,lazyCloseTimeout:a=0,keepAlive:l=0,disablePong:u,connectionAckWaitTimeout:c=0,retryAttempts:h=5,retryWait:d=function(e){return S(this,null,function*(){let t=Math.pow(2,e);yield new Promise(e=>setTimeout(e,1e3*t+Math.floor(2700*Math.random()+300)))})},shouldRetry:p=kU,on:f,webSocketImpl:m,generateID:g=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},jsonMessageReplacer:y,jsonMessageReviver:v}=e;if(m){if(!function(e){return"function"==typeof e&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}(m))throw new Error("Invalid WebSocket implementation provided");t=m}else typeof WebSocket<"u"?t=WebSocket:typeof r.g<"u"?t=r.g.WebSocket||r.g.MozWebSocket:typeof window<"u"&&(t=window.WebSocket||window.MozWebSocket);if(!t)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");let b=t,_=(()=>{let e=(()=>{let e={};return{on(t,r){return e[t]=r,()=>{delete e[t]}},emit(t){"id"in t&&e[t.id]?.(t)}}})(),t={connecting:f?.connecting?[f.connecting]:[],opened:f?.opened?[f.opened]:[],connected:f?.connected?[f.connected]:[],ping:f?.ping?[f.ping]:[],pong:f?.pong?[f.pong]:[],message:f?.message?[e.emit,f.message]:[e.emit],closed:f?.closed?[f.closed]:[],error:f?.error?[f.error]:[]};return{onMessage:e.on,on(e,r){let n=t[e];return n.push(r),()=>{n.splice(n.indexOf(r),1)}},emit(e,...r){for(let n of[...t[e]])n(...r)}}})();function w(e){let t=[_.on("error",r=>{t.forEach(e=>e()),e(r)}),_.on("closed",r=>{t.forEach(e=>e()),e(r)})]}let C,D,T=0,x=!1,O=0,A=!1;function P(){return S(this,null,function*(){clearTimeout(D);let[e,t]=yield C??(C=new Promise((e,t)=>S(null,null,function*(){if(x){if(yield d(O),!T)return C=void 0,t({code:1e3,reason:"All Subscriptions Gone"});O++}_.emit("connecting",x);let r,s,o=new b("function"==typeof n?yield n():n,bU);function a(){isFinite(l)&&l>0&&(clearTimeout(s),s=setTimeout(()=>{o.readyState===b.OPEN&&(o.send(vU({type:wU.Ping})),_.emit("ping",!1,void 0))},l))}w(e=>{C=void 0,clearTimeout(r),clearTimeout(s),t(e),e instanceof CU&&(o.close(4499,"Terminated"),o.onerror=null,o.onclose=null)}),o.onerror=e=>_.emit("error",e),o.onclose=e=>_.emit("closed",e),o.onopen=()=>S(null,null,function*(){try{_.emit("opened",o);let e="function"==typeof i?yield i():i;if(o.readyState!==b.OPEN)return;o.send(vU(e?{type:wU.ConnectionInit,payload:e}:{type:wU.ConnectionInit},y)),isFinite(c)&&c>0&&(r=setTimeout(()=>{o.close(_U.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},c)),a()}catch(e){_.emit("error",e),o.close(_U.InternalClientError,gU(e instanceof Error?e.message:String(e),"Internal
101client error"))}});let h=!1;o.onmessage=({data:t})=>{try{let n=function(e,t){return yU("string"==typeof e?JSON.parse(e,t):e)}(t,v);if(_.emit("message",n),"ping"===n.type||"pong"===n.type)return _.emit(n.type,!0,n.payload),void("pong"===n.type?a():u||(o.send(vU(n.payload?{type:wU.Pong,payload:n.payload}:{type:wU.Pong})),_.emit("pong",!1,n.payload)));if(h)return;if(n.type!==wU.ConnectionAck)throw new Error(`First message cannot be of type ${n.type}`);clearTimeout(r),h=!0,_.emit("connected",o,n.payload,x),x=!1,O=0,e([o,new Promise((e,t)=>w(t))])}catch(n){o.onmessage=null,_.emit("error",n),o.close(_U.BadResponse,gU(n instanceof Error?n.message:String(n),"Bad response"))}}})));e.readyState===b.CLOSING&&(yield t);let r=()=>{},s=new Promise(e=>r=e);return[e,r,Promise.race([s.then(()=>{if(!T){let t=()=>e.close(1e3,"Normal Closure");isFinite(a)&&a>0?D=setTimeout(()=>{e.readyState===b.OPEN&&t()},a):t()}}),t])]})}function I(e){if(kU(e)&&(function(e){return![1e3,1001,1006,1005,1012,1013,1014].includes(e)&&(e>=1e3&&e<=1999)}(e.code)||[_U.InternalServerError,_U.InternalClientError,_U.BadRequest,_U.BadResponse,_U.Unauthorized,_U.SubprotocolNotAcceptable,_U.SubscriberAlreadyExists,_U.TooManyInitialisationRequests].includes(e.code)))throw e;if(A)return!1;if(kU(e)&&1e3===e.code)return T>0;if(!h||O>=h||!p(e))throw e;return x=!0}function R(e,t){let r=g(e),n=!1,i=!1,s=()=>{T--,n=!0};return S(null,null,function*(){for(T++;;)try{let[o,a,l]=yield P();if(n)return a();let u=_.onMessage(r,e=>{switch(e.type){case wU.Next:return void t.next(e.payload);case wU.Error:return i=!0,n=!0,t.error(e.payload),void s();case wU.Complete:return n=!0,void s()}});return o.send(vU({id:r,type:wU.Subscribe,payload:e},y)),s=()=>{!n&&o.readyState===b.OPEN&&o.send(vU({id:r,type:wU.Complete},y)),T--,n=!0,a()},void(yield l.finally(u))}catch(o){if(!I(o))return}}).then(()=>{i||t.complete()}).catch(e=>{t.error(e)}),()=>{n||s()}}return s||S(null,null,function*(){for(T++;;)try{let[,,e]=yield P();yield e}catch(e){try{if(!I(e))return}catch(t){return o?.(t)}}}),{on:_.on,subscribe:R,iterate(e){let t=[],r={done:!1,error:null,resolve:()=>{}},n=R(e,{next(e){t.push(e),r.resolve()},error(e){r.done=!0,r.error=e,r.resolve()},complete(){r.done=!0,r.resolve()}}),i=function(){return k(this,null,function*(){for(;;){for(t.length||(yield new E(new Promise(e=>r.resolve=e)));t.length;)yield t.shift();if(r.error)throw r.error;if(r.done)return}})}();return i.throw=e=>S(null,null,function*(){return r.done||(r.done=!0,r.error=e,r.resolve()),{done:!0,value:void 0}}),i.return=()=>S(null,null,function*(){return n(),{done:!0,value:void 0}}),i},dispose(){return S(this,null,function*(){if(A=!0,C){let[e]=yield C;e.close(1e3,"Normal Closure")}})},terminate(){C&&_.emit("closed",new CU)}}}function kU(e){return mU(e)&&"code"in e&&"reason"in e}var CU,DU=b(()=>{"use strict";SU(),CU=class extends Error{name="TerminatedCloseEvent";message="4499: Terminated";code=4499;reason="Terminated";wasClean=!1}}),TU=b(()=>{"use strict";DU(),SU()});function xU(e){return new uT(function(t,r){return new oD(function(n){var i,s,o;try{i=r(t).subscribe({next:function(i){i.errors?o=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}):kT(i)&&(o=e({protocolErrors:i.extensions[DT],response:i,operation:t,forward:r})),o?s=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(i)},error:function(i){(o=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r}))?s=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){o||n.complete.bind(n)()}})}catch(a){e({networkError:a,operation:t,forward:r}),n.error(a)}return function(){i&&i.unsubscribe(),s&&i.unsubscribe()}})})}var OU,AU,PU,IU=b(()=>{"use strict";ur(),OT(),YD(),mT(),function(e){function t(t){var r=e.call(this)||this;return r.link=xU(t),r}return Zt(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)},t}(uT)}),RU=b(()=>{"use strict";OU=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__}),NU=b(()=>{"use strict";AU=globalThis}),FU=b(()=>{"use strict";PU="9.47.1"});function LU(){return MU(AU),AU}function MU(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||PU,t[PU]=t[PU]||{}}function jU(e,t,r=AU){let n=r.__SENTRY__=r.__SENTRY__||{},i=n[PU]=n[PU]||{};return i[e]||(i[e]=t())}var BU=b(()=>{"use strict";FU(),NU()});function zU(e){if(!("console"in AU))return e();let t=AU.console,r={},n=Object.keys(YU);
101n.forEach(e=>{let n=YU[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}function VU(){QU().enabled=!0}function $U(){QU().enabled=!1}function UU(){return QU().enabled}function qU(...e){WU("log",...e)}function HU(...e){WU("warn",...e)}function GU(...e){WU("error",...e)}function WU(e,...t){OU&&UU()&&zU(()=>{AU.console[e](`${ZU}[${e}]:`,...t)})}function QU(){return OU?jU("loggerSettings",()=>({enabled:!1})):{enabled:!1}}var ZU,YU,KU,XU=b(()=>{"use strict";BU(),RU(),NU(),ZU="Sentry Logger ",YU={},KU={enable:VU,disable:$U,isEnabled:UU,log:qU,warn:HU,error:GU}});function JU(e){return function(e,t){return eq.call(e)===`[object ${t}]`}(e,"Object")}var eq,tq=b(()=>{"use strict";eq=Object.prototype.toString});function rq(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}var nq=b(()=>{});var iq=b(()=>{"use strict";RU(),XU()});function sq(e=function(){let e=AU;return e.crypto||e.msCrypto}()){let t=()=>16*Math.random();try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch{}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&t())>>e/4).toString(16))}var oq=b(()=>{"use strict";NU()});function aq(){return Date.now()/uq}function lq(){return(cq??(cq=function(){let{performance:e}=AU;if(!e?.now||!e.timeOrigin)return aq;let t=e.timeOrigin;return()=>(t+e.now())/uq}()))()}var uq,cq,hq=b(()=>{"use strict";NU(),uq=1e3});var dq=b(()=>{"use strict";oq(),hq()});function pq(e,t,r=2){if(!t||"object"!=typeof t||r<=0)return t;if(e&&0===Object.keys(t).length)return e;let n=y({},e);for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=pq(n[i],t[i],r-1));return n}var fq=b(()=>{});function mq(){return sq()}var gq=b(()=>{"use strict";oq()});function yq(e,t){t?function(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{OU&&KU.log(`Failed to add non-enumerable property "${t}" to object`,e)}}(e,bq,t):delete e[bq]}function vq(e){return e[bq]}var bq,_q,wq=b(()=>{"use strict";iq(),bq="_sentrySpan"}),Sq=b(()=>{"use strict";RU(),dq(),XU(),tq(),fq(),oq(),gq(),wq(),nq(),hq(),_q=class e{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:mq(),sampleRand:Math.random()}}clone(){let t=new e;return t._breadcrumbs=[...this._breadcrumbs],t._tags=y({},this._tags),t._extra=y({},this._extra),t._contexts=y({},this._contexts),this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata=y({},this._sdkProcessingMetadata),t._propagationContext=y({},this._propagationContext),t._client=this._client,t._lastEventId=this._lastEventId,yq(t,vq(this)),t}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||lq(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:sq()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(e){return this._tags=y(y({},this._tags),e),this._notifyScopeListeners(),this}setTag(e,t){return this._tags=v(y({},this._tags),{[e]:t}),this._notifyScopeListeners(),this}setExtras(e){return this._extra=y(y({},this._extra),e),this._notifyScopeListeners(),this}setExtra(e,t){return this._extra=v(y({},this._extra),{[e]:t}),this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;let r="function"==typeof t?t(this):t,n=r instanceof e?r.getScopeData():JU(r)?t:void 0,{tags:i,extra:s,user:o,contexts:a,level:l,fingerprint:u=[],propagationContext:c}=n||{};return this._tags=y(y({},this._tags),i),this._extra=y(y({},this._extra),s),this._contexts=y(y({},this._contexts),a),o&&Object.keys(o).length&&(this._user=o),l&&(this._level=l),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,yq(this,void 0),this._attachments=[],this.setPropagationContext({traceId:mq(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n=v(y({timestamp:aq()},e),{message:e.message?rq(e.message,2048):e.message});return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:vq(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=pq(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t?.event_id||sq();if(!this._client)return OU&&KU.warn("No client configured on scope - will not capture exception!"),r;let n=new Error("Sentry syntheticException");return this._client.captureException(e,v(y({originalException:e,syntheticException:n},t),{event_id:r}),this),r}captureMessage(e,t,r){let n=r?.event_id||sq();if(!this._client)return OU&&KU.warn("No client configured on scope - will not capture message!"),n;let i=new Error(e);return this._client.captureMessage(e,t,v(y({originalException:e,syntheticException:i},r),{event_id:n}),this),n}captureEvent(e,t){let r=t?.event_id||sq();return this._client?(this._client.captureEvent(e,v(y({},t),{event_id:r}),this),r):(OU&&KU.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
101h(e=>{e(this)}),this._notifyingListeners=!1)}}});var Eq=b(()=>{"use strict";BU(),Sq()});function kq(){let e=MU(LU());return e.stack=e.stack||new xq(jU("defaultCurrentScope",()=>new _q),jU("defaultIsolationScope",()=>new _q))}function Cq(e){return kq().withScope(e)}function Dq(e,t){let r=kq();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function Tq(e){return kq().withScope(()=>e(kq().getIsolationScope()))}var xq,Oq=b(()=>{"use strict";Eq(),Sq(),tq(),BU(),xq=class{constructor(e,t){let r,n;r=e||new _q,n=t||new _q,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){let t,r=this._pushScope();try{t=e(r)}catch(n){throw this._popScope(),n}return function(e){return!(!e?.then||"function"!=typeof e.then)}(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}});function Aq(e){let t=MU(e);return t.acs?t.acs:{withIsolationScope:Tq,withScope:Cq,withSetScope:Dq,withSetIsolationScope:(e,t)=>Tq(t),getCurrentScope:()=>kq().getScope(),getIsolationScope:()=>kq().getIsolationScope()}}var Pq=b(()=>{"use strict";BU(),Oq()});function Iq(){return Aq(LU()).getCurrentScope()}var Rq=b(()=>{"use strict";Pq(),BU()});function Nq(e){if(e)return function(e){return e instanceof _q||"function"==typeof e}(e)||function(e){return Object.keys(e).some(e=>Fq.includes(e))}(e)?{captureContext:e}:e}var Fq,Lq=b(()=>{"use strict";Sq(),Fq=["user","level","extra","contexts","tags","fingerprint","propagationContext"]});function Mq(e,t){return Iq().captureException(e,Nq(t))}var jq=b(()=>{"use strict";Rq(),Lq()});function Bq(e,t){let r=Iq().getClient(),n=Aq(LU()).getIsolationScope();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:s=zq}=r.getOptions();if(s<=0)return;let o=aq(),a=y({timestamp:o},e),l=i?zU(()=>i(a,t)):a;null!==l&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,s))}var zq,Vq,$q,Uq,qq,Hq,Gq,Wq,Qq,Zq,Yq,Kq,Xq,Jq,eH,tH,rH,nH,iH,sH,oH=b(()=>{"use strict";Rq(),XU(),hq(),zq=100}),aH=b(()=>{"use strict";jq(),oH()}),lH=b(()=>{"use strict";aH()}),uH=b(()=>{"use strict";lH(),typeof Zone<"u"&&Zone.root?.run}),cH=b(()=>{"use strict";IU(),uH(),GS(),Vq=class e{static create(){return xU(t=>{let{graphQLErrors:r,networkError:n,operation:i,response:s}=t,o=i.operationName||"anonymous",a=e.getOperationType(i);if(Bq({category:"graphql",message:`${a}: ${o}`,level:"info",data:{variables:e.sanitize(i.variables||{})}}),r&&r.forEach(t=>{let r=t.extensions?.code,n=t.extensions?.serviceName,l=t.extensions?.response?.statusCode,u=new Error(t.message||"GraphQL Error");if(u.name=r?`GraphQLError: ${r}`:"GraphQLError",t.extensions?.stacktrace){let e=t.extensions.stacktrace;u.stack=e.join("\n")}let c=e.getErrorLevel(r,l),h=e.deepSerialize(t.extensions);Mq(u,{level:c,tags:{"graphql.operation":o,"graphql.type":a,"graphql.error_code":r||"UNKNOWN","graphql.
101service":n||"unknown","graphql.status_code":l?.toString()||"unknown"},contexts:{graphql:{operation:o,type:a,query:LS(i.query),variables:e.sanitize(i.variables||{}),path:t.path?.join("."),extensions:h}},extra:{graphqlError:{message:t.message,locations:t.locations,path:t.path,extensions:h},response:s?{data:s.data,errors:e.deepSerialize(s.errors)}:void 0}}),console.error(`[GraphQL Error] ${a} ${o}:`,t.message,r?`[${r}]`:"",n?`(${n})`:"",t.path?`at ${t.path.join(".")}`:""),console.info("[GraphQL Context]",{query:LS(i.query),variables:e.sanitize(i.variables||{}),extensions:t.extensions})}),n){let t=n.statusCode,r=n.result,s=new Error(n.message||"GraphQL Network Error");s.name=t?`NetworkError: ${t}`:"NetworkError",n.stack&&(s.stack=n.stack),Mq(s,{level:t&&t>=500?"error":"warning",tags:{"graphql.operation":o,"graphql.type":a,"error.type":"network","network.status_code":t?.toString()||"unknown"},contexts:{graphql:{operation:o,type:a,query:LS(i.query),variables:e.sanitize(i.variables||{})}},extra:{networkError:{message:n.message,statusCode:t,result:e.deepSerialize(r),originalError:e.deepSerialize(n)}}}),console.error(`[GraphQL Network Error] ${a} ${o}:`,n,t?`[Status: ${t}]`:"")}})}static getOperationType(e){let t=e.query.definitions[0];return"OperationDefinition"===t?.kind?t.operation:"query"}static sanitize(t){let r=["password","token","secret","authorization","apikey","api_key"],n={};return Object.keys(t).forEach(i=>{let s=t[i];r.some(e=>i.toLowerCase().includes(e))?n[i]="[REDACTED]":s&&"object"==typeof s&&!Array.isArray(s)?n[i]=e.sanitize(s):Array.isArray(s)?n[i]=s.map(t=>t&&"object"==typeof t&&!Array.isArray(t)?e.sanitize(t):t):n[i]=s}),n}static getErrorLevel(e,t){return"INTERNAL_SERVER_ERROR"===e||t&&t>=500?"error":"UNAUTHENTICATED"===e||"FORBIDDEN"===e||401===t||403===t?"warning":"BAD_USER_INPUT"===e||"GRAPHQL_VALIDATION_FAILED"===e||400===t||422===t?"info":429===t||503===t?"warning":"error"}static deepSerialize(e){if(null==e)return e;try{return JSON.parse(JSON.stringify(e))}catch(t){return console.warn("[GraphQL Error Link] Failed to deep serialize object:",t),e}}}}),hH=b(()=>{"use strict";bP(),fy(),dN(),vB(),YD(),GS(),hU(),pU(),TU(),Li(),$$(),cH(),fy(),$q=(()=>{class e{constructor(){this.TOKEN_REFRESH_TIMEOUT_MS=3e4,this.sessionProviderFacade=ls(OB),this.platform=ls(GI),this.clientId=ls(N$),this.cache=ls(gB,{optional:!0})??new $O,this.tokenExpirySubscription=null,this.clientOptionsBase={name:this.clientId,version:this.platform.APOLLO_STUDIO_VERSION},this.httpLinkOptionsBase={withCredentials:!1,batchMax:30,batchInterval:20},this.batchOperationTest=e=>{let{canBeBatched:t}=e.getContext();return t||void 0===t},this.subscriptionOperationTest=({query:e})=>{let t=bk(e);return t.kind===Fw.OPERATION_DEFINITION&&t.operation===Rw.SUBSCRIPTION}}ngOnDestroy(){this.tokenExpirySubscription?.unsubscribe()}getWSLinkOptions(){return new dU(EU({lazy:!0,url:this.platform.GRAPH_QL_ENDPOINT_WS,connectionParams:()=>S(this,null,function*(){let e=this.sessionProviderFacade.getSessionService();if(!e)throw new Error("Session service is not available");if(e.isSessionExpired())try{yield en(e.session$.pipe(Wn(()=>!e.isSessionExpired()),sn(this.TOKEN_REFRESH_TIMEOUT_MS)))}catch(t){let e=t instanceof Error?t.message:String(t);throw new Error(`Failed to refresh session token: ${e}`)}return{Authorization:`Bearer ${e.getSessionToken()}`}}),on:{connected:e=>{let t=this.sessionProviderFacade.getSessionService();if(!t)return void console.warn("Session service is not available, skipping token expiry subscription");this.tokenExpirySubscription?.unsubscribe();let r=t.getCurrentTokenExpiresIn();if(r<=0)return console.warn("Token already expired, closing WebSocket connection"),void this.closeWebSocket(e);this.tokenExpirySubscription=Un(r).subscribe(()=>{this.closeWebSocket(e)})},closed:e=>{this.tokenExpirySubscription?.unsubscribe(),console.info("WebSocket closed:",e)},error:e=>{console.warn("WebSocket error:",e)}}}))}getErrorLink(){return Vq.create()}closeWebSocket(e){this.isWebSocket(e)&&e.readyState===WebSocket.OPEN&&e.close(_U.Unauthorized,"Token expired")}isWebSocket(e){return"object"==typeof e&&null!==e&&"readyState"in e&&"close"in e&&"function"==typeof e.close}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),dH=b(()=>{"use strict";fy(),yB(),bP(),hH(),fy(),Uq=(()=>{class e extends $q{constructor(){super(...arguments),this.httpLink=ls(mB)}resolve(){let e=this.httpLink.create(v(y({},this.httpLinkOptionsBase),{uri:this.platform.GRAPH_QL_ENDPOINT})),t=this.getWSLinkOptions(),r=this.getErrorLink().concat(cT(this.subscriptionOperationTest,t,e));return v(y({},this.clientOptionsBase),{cache:this.cache,link:r})}static{this.ɵfac=(()=>{let t;return function(r){return(t||(t=gu(e)))(r||e)}})()}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),pH=b(()=>{"use strict";dH()}),fH=b(()=>{"use strict";CB(),dN()}),mH=b(()=>{"use strict";dH(),pH(),fH()}),gH=b(()=>{"use strict";cH()}),yH=b(()=>{"use strict";mH(),dH(),pH(),fH(),vB(),hH(),gH()}),vH=_((s,o)=>{"use strict";var a;a=function(){var e=function(){return e=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},e.apply(this,arguments)};function t(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);
101if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function n(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(a){i={error:a}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return o}function i(e,t,r){if(r||2===arguments.length)for(var n,i=0,s=t.length;i<s;i++)(n||!(i in t))&&(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;class s extends Error{constructor(e,t,r){super(e),this.token=t,this.type=r||"error"}}let o=e=>e<4?"short":4===e?"long":"narrow",a=e=>e%2==0?"2-digit":"numeric";function l(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void t(`${e.desc} is not supported with width ${e.width}`)}}function u(e,t){let{char:r,desc:n,width:i}=e;if("d"===r)return a(i);t(`${n} is not supported`)}function c(e,t){let{char:r,desc:n,width:i}=e;return("c"===r||"e"===r)&&i<3&&t(`Numeric value is not supported for ${n}; falling back to weekday:short`,s.WARNING),o(i)}function h(e,t){let{char:r,desc:n,width:i}=e;switch(r){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void t(`${n} is not supported with width ${i}`);case"X":return void t(`${n} is not supported`)}return"short"}function d(e,t){switch(e.field){case"era":return{era:o(e.width)};case"year":return function(e,t){switch(e.char){case"y":return{year:a(e.width)};case"r":return{calendar:"gregory",year:"numeric"};default:return t(`${e.desc} is not supported; falling back to year:numeric`,s.WARNING),{year:"numeric"}}}(e,t);case"month":return{month:l(e,t)};case"day":return{day:u(e,t)};case"weekday":return{weekday:c(e,t)};case"period":return;case"hour":return function(e){let t,r=a(e.width);switch(e.char){case"h":t="h12";break;case"H":t="h23";break;case"k":t="h24";break;case"K":t="h11"}return t?{hour:r,hourCycle:t}:{hour:r}}(e);case"min":return{minute:a(e.width)};case"sec":return{second:a(e.width)};case"tz":return{timeZoneName:h(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t(`${e.desc} is not supported`)}}function p(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>{throw e},n={timeZone:t},i=[];for(let o of e){let{error:e,field:t,str:a}=o;if(e){let t=new s(e.message,o);t.stack=e.stack,r(t)}a&&r(new s(`Ignoring string part: ${a}`,o,s.WARNING)),t&&(-1===i.indexOf(t)?i.push(t):r(new s(`Duplicate ${t} token`,o)));let l=d(o,(e,t)=>r(new s(e,o,t)));l&&Object.assign(n,l)}return n}let f={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},m=e=>e>="A"&&e<="Z"||e>="a"&&e<="z";function g(e,t){let r=e[t];if(!r)return null;if(m(r))return function(e,t){let r=e[t],n=1;for(;e[++t]===r;)++n;let i=f[r];return i?{char:r,field:i.field,desc:i.desc,width:n}:{char:r,error:new Error(`The letter ${r} is not a valid field identifier`),width:n}}(e,t);if("'"===r)return function(e,t){let r=e[++t],n=2;if("'"===r)return{char:"'",str:r,width:n};for(;;){let i=e[++t];if(++n,void 0===i)return{char:"'",error:new Error(`Unterminated quoted literal in pattern: ${r||e}`),str:r,width:n};if("'"===i){if("'"!==e[++t])return{char:"'",str:r,width:n};++n}r+=i}}(e,t);let n=r,i=1;for(;;){let s=e[++t];if(!s||m(s)||"'"===s)return{char:r,str:n,width:i};n+=s,i+=1}}function y(e){let t=[],r=0;for(;;){let n=g(e,r);if(!n)return t;
101t.push(n),r+=n.width}}class v extends Error{constructor(e,t){super(t),this.code=e}}class b extends v{constructor(e,t){super("BAD_OPTION",`Unknown ${e} option: ${t}`),this.stem=e,this.option=t}}class _ extends v{constructor(e){super("BAD_STEM",`Unknown stem: ${e}`),this.stem=e}}class w extends v{constructor(e,t){super("MASKED_VALUE",`Value for ${e} is set multiple times`),this.type=e,this.prev=t}}class S extends v{constructor(e){super("MISSING_OPTION",`Required option missing for ${e}`),this.stem=e}}class E extends v{constructor(e,t){super("BAD_PATTERN",t),this.char=e}}class k extends v{constructor(e,t,r){super("TOO_MANY_OPTIONS",`Token ${e} only supports ${r>1?`${r} options`:"one option"} (got ${t.length})`),this.stem=e,this.options=t}}class C extends v{constructor(e,t){super("UNSUPPORTED",`The stem ${e} is not supported`),this.stem=e,t&&(this.message+=` with value ${t}`,this.source=t)}}function D(e,t){let{numberingSystem:r}=t;return Array.isArray(e)||(e=[e]),r?e.map(e=>{let t=-1===e.indexOf("-u-")?"u-nu":"nu";return`${e}-${t}-${r}`}).concat(e):e}function T(e){let{scale:t,unit:r}=e,n="number"==typeof t&&t>=0?t:1;return r&&"percent"===r.style&&(n*=.01),n}function x(e,t){let{decimal:r,group:n,integerWidth:i,notation:s,precision:o,roundingMode:a,sign:l,unit:u,unitPer:c,unitWidth:h}=e,d=(e,r)=>{t&&t(new C(e,r))},p={};if(u)switch(u.style){case"base-unit":p.style="decimal";break;case"currency":p.style="currency",p.currency=u.currency;break;case"measure-unit":p.style="unit",p.unit=u.unit.replace(/.*-/,""),c&&(p.unit+="-per-"+c.replace(/.*-/,""));break;case"percent":p.style="percent";break;case"permille":d("permille")}switch(h){case"unit-width-full-name":p.currencyDisplay="name",p.unitDisplay="long";break;case"unit-width-hidden":d(h);break;case"unit-width-iso-code":p.currencyDisplay="code";break;case"unit-width-narrow":p.currencyDisplay="narrowSymbol",p.unitDisplay="narrow";break;case"unit-width-short":p.currencyDisplay="symbol",p.unitDisplay="short"}switch(n){case"group-off":p.useGrouping=!1;break;case"group-auto":p.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":d(n),p.useGrouping=!0}if(o)switch(o.style){case"precision-fraction":{let{minFraction:e,maxFraction:t,minSignificant:r,maxSignificant:n,source:i}=o;"number"==typeof e&&(p.minimumFractionDigits=e,"number"==typeof r&&d("precision-fraction",i)),"number"==typeof t&&(p.maximumFractionDigits=t),"number"==typeof r&&(p.minimumSignificantDigits=r),"number"==typeof n&&(p.maximumSignificantDigits=n);break}case"precision-integer":p.maximumFractionDigits=0;break;case"precision-unlimited":p.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":p.trailingZeroDisplay=o.trailingZero;break;case"precision-currency-cash":d(o.style)}if(s)switch(s.style){case"compact-short":p.notation="compact",p.compactDisplay="short";break;case"compact-long":p.notation="compact",p.compactDisplay="long";break;case"notation-simple":p.notation="standard";break;case"scientific":case"engineering":{let{expDigits:e,expSign:t,source:r,style:n}=s;p.notation=n,(e&&e>1||t&&"sign-auto"!==t)&&d(n,r);break}}if(i){let{min:e,max:t,source:r}=i;if(e>0&&(p.minimumIntegerDigits=e),Number(t)>0){let e="engineering"===p.notation||"scientific"===p.notation;3===t&&e?p.notation="engineering":d("integer-width",r)}}switch(l){case"sign-auto":p.signDisplay="auto";break;case"sign-always":p.signDisplay="always";break;case"sign-except-zero":p.signDisplay="exceptZero";break;case"sign-never":p.signDisplay="never";break;case"sign-accounting":p.currencySign="accounting";break;case"sign-accounting-always":p.currencySign="accounting",p.signDisplay="always";break;case"sign-accounting-except-zero":p.currencySign="accounting",p.signDisplay="exceptZero"}return"decimal-always"===r&&d(r),a&&d(a),p}function O(e,t,r){let n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"â°":return{char:"%",style:"permille",width:1};case"¤":{let i=1;for(;"¤"===e[++t];)++i;switch(i){case 1:return{char:n,currency:"default",width:i};case 2:return{char:n,currency:"iso-code",width:i};case 3:return{char:n,currency:"full-name",width:i};case 5:return{char:n,currency:"narrow",width:i};default:return r(new E("¤",`Invalid number (${i}) of ¤ chars in pattern`)),null}}case"*":{let r=e[t+1];if(r)return{char:n,pad:r,width:2};break}case"+":case"-":return{char:n,width:1};case"'":{let i=e[++t],s=2;if("'"===i)return{char:n,str:i,width:s};for(;;){let o=e[++t];if(++s,void 0===o)return r(new E("'",`Unterminated quoted literal in pattern: ${i}`)),{char:n,str:i,width:s};if("'"===o){if("'"!==e[++t])return{char:n,str:i,width:s};++s}i+=o}}}return null}let A=e=>e>="0"&&e<="9";function P(e,t){let r=e[t];if(A(r)){let n=r;for(;;){let r=e[++t];if(!A(r))return{char:"0",digits:n,width:n.length};n+=r}}switch(r){case"#":{let n=1;for(;"#"===e[++t];)++n;return{char:r,width:n}}case"@":{let n=1;for(;"@"===e[++t];)++n;let i=n;for(t-=1;"#"===e[++t];)++i;return{char:r,min:n,width:i}}case"E":{let n="+"===e[t+1];n&&++t;let i=0;for(;"0"===e[++t];)++i;if(i)return{char:r,expDigits:i,plus:n,width:(n?2:1)+i};break}case".":case",":return{char:r,width:1}}return null}function I(e,t,r){let n;var i;(i=n||(n={}))[i.Prefix=0]="Prefix",i[i.Number=1]="Number",i[i.Suffix=2]="Suffix";let s=[],o=[],a=[],l=n.Prefix,u="";for(;t<e.length;){let i=e[t];if(";"===i){t+=1;break}switch(l){case n.Prefix:{let a=O(e,t,r);if(a)u&&(s.push({char:"'",str:u,width:u.length}),u=""),s.push(a),t+=a.width;else{let r=P(e,t);r?(u&&(s.push({char:"'",str:u,width:u.length}),u=""),l=n.Number,o.push(r),t+=r.width):(u+=i,t+=1)}break}case n.Number:{let r=P(e,t);r?(o.push(r),t+=r.width):l=n.Suffix;break}case n.Suffix:{let n=O(e,t,r);n?(u&&(a.push({char:"'",str:u,width:u.length}),u=""),a.push(n),t+=n.width):(u+=i,t+=1);break}}}return u&&a.push({char:"'",str:u,width:u.length}),{pattern:{prefix:s,number:o,suffix:a},pos:t}}function R(e,t,r,n,i){let s=!1,o="";for(let a of e)switch(a.char){case"%":t.unit={style:a.style},i?s=!0:o="";break;case"¤":if(!r){n(new E("¤","The ¤ pattern requires a currency"));break}switch(t.unit={style:"currency",currency:r},a.currency){case"iso-code":t.unitWidth="unit-width-iso-code";break;case"full-name":t.unitWidth="unit-width-full-name";break;case"narrow":t.unitWidth="unit-width-narrow"}i?s=!0:o="";break;case"*":break;case"+":s||(o+="+");break;case"'":s||(o+=a.str)}return o}function N(e,t){let r=!1,n="";for(let i of e)switch(i.char){case"%":case"¤":t?r=!0:n="";break;case"-":r||(n+="-");break;case"'":r||(n+=i.str)}return n}function F(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>{throw e},{tokens:n,negative:i}=function(e,t){let{pattern:r,pos:n}=I(e,0,t);
101if(n<e.length){let{pattern:i}=I(e,n,t);return{tokens:r,negative:i}}return{tokens:r}}(e,r),s=function(e,t){let r={},n=!1,i=!1,s=0,o="",a=-1,l="",u=0;for(let h=0;h<e.length;++h){let c=e[h];switch(c.char){case"#":-1===a?(o&&t(new E("#","Pattern has # after integer digits")),s+=c.width):u+=c.width;break;case"0":-1===a?o+=c.digits:(u&&t(new E("0","Pattern has digits after # in fraction")),l+=c.digits);break;case"@":r.precision&&t(new w("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:c.min,maxSignificant:c.width};break;case",":n=!0;break;case".":1===a&&t(new E(".","Pattern has more than one decimal separator")),a=h;break;case"E":i&&t(new w("exponent",r.notation)),n&&t(new E("E","Exponential patterns may not contain grouping separators")),r.notation={style:"scientific"},c.expDigits>1&&(r.notation.expDigits=c.expDigits),c.plus&&(r.notation.expSign="sign-always"),i=!0}}n?r.group="group-auto":s+o.length>3&&(r.group="group-off");let c=+`${o||"0"}.${l}`;if(c&&(r.precision={style:"precision-increment",increment:c}),i)if((!r.precision||c)&&(r.integerWidth=s?{min:1,max:s+o.length}:{min:Math.max(1,o.length)}),r.precision)c||(r.integerWidth={min:1,max:1});else{let e=o.length+l.length;-1===a?e>0&&(r.precision={style:"precision-fraction",maxSignificant:e}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,e)+u},e>1&&(r.precision.minSignificant=e))}else o.length>1&&(r.integerWidth={min:o.length}),!r.precision&&(l.length||u)&&(r.precision={style:"precision-fraction",minFraction:l.length,maxFraction:l.length+u});return r}(n.number,r),o=R(n.prefix,s,t,r,!0),a=R(n.suffix,s,t,r,!1);if(i){let e=N(i.prefix,!0),t=N(i.suffix,!1);s.affix={pos:[o,a],neg:[e,t]},s.sign="sign-never"}else(o||a)&&(s.affix={pos:[o,a]});return s}function L(e){let[t]=e.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(t)}let M={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},j={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function B(e,t,r){if(function(e){return e in M}(e)){let n=M[e];if(t.length>n){if(0===n)for(let n of t)r(new b(e,n));else r(new k(e,t,n));return!1}if(function(e){return e in j}(e)&&t.length<j[e])return r(new S(e)),!1}return!0}function z(e,t){let r="fraction"===t?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){let e=n[1].length;switch(n[2].charAt(0)){case"":return{min:e,max:e};case"+":return{min:e,max:null};case"#":return{min:e,max:e+n[2].length}}}return null}class V{constructor(e){this.skeleton={},this.onError=e}badOption(e,t){this.onError(new b(e,t))}assertEmpty(e){let t=this.skeleton[e];t&&this.onError(new w(e,t))}parseToken(e,t){if(!B(e,t,this.onError))return;let r=t[0],n=this.skeleton;switch(e){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),n.notation={style:e};break;case"scientific":case"engineering":{let r,i=null;for(let n of t)switch(n){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":r=n;break;default:/^\+e+$/.test(n)?i=n.length-1:this.badOption(e,n)}this.assertEmpty("notation");let s=t.join("/");n.notation=i&&r?{style:e,source:s,expDigits:i,expSign:r}:i?{style:e,source:s,expDigits:i}:r?{style:e,source:s,expSign:r}:{style:e,source:s};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),n.unit={style:e};break;case"currency":/^[A-Z]{3}$/.test(r)?(this.assertEmpty("unit"),n.unit={style:e,currency:r}):this.badOption(e,r);break;case"measure-unit":L(r)?(this.assertEmpty("unit"),n.unit={style:e,unit:r}):this.badOption(e,r);break;case"per-measure-unit":L(r)?(this.assertEmpty("unitPer"),n.unitPer=r):this.badOption(e,r);break;case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),n.unitWidth=e;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),n.precision={style:e};break;case"precision-currency-standard":this.assertEmpty("precision"),n.precision="w"===r?{style:e,trailingZero:"str
101ipIfInteger"}:{style:e};break;case"precision-increment":{let t=Number(r);t>0?(this.assertEmpty("precision"),n.precision={style:e,increment:t}):this.badOption(e,r);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),n.roundingMode=e;break;case"integer-width":if(/^\+0*$/.test(r))this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:r.length-1};else{let t=r.match(/^#*(0*)$/);t?(this.assertEmpty("integerWidth"),n.integerWidth={source:r,min:t[1].length,max:t[0].length}):this.badOption(e,r)}break;case"scale":{let t=Number(r);t>0?(this.assertEmpty("scale"),n.scale=t):this.badOption(e,r);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),n.group=e;break;case"latin":this.assertEmpty("numberingSystem"),n.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(r)?(this.assertEmpty("numberingSystem"),n.numberingSystem=r):this.badOption(e,r);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),n.sign=e;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),n.decimal=e;break;default:{let r=function(e,t,r){let n=z(e,"fraction");if(n){t.length>1&&r(new k(e,t,1));let i={style:"precision-fraction",source:e,minFraction:n.min};null!=n.max&&(i.maxFraction=n.max);let s=t[0],o=z(s,"significant");return o?(i.source=`${e}/${s}`,i.minSignificant=o.min,null!=o.max&&(i.maxSignificant=o.max)):s&&r(new b(e,s)),i}let i=z(e,"significant");if(i){for(let i of t)r(new b(e,i));let n={style:"precision-fraction",source:e,minSignificant:i.min};return null!=i.max&&(n.maxSignificant=i.max),n}return null}(e,t,this.onError);r?(this.assertEmpty("precision"),n.precision=r):this.onError(new _(e))}}}}function $(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>{throw e},r=[];for(let i of e.split(" "))if(i){let e=i.split("/"),t=e.shift()||"";r.push({stem:t,options:e})}let n=new V(t);for(let{stem:i,options:s}of r)n.parseToken(i,s);return n.skeleton}function U(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?$(t.slice(2),n):F(t,r,n));let i=D(e,t),s=x(t,n),o=function(e){let t=T(e),{precision:r}=e;return r&&"precision-increment"===r.style?e=>function(e,t){let r=+e+t/2;return r-r%+t}(e,r.increment)*t:e=>e*t}(t),a=new Intl.NumberFormat(i,s);if(t.affix){let[e,r]=t.affix.pos,[n,i]=t.affix.neg||["",""];return t=>{let s=a.format(o(t));return t<0?`${n}${s}${i}`:`${e}${s}${r}`}}return e=>a.format(o(e))}function H(e,t,r,n){"string"==typeof t&&(t=0===t.indexOf("::")?$(t.slice(2),n):F(t,r,n));let i=D(e,t),s=x(t,n),o=function(e){let t=T(e),{precision:r}=e;if(r&&"precision-increment"===r.style){let e="+n + "+r.increment/2,n=`x - (x % +${r.increment})`;return 1!==t&&(n=`(${n}) * ${t}`),`function(n) { var x = ${e}; return ${n}; }`}return 1!==t?`function(n) { return n * ${t}; }`:null}(t),a=["(function() {",`var opt = ${JSON.stringify(s)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(i)}, opt);`],l="nf.format(value)";if(o&&(a.push(`var mod = ${o};`),l="nf.format(mod(value))"),t.affix){let[e,r]=t.affix.pos.map(e=>JSON.stringify(e));if(t.affix.neg){let[n,i]=t.affix.neg.map(e=>JSON.stringify(e));l=`value < 0 ? ${n} + ${l} + ${i} : ${e} + ${l} + ${r}`}else l=`${e} + ${l} + ${r}`}return a.push(`return function(value) { return ${l}; }`),a.join("\n ")+"\n})()"}var G,W,Q,Z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof r.g<"u"?r.g:typeof self<"u"?self:{},Y={},K={},X={exports:{}};W=Z,Q=function(){var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r="boolean"==typeof(new RegExp).sticky;function n(e){return e&&"[object RegExp]"===t.call(e)}function i(e){return e&&"object"==typeof e&&!n(e)&&!Array.isArray(e)}function s(e){return new RegExp("|"+e).exec("").length-1}function o(e){return"("+e+")"}function a(e){return e.length?"(?:"+e.map(function(e){return"(?:"+e+")"}).join("|")+")":"(?!)"}function l(e){if("string"==typeof e)return"(?:"+function(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}(e)+")";if(n(e)){if(e.ignoreCase)throw new Error("RegExp /i flag not allowed");if(e.global)throw new Error("RegExp /g flag is implied");
101if(e.sticky)throw new Error("RegExp /y flag is implied");if(e.multiline)throw new Error("RegExp /m flag is implied");return e.source}throw new Error("Not a pattern: "+e)}function u(e,t){return e.length>t?e:Array(t-e.length+1).join(" ")+e}function c(t,r){if(i(r)||(r={match:r}),r.include)throw new Error("Matching rules cannot also include states");var s={defaultType:t,lineBreaks:!!r.error||!!r.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var o in r)e.call(r,o)&&(s[o]=r[o]);if("string"==typeof s.type&&t!==s.type)throw new Error("Type transform cannot be a string (type '"+s.type+"' for token '"+t+"')");var a=s.match;return s.match=Array.isArray(a)?a:a?[a]:[],s.match.sort(function(e,t){return n(e)&&n(t)?0:n(t)?-1:n(e)?1:t.length-e.length}),s}function h(e){return Array.isArray(e)?function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(n.include)for(var i=[].concat(n.include),s=0;s<i.length;s++)t.push({include:i[s]});else{if(!n.type)throw new Error("Rule has no type: "+JSON.stringify(n));t.push(c(n.type,n))}}return t}(e):function(e){for(var t=Object.getOwnPropertyNames(e),r=[],n=0;n<t.length;n++){var s=t[n],o=e[s],a=[].concat(o);if("include"!==s){var l=[];a.forEach(function(e){i(e)?(l.length&&r.push(c(s,l)),r.push(c(s,e)),l=[]):l.push(e)}),l.length&&r.push(c(s,l))}else for(var u=0;u<a.length;u++)r.push({include:a[u]})}return r}(e)}var d=c("error",{lineBreaks:!0,shouldThrow:!0});function p(e,t){for(var i=null,u=Object.create(null),c=!0,h=null,p=[],f=[],m=0;m<e.length;m++)e[m].fallback&&(c=!1);for(m=0;m<e.length;m++){var g=e[m];if(g.include)throw new Error("Inheritance is not allowed in stateless lexers");if(g.error||g.fallback){if(i)throw!g.fallback==!i.fallback?new Error("Multiple "+(g.fallback?"fallback":"error")+" rules not allowed (for token '"+g.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+g.defaultType+"')");i=g}var y=g.match.slice();if(c)for(;y.length&&"string"==typeof y[0]&&1===y[0].length;)u[y.shift().charCodeAt(0)]=g;if(g.pop||g.push||g.next){if(!t)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+g.defaultType+"')");if(g.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+g.defaultType+"')")}if(0!==y.length){c=!1,p.push(g);for(var v=0;v<y.length;v++){var b=y[v];if(n(b))if(null===h)h=b.unicode;else if(h!==b.unicode&&!1===g.fallback)throw new Error("If one rule is /u then all must be")}var _=a(y.map(l)),w=new RegExp(_);if(w.test(""))throw new Error("RegExp matches empty string: "+w);if(s(_)>0)throw new Error("RegExp has capture groups: "+w+"\nUse (?: ⦠) instead");if(!g.lineBreaks&&w.test("\n"))throw new Error("Rule should declare lineBreaks: "+w);f.push(o(_))}}var S=i&&i.fallback,E=r&&!S?"ym":"gm",k=r||S?"":"|";return!0===h&&(E+="u"),{regexp:new RegExp(a(f)+k,E),groups:p,fast:u,error:i||d}}function f(e,t,r){var n=e&&(e.push||e.next);if(n&&!r[n])throw new Error("Missing state '"+n+"' (in token '"+e.defaultType+"' of state '"+t+"')");if(e&&e.pop&&1!=+e.pop)throw new Error("pop must be 1 (in token '"+e.defaultType+"' of state '"+t+"')")}var m=function(e,t){this.startState=t,this.states=e,this.buffer="",this.stack=[],this.reset()};m.prototype.reset=function(e,t){return this.buffer=e||"",this.index=0,this.line=t?t.line:1,this.col=t?t.col:1,this.queuedToken=t?t.queuedToken:null,this.queuedText=t?t.queuedText:"",this.queuedThrow=t?t.queuedThrow:null,this.setState(t?t.state:this.startState),this.stack=t&&t.stack?t.stack.slice():[],this},m.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},m.prototype.setState=function(e){if(e&&this.state!==e){this.state=e;var t=this.states[e];this.groups=t.groups,this.error=t.error,this.re=t.regexp,this.fast=t.fast}},m.prototype.popState=function(){this.setState(this.stack.pop())},m.prototype.pushState=function(e){this.stack.push(this.state),this.setState(e)};var g=r?function(e,t){return e.exec(t)}:function(e,t){var r=e.exec(t);return 0===r[0].length?null:r};function y(){return this.value}if(m.prototype._getGroup=function(e){for(var t=this.groups.length,r=0;r<t;r++)if(void 0!==e[r+1])return this.groups[r];throw new Error("Cannot find token type for matched text")},m.prototype.next=function(){var e=this.index;if(this.queuedGroup){var t=this._token(this.queuedGroup,this.queuedText,e);return this.queuedGroup=null,this.queuedText="",t}var r=this.buffer;if(e!==r.length){if(o=this.fast[r.charCodeAt(e)])return this._token(o,r.charAt(e),e);var n=this.re;n.lastIndex=e;var i=g(n,r),s=this.error;if(null==i)return this._token(s,r.slice(e,r.length),e);var o=this._getGroup(i),a=i[0];return s.fallback&&i.index!==e?(this.queuedGroup=o,this.queuedText=a,this._token(s,r.slice(e,i.index),e)):this._token(o,a,e)}},m.prototype._token=function(e,t,r){var n=0;if(e.lineBreaks){var i=/\n/g,s=1;if("\n"===t)n=1;else for(;i.exec(t);)n++,s=i.lastIndex}var o={type:"function"==typeof e.type&&e.type(t)||e.defaultType,value:"function"==typeof e.value?e.value(t):t,text:t,toString:y,offset:r,lineBreaks:n,line:this.line,col:this.col},a=t.length;if(this.index+=a,this.line+=n,0!==n?this.col=a-s+1:this.col+=a,e.shouldThrow)throw new Error(this.formatError(o,"invalid syntax"));return e.pop?this.popState():e.push?this.pushState(e.push):e.next&&this.setState(e.next),o},typeof Symbol<"u"&&Symbol.iterator){var v=function(e){this.lexer=e};v.prototype.next=function(){var e=this.lexer.next();return{value:e,done:!e}},v.prototype[Symbol.iterator]=function(){return this},m.prototype[Symbol.iterator]=function(){return new v(this)}}return m.prototype.formatError=function(e,t){if(null==e){var r=this.buffer.slice(this.index);e={text:r,offset:this.index,lineBreaks:-1===r.indexOf("\n")?0:1,line:this.line,col:this.col}}var n=Math.max(e.line-2,1),i=e.line+2,s=String(i).length,o=function(e,t){for(var r=e.length,n=0;;){var i=e.lastIndexOf("\n",r-1);if(-1===i||(r=i,++n===t)||0===r)break}var s=n<t?0:r+1;return e.substring(s).split("\n")}(this.buffer,this.line-e.line+2+1).slice(0,5),a=[];a.push(t+" at line "+e.line+" col "+e.col+":"),a.push("");for(var l=0;l<o.length;l++){var c=o[l],h=n+l;a.push(u(String(h),s)+" "+c),h===e.line&&a.push(u("",s+e.col+1)+"^")}return a.join("\n")},m.prototype.clone=function(){return new m(this.states,this.state)},m.prototype.has=function(e){return!0},{compile:function(e){var t=p(h(e));return new m({start:t},"start")},states:function(e,t){var r=e.$all?h(e.$all):[];delete e.$all;var n=Object.getOwnPropertyNames(e);t||(t=n[0]);for(var i=Object.create(null),s=0;s<n.length;s++)i[b=n[s]]=h(e[b]).concat(r);for(s=0;s<n.length;s++)for(var o=i[b=n[s]],a=Object.create(null),l=0;l<o.length;l++){var u=o[l];if(u.include){var c=[l,1];if(u.include!==b&&!a[u.include]){a[u.include]=!0;var d=i[u.include];if(!d)throw new Error("Cannot include nonexistent state '"+u.include+"' (in state '"+b+"')");for(var g=0;g<d.length;g++){var y=d[g];-1===o.indexOf(y)&&c.push(y)}}o.splice.apply(o,c),l--}}var v=Object.create(null);for(s=0;s<n.length;s++){var b;v[b=n[s]]=p(i[b],!0)}for(s=0;s<n.length;s++){var _=n[s],w=v[_],S=w.groups;for(l=0;l<S.length;l++)f(S[l],_,v);var E=Object.getOwnPropertyNames(w.fast);for(l=0;l<E.length;l++)f(w.fast[E[l]],_,v)}return new m(v,t)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(e){for(var t=typeof Map<"u",r=t?new Map:Object.create(null),n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var s=n[i],o=e[s];
101(Array.isArray(o)?o:[o]).forEach(function(e){if("string"!=typeof e)throw new Error("keyword must be string (in keyword '"+s+"')");t?r.set(e,s):r[e]=s})}return function(e){return t?r.get(e):r[e]}}}},(G=X).exports?G.exports=Q():W.moo=Q();var J=X.exports;(function(e){var t=Z&&Z.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;let r=t(J);e.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:e=>e.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:e=>e.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:e=>e.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:e=>e.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:e=>e.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:e=>e.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:e=>e.substring(0,e.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},e.lexer=r.default.states(e.states)})(K),Object.defineProperty(Y,"__esModule",{value:!0});var ee=Y.parse=Y.ParseError=void 0;let te=K,re=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),ne=e=>"plural"===e||"select"===e||"selectordinal"===e,ie=["number","date","time","spellout","ordinal","duration"],se=["zero","one","two","few","many","other"];class oe extends Error{constructor(e,t){super(te.lexer.formatError(e,t))}}Y.ParseError=oe;class ae{constructor(e,t){var r,n,i,s;this.lexer=te.lexer.reset(e),this.cardinalKeys=null!==(r=t?.cardinal)&&void 0!==r?r:se,this.ordinalKeys=null!==(n=t?.ordinal)&&void 0!==n?n:se,this.strict=null!==(i=t?.strict)&&void 0!==i&&i,this.strictPluralKeys=null===(s=t?.strictPluralKeys)||void 0===s||s}parse(){return this.parseBody(!1,!0)}checkSelectKey(e,t,r){if("="===r[0]){if("select"===t)throw new oe(e,`The case ${r} is not valid with select`)}else if("select"!==t){let n="plural"===t?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&n.length>0&&!n.includes(r))throw new oe(e,`The ${t} case ${r} is not valid in this locale`)}}parseSelect(e,t,r,n){let{value:i}=e,s={type:n,arg:i,cases:[],ctx:r};"plural"===n||"selectordinal"===n?t=!0:this.strict&&(t=!1);for(let o of this.lexer)switch(o.type){case"offset":if("select"===n)throw new oe(o,"Unexpected plural offset for select");if(s.cases.length>0)throw new oe(o,"Plural offset must be set before cases");s.pluralOffset=Number(o.value),r.text+=o.text,r.lineBreaks+=o.lineBreaks;break;case"case":this.checkSelectKey(o,n,o.value),s.cases.push({key:o.value,tokens:this.parseBody(t),ctx:re(o)});break;case"end":return s;default:throw new oe(o,`Unexpected lexer token: ${o.type}`)}throw new oe(null,"Unexpected message end")}parseArgToken(e,t){let r=re(e),n=this.lexer.next();if(!n)throw new oe(null,"Unexpected message end");if(r.text+=n.text,r.lineBreaks+=n.lineBreaks,this.strict&&("func-simple"===n.type||"func-args"===n.type)&&!ie.includes(n.value)){let t=`Invalid strict mode function arg type: ${n.value}`;throw new oe(e,t)}switch(n.type){case"end":return{type:"argument",arg:e.value,ctx:r};case"func-simple":{let t=this.lexer.next();if(!t)throw new oe(null,"Unexpected message end");if("end"!==t.type)throw new oe(t,`Unexpected lexer token: ${t.type}`);if(r.text+=t.text,ne(n.value.toLowerCase()))throw new oe(n,`Invalid type identifier: ${n.value}`);return{type:"function",arg:e.value,key:n.value,ctx:r}}case"func-args":{if(ne(n.value.toLowerCase())){let e=`Invalid type identifier: ${n.value}`;throw new oe(n,e)}let i=this.parseBody(!this.strict&&t);return this.strict&&i.length>0&&(i=function(e,t){let r="",n="";for(let i of t){let t=i.ctx.text;switch(n+=t,i.type){case"content":r+=i.value;break;case"argument":case"function":case"octothorpe":r+=t;break;default:throw new oe(e,`Unsupported part in strict mode function arg style: ${t}`)}}return[{type:"content",value:r.trim(),ctx:Object.assign({},t[0].ctx,{text:n})}]}(e,i)),{type:"function",arg:e.value,key:n.value,param:i,ctx:r}}case"select":if(ne(n.value))return this.parseSelect(e,t,r,n.value);throw new oe(n,`Unexpected select type ${n.value}`);default:throw new oe(n,`Unexpected lexer token: ${n.type}`)}}parseBody(e,t){let r=[],n=null;for(let i of this.lexer)if("argument"===i.type)n&&(n=null),r.push(this.parseArgToken(i,e));else if("octothorpe"===i.type&&e)n&&(n=null),r.push({type:"octothorpe",ctx:re(i)});else{if("end"===i.type&&!t)return r;{let t=i.value;
101if(!e&&"quoted"===i.type&&"#"===t[0]){if(t.includes("{"))throw new oe(i,`Unsupported escape pattern: ${t}`);t=i.text}n?(n.value+=t,n.ctx.text+=i.text,n.ctx.lineBreaks+=i.lineBreaks):(n={type:"content",value:t,ctx:re(i)},r.push(n))}}if(t)return r;throw new oe(null,"Unexpected message end")}}function le(e){return le[e]||(le[e]=new Intl.NumberFormat(e))}ee=Y.parse=function(e){return new ae(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).parse()};var ue=Object.freeze({__proto__:null,_nf:le,number:function(e,t,r){return le(e).format(t-r)},plural:function(e,t,r,n,i){if({}.hasOwnProperty.call(n,e))return n[e];t&&(e-=t);var s=r(e,i);return s in n?n[s]:n.other},reqArgs:function(e,t){for(var r=0;r<e.length;++r)if(!t||void 0===t[e[r]])throw new Error("Message requires argument '".concat(e[r],"'"))},select:function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},strictNumber:function(e,t,r,n){var i=t-r;if(isNaN(i))throw new Error("`"+n+"` or its offset is not a number");return le(e).format(i)}}),ce={};function he(e,t){var r=String(e)+JSON.stringify(t);return ce[r]||(ce[r]=new Intl.NumberFormat(e,t)),ce[r]}var de=Object.freeze({__proto__:null,date:function(e,t,r){var n={day:"numeric",month:"short",year:"numeric"};switch(r){case"full":n.weekday="long";case"long":n.month="long";break;case"short":n.month="numeric"}return new Date(e).toLocaleDateString(t,n)},duration:function(e){if("number"!=typeof e&&(e=Number(e)),!isFinite(e))return String(e);var t="";e<0?(t="-",e=Math.abs(e)):e=Number(e);var r=e%60,n=[Math.round(r)===r?r:r.toFixed(3)];return e<60?n.unshift(0):(e=Math.round((e-Number(n[0]))/60),n.unshift(e%60),e>=60&&(e=Math.round((e-Number(n[0]))/60),n.unshift(e))),t+n.shift()+":"+n.map(function(e){return Number(e)<10?"0"+String(e):String(e)}).join(":")},numberCurrency:function(e,t,r){return he(t,{style:"currency",currency:r,minimumFractionDigits:2,maximumFractionDigits:2}).format(e)},numberFmt:function(e,t,r,n){var i=r&&r.split(":")||[],s=i[0],o=i[1];return he(t,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:o&&o.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}}[s]||{}).format(e)},numberInteger:function(e,t){return he(t,{maximumFractionDigits:0}).format(e)},numberPercent:function(e,t){return he(t,{style:"percent"}).format(e)},time:function(e,t,r){var n={second:"numeric",minute:"numeric",hour:"numeric"};switch(r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}return new Date(e).toLocaleTimeString(t,n)}}),pe=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}({ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}});function fe(e,t){t&&(e+=" "+function(e){let t=0;for(let r=0;r<e.length;++r)t=(t<<5)-t+e.charCodeAt(r),t|=0;return t}(e).toString(36));let r=e.trim().replace(/\W+/g,"_");return pe.ES3[r]||pe.ESnext[r]||/^\d/.test(r)?"_"+r:r}function me(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!pe.ES3[t])return e?e+"."+t:t;{let r=JSON.stringify(t);return e?e+"["+r+"]":r}}var ge=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^")),ye="@messageformat/runtime/lib/plurals",ve=function(){function r(e){this.arguments=[],this.runtime={},this.options=e}return r.prototype.compile=function(e,r,n){var i,s,o=this,a=this.options,l=a.localeCodeFromKey,u=a.requireAllArguments,c=a.strict,h=a.strictPluralKeys;if("object"==typeof e){var d={};try{for(var p=t(Object.keys(e)),f=p.next();!f.done;f=p.next()){var m=f.value,g=l?l(m):m,y=n&&g&&n[g]||r;d[m]=this.compile(e[m],y,n)}}catch(E){i={error:E}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(i)throw i.error}}return d}this.plural=r;var v={cardinal:r.cardinals,ordinal:r.ordinals,strict:c,strictPluralKeys:h};this.arguments=[];var b=ee(e,v).map(function(e){return o.token(e,null)}),_=this.arguments.length>0,w=this.concatenate(b,!0);if(u&&_){this.setRuntimeFn("reqArgs");var S=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat(S,", d); return ").concat(w,"; }")}return"(".concat(_?"d":"",") => ").concat(w)},r.prototype.cases=function(e,t){var r=this,n=!0,i=e.cases.map(function(e){var i=e.key,s=e.tokens;"other"===i&&(n=!1);var o=s.map(function(e){return r.token(e,t)});return"".concat(me(null,i.replace(/^=/,"")),": ").concat(r.concatenate(o,!1))});if(n){var s=e.type,o=this.plural,a=o.cardinals,l=o.ordinals;if("select"===s||"plural"===s&&a.includes("other")||"selectordinal"===s&&l.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(e)))}return"{ ".concat(i.join(", ")," }")},r.prototype.concatenate=function(e,t){return"values"===this.options.returnType&&(t||e.length>1)?"["+e.join(", ")+"]":e.join(" + ")||'""'},r.prototype.token=function(e,t){if("content"===e.type)return JSON.stringify(e.value);var r,n,i=this.plural,s=i.id,o=i.lc;switch("arg"in e?(this.arguments.push(e.arg),r=[me("d",e.arg)]):r=[],e.type){case"argument":return this.options.biDiSupport?function(e,t){var r=ge.test(t),n=JSON.stringify(r?"â":"â");return"".concat(n," + ").concat(e," + ").concat(n)}(String(r[0]),o):String(r[0]);case"select":n="select",t&&this.options.strict&&(t=null),r.push(this.cases(e,t)),this.setRuntimeFn("select");break;case"selectordinal":n="plural",r.push(e.pluralOffset||0,s,this.cases(e,e),1),this.setLocale(s,!0),this.setRuntimeFn("plural");break;
101case"plural":n="plural",r.push(e.pluralOffset||0,s,this.cases(e,e)),this.setLocale(s,!1),this.setRuntimeFn("plural");break;case"function":var a=this.options.customFormatters[e.key],l=a&&"module"in a&&"function"==typeof a.module;if(!a){if("date"===e.key){n=this.setDateFormatter(e,r,t);break}if("number"===e.key){n=this.setNumberFormatter(e,r,t);break}}if(r.push(JSON.stringify(this.plural.locale)),e.param){t&&this.options.strict&&(t=null);var u=this.getFormatterArg(e,t);u&&r.push(u)}n=l?fe("".concat(e.key,"__").concat(this.plural.locale)):e.key,this.setFormatter(n,e.key);break;case"octothorpe":if(!t)return'"#"';r=[JSON.stringify(this.plural.locale),me("d",t.arg),t.pluralOffset||0],this.options.strict?(n="strictNumber",r.push(JSON.stringify(t.arg)),this.setRuntimeFn("strictNumber")):(n="number",this.setRuntimeFn("number"))}if(!n)throw new Error("Parser error for token "+JSON.stringify(e));return"".concat(n,"(").concat(r.join(", "),")")},r.prototype.runtimeIncludes=function(e,t){if(fe(e)!==e)throw new SyntaxError("Reserved word used as ".concat(t," identifier: ").concat(e));var r=this.runtime[e];if(!r||r.type===t)return r;throw new TypeError("Cannot override ".concat(r.type," runtime function as ").concat(t,": ").concat(e))},r.prototype.setLocale=function(e,t){var r,n,i,s=this.runtimeIncludes(e,"locale"),o=this.plural,a=o.getCardinal,l=o.getPlural,u=o.isDefault;if(!t&&u&&a){if(s)return;r=function(e){return a(e)},n="@messageformat/runtime/lib/cardinals",i=function(){return String(a)}}else{if(s&&(!u||s.module===ye))return;r=function(e,t){return l(e,t)},n=u?ye:l.module||null,i=function(){return String(l)}}this.runtime[e]=Object.assign(r,{id:e,module:n,toString:i,type:"locale"})},r.prototype.setRuntimeFn=function(e){this.runtimeIncludes(e,"runtime")||(this.runtime[e]=Object.assign(ue[e],{id:e,module:"@messageformat/runtime",type:"runtime"}))},r.prototype.getFormatterArg=function(e,r){var n,i,s,o,a=this,l=e.key,u=e.param,c=this.options.customFormatters[l]||be(l)&&de[l];if(!c||!u)return null;var h="arg"in c&&c.arg||"string";if("options"===h){var d="";try{for(var p=t(u),f=p.next();!f.done;f=p.next()){var m=f.value;if("content"!==m.type)throw new SyntaxError("Expected literal options for ".concat(l," formatter"));d+=m.value}}catch(D){n={error:D}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}var g={};try{for(var y=t(d.split(",")),v=y.next();!v.done;v=y.next()){var b=v.value,_=b.indexOf(":");if(-1===_)g[b.trim()]=null;else{var w=b.substring(0,_).trim(),S=b.substring(_+1).trim();if("true"===S)g[w]=!0;else if("false"===S)g[w]=!1;else if("null"===S)g[w]=null;else{var E=Number(S);g[w]=Number.isFinite(E)?E:S}}}}catch(D){s={error:D}}finally{try{v&&!v.done&&(o=y.return)&&o.call(y)}finally{if(s)throw s.error}}return JSON.stringify(g)}var k=u.map(function(e){return a.token(e,r)});if("raw"===h)return"[".concat(k.join(", "),"]");var C=k.join(" + ");return C?"(".concat(C,").trim()"):'""'},r.prototype.setFormatter=function(t,r){if(!this.runtimeIncludes(t,"formatter")){var n=this.options.customFormatters[r||t];if(n){var i="function"==typeof n?{formatter:n}:n;this.runtime[t]=Object.assign(i.formatter.bind({}),e(e({},i.formatter.prototype),{toString:function(){return String(i.formatter)}}),{type:"formatter"},"module"in n&&n.module&&n.id?{id:fe(n.id),module:"function"==typeof n.module?n.module(this.plural.locale):n.module}:{id:null,module:null})}else{if(!be(t))throw new Error("Formatting function not found: ".concat(t));this.runtime[t]=Object.assign(de[t],{type:"formatter"},{id:t,module:"@messageformat/runtime/lib/formatters"})}}},r.prototype.setDateFormatter=function(e,t,r){var n=this,i=e.param,s=this.plural.locale,o=i&&1===i.length&&i[0];if(o&&"content"===o.type&&/^\s*::/.test(o.value)){var a=o.value.trim().substr(2),l=fe("date_".concat(s,"_").concat(a),!0);if(!this.runtimeIncludes(l,"formatter")){var u=function(e,t,r,n){"string"==typeof t&&(t=y(t)),"function"==typeof r&&(n=r,r=void 0);let i=p(t,r,n),s=new Intl.DateTimeFormat(e,i);return e=>s.format(e)}(s,a,this.options.timeZone);this.runtime[l]=Object.assign(u,{id:l,module:null,toString:function(){return function(e,t,r,n){"string"==typeof t&&(t=y(t)),"function"==typeof r&&(n=r,r=void 0);let i=p(t,r,n);return["(function() {",`var opt = ${JSON.stringify(i)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(e)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(s,a,n.options.timeZone)},type:"formatter"})}return l}if(t.push(JSON.stringify(s)),i&&i.length>0){r&&this.options.strict&&(r=null);var c=i.map(function(e){return n.token(e,r)});t.push("("+(c.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},r.prototype.setNumberFormatter=function(e,t,r){var n=this,i=e.param,s=this.plural.locale;if(!i||0===i.length)return t.unshift(JSON.stringify(s)),t.push("0"),this.setRuntimeFn("number"),"number";if(t.push(JSON.stringify(s)),1===i.length&&"content"===i[0].type){var o=i[0].value.trim();switch(o){case"currency":return t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var a=o.match(/^currency:([A-Z]+)$/);if(a)return t.push(JSON.stringify(a[1])),this.setFormatter("numberCurrency"),"numberCurrency";var l=fe("number_".concat(s,"_").concat(o),!0);if(!this.runtimeIncludes(l,"formatter")){var u=this.options.currency,c=U(s,o,u);this.runtime[l]=Object.assign(c,{id:null,module:null,toString:function(){return H(s,o,u)},type:"formatter"})}return l}r&&this.options.strict&&(r=null);var h=i.map(function(e){return n.token(e,r)});return t.push("("+(h.join(" + ")||'""')+").trim()"),t.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},r}();function be(e){return e in de}let _e=e=>1==e?"one":"other",we=e=>0==e||1==e?"one":"other",Se=e=>e>=0&&e<=1?"one":"other",Ee=e=>{let t=!String(e).split(".")[1];return 1==e&&t?"one":"other"},ke=e=>"other",Ce=e=>1==e?"one":2==e?"two":"other";var De=Object.freeze({__proto__:null,af:_e,ak:we,am:Se,an:_e,ar:e=>{let t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ars:e=>{let t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 0==e?"zero":1==e?"one":2==e?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},as:Se,asa:_e,ast:Ee,az:_e,bal:_e,be:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2);return 1==n&&11!=i?"one":n>=2&&n<=4&&(i<12||i>14)?"few":r&&0==n||n>=5&&n<=9||i>=11&&i<=14?"many":"other"},bem:_e,bez:_e,bg:_e,bho:we,bm:ke,bn:Se,bo:ke,br:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),i=r&&t[0].slice(-2),s=r&&t[0].slice(-6);return 1==n&&11!=i&&71!=i&&91!=i?"one":2==n&&12!=i&&72!=i&&92!=i?"two":(3==n||4==n||9==n)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&r&&0==s?"many":"other"},brx:_e,bs:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=r.slice(-2),a=n.slice(-1),l=n.slice(-2);return i&&1==s&&11!=o||1==a&&11!=l?"one":i&&s>=2&&s<=4&&(o<12||o>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},ca:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},ce:_e,ceb:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=o&&6!=o&&9!=o?"one":"other"},cgg:_e,chr:_e,ckb:_e,cs:e=>{let t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:e=>0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",da:e=>{let t=String(e).split("."),r=t[0],n=Number(t[0])==e;return 1!=e&&(n||0!=r&&1!=r)?"other":"one"},de:Ee,doi:Se,dsb:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-2),o=n.slice(-2);return i&&1==s||1==o?"one":i&&2==s||2==o?"two":i&&(3==s||4==s)||3==o||4==o?"few":"other"},dv:_e,dz:ke,ee:_e,el:_e,en:Ee,eo:_e,es:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e?"one":0!=r&&0==i&&n?"many":"other"},et:Ee,eu:_e,fa:Se,ff:e=>e>
101=0&&e<2?"one":"other",fi:Ee,fil:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=o&&6!=o&&9!=o?"one":"other"},fo:_e,fr:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return e>=0&&e<2?"one":0!=r&&0==i&&n?"many":"other"},fur:_e,fy:Ee,ga:e=>{let t=String(e).split("."),r=Number(t[0])==e;return 1==e?"one":2==e?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},gd:e=>{let t=String(e).split("."),r=Number(t[0])==e;return 1==e||11==e?"one":2==e||12==e?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},gl:Ee,gsw:_e,gu:Se,guw:we,gv:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),s=r.slice(-2);return n&&1==i?"one":n&&2==i?"two":!n||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?n?"other":"many":"few"},ha:_e,haw:_e,he:e=>{let t=String(e).split("."),r=t[0],n=!t[1];return 1==r&&n||0==r&&!n?"one":2==r&&n?"two":"other"},hi:Se,hnj:ke,hr:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=r.slice(-2),a=n.slice(-1),l=n.slice(-2);return i&&1==s&&11!=o||1==a&&11!=l?"one":i&&s>=2&&s<=4&&(o<12||o>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},hsb:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-2),o=n.slice(-2);return i&&1==s||1==o?"one":i&&2==s||2==o?"two":i&&(3==s||4==s)||3==o||4==o?"few":"other"},hu:_e,hy:e=>e>=0&&e<2?"one":"other",ia:Ee,id:ke,ig:ke,ii:ke,io:Ee,is:e=>{let t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),i=Number(t[0])==e,s=r.slice(-1),o=r.slice(-2);return i&&1==s&&11!=o||n%10==1&&n%100!=11?"one":"other"},it:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},iu:Ce,ja:ke,jbo:ke,jgo:_e,jmc:_e,jv:ke,jw:ke,ka:_e,kab:e=>e>=0&&e<2?"one":"other",kaj:_e,kcg:_e,kde:ke,kea:ke,kk:_e,kkj:_e,kl:_e,km:ke,kn:Se,ko:ke,ks:_e,ksb:_e,ksh:e=>0==e?"zero":1==e?"one":"other",ku:_e,kw:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2),i=r&&t[0].slice(-3),s=r&&t[0].slice(-5),o=r&&t[0].slice(-6);return 0==e?"zero":1==e?"one":2==n||22==n||42==n||62==n||82==n||r&&0==i&&(s>=1e3&&s<=2e4||4e4==s||6e4==s||8e4==s)||0!=e&&1e5==o?"two":3==n||23==n||43==n||63==n||83==n?"few":1==e||1!=n&&21!=n&&41!=n&&61!=n&&81!=n?"other":"many"},ky:_e,lag:e=>{let t=String(e).split(".")[0];return 0==e?"zero":0!=t&&1!=t||0==e?"other":"one"},lb:_e,lg:_e,lij:Ee,lkt:ke,ln:we,lo:ke,lt:e=>{let t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,i=n&&t[0].slice(-1),s=n&&t[0].slice(-2);return 1==i&&(s<11||s>19)?"one":i>=2&&i<=9&&(s<11||s>19)?"few":0!=r?"many":"other"},lv:e=>{let t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,s=i&&t[0].slice(-1),o=i&&t[0].slice(-2),a=r.slice(-2),l=r.slice(-1);return i&&0==s||o>=11&&o<=19||2==n&&a>=11&&a<=19?"zero":1==s&&11!=o||2==n&&1==l&&11!=a||2!=n&&1==l?"one":"other"},mas:_e,mg:we,mgo:_e,mk:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=r.slice(-2),a=n.slice(-1),l=n.slice(-2);return i&&1==s&&11!=o||1==a&&11!=l?"one":"other"},ml:_e,mn:_e,mo:e=>{let t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},mr:_e,ms:ke,mt:e=>{let t=String(e).split("."),r=Number(t[0])==e&&t[0].slice(-2);return 1==e?"one":2==e?"two":0==e||r>=3&&r<=10?"few":r>=11&&r<=19?"many":"other"},my:ke,nah:_e,naq:Ce,nb:_e,nd:_e,ne:_e,nl:Ee,nn:_e,nnh:_e,no:_e,nqo:ke,nr:_e,nso:we,ny:_e,nyn:_e,om:_e,or:_e,os:_e,osa:ke,pa:we,pap:_e,pcm:Se,pl:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),s=r.slice(-2);return 1==e&&n?"one":n&&i>=2&&i<=4&&(s<12||s>14)?"few":n&&1!=r&&(0==i||1==i)||n&&i>=5&&i<=9||n&&s>=12&&s<=14?"many":"other"},prg:e=>{let t=String(e).split("."),r=t[1]||"",n=r.length,i=Number(t[0])==e,s=i&&t[0].slice(-1),o=i&&t[0].slice(-2),a=r.slice(-2),l=r.slice(-1);return i&&0==s||o>=11&&o<=19||2==n&&a>=11&&a<=19?"zero":1==s&&11!=o||2==n&&1==l&&11!=a||2!=n&&1==l?"one":"other"},ps:_e,pt:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==i&&n?"many":"other"},pt_PT:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},rm:_e,ro:e=>{let t=String(e).split("."),r=!t[1],n=Number(t[0])==e&&t[0].slice(-2);return 1==e&&r?"one":!r||0==e||1!=e&&n>=1&&n<=19?"few":"other"},rof:_e,ru:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),s=r.slice(-2);return n&&1==i&&11!=s?"one":n&&i>=2&&i<=4&&(s<12||s>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&s>=11&&s<=14?"many":"other"},rwk:_e,sah:ke,saq:_e,sat:Ce,sc:Ee,scn:Ee,sd:_e,sdh:_e,se:Ce,seh:_e,ses:ke,sg:ke,sh:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=r.slice(-2),a=n.slice(-1),l=n.slice(-2);return i&&1==s&&11!=o||1==a&&11!=l?"one":i&&s>=2&&s<=4&&(o<12||o>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},shi:e=>{let t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"";return 0==e||1==e||0==r&&1==n?"one":"other"},sk:e=>{let t=String(e).split("."),r=t[0],n=!t[1];return 1==e&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},sl:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-2);
101return n&&1==i?"one":n&&2==i?"two":n&&(3==i||4==i)||!n?"few":"other"},sma:Ce,smi:Ce,smj:Ce,smn:Ce,sms:Ce,sn:_e,so:_e,sq:_e,sr:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=r.slice(-2),a=n.slice(-1),l=n.slice(-2);return i&&1==s&&11!=o||1==a&&11!=l?"one":i&&s>=2&&s<=4&&(o<12||o>14)||a>=2&&a<=4&&(l<12||l>14)?"few":"other"},ss:_e,ssy:_e,st:_e,su:ke,sv:Ee,sw:Ee,syr:_e,ta:_e,te:_e,teo:_e,th:ke,ti:we,tig:_e,tk:_e,tl:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",i=!t[1],s=r.slice(-1),o=n.slice(-1);return i&&(1==r||2==r||3==r)||i&&4!=s&&6!=s&&9!=s||!i&&4!=o&&6!=o&&9!=o?"one":"other"},tn:_e,to:ke,tpi:ke,tr:_e,ts:_e,tzm:e=>{let t=String(e).split("."),r=Number(t[0])==e;return 0==e||1==e||r&&e>=11&&e<=99?"one":"other"},ug:_e,uk:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-1),s=r.slice(-2);return n&&1==i&&11!=s?"one":n&&i>=2&&i<=4&&(s<12||s>14)?"few":n&&0==i||n&&i>=5&&i<=9||n&&s>=11&&s<=14?"many":"other"},und:ke,ur:Ee,uz:_e,ve:_e,vec:e=>{let t=String(e).split("."),r=t[0],n=!t[1],i=r.slice(-6);return 1==e&&n?"one":0!=r&&0==i&&n?"many":"other"},vi:ke,vo:_e,vun:_e,wa:we,wae:_e,wo:ke,xh:_e,xog:_e,yi:Ee,yo:ke,yue:ke,zh:ke,zu:Se});let Te="zero",xe="one",Oe="two",Ae="few",Pe="many",Ie="other",Re={cardinal:[xe,Ie],ordinal:[Ie]},Ne={cardinal:[xe,Ie],ordinal:[xe,Ie]},Fe={cardinal:[Ie],ordinal:[Ie]},Le={cardinal:[xe,Oe,Ie],ordinal:[Ie]};var Me=Object.freeze({__proto__:null,af:Re,ak:Re,am:Re,an:Re,ar:{cardinal:[Te,xe,Oe,Ae,Pe,Ie],ordinal:[Ie]},ars:{cardinal:[Te,xe,Oe,Ae,Pe,Ie],ordinal:[Ie]},as:{cardinal:[xe,Ie],ordinal:[xe,Oe,Ae,Pe,Ie]},asa:Re,ast:Re,az:{cardinal:[xe,Ie],ordinal:[xe,Ae,Pe,Ie]},bal:Ne,be:{cardinal:[xe,Ae,Pe,Ie],ordinal:[Ae,Ie]},bem:Re,bez:Re,bg:Re,bho:Re,bm:Fe,bn:{cardinal:[xe,Ie],ordinal:[xe,Oe,Ae,Pe,Ie]},bo:Fe,br:{cardinal:[xe,Oe,Ae,Pe,Ie],ordinal:[Ie]},brx:Re,bs:{cardinal:[xe,Ae,Ie],ordinal:[Ie]},ca:{cardinal:[xe,Pe,Ie],ordinal:[xe,Oe,Ae,Ie]},ce:Re,ceb:Re,cgg:Re,chr:Re,ckb:Re,cs:{cardinal:[xe,Ae,Pe,Ie],ordinal:[Ie]},cy:{cardinal:[Te,xe,Oe,Ae,Pe,Ie],ordinal:[Te,xe,Oe,Ae,Pe,Ie]},da:Re,de:Re,doi:Re,dsb:{cardinal:[xe,Oe,Ae,Ie],ordinal:[Ie]},dv:Re,dz:Fe,ee:Re,el:Re,en:{cardinal:[xe,Ie],ordinal:[xe,Oe,Ae,Ie]},eo:Re,es:{cardinal:[xe,Pe,Ie],ordinal:[Ie]},et:Re,eu:Re,fa:Re,ff:Re,fi:Re,fil:Ne,fo:Re,fr:{cardinal:[xe,Pe,Ie],ordinal:[xe,Ie]},fur:Re,fy:Re,ga:{cardinal:[xe,Oe,Ae,Pe,Ie],ordinal:[xe,Ie]},gd:{cardinal:[xe,Oe,Ae,Ie],ordinal:[xe,Oe,Ae,Ie]},gl:Re,gsw:Re,gu:{cardinal:[xe,Ie],ordinal:[xe,Oe,Ae,Pe,Ie]},guw:Re,gv:{cardinal:[xe,Oe,Ae,Pe,Ie],ordinal:[Ie]},ha:Re,haw:Re,he:Le,hi:{cardinal:[xe,Ie],ordinal:[xe,Oe,Ae,Pe,Ie]},hnj:Fe,hr:{cardinal:[xe,Ae,Ie],ordinal:[Ie]},hsb:{cardinal:[xe,Oe,Ae,Ie],ordinal:[Ie]},hu:Ne,hy:Ne,ia:Re,id:Fe,ig:Fe,ii:Fe,io:Re,is:Re,it:{cardinal:[xe,Pe,Ie],ordinal:[Pe,Ie]},iu:Le,ja:Fe,jbo:Fe,jgo:Re,jmc:Re,jv:Fe,jw:Fe,ka:{cardinal:[xe,Ie],ordinal:[xe,Pe,Ie]},kab:Re,kaj:Re,kcg:Re,kde:Fe,kea:Fe,kk:{cardinal:[xe,Ie],ordinal:[Pe,Ie]},kkj:Re,kl:Re,km:Fe,kn:Re,ko:Fe,ks:Re,ksb:Re,ksh:{cardinal:[Te,xe,Ie],ordinal:[Ie]},ku:Re,kw:{cardinal:[Te,xe,Oe,Ae,Pe,Ie],ordinal:[xe,Pe,Ie]},ky:Re,lag:{cardinal:[Te,xe,Ie],ordinal:[Ie]},lb:Re,lg:Re,lij:{cardinal:[xe,Ie],ordinal:[Pe,Ie]},lkt:Fe,ln:Re,lo:{cardinal:[Ie],ordinal:[xe,Ie]},lt:{cardinal:[xe,Ae,Pe,Ie],ordinal:[Ie]},lv:{cardinal:[Te,xe,Ie],ordinal:[Ie]},mas:Re,mg:Re,mgo:Re,mk:{cardinal:[xe,Ie],ordinal:[xe,Oe,Pe,Ie]},ml:Re,mn:Re,mo:{cardinal:[xe,Ae,Ie],ordinal:[xe,Ie]},mr:{cardinal:[xe,Ie],ordinal:[xe,Oe,Ae,Ie]},ms:{cardinal:[Ie],ordinal:[xe,Ie]},mt:{cardinal:[xe,Oe,Ae,Pe,Ie],ordinal:[Ie]},my:Fe,nah:Re,naq:Le,nb:Re,nd:Re,ne:Ne,nl:Re,nn:Re,nnh:Re,no:Re,nqo:Fe,nr:Re,nso:Re,ny:Re,nyn:Re,om:Re,or:{cardinal:[xe,Ie],ordinal:[xe,Oe,Ae,Pe,Ie]},os:Re,osa:Fe,pa:Re,pap:Re,pcm:Re,pl:{cardinal:[xe,Ae,Pe,Ie],ordinal:[Ie]},prg:{cardinal:[Te,xe,Ie],ordinal:[Ie]},ps:Re,pt:{cardinal:[xe,Pe,Ie],ordinal:[Ie]},pt_PT:{cardinal:[xe,Pe,Ie],ordinal:[Ie]},rm:Re,ro:{cardinal:[xe,Ae,Ie],ordinal:[xe,Ie]},rof:Re,ru:{cardinal:[xe,Ae,Pe,Ie],ordinal:[Ie]},rwk:Re,sah:Fe,saq:Re,sat:Le,sc:{cardinal:[xe,Ie],ordinal:[Pe,Ie]},scn:{cardinal:[xe,Ie],ordinal:[Pe,Ie]},sd:Re,sdh:Re,se:Le,seh:Re,ses:Fe,sg:Fe,sh:{cardinal:[xe,Ae,Ie],ordinal:[Ie]},shi:{cardinal:[xe,Ae,Ie],ordinal:[Ie]},si:Re,sk:{cardinal:[xe,Ae,Pe,Ie],ordinal:[Ie]},sl:{cardinal:[xe,Oe,Ae,Ie],ordinal:[Ie]},sma:Le,smi:Le,smj:Le,smn:Le,sms:Le,sn:Re,so:Re,sq:{cardinal:[xe,Ie],ordinal:[xe,Pe,Ie]},sr:{cardinal:[xe,Ae,Ie],ordinal:[Ie]},ss:Re,ssy:Re,st:Re,su:Fe,sv:Ne,sw:Re,syr:Re,ta:Re,te:Re,teo:Re,th:Fe,ti:Re,tig:Re,tk:{cardinal:[xe,Ie],ordinal:[Ae,Ie]},tl:Ne,tn:Re,to:Fe,tpi:Fe,tr:Re,ts:Re,tzm:Re,ug:Re,uk:{cardinal:[xe,Ae,Pe,Ie],ordinal:[Ae,Ie]},und:Fe,ur:Re,uz:Re,ve:Re,vec:{cardinal:[xe,Pe,Ie],ordinal:[Pe,Ie]},vi:{cardinal:[Ie],ordinal:[xe,Ie]},vo:Re,vun:Re,wa:Re,wae:Re,wo:Fe,xh:Re,xog:Re,yi:Re,yo:Fe,yue:Fe,zh:Fe,zu:Re});let je=(e,t)=>t?"other":1==e?"one":"other",Be=(e,t)=>t?"other":0==e||1==e?"one":"other",ze=(e,t)=>
101t?"other":e>=0&&e<=1?"one":"other",Ve=(e,t)=>{let r=!String(e).split(".")[1];return t?"other":1==e&&r?"one":"other"},$e=(e,t)=>"other",Ue=(e,t)=>t?"other":1==e?"one":2==e?"two":"other";var qe=Object.freeze({__proto__:null,af:je,ak:Be,am:ze,an:je,ar:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},as:(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",asa:je,ast:Ve,az:(e,t)=>{let r=String(e).split(".")[0],n=r.slice(-1),i=r.slice(-2),s=r.slice(-3);return t?1==n||2==n||5==n||7==n||8==n||20==i||50==i||70==i||80==i?"one":3==n||4==n||100==s||200==s||300==s||400==s||500==s||600==s||700==s||800==s||900==s?"few":0==r||6==n||40==i||60==i||90==i?"many":"other":1==e?"one":"other"},bal:(e,t)=>1==e?"one":"other",be:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),s=n&&r[0].slice(-2);return t?2!=i&&3!=i||12==s||13==s?"other":"few":1==i&&11!=s?"one":i>=2&&i<=4&&(s<12||s>14)?"few":n&&0==i||i>=5&&i<=9||s>=11&&s<=14?"many":"other"},bem:je,bez:je,bg:je,bho:Be,bm:$e,bn:(e,t)=>t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",bo:$e,br:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),s=n&&r[0].slice(-2),o=n&&r[0].slice(-6);return t?"other":1==i&&11!=s&&71!=s&&91!=s?"one":2==i&&12!=s&&72!=s&&92!=s?"two":(3==i||4==i||9==i)&&(s<10||s>19)&&(s<70||s>79)&&(s<90||s>99)?"few":0!=e&&n&&0==o?"many":"other"},brx:je,bs:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=n.slice(-2),l=i.slice(-1),u=i.slice(-2);return t?"other":s&&1==o&&11!=a||1==l&&11!=u?"one":s&&o>=2&&o<=4&&(a<12||a>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},ca:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-6);return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&i?"one":0!=n&&0==s&&i?"many":"other"},ce:je,ceb:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=i.slice(-1);return t?"other":s&&(1==n||2==n||3==n)||s&&4!=o&&6!=o&&9!=o||!s&&4!=a&&6!=a&&9!=a?"one":"other"},cgg:je,chr:je,ckb:je,cs:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},cy:(e,t)=>t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other",da:(e,t)=>{let r=String(e).split("."),n=r[0],i=Number(r[0])==e;return t||1!=e&&(i||0!=n&&1!=n)?"other":"one"},de:Ve,doi:ze,dsb:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-2),a=i.slice(-2);return t?"other":s&&1==o||1==a?"one":s&&2==o||2==a?"two":s&&(3==o||4==o)||3==a||4==a?"few":"other"},dv:je,dz:$e,ee:je,el:je,en:(e,t)=>{let r=String(e).split("."),n=!r[1],i=Number(r[0])==e,s=i&&r[0].slice(-1),o=i&&r[0].slice(-2);return t?1==s&&11!=o?"one":2==s&&12!=o?"two":3==s&&13!=o?"few":"other":1==e&&n?"one":"other"},eo:je,es:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-6);return t?"other":1==e?"one":0!=n&&0==s&&i?"many":"other"},et:Ve,eu:je,fa:ze,ff:(e,t)=>t?"other":e>=0&&e<2?"one":"other",fi:Ve,fil:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=i.slice(-1);return t?1==e?"one":"other":s&&(1==n||2==n||3==n)||s&&4!=o&&6!=o&&9!=o||!s&&4!=a&&6!=a&&9!=a?"one":"other"},fo:je,fr:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-6);return t?1==e?"one":"other":e>=0&&e<2?"one":0!=n&&0==s&&i?"many":"other"},fur:je,fy:Ve,ga:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":n&&e>=3&&e<=6?"few":n&&e>=7&&e<=10?"many":"other"},gd:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?1==e||11==e?"one":2==e||12==e?"two":3==e||13==e?"few":"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:Ve,gsw:je,gu:(e,t)=>
101t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",guw:Be,gv:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-1),o=n.slice(-2);return t?"other":i&&1==s?"one":i&&2==s?"two":!i||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?i?"other":"many":"few"},ha:je,haw:je,he:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==n&&i||0==n&&!i?"one":2==n&&i?"two":"other"},hi:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other",hnj:$e,hr:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=n.slice(-2),l=i.slice(-1),u=i.slice(-2);return t?"other":s&&1==o&&11!=a||1==l&&11!=u?"one":s&&o>=2&&o<=4&&(a<12||a>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},hsb:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-2),a=i.slice(-2);return t?"other":s&&1==o||1==a?"one":s&&2==o||2==a?"two":s&&(3==o||4==o)||3==a||4==a?"few":"other"},hu:(e,t)=>t?1==e||5==e?"one":"other":1==e?"one":"other",hy:(e,t)=>t?1==e?"one":"other":e>=0&&e<2?"one":"other",ia:Ve,id:$e,ig:$e,ii:$e,io:Ve,is:(e,t)=>{let r=String(e).split("."),n=r[0],i=(r[1]||"").replace(/0+$/,""),s=Number(r[0])==e,o=n.slice(-1),a=n.slice(-2);return t?"other":s&&1==o&&11!=a||i%10==1&&i%100!=11?"one":"other"},it:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&i?"one":0!=n&&0==s&&i?"many":"other"},iu:Ue,ja:$e,jbo:$e,jgo:je,jmc:je,jv:$e,jw:$e,ka:(e,t)=>{let r=String(e).split(".")[0],n=r.slice(-2);return t?1==r?"one":0==r||n>=2&&n<=20||40==n||60==n||80==n?"many":"other":1==e?"one":"other"},kab:(e,t)=>t?"other":e>=0&&e<2?"one":"other",kaj:je,kcg:je,kde:$e,kea:$e,kk:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1);return t?6==i||9==i||n&&0==i&&0!=e?"many":"other":1==e?"one":"other"},kkj:je,kl:je,km:$e,kn:ze,ko:$e,ks:je,ksb:je,ksh:(e,t)=>t?"other":0==e?"zero":1==e?"one":"other",ku:je,kw:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-2),s=n&&r[0].slice(-3),o=n&&r[0].slice(-5),a=n&&r[0].slice(-6);return t?n&&e>=1&&e<=4||i>=1&&i<=4||i>=21&&i<=24||i>=41&&i<=44||i>=61&&i<=64||i>=81&&i<=84?"one":5==e||5==i?"many":"other":0==e?"zero":1==e?"one":2==i||22==i||42==i||62==i||82==i||n&&0==s&&(o>=1e3&&o<=2e4||4e4==o||6e4==o||8e4==o)||0!=e&&1e5==a?"two":3==i||23==i||43==i||63==i||83==i?"few":1==e||1!=i&&21!=i&&41!=i&&61!=i&&81!=i?"other":"many"},ky:je,lag:(e,t)=>{let r=String(e).split(".")[0];return t?"other":0==e?"zero":0!=r&&1!=r||0==e?"other":"one"},lb:je,lg:je,lij:(e,t)=>{let r=String(e).split("."),n=!r[1],i=Number(r[0])==e;return t?11==e||8==e||i&&e>=80&&e<=89||i&&e>=800&&e<=899?"many":"other":1==e&&n?"one":"other"},lkt:$e,ln:Be,lo:(e,t)=>t&&1==e?"one":"other",lt:(e,t)=>{let r=String(e).split("."),n=r[1]||"",i=Number(r[0])==e,s=i&&r[0].slice(-1),o=i&&r[0].slice(-2);return t?"other":1==s&&(o<11||o>19)?"one":s>=2&&s<=9&&(o<11||o>19)?"few":0!=n?"many":"other"},lv:(e,t)=>
101{let r=String(e).split("."),n=r[1]||"",i=n.length,s=Number(r[0])==e,o=s&&r[0].slice(-1),a=s&&r[0].slice(-2),l=n.slice(-2),u=n.slice(-1);return t?"other":s&&0==o||a>=11&&a<=19||2==i&&l>=11&&l<=19?"zero":1==o&&11!=a||2==i&&1==u&&11!=l||2!=i&&1==u?"one":"other"},mas:je,mg:Be,mgo:je,mk:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=n.slice(-2),l=i.slice(-1),u=i.slice(-2);return t?1==o&&11!=a?"one":2==o&&12!=a?"two":7!=o&&8!=o||17==a||18==a?"other":"many":s&&1==o&&11!=a||1==l&&11!=u?"one":"other"},ml:je,mn:je,mo:(e,t)=>{let r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},mr:(e,t)=>t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":1==e?"one":"other",ms:(e,t)=>t&&1==e?"one":"other",mt:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-2);return t?"other":1==e?"one":2==e?"two":0==e||n>=3&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:$e,nah:je,naq:Ue,nb:je,nd:je,ne:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>
101=1&&e<=4?"one":"other":1==e?"one":"other"},nl:Ve,nn:je,nnh:je,no:je,nqo:$e,nr:je,nso:Be,ny:je,nyn:je,om:je,or:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?1==e||5==e||n&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:je,osa:$e,pa:Be,pap:je,pcm:ze,pl:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-1),o=n.slice(-2);return t?"other":1==e&&i?"one":i&&s>=2&&s<=4&&(o<12||o>14)?"few":i&&1!=n&&(0==s||1==s)||i&&s>=5&&s<=9||i&&o>=12&&o<=14?"many":"other"},prg:(e,t)=>{let r=String(e).split("."),n=r[1]||"",i=n.length,s=Number(r[0])==e,o=s&&r[0].slice(-1),a=s&&r[0].slice(-2),l=n.slice(-2),u=n.slice(-1);return t?"other":s&&0==o||a>=11&&a<=19||2==i&&l>=11&&l<=19?"zero":1==o&&11!=a||2==i&&1==u&&11!=l||2!=i&&1==u?"one":"other"},ps:je,pt:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-6);return t?"other":0==n||1==n?"one":0!=n&&0==s&&i?"many":"other"},pt_PT:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-6);return t?"other":1==e&&i?"one":0!=n&&0==s&&i?"many":"other"},rm:je,ro:(e,t)=>{let r=String(e).split("."),n=!r[1],i=Number(r[0])==e&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},rof:je,ru:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-1),o=n.slice(-2);return t?"other":i&&1==s&&11!=o?"one":i&&s>=2&&s<=4&&(o<12||o>14)?"few":i&&0==s||i&&s>=5&&s<=9||i&&o>=11&&o<=14?"many":"other"},rwk:je,sah:$e,saq:je,sat:Ue,sc:(e,t)=>{let r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},scn:(e,t)=>{let r=!String(e).split(".")[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&r?"one":"other"},sd:je,sdh:je,se:Ue,seh:je,ses:$e,sg:$e,sh:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=n.slice(-2),l=i.slice(-1),u=i.slice(-2);return t?"other":s&&1==o&&11!=a||1==l&&11!=u?"one":s&&o>=2&&o<=4&&(a<12||a>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},shi:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"";return t?"other":0==e||1==e||0==n&&1==i?"one":"other"},sk:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1];return t?"other":1==e&&i?"one":n>=2&&n<=4&&i?"few":i?"other":"many"},sl:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-2);return t?"other":i&&1==s?"one":i&&2==s?"two":i&&(3==s||4==s)||!i?"few":"other"},sma:Ue,smi:Ue,smj:Ue,smn:Ue,sms:Ue,sn:je,so:je,sq:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,i=n&&r[0].slice(-1),s=n&&r[0].slice(-2);return t?1==e?"one":4==i&&14!=s?"many":"other":1==e?"one":"other"},sr:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=n.slice(-2),l=i.slice(-1),u=i.slice(-2);return t?"other":s&&1==o&&11!=a||1==l&&11!=u?"one":s&&o>=2&&o<=4&&(a<12||a>14)||l>=2&&l<=4&&(u<12||u>14)?"few":"other"},ss:je,ssy:je,st:je,su:$e,sv:(e,t)=>{let r=String(e).split("."),n=!r[1],i=Number(r[0])==e,s=i&&r[0].slice(-1),o=i&&r[0].slice(-2);return t?1!=s&&2!=s||11==o||12==o?"other":"one":1==e&&n?"one":"other"},sw:Ve,syr:je,ta:je,te:je,teo:je,th:$e,ti:Be,tig:je,tk:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e&&r[0].slice(-1);return t?6==n||9==n||10==e?"few":"other":1==e?"one":"other"},tl:(e,t)=>{let r=String(e).split("."),n=r[0],i=r[1]||"",s=!r[1],o=n.slice(-1),a=i.slice(-1);return t?1==e?"one":"other":s&&(1==n||2==n||3==n)||s&&4!=o&&6!=o&&9!=o||!s&&4!=a&&6!=a&&9!=a?"one":"other"},tn:je,to:$e,tpi:$e,tr:je,ts:je,tzm:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:je,uk:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=Number(r[0])==e,o=s&&r[0].slice(-1),a=s&&r[0].slice(-2),l=n.slice(-1),u=n.slice(-2);return t?3==o&&13!=a?"few":"other":i&&1==l&&11!=u?"one":i&&l>=2&&l<=4&&(u<12||u>14)?"few":i&&0==l||i&&l>=5&&l<=9||i&&u>=11&&u<=14?"many":"other"},und:$e,ur:Ve,uz:je,ve:je,vec:(e,t)=>{let r=String(e).split("."),n=r[0],i=!r[1],s=n.slice(-6);return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&i?"one":0!=n&&0==s&&i?"many":"other"},vi:(e,t)=>
101t&&1==e?"one":"other",vo:je,vun:je,wa:Be,wae:je,wo:$e,xh:je,xog:je,yi:Ve,yo:$e,yue:$e,zh:$e,zu:ze});function He(e){if("string"!=typeof e||e.length<2)throw new RangeError("Invalid language tag: ".concat(e));if(e.startsWith("pt-PT"))return"pt-PT";var t=e.match(/.+?(?=[-_])/);return t?t[0]:e}function Ge(e){if("function"==typeof e){var t=He(e.name);return{isDefault:!1,id:fe(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=He(e),n=fe(r);return function(e){return e in qe}(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:De[n],getPlural:qe[n],cardinals:Me[n].cardinal,ordinals:Me[n].ordinal}:null}function We(e){return fe(He(e))in qe}var Qe=function(){function r(e,t){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:t&&t.strictNumberSign||!1,strictPluralKeys:!0},t),"*"===e?this.plurals=function(e){var t=Object.keys(qe).filter(function(t){return t!==e});return t.unshift(e),t.map(Ge)}(r.defaultLocale):Array.isArray(e)?this.plurals=e.map(Ge).filter(Boolean):e&&(n=Ge(e))&&(this.plurals=[n]),0===this.plurals.length){var n=Ge(r.defaultLocale);this.plurals=[n]}}return r.escape=function(e,t){var r=t?/[#{}]/g:/[{}]/g;return String(e).replace(r,"'$&'")},r.supportedLocalesOf=function(e){return(Array.isArray(e)?e:[e]).filter(We)},r.prototype.resolvedOptions=function(){return e(e({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},r.prototype.compile=function(e){var r,s,o=new ve(this.options),a="return "+o.compile(e,this.plurals[0]),l=[],u=[];try{for(var c=t(Object.entries(o.runtime)),h=c.next();!h.done;h=c.next()){var d=n(h.value,2),p=d[0],f=d[1];l.push(p),u.push(f)}}catch(q){r={error:q}}finally{try{h&&!h.done&&(s=c.return)&&s.call(c)}finally{if(r)throw r.error}}return(new(Function.bind.apply(Function,i(i([void 0],n(l),!1),[a],!1)))).apply(void 0,i([],n(u),!1))},r.defaultLocale="en",r}();return Qe},"object"==typeof s&&typeof o<"u"?o.exports=a():void 0===(i="function"==typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=i)}),bH=b(()=>{"use strict";fy(),qq=new na("MESSAGE_FORMAT_CONFIG")}),_H=b(()=>{"use strict";x_(),Hq=w(vH()),bH(),fy(),Gq={biDiSupport:!1,formatters:void 0,locales:void 0,strictNumberSign:!1},Wq=(()=>{class e extends f_{constructor(e){super(),this.config=y(y({},Gq),e)}createMessageFormat(e){return new Hq.default(e,{customFormatters:this.config.formatters??{},biDiSupport:this.config.biDiSupport??!1,strict:this.config.strictNumberSign??!1})}compileTranslationsDict(e,t){return Object.entries(t).reduce((t,[r,n])=>{if("string"==typeof n)try{t[r]=e.compile(n)}catch(i){console.error(i)}else t[r]=this.compileTranslationsDict(e,n);return t},{})}compile(e,t){return this.createMessageFormat(t).compile(e)}compileTranslations(e,t){return this.compileTranslationsDict(this.createMessageFormat(t),e)}static{this.ɵfac=function(t){return new(t||e)(as(qq,8))}}static{this.ɵprov=Qi({token:e,factory:e.ɵfac})}}return e})()}),wH=b(()=>{"use strict";_H()}),SH=b(()=>{}),EH=b(()=>{"use strict";wH(),SH(),bH(),_H()}),kH=b(()=>{}),CH=b(()=>{"use strict";dN()}),DH=b(()=>{"use strict";Li(),Qq=class{constructor(e){this.translates=e;for(let t in this.translates)this.translates[t]=this.transformTranslations(this.translates[t])}transformTranslations(e){let t={};for(let[r,n]of Object.entries(e))t[r]=n&&"object"==typeof n?"string"in n?n.string??this.transformTranslations(n):this.transformTranslations(n):n;return t}getTranslation(e){return Gr(this.translates[e]||{})}}}),TH=b(()=>{}),xH=b(()=>{"use strict";kH(),CH(),DH(),TH()}),OH=b(()=>{Zq={About:"About","Access Cloud Proofing":"Access Cloud Proofing","Access Pixellu Galleries":"Access Pixellu Galleries","Access SmartSlides":"Access SmartSlides","Account Login":"Account Login","Account Overview":"Account Overview",Blog:"Blog",Company:"Company",Contact:"Contact",Privacy:"Privacy",Products:"Products",Resources:"Resources","Sign Out":"Sign Out",Support:"Support",Terms:"Terms","Prices shown per month, billed yearly":"Prices shown per month, billed yearly","SmartAlbums Pricing":"SmartAlbums Pricing","Billed monthly":"Billed monthly","Save 33% with yearly billing":"Save 33% with yearly billing","SAVE 40% for 12 months":"SAVE 40% for 12 months",mo:"mo",year:"year","Bundle and save":"Bundle and save","Buy now":"Buy now","All Apps Bundle":"All Apps Bundle","Editing and publishing slideshows is not permitted from mobile devices":"Editing and publishing slideshows is not permitted from mobile devices","Pixellu Galleries Unlimited":"Unlimited","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Starter",SmartGalleries:"SmartGalleries","SmartGalleries Starter":"Starter","SmartGalleries Pro":"Pro","SmartGalleries Unlimited":"Unlimited","Pixellu SmartAlbums":"SmartAlbums","P
101ixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{Unlimited Slideshows} 10{10 Slideshows Storage} one{{count} Slideshow} other{{count} Slideshows Storage}}",PSF_GALLERIES_COUNT:"{count, select, 9999{Unlimited Galleries} one{{count} Gallery} other{{count} Galleries Storage}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"HD Download",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"4K Download","All prices are in [currencyCode]":"All prices are in {currencyCode, select, ARS{Argentine pesos} AUD{Australian dollars} BRL{Brazilian reals} BYN{Belarusian rubles} CAD{Canadian dollars} EUR{Euros} GBP{British pounds} IDR{Indonesian rupiahs} INR{Indian rupees} KGS{Kyrgyzstani som} MDL{Moldovan lei} MXN{Mexican pesos} MYR{Malaysian ringgits} NZD{New Zealand dollars} PHP{Philippine pesos} PKR{Pakistani rupees} RUB{Russian rubles} TJS{Tajikistani somoni} TRY{Turkish liras} UAH{Ukrainian hryvnias} USD{US dollars} UZS{Uzbekistani som} VND{Vietnamese dong} other {{currencyCode}}}","Billed yearly":"billed yearly",OK:"OK","Galleries Pricing":"Galleries Pricing","Open [name]":"Open {name}","Opening [name]...":"Opening {name}...","SmartSlides Pricing":"SmartSlides Pricing","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"Launch {name} by clicking <b>Open Pixellu {name}</b> in your browser's dialog.","If no dialog appears, click Open [name] below.":"If no dialog appears, click <b>Open {name}</b> below.",Subscribed:"Subscribed","10 YEAR ANNIVERSARY SALE":"10 YEAR ANNIVERSARY SALE","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Save 40% on our All Apps Bundle. Offer ends Nov. 30th","Buy Now":"Buy Now","Save 40% on our All Apps Bundle":"Save 40% on our All Apps Bundle",SALE:"SALE","Save 40%":"Save 40%","billed yearly":"Billed yearly","Save 30% for 1 year":"Save 30% for 1 year","SAVE 30% for 1 Year":"SAVE 30% for 1 Year"}}),AH=b(()=>{Yq={About:"Ãber uns","Access Cloud Proofing":"Auf Cloud Proofing zugreifen","Access Pixellu Galleries":"Auf Pixellu Galleries zugreifen","Access SmartSlides":"Auf SmartSlides zugreifen","Account Login":"Konto-Anmeldung","Account Overview":"Kontoübersicht",Blog:"Blog",Company:"Unternehmen",Contact:"Kontakt",Privacy:"Datenschutz",Products:"Produkte",Resources:"Ressourcen","Sign Out":"Abmelden",Support:"Support",Terms:"AGB","Prices shown per month, billed yearly":"Preise pro Monat, jährliche Abrechnung","SmartAlbums Pricing":"SmartAlbums-Preise","Billed monthly":"Monatliche Abrechnung","Save 33% with yearly billing":"Sparen Sie 33% mit jährlicher Abrechnung","SAVE 40% for 12 months":"SPAREN Sie 40 % für 12 Monate",mo:"mo",year:"Jahr","Bundle and save":"Kombinieren und sparen","Buy now":"Jetzt kaufen","All Apps Bundle":"Alle Apps-Bundles","Editing and publishing slideshows is not permitted from mobile devices":"Die Bearbeitung und Veröffentlichung von Diashows ist von Mobilgeräten aus nicht gestattet","Pixellu Galleries Unlimited":"Unbegrenzt","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Beginner",SmartGalleries:"SmartGalleries","SmartGalleries Starter":"Starter","SmartGalleries Pro":"Pro","SmartGalleries Unlimited":"Unlimited","Pixellu SmartAlbums":"SmartAlbums","Pixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{Unbegrenzte Diashows} 10{10 Diashow-Speicher} one{{count} Diashow} other{{count} Diashow-Speicher}}",PSF_GALLERIES_COUNT:"{count, select, 9999{Unbegrenzte Galerien} one{{count} Galerie} other{{count} Galerien Speicherplatz}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"HD Herunterladen",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"4K Download","All prices are in [currencyCode]":"Alle Preise sind in {currencyCode, select, ARS{argentinischen Pesos} AUD{australischen Dollar} BRL{brasilianischen Real} BYN{belarussischen Rubel} CAD{kanadischen Dollar} EUR{Euro} GBP{britischen Pfund} IDR{indonesischen Rupiah} INR{indischen Rupien} KGS{kirgisischen Som} MDL{moldauischen Leu} MXN{mexikanischen Pesos} MYR{malaysischen Ringgit} NZD{neuseeländischen Dollar} PHP{philippinischen Pesos} PKR{pakistanischen Rupien} RUB{russischen Rubel} TJS{tadschikischen Somoni} TRY{türkischen Lira}
101 UAH{ukrainischen Hrywnja} USD{US-Dollar} UZS{usbekischen Som} VND{vietnamesischen Dong} other {{currencyCode}}}","Billed yearly":"jährliche abrechnung",OK:"OK","Galleries Pricing":"Preisgestaltung für Galerien","Open [name]":"{name} öffnen","Opening [name]...":"{name} wird geöffnet...","SmartSlides Pricing":"Preisgestaltung für SmartSlides","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"Ãffnen Sie {name}, indem Sie im Dialogfeld Ihres Browsers auf <b>Ãffnen von Pixellu {name}</b>klicken.","If no dialog appears, click Open [name] below.":"Wenn kein Dialog erscheint, klicken Sie unten auf <b>{name} öffnen</b>.",Subscribed:"Abonniert","10 YEAR ANNIVERSARY SALE":"10-JAHRES-JUBILÃUMS-SALE","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Sparen Sie 40% auf All Apps Bundle. Das Angebot endet am 30 Nov.","Buy Now":"Jetzt kaufen","Save 40% on our All Apps Bundle":"Sparen Sie 40% auf All Apps Bundle",SALE:"SALE","Save 40%":"Sparen Sie 40%","billed yearly":"Jährliche Abrechnung","Save 30% for 1 year":"Sparen Sie 1 Jahr lang 30% ","SAVE 30% for 1 Year":"Sparen Sie 1 Jahr lang 30%"}}),PH=b(()=>{Kq={About:"à propos","Access Cloud Proofing":"Accéder à Cloud Proofing","Access Pixellu Galleries":"Accéder à Pixellu Galleries","Access SmartSlides":"Accéder à SmartSlides","Account Login":"Connexion au compte","Account Overview":"Aperçu du compte",Blog:"Blog",Company:"Entreprise",Contact:"Contact",Privacy:"Confidentialité",Products:"Produits",Resources:"Ressources","Sign Out":"Déconnexion",Support:"Assistance",Terms:"CGU","Prices shown per month, billed yearly":"Tarif mensuel indiqué, facturé annuellement","SmartAlbums Pricing":"Tarifs SmartAlbums","Billed monthly":"Facturé mensuellement","Save 33% with yearly billing":"Ãconomisez 33% avec la facturation annuelle","SAVE 40% for 12 months":"ÃCONOMISEZ 40% pendant 12 mois",mo:"mois",year:" an","Bundle and save":"Choisissez un pack et faites des économies","Buy now":"Acheter maintenant","All Apps Bundle":"All Apps Bundle","Editing and publishing slideshows is not permitted from mobile devices":"L'édition et la publication de diaporamas ne sont pas autorisées à partir des appareils mobiles.","Pixellu Galleries Unlimited":"Illimité","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Starter",SmartGalleries:"SmartGalleries","SmartGalleries Starter":"Starter","SmartGalleries Pro":"Pro","SmartGalleries Unlimited":"Unlimited","Pixellu SmartAlbums":"SmartAlbums","Pixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{Diaporamas illimités} 10{Stockage 10 diaporamas} one{{count} Diaporama} other{{count} Stockage diaporamas}}",PSF_GALLERIES_COUNT:"{count, select, 9999{Galeries illimitées} other{Stockage {count} galeries}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"Téléchargement HD",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"Téléchargement 4K","All prices are in [currencyCode]":"Tous les prix sont en {currencyCode, select, ARS{pesos argentins} AUD{dollars australiens} BRL{réaux brésiliens} BYN{roubles biélorusses} CAD{dollars canadiens} EUR{euros} GBP{livres sterling} IDR{roupies indonésiennes} INR{roupies indiennes} KGS{som kirghize} MDL{leus moldaves} MXN{pesos mexicains} MYR{ringgits malaisiens} NZD{dollars néo-zélandais} PHP{pesos philippins} PKR{roupies pakistanaises} RUB{roubles russes} TJS{somonis tadjiks} TRY{livres turques} UAH{hryvnias ukrainiennes} USD{dollars américains} UZS{som ouzbeks} VND{dongs vietnamiens} other {{currencyCode}}}","Billed yearly":"facturé annuellement",OK:"OK","Galleries Pricing":"Prix de Galleries","Open [name]":"Ouvrir {name}","Opening [name]...":"{name} en cours d'ouverture...","SmartSlides Pricing":"Prix de SmartSlides","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"Lancer {name} en cliquant sur <b>Ouvrir Pixellu {name}</b> dans la boîte de dialogue de votre navigateur.","If no dialog appears, click Open [name] below.":"Si aucune boîte de dialogue n'apparaît, cliquez sur <b>Ouvrir {name}</b> ci-dessous.",Subscribed:"Abonné(e)","10 YEAR ANNIVERSARY SALE":"VENTE SPÃCIALE POUR NOS 10 ANS","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Ãconomisez 40 % sur All Apps Bundle. L'offre prend fin au 30 nov.","Buy
101Now":"Acheter maintenant","Save 40% on our All Apps Bundle":"Ãconomisez 40 % sur All Apps Bundle",SALE:"VENTE SPÃCIALE","Save 40%":"Ãconomisez 40 %","billed yearly":"Facturé annuellement","Save 30% for 1 year":"Ãconomisez 30% pendant 1 an","SAVE 30% for 1 Year":"ÃCONOMISEZ 30% pendant 1 an"}}),IH=b(()=>{Xq={About:"Acerca de Pixellu","Access Cloud Proofing":"Acceder a Cloud Proofing","Access Pixellu Galleries":"Acceder a Pixellu Galleries","Access SmartSlides":"Acceder a SmartSlides","Account Login":"Iniciar sesión","Account Overview":"Resumen de la cuenta",Blog:"Blog",Company:"Empresa",Contact:"Contacto",Privacy:"Privacidad",Products:"Productos",Resources:"Recursos","Sign Out":"Cerrar sesión",Support:"Soporte",Terms:"Condiciones de uso","Prices shown per month, billed yearly":"Los precios son por mes, con pago anual","SmartAlbums Pricing":"Precios de SmartAlbums","Billed monthly":"Pago mensual","Save 33% with yearly billing":"Ahorre el 33% con el pago anual","SAVE 40% for 12 months":"AHORRE el 40% durante 12 meses",mo:"mes",year:"año","Bundle and save":"Combine y ahorre","Buy now":"Comprar ahora","All Apps Bundle":"All Apps Bundle","Editing and publishing slideshows is not permitted from mobile devices":"La edición y publicación de presentaciones no es compatible con dispositivos móviles","Pixellu Galleries Unlimited":"Unlimited","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Starter",SmartGalleries:"SmartGalleries","SmartGalleries Starter":"Starter","SmartGalleries Pro":"Pro","SmartGalleries Unlimited":"Unlimited","Pixellu SmartAlbums":"SmartAlbums","Pixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{Presentaciones ilimitadas} 10{Guarda 10 presentaciones} one{{count} Slideshow} other{Guarda {count} presentaciones}}",PSF_GALLERIES_COUNT:"{count, select, 9999{GalerÃas ilimitadas} one{{count} Gallery} other{Guarda {count} galerÃas}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"Descargas en HD",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"Descargas en 4K","All prices are in [currencyCode]":"Todos los precios están en {currencyCode, select, ARS{pesos argentinos} AUD{dólares australianos} BRL{reales brasileños} BYN{rublos bielorrusos} CAD{dólares canadienses} EUR{euros} GBP{libras esterlinas} IDR{rupias indonesias} INR{rupias indias} KGS{som kirguÃs} MDL{leus moldavos} MXN{pesos mexicanos} MYR{ringgits malasios} NZD{dólares neozelandeses} PHP{pesos filipinos} PKR{rupias pakistanÃes} RUB{rublos rusos} TJS{somonis tayikos} TRY{liras turcas} UAH{grivnas ucranianas} USD{dólares estadounidenses} UZS{som uzbeko} VND{dongs vietnamitas} other {{currencyCode}}}","Billed yearly":"pago anual",OK:"Aceptar","Galleries Pricing":"Precios de Galleries","Open [name]":"Abrir {name}","Opening [name]...":"Abriendo {name}...","SmartSlides Pricing":"Precios de SmartSlides","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"Abra {name} haciendo clic en <b>Abrir Pixellu {name}</b> en el cuadro de diálogo de su navegador.","If no dialog appears, click Open [name] below.":"Si no aparece el cuadro de diálogo, haga clic en <b>Abrir {name}</b> más abajo.",Subscribed:"Suscrito","10 YEAR ANNIVERSARY SALE":"PROMOCIÃN POR NUESTRO 10.º ANIVERSARIO","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Ahorre el 40% en el plan All Apps Bundle. La oferta finaliza el 30 de nov.","Buy Now":"Comprar ahora","Save 40% on our All Apps Bundle":"Ahorre el 40% en el plan All Apps Bundle",SALE:"PROMOCIÃN","Save 40%":"Ahorre el 40%","billed yearly":"Pago anual","Save 30% for 1 year":"Ahorre 30% durante 1 año","SAVE 30% for 1 Year":"Ahorre 30% durante 1 año"}}),RH=b(()=>{Jq={About:"Su di noi","Access Cloud Proofing":"Accedi a Cloud Proofing","Access Pixellu Galleries":"Accedi a Pixellu Galleries","Access SmartSlides":"Accedi a SmartSlides","Account Login":"Accesso all'Account","Account Overview":"Panoramica dell'Account",Blog:"Blog",Company:"Azienda",Contact:"Contatti",Privacy:"Privacy",Products:"Prodotti",Resources:"Risorse","Sign Out":"Esci",Support:"Supporto",Terms:"Termini","Prices shown per month, billed yearly":"Prezzo per mese, fatturato annualmente","SmartAlbums Pricing":"Prezzi SmartAlbums","Billed monthly":"Fatturazione mensile","Save 33% with yearly billing":"Risparmia il 33% con la fatturazione annuale","SAVE 40% for 12 months":"RISPARMIA IL 40% per 12 mesi",mo:"mese",year:"anno","Bundle and save":"Pacchetto risparmio","Buy now":"Acquista ora","All Apps Bundle":"All Apps Bundle","Editing and publishing slideshows is not permitted from mobile devices":"Non è permesso modificare e pubblicare slideshow da dispositivi mobili","Pixellu Galleries Unlimited":"Illimitato","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Starter",SmartGalleries:"SmartGalleries","SmartGalleries Starter":"Starter","SmartGalleries Pro":"Pro","SmartGalleries Unlimited":"Unlimited","Pixellu SmartAlbums":"SmartAlbums","P
101ixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{Slideshow Illimitati} 10{Archiviazione 10 Slideshows} one{{count} Slideshow} other{{count} Archiviazione Slideshows}}",PSF_GALLERIES_COUNT:"{count, select, 9999{Gallerie Illimitate} one{{count} Gallerie} other{{count} Archiviazione Gallerie}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"Download in HD",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"Scarica in 4K","All prices are in [currencyCode]":"Tutti i prezzi sono in {currencyCode, select, ARS{pesos argentini} AUD{dollari australiani} BRL{real brasiliani} BYN{rubli bielorussi} CAD{dollari canadesi} EUR{euro} GBP{sterline britanniche} IDR{rupie indonesiane} INR{rupie indiane} KGS{som kirghiso} MDL{lei moldavi} MXN{pesos messicani} MYR{ringgit malesi} NZD{dollari neozelandesi} PHP{pesos filippini} PKR{rupie pakistane} RUB{rubli russi} TJS{somoni tagiki} TRY{lire turche} UAH{grivnie ucraine} USD{dollari statunitensi} UZS{som uzbeki} VND{dong vietnamiti} other {{currencyCode}}}","Billed yearly":"fatturazione annuale",OK:"OK","Galleries Pricing":"Prezzi Galleries","Open [name]":"Apri {name}","Opening [name]...":"Aprendo {name}...","SmartSlides Pricing":"Prezzi SmartSlides","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"Lancia {name} cliccando su <b>Apri Pixellu {name}</b> nella finestra di dialogo del tuo browser.","If no dialog appears, click Open [name] below.":"Se non appare nessuna finestra, clicca su <b>Apri {name}</b> qui sotto.",Subscribed:"Abbonato","10 YEAR ANNIVERSARY SALE":"PROMOZIONE PER I 10 ANNI","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Risparmia il 40% sull'All Apps Bundle. L'offerta termina il 30 nov.","Buy Now":"Acquista ora","Save 40% on our All Apps Bundle":"Risparmia il 40% sull'All Apps Bundle",SALE:"PROMOZIONE","Save 40%":"Risparmia il 40%","billed yearly":"Fatturato annualmente","Save 30% for 1 year":"Risparmia il 30% per 1 anno","SAVE 30% for 1 Year":"RISPARMIA IL 30% per 1 anno"}}),NH=b(()=>{eH={About:"Sobre","Access Cloud Proofing":"Acessar Cloud Proofing","Access Pixellu Galleries":"Accessar Pixellu Galleries","Access SmartSlides":"Acessar SmartSlides","Account Login":"Entrar na conta","Account Overview":"Opções da conta",Blog:"Blog",Company:"Empresa",Contact:"Contato",Privacy:"Privacidade",Products:"Produtos",Resources:"Recursos","Sign Out":"Sair",Support:"Suporte",Terms:"Termos","Prices shown per month, billed yearly":"Valores mostrados por mês, cobrados por ano","SmartAlbums Pricing":"Preços do SmartAlbums","Billed monthly":"Cobrado mensalmente","Save 33% with yearly billing":"Economize 33% com o pagamento anual","SAVE 40% for 12 months":"ECONOMIZE 40% por 12 meses",mo:"mês",year:"ano","Bundle and save":"Super desconto","Buy now":"Comprar agora","All Apps Bundle":"All Apps Bundle","Editing and publishing slideshows is not permitted from mobile devices":"A edição e publicação de slideshows não são permitidas para dispositivos móveis","Pixellu Galleries Unlimited":"Ilimitado","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Starter",SmartGalleries:"SmartGalleries","SmartGalleries Starter":"Starter","SmartGalleries Pro":"Pro","SmartGalleries Unlimited":"Unlimited","Pixellu SmartAlbums":"SmartAlbums","Pixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{Slideshows ilimitados} 10{10 Slideshows} one{{count} Slideshow} other{{count} Slideshows}}",PSF_GALLERIES_COUNT:"{count, select, 9999{galerias ilimitadas} one{{count} galeria} other{{count} galerias}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"Download em HD",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"Download em 4K","All prices are in [currencyCode]":"Todos os preços estão em {currencyCode, select, ARS{pesos argentinos} AUD{dólares australianos} BRL{reais brasileiros} BYN{rublos bielorrussos} CAD{dólares canadenses} EUR{euros} GBP{libras esterlinas} IDR{rupias indonésias} INR{rupias indianas} KGS{som quirguiz} MDL{leus moldavos} MXN{pesos mexicanos} MYR{ringgits malaios} NZD{dólares neozelandeses} PHP{pesos filipinos} PKR{rupias paquistanesas} RUB{rublos russos} TJS{somoni tadjiques} TRY{liras turcas} UAH{hryvnias ucranianas} USD{dólares americanos} UZS{som uzbeque} VND{dongs vietnamitas} other {{currencyCode}}}","Billed yearly":"cobrado anualmente",OK:"OK","Galleries Pricing":"Preços do Pixellu Galleries","Open [name]":"Abrir {name}","Opening [name]...":"Abrindo {name}...","SmartSlides Pricing":"Preço do SmartSlides","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"Abrir {name} clicando em <b>abrir Pixellu {name}</b> na sua caixa de diálogo no navegador.","If no dialog appears, click Open [name] below.":"Se nenhuma caixa de diálogo aparecer, clique em <b>abrir {name}</b> abaixo.",Subscribed:"Inscrito","10 YEAR ANNIVERSARY SALE":"10 ANOS! PROMOÃÃO DE ANIVERSÃRIO","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Economize 40% no nosso All Apps Bundle. A oferta acaba em 30/11","Buy Now":"Comprar agora","Save 40% on our All Apps Bundle":"Economize 40% no nosso All Apps Bundle",SALE:"PROMOÃÃO","Save 40%":"Economize 40%","billed yearly":"Cobrado anualmente","Save 30% for 1 year":"Economize 30% por 1 ano","SAVE 30% for 1 Year":"ECONOMIZE 30% por 1 ano"}}),FH=b(()=>{tH={About:"РнаÑ","Access Cloud Proofing":"ÐоÑÑÑп к Cloud Proofing","Access Pixellu Galleries":"ÐоÑÑÑп к Galleries","Access SmartSlides":"ÐоÑÑÑп к SmartSlides","Account Login":"ÐойÑи в аккаÑнÑ","Account Overview":"ÐÐ±Ð·Ð¾Ñ Ð°ÐºÐºÐ°ÑнÑа",Blog:"Ðлог",Company:"Ркомпании",Contact:"ÐонÑакÑÑ",Privacy:"ÐолиÑика конÑ-Ñи",Products:"ÐÑодÑкÑÑ",Resources:"РеÑÑÑÑÑ","Sign Out":"ÐÑйÑи",Supp
101ort:"ÐоддеÑжка",Terms:"CоглаÑение","Prices shown per month, billed yearly":"Ð¦ÐµÐ½Ñ ÑÐºÐ°Ð·Ð°Ð½Ñ Ð·Ð° меÑÑÑ, ÐµÐ¶ÐµÐ³Ð¾Ð´Ð½Ð°Ñ Ð¾Ð¿Ð»Ð°Ñа","SmartAlbums Pricing":"ÐÐ»Ð°Ð½Ñ SmartAlbums","Billed monthly":"ÐжемеÑÑÑÐ½Ð°Ñ Ð¾Ð¿Ð»Ð°Ñа","Save 33% with yearly billing":"СÑкономÑÑе 33% c ежегодной оплаÑой","SAVE 40% for 12 months":"СÐÐÐÐÐ 40% на 12 меÑÑÑев",mo:"меÑ",year:"год","Bundle and save":"ÐкономÑÑе Ñ Bundle","Buy now":"ÐÑпиÑÑ","All Apps Bundle":"All Apps Bundle","Editing and publishing slideshows is not permitted from mobile devices":"РедакÑиÑование и пÑбликаÑÐ¸Ñ ÑлайдÑÐ¾Ñ Ð½Ðµ ÑазÑеÑена на мобилÑнÑÑ
ÑÑÑÑойÑÑваÑ
","Pixellu Galleries Unlimited":"Unlimited","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Starter","Pixellu SmartAlbums":"SmartAlbums","Pixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{ÐезлимиÑнÑе CлайдÑоÑ} 10{10 СлайдÑоÑ} one{{count} СлайдÑоÑ} other{{count} СлайдÑоÑ}}",PSF_GALLERIES_COUNT:"{count, select, 9999{ÐезлимиÑнÑе галеÑеи} one{{count} галеÑеÑ} other{{count} галеÑей}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"ÐагÑÑзка в HD",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"ÐагÑÑзка 4K","All prices are in [currencyCode]":"ÐÑе ÑÐµÐ½Ñ Ð² {currencyCode, select, BYN{ÐелоÑÑÑÑкиÑ
ÑÑблÑÑ
} UAH{УкÑаинÑкиÑ
гÑивнаÑ
} VND{ÐÑеÑнамÑкиÑ
донгаÑ
} UZS{УзбекÑкиÑ
ÑомаÑ
} TJS{ТаджикÑкиÑ
Ñомони} PKR{ÐакиÑÑанÑкиÑ
ÑÑпиÑÑ
} MDL{ÐолдавÑкиÑ
леÑÑ
} KGS{ÐиÑгизÑкиÑ
ÑомаÑ
} IDR{ÐндонезийÑкиÑ
ÑÑпиÑÑ
} ARS{ÐÑгенÑинÑкиÑ
пеÑо} MXN{ÐекÑиканÑкиÑ
пеÑо} PHP{ФилиппинÑкиÑ
пеÑо} TRY{ТÑÑеÑкиÑ
лиÑаÑ
} RUB{РоÑÑийÑкиÑ
ÑÑблÑÑ
} MYR{ÐалайзийÑкиÑ
ÑинггиÑаÑ
} BRL{ÐÑазилÑÑкиÑ
ÑеалаÑ
} GBP{ÐÑиÑанÑкиÑ
ÑÑнÑаÑ
} INR{ÐндийÑкиÑ
ÑÑпиÑÑ
} USD{ÐмеÑиканÑкиÑ
доллаÑаÑ
} EUR{ÐвÑо} other {}}","Billed yearly":"eÐ¶ÐµÐ³Ð¾Ð´Ð½Ð°Ñ Ð¾Ð¿Ð»Ð°Ñа",OK:"OK","Galleries Pricing":"ÐÐ»Ð°Ð½Ñ Galleries","Open [name]":"ÐÑкÑÑÑÑ {name}","Opening [name]...":"ÐÑкÑÑÑие {name}...","SmartSlides Pricing":"ÐÐ»Ð°Ð½Ñ SmartSlides","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"ÐапÑÑÑиÑе {name}, нажав <b>ÐÑкÑÑÑÑ Pixellu {name}</b> в диалоговом окне бÑаÑзеÑа.","If no dialog appears, click Open [name] below.":"ÐÑли диалоговое окно не поÑвлÑеÑÑÑ, нажмиÑе <b>ÐÑкÑÑÑÑ {name}</b> ниже.",Subscribed:"ÐÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑанÑ","10 YEAR ANNIVERSARY SALE":"ÐÐÐ 10 ÐÐТ. ÐÐ ÐÐÐÐÐЧÐÐЯ Ð ÐСÐÐ ÐÐÐÐÐ","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Скидка 40% на All Apps Bundle. ÐÑедложение дейÑÑвÑÐµÑ Ð´Ð¾ 30.11","Buy Now":"ÐÑпиÑÑ","Save 40% on our All Apps Bundle":"Скидка 40% на All Apps Bundle",SALE:"Ð ÐСÐÐ ÐÐÐÐÐ","Save 40%":"Скидка 40%","billed yearly":"ÐÐ¶ÐµÐ³Ð¾Ð´Ð½Ð°Ñ Ð¾Ð¿Ð»Ð°Ñа","Save 30% for 1 year":"Скидка 30% на 1 год","SAVE 30% for 1 Year":"Скидка 30% на 1 год"}}),LH=b(()=>{rH={About:"ÐÑо наÑ","Access Cloud Proofing":"ÐоÑÑÑп до Cloud Proofing","Access Pixellu Galleries":"ÐоÑÑÑп до Pixellu Galleries","Access SmartSlides":"ÐоÑÑÑп до SmartSlides","Account Login":"ÐÑ
Ñд до аккаÑнÑÑ ","Account Overview":"ÐглÑд аккаÑнÑÑ",Blog:"Ðлог",Company:"ÐÑо компанÑÑ",Contact:"ÐонÑакÑи",Privacy:"ÐонÑÑденÑÑйнÑÑÑÑ",Products:"ÐÑодÑкÑи",Resources:"РеÑÑÑÑи","Sign Out":"ÐийÑи",Supp
101ort:"ÐÑдÑÑимка",Terms:"Умови","Prices shown per month, billed yearly":"ЦÑни Ð²ÐºÐ°Ð·Ð°Ð½Ñ Ð·Ð° мÑÑÑÑÑ, ÑаÑ
Ñнок виÑÑавлÑÑÑÑÑÑ ÑоÑÑÑно","SmartAlbums Pricing":"Ðлани SmartAlbums","Billed monthly":"РаÑ
Ñнок виÑÑавлÑÑÑÑÑÑ ÑомÑÑÑÑÑ","Save 33% with yearly billing":"ÐаоÑаджÑйÑе 33% Ñз ÑÑÑÐ½Ð¾Ñ Ð¾Ð¿Ð»Ð°ÑоÑ","SAVE 40% for 12 months":"ÐÐÐÐÐÐ 40% на 12 мÑÑÑÑÑв",mo:"мÑÑ",year:"ÑÑк","Bundle and save":"Разом деÑевÑе","Buy now":"ÐÑпиÑи заÑаз","All Apps Bundle":"All Apps Bundle","Editing and publishing slideshows is not permitted from mobile devices":"РедагÑÐ²Ð°Ð½Ð½Ñ Ñа пÑблÑкаÑÑÑ Ñлайд-ÑÐ¾Ñ Ð½Ðµ доÑÑÑпна з мобÑлÑниÑ
пÑиÑÑÑоÑв","Pixellu Galleries Unlimited":"Unlimited","Pixellu Galleries Pro":"Pro","Pixellu Galleries Starter":"Starter","Pixellu SmartAlbums":"SmartAlbums","Pixellu SmartAlbums with Cloud Proofing":"SmartAlbums Plus","Pixellu SmartSlides Starter":"Starter","Pixellu SmartSlides Pro":"Pro","Pixellu SmartSlides Unlimited":"Unlimited",PSS_SLIDESHOW_COUNT:"{count, select, 9999{ÐезлÑмÑÑÐ½Ñ Ð¡Ð»Ð°Ð¹Ð´-ÑоÑ} 10{10 Слайд-ÑоÑ} одне {{count} Слайд-ÑоÑ} other{{count} Слайд-ÑоÑ}}",PSF_GALLERIES_COUNT:"{count, select, 9999{ÐезлÑмÑÑÐ½Ñ Ð³Ð°Ð»ÐµÑеÑ} одна {{count} галеÑеÑ} other{{count} галеÑей}}",PSF_GA_CODE_ALLOWED:"Google Analytics",PRODUCT_ACCESS:"{product, select, sa {SmartAlbums} cp {Cloud Proofing} other {}}",PSS_VIDEO_DOWNLOAD_CLIENT_ENABLED:"",PSS_VIDEO_DOWNLOAD_PHOTOGRAPHER_ENABLED:"ÐаванÑÐ°Ð¶ÐµÐ½Ð½Ñ HD",PSS_GA_CODE_ALLOWED:"Google Analytics",PSS_VIDEO_4K_ALLOWED:"ÐаванÑÐ°Ð¶ÐµÐ½Ð½Ñ 4K вÑдео","All prices are in [currencyCode]":"УÑÑ ÑÑни Ð²ÐºÐ°Ð·Ð°Ð½Ñ Ñ {currencyCode, select, BYN{бÑлоÑÑÑÑкиÑ
ÑÑблÑÑ
} UAH{ÑкÑаÑнÑÑкиÑ
гÑивнÑÑ
} VND{вʼÑÑнамÑÑкиÑ
донгаÑ
} UZS{ÑзбеÑÑкиÑ
ÑомаÑ
} TJS{ÑаджиÑÑкиÑ
ÑомонÑ} PKR{пакиÑÑанÑÑкиÑ
ÑÑпÑÑÑ
} MDL{молдовÑÑкиÑ
леÑÑ
} KGS{киÑгизÑкиÑ
ÑомаÑ
} IDR{ÑндонезÑйÑÑкиÑ
ÑÑпÑÑÑ
} ARS{аÑгенÑинÑÑкиÑ
пеÑо} MXN{мекÑиканÑÑкиÑ
пеÑо} PHP{ÑÑлÑппÑнÑÑкиÑ
пеÑо} TRY{ÑÑÑеÑÑкиÑ
лÑÑаÑ
} RUB{ÑоÑÑйÑÑкиÑ
ÑÑблÑÑ
} MYR{малайзÑйÑÑкиÑ
ÑингÑÑаÑ
} BRL{бÑазилÑÑÑкиÑ
ÑеалаÑ
} GBP{бÑиÑанÑÑкиÑ
ÑÑнÑаÑ
ÑÑеÑлÑнгÑв} INR{ÑндÑйÑÑкиÑ
ÑÑпÑÑÑ
} USD{долаÑаÑ
СШÐ} EUR{ÑвÑо} other {}}","Billed yearly":"РаÑ
Ñнок виÑÑавлÑÑÑÑÑÑ ÑоÑÑÑно",OK:"OK","Galleries Pricing":"ЦÑни на плани Galleries","Open [name]":"ÐÑдкÑиÑи {name}","Opening [name]...":"ÐÑдкÑиваÑÑÑÑÑ {name}...","SmartSlides Pricing":"ЦÑни на плани SmartSlides","Launch [name] by clicking Open Pixellu [name] in your browser's dialog.":"ÐÑдкÑий {name} наÑиÑнÑвÑи <b>ÐÑдкÑиÑи Pixellu {name}</b> Ñ ÑвоÑÐ¼Ñ Ð±ÑаÑзеÑÑ.","If no dialog appears, click Open [name] below.":"ЯкÑо дÑалог не з'ÑвивÑÑ, наÑиÑнÑÑÑ <b>ÐÑдкÑиÑи {name}</b> нижÑе.",Subscribed:"Ðи пÑдпиÑалиÑÑ","10 YEAR ANNIVERSARY SALE":"ÐÐÐ 10 Ð ÐÐÐÐ. ЮÐÐÐÐÐÐÐÐ Ð ÐÐÐÐ ÐÐÐÐ","Save 40% on our All Apps Bundle. Offer ends Nov. 30th":"Ðнижка 40% пÑи кÑпÑÐ²Ð»Ñ All Apps Bundle. ÐÑопозиÑÑÑ Ð´ÑÑ Ð´Ð¾ 30.11","Buy Now":"ÐÑпиÑи заÑаз","Save 40% on our All Apps Bundle":"Ðнижка 40% пÑи кÑпÑÐ²Ð»Ñ All Apps Bundle",SALE:"Ð ÐÐÐÐ ÐÐÐÐ","Save 40%":"Ðнижка 40%","billed yearly":"РаÑ
Ñнок виÑÑавлÑÑÑÑÑÑ ÑоÑÑÑно","Save 30% for 1 year":"Ðнижка 30% на 1 ÑÑк","SAVE 30% for 1 Year":"ÐÐÐÐÐÐ 30% на 1 ÑÑк"}}),MH=b(()=>{"use strict";qb(),fy(),x_(),F_(),XI(),fN(),uB(),yH(),cI(),dN(),EH(),JA(),gV(),xH(),OH(),AH(),PH(),IH(),RH(),NH(),FH(),LH(),hU(),fy(),nH=["mountPoint"],iH=()=>new Qq({en:Zq,de:Yq,fr:Kq,es:Xq,it:Jq,pt:eH,ru:tH,uk:rH}),sH=(()=>{class e{constructor(){this.injector=ls(xa),this.successRedirectUrl="/",this.cancelRedirectUrl="/",this.jwtRequired=!1,this.period=qP.YEARLY,this.bundleIncluded=!1,this.disableUnavailablePlans=!1,this.hideLogs=!1,this.yearlyPricingPromo=ay(void 0,{transform:e=>"null"===e?null:e}),this.discountProductsIds=ay([],{transform:e=>e.split(",").map(e=>e.trim())}),this.highlightPlanOptions=ay(null,{transform:e=>{try{return JSON.parse(e)}catch{return null}}}),this.initialised$=new wm,this.invalidJwt$=new wm,this.emptyJwt$=new wm,this.checkoutSuccess$=new wm,this.subscriptionActivationState$=new wm,this.checkoutError$=new wm,this.checkoutOpen$=new wm,this.checkoutClosed$=new wm,this.upgradeSuccess$=new wm,this.buy$=new wm,this.periodChanged=new Qg}get class(){switch(this.productFamily){case $P.PSF:return"ps-psf-theme";case $P.PSS:return"ps-pss-theme";case $P.SA:return"ps-sa-theme";default:return""}}ngAfterViewInit(){let e=Gz(QI,{GRAPH_QL_ENDPOINT:this.gqlApiUrl,PX_OAUTH_CLIENT_ID:"px-pricing"}),t={defaultLanguage:this.language??"en",compiler:{provide:f_,useClass:Wq},loader:{provide:l_,useFactory:iH,deps:[Ob,QI]}},r=this.mountPoint.createComponent(sB,{injector:gd([Ss([XP,T_,k_.forRoot(t)]),Uq,FA(()=>ls(Uq).resolve()),{provide:GI,useValue:e},{provide:QI,useValue:e},{provide:N$,useFactory:()=>ls(GI).PX_OAUTH_CLIENT_ID??""}],this.injector)});r.setInput("billingProviderSdkUrl",this.billingProviderSdkUrl),r.setInput("billingProviderApiKey",this.billingProviderApiKey),r.setInput("successRedirectUrl",this.successRedirectUrl),r.setInput("cancelRedirectUrl",this.cancelRedirectUrl),r.setInput("productFamily",this.productFamily),r.setInput("site",this.site),r.setInput("jwtRequired",this.jwtRequired),r.setInput("period",this.period),r.setInput("bundleIncluded",this.bundleIncluded),r.setInput("disableUnavailablePlans",this.disableUnavailablePlans),r.setInput("hideLogs",this.hideLogs),r.setInput("ip",this.ip),r.setInput("successRedirectUrl",this.successRedirectUrl),r.setInput("cancelRedirectUrl",this.cancelRedirectUrl),r.setInput("productFamily",this.productFamily),r.setInput("site",this.site),r.setInput("jwtRequired",this.jwtRequired),r.setInput("period",this.period),r.setInput("bundleIncluded",this.bundleIncluded),r.setInput("disableUnavailablePlans",this.disableUnavailablePlans),r.setInput("hideLogs",this.hideLogs),r.setInput("ip",this.ip),r.setInput("yearlyPricingPromo",this.yearlyPricingPromo()),r.setInput("discountProductsIds",this.discountProductsIds());let n=this.highlightPlanOptions();(function(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&Object.values(e).every(e=>{if("object"!=typeof e||null===e||Array.isArray(e))return!1;let t=e;return!!Object.keys(t).every(e=>e===qP.YEARLY||e===qP.MONTHLY)&&Object.values(t).every(e=>{if("object"!=typeof e||null===e||Array.isArray(e))return!1;let t=e;return!(!("title"in t)||"string"!=typeof t.title||"buttonText"in t&&"string"!=typeof t.buttonText)})})})(n)&&r.setInput("highlightPlanOptions",n),this.jwt&&r.instance.setJwt(this.jwt),r.instance.initialised$.subscribe(this.initialised$),r.instance.invalidJwt$.subscribe(this.invalidJwt$),r.instance.emptyJwt$.subscribe(this.emptyJwt$),r.instance.checkoutSuccess$.subscribe(this.checkoutSuccess$),r.instance.subscriptionActivationState$.subscribe(this.subscriptionActivationState$),r.instance.checkoutError$.subscribe(this.checkoutError$),r.instance.checkoutOpen$.subscribe(this.checkoutOpen$),r.instance.checkoutClosed$.subscribe(this.checkoutClosed$),r.instance.upgradeSuccess$.subscribe(this.upgradeSuccess$),r.instance.buy$.subscribe(this.buy$),r.instance.periodChanged.subscribe(e=>this.periodChanged.emit(e)),r.changeDetectorRef.detectChanges()}static{this.ɵfac=function(t){return new(t||e)}}static{this.ɵcmp=yd({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&wp(nH,7,ng),2&e){let e;Sp(e=Ep())&&(t.mountPoint=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&zp(t.class)},inputs:{billingProviderSdkUrl:"billingProviderSdkUrl",billingProviderApiKey:"billingProviderApiKey",language:"language",successRedirectUrl:"successRedirectUrl",cancelRedirectUrl:"cancelRedirectUrl",productFamily:"productFamily",site:"site",jwtRequired:"jwtRequired",period:"period",bundleIncluded:"bundleIncluded",gqlApiUrl:"gqlApiUrl",jwt:"jwt",ip:"ip",disableUnavailablePlans:[2,"disableUnavailablePlans","disableUnavailablePlans",ny],hideLogs:[2,"hideLogs","hideL
101ogs",ny],yearlyPricingPromo:[1,"yearlyPricingPromo"],discountProductsIds:[1,"discountProductsIds"],highlightPlanOptions:[1,"highlightPlanOptions"]},outputs:{initialised$:"px-pricing-initialised",invalidJwt$:"px-pricing-invalid-jwt",emptyJwt$:"px-pricing-empty-jwt",checkoutSuccess$:"px-pricing-checkout-success",subscriptionActivationState$:"px-pricing-subscription-activation-state",checkoutError$:"px-pricing-checkout-error",checkoutOpen$:"px-pricing-checkout-open",checkoutClosed$:"px-pricing-checkout-closed",upgradeSuccess$:"px-pricing-upgrade-success",buy$:"px-pricing-buy-now-click",periodChanged:"px-pricing-period-changed"},decls:2,vars:0,consts:[["mountPoint",""]],template:function(e,t){1&e&&hp(0,null,0)},dependencies:[oB],encapsulation:3,changeDetection:0})}}return e})()});function jH(e){return new Xo(3e3,!1)}function BH(e){return new Xo(3002,!1)}function zH(e){switch(e.length){case 0:return new DL;case 1:return e[0];default:return new TL(e)}}function VH(e,t,r=new Map,n=new Map){let i=[],s=[],o=-1,a=null;if(t.forEach(t=>{let l=t.get("offset"),u=l==o,c=u&&a||new Map;t.forEach((t,s)=>{let o=s,a=t;if("offset"!==s)switch(o=e.normalizePropertyName(o,i),a){case xL:a=r.get(s);break;case CL:a=n.get(s);break;default:a=e.normalizeStyleValue(s,o,a,i)}c.set(o,a)}),u||s.push(c),a=c,o=l}),i.length)throw new Xo(3502,!1);return s}function $H(e,t,r,n){switch(t){case"start":e.onStart(()=>n(r&&UH(r,"start",e)));break;case"done":e.onDone(()=>n(r&&UH(r,"done",e)));break;case"destroy":e.onDestroy(()=>n(r&&UH(r,"destroy",e)))}}function UH(e,t,r){let n=r.totalTime,i=!!r.disabled,s=qH(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,n??e.totalTime,i),o=e._data;return null!=o&&(s._data=o),s}function qH(e,t,r,n,i="",s=0,o){return{element:e,triggerName:t,fromState:r,toState:n,phaseName:i,totalTime:s,disabled:!!o}}function HH(e,t,r){let n=e.get(t);return n||e.set(t,n=r),n}function GH(e){let t=e.indexOf(":");return[e.substring(1,t),e.slice(t+1)]}function WH(e){let t=e.parentNode||e.host||null;return t===uG?null:t}function QH(e){cG||(cG=(typeof document<"u"?document.body:null)||{},hG=!!cG.style&&"WebkitAppearance"in cG.style);let t=!0;return cG.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in cG.style,!t&&hG&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in cG.style)),t}function ZH(e,t){for(;t;){if(t===e)return!0;t=WH(t)}return!1}function YH(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let n=e.querySelector(t);return n?[n]:[]}function KH(e){if("number"==typeof e)return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:XH(parseFloat(t[1]),t[2])}function XH(e,t){return"s"===t?e*dG:e}function JH(e,t,r){return e.hasOwnProperty("duration")?e:function(e,t,r){let n,i=0,s="";if("string"==typeof e){let r=e.match(_G);if(null===r)return t.push(jH()),{duration:0,delay:0,easing:""};n=XH(parseFloat(r[1]),r[2]);let o=r[3];null!=o&&(i=XH(parseFloat(o),r[4]));let a=r[5];a&&(s=a)}else n=e;if(!r){let e=!1,r=t.length;n<0&&(t.push(new Xo(3100,!1)),e=!0),i<0&&(t.push(new Xo(3101,!1)),e=!0),e&&t.splice(r,0,jH())}return{duration:n,delay:i,easing:s}}(e,t,r)}function eG(e,t,r){t.forEach((t,n)=>{let i=oG(n);r&&!r.has(n)&&r.set(n,e.style[i]),e.style[i]=t})}function tG(e,t){t.forEach((t,r)=>{let n=oG(r);e.style[n]=""})}function rG(e){return Array.isArray(e)?1==e.length?e[0]:function(e,t=null){return{type:kL.Sequence,steps:e,options:t}}(e):e}function nG(e,t,r){let n=t.params||{},i=iG(e);i.length&&i.forEach(e=>{n.hasOwnProperty(e)||r.push(new Xo(3001,!1))})}function iG(e){let t=[];if("string"==typeof e){let r;for(;r=wG.exec(e);)t.push(r[1]);wG.lastIndex=0}return t}function sG(e,t,r){let n=`${e}`,i=n.replace(wG,(e,n)=>{let i=t[n];return null==i&&(r.push(new Xo(3003,!1)),i=""),i.toString()});return i==n?e:i}function oG(e){return e.replace(SG,(...e)=>e[1].toUpperCase())}function aG(e,t,r){switch(t.type){case kL.Trigger:return e.visitTrigger(t,r);case kL.State:return e.visitState(t,r);case kL.Transition:return e.visitTransition(t,r);case kL.Sequence:return e.visitSequence(t,r);case kL.Group:return e.visitGroup(t,r);case kL.Animate:return e.visitAnimate(t,r);
101case kL.Keyframes:return e.visitKeyframes(t,r);case kL.Style:return e.visitStyle(t,r);case kL.Reference:return e.visitReference(t,r);case kL.AnimateChild:return e.visitAnimateChild(t,r);case kL.AnimateRef:return e.visitAnimateRef(t,r);case kL.Query:return e.visitQuery(t,r);case kL.Stagger:return e.visitStagger(t,r);default:throw t.type,new Xo(3004,!1)}}function lG(e,t){return window.getComputedStyle(e)[t]}var uG,cG,hG,dG,pG,fG,mG,gG,yG,vG,bG,_G,wG,SG,EG=b(()=>{"use strict";LL(),fy(),uG=typeof document>"u"?null:document.documentElement,cG=null,hG=!1,dG=1e3,pG="{{",fG="ng-enter",mG="ng-leave",gG="ng-trigger",yG=".ng-trigger",vG="ng-animating",bG=".ng-animating",_G=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,wG=new RegExp(`${pG}\\s*(.+?)\\s*}}`,"g"),SG=/-+([a-z0-9])/g});function kG(e,t){let r=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,r){if(":"==e[0]){let n=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(new Xo(3016,!1)),"* => *"}}(e,r);if("function"==typeof n)return void t.push(n);e=n}let n=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==n||n.length<4)return r.push(new Xo(3015,!1)),t;let i=n[1],s=n[2],o=n[3];t.push(CG(i,o));let a=i==KG&&o==KG;"<"==s[0]&&!a&&t.push(CG(o,i))}(e,r,t)):r.push(e),r}function CG(e,t){let r=XG.has(e)||JG.has(e),n=XG.has(t)||JG.has(t);return(i,s)=>{let o=e==KG||e==i,a=t==KG||t==s;return!o&&r&&"boolean"==typeof i&&(o=i?XG.has(e):JG.has(e)),!a&&n&&"boolean"==typeof s&&(a=s?XG.has(t):JG.has(t)),o&&a}}function DG(e,t,r,n){return new rW(e).build(t,r,n)}function TG(e){return e?(e=y({},e)).params&&(e.params=function(e){return e?y({},e):null}(e.params)):e={},e}function xG(e,t,r){return{duration:e,delay:t,easing:r}}function OG(e,t,r,n,i,s,o=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:n,duration:i,delay:s,totalTime:i+s,easing:o,subTimeline:a}}function AG(e,t,r,n,i,s=new Map,o=new Map,a,l,u=[]){return(new aW).buildKeyframes(e,t,r,n,i,s,o,a,l,u)}function PG(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function IG(e,t,r,n,i,s,o,a,l,u,c,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:r,fromStyles:s,toState:n,toStyles:o,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:d}}function RG(e,t){let r=y({},t);return Object.entries(e).forEach(([e,t])=>{null!=t&&(r[e]=t)}),r}function NG(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}function FG(e){return e&&1===e.nodeType}function LG(e,t){let r=e.style.display;return e.style.display=t??"none",r}function MG(e,t,r,n,i){let s=[];r.forEach(e=>s.push(LG(e)));let o=[];n.forEach((r,n)=>{let s=new Map;r.forEach(e=>{let r=t.computeStyle(n,e,i);s.set(e,r),(!r||0==r.length)&&(n[EW]=SW,o.push(n))}),e.set(n,s)});let a=0;return r.forEach(e=>LG(e,s[a++])),o}function jG(e,t){let r=new Map;if(e.forEach(e=>r.set(e,[])),0==t.length)return r;let n=new Set(t),i=new Map;function s(e){if(!e)return 1;let t=i.get(e);if(t)return t;let o=e.parentNode;return t=r.has(o)?o:n.has(o)?1:s(o),i.set(e,t),t}return t.forEach(e=>{let t=s(e);1!==t&&r.get(t).push(e)}),r}function BG(e,t){e.classList?.add(t)}function zG(e,t){e.classList?.remove(t)}function VG(e,t,r){zH(r).onDone(()=>e.processLeaveNode(t))}function $G(e){let t=[];return UG(e,t),t}function UG(e,t){for(let r=0;r<e.length;r++){let n=e[r];n instanceof TL?UG(n.players,t):t.push(n)}}function qG(e,t,r){let n=r.get(e);if(!n)return!1;let i=t.get(e);return i?n.forEach(e=>i.add(e)):t.set(e,n),r.delete(e),!0}function HG(e){let t=null;return e.forEach((e,r)=>{(function(e){return"display"===e||"position"===e})(r)&&(t=t||new Map,t.set(r,e))}),t}var GG,WG,QG,ZG,YG,KG,XG,JG,eW,tW,rW,nW,iW,sW,oW,aW,lW,uW,cW,hW,dW,pW,fW,mW,gW,yW,vW,bW,_W,wW,SW,EW,kW,CW,DW,TW,xW,OW,AW,PW,IW,RW,NW,FW,LW,MW,jW,BW=b(()=>{"use strict";fy(),EG(),LL(),GG=(()=>{class e{validateStyleProperty(e){return QH(e)}containsElement(e,t){return ZH(e,t)}getParentElement(e){return WH(e)}query(e,t,r){return YH(e,t,r)}computeStyle(e,t,r){return r||""}animate(e,t,r,n,i,s=[],o){return new DL(r,n)}static"ɵfac"=function(t){return new(t||e)};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),WG=class{static NOOP=new GG},QG=class{},ZG=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"]),YG=class extends QG{normalizePropertyName(e,t){return oG(e)}normalizeStyleValue(e,t,r,n){let i="",s=r.toString().trim();if(ZG.has(t)&&0!==r&&"0"!==r)if("number"==typeof r)i="px";else{let e=r.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&n.push(new Xo(3005,!1))}return s+i}},KG="*",XG=new Set(["true","1"]),JG=new Set(["false","0"]),eW=":self",tW=new RegExp(`s*${eW}s*,?`,"g"),rW=class{_driver;constructor(e){this._driver=e}build(e,t,r){let n=new nW(t);return this._resetContextStyleTimingState(n),aG(this,rG(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles=new Map,e.collectedStyles.set("",new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,n=t.depCount=0,i=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push(new Xo(3006,!1)),e.definitions.forEach(e
101=>{if(this._resetContextStyleTimingState(t),e.type==kL.State){let r=e,n=r.name;n.toString().split(/\s*,\s*/).forEach(e=>{r.name=e,i.push(this.visitState(r,t))}),r.name=n}else if(e.type==kL.Transition){let i=this.visitTransition(e,t);r+=i.queryCount,n+=i.depCount,s.push(i)}else t.errors.push(new Xo(3007,!1))}),{type:kL.Trigger,name:e.name,states:i,transitions:s,queryCount:r,depCount:n,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),n=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,s=n||{};r.styles.forEach(e=>{e instanceof Map&&e.forEach(e=>{iG(e).forEach(e=>{s.hasOwnProperty(e)||i.add(e)})})}),i.size&&t.errors.push((e.name,i.values(),new Xo(3008,!1)))}return{type:kL.State,name:e.name,style:r,options:n?{params:n}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=aG(this,rG(e.animation),t),n=kG(e.expr,t.errors);return{type:kL.Transition,matchers:n,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:TG(e.options)}}visitSequence(e,t){return{type:kL.Sequence,steps:e.steps.map(e=>aG(this,e,t)),options:TG(e.options)}}visitGroup(e,t){let r=t.currentTime,n=0,i=e.steps.map(e=>{t.currentTime=r;let i=aG(this,e,t);return n=Math.max(n,t.currentTime),i});return t.currentTime=n,{type:kL.Group,steps:i,options:TG(e.options)}}visitAnimate(e,t){let r=function(e,t){if(e.hasOwnProperty("duration"))return e;if("number"==typeof e)return xG(JH(e,t).duration,0,"");let r=e;if(r.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){let e=xG(0,0,"");return e.dynamic=!0,e.strValue=r,e}let n=JH(r,t);return xG(n.duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;let n,i=e.styles?e.styles:bL({});if(i.type==kL.Keyframes)n=this.visitKeyframes(i,t);else{let i=e.styles,s=!1;if(!i){s=!0;let e={};r.easing&&(e.easing=r.easing),i=bL(e)}t.currentTime+=r.duration+r.delay;let o=this.visitStyle(i,t);o.isEmptyStep=s,n=o}return t.currentAnimateTimings=null,{type:kL.Animate,timings:r,style:n,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],n=Array.isArray(e.styles)?e.styles:[e.styles];for(let o of n)"string"==typeof o?o===CL?r.push(o):t.errors.push(BH()):r.push(new Map(Object.entries(o)));let i=!1,s=null;return r.forEach(e=>{if(e instanceof Map&&(e.has("easing")&&(s=e.get("easing"),e.delete("easing")),!i))for(let t of e.values())if(t.toString().indexOf(pG)>=0){i=!0;break}}),{type:kL.Style,styles:r,easing:s,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,n=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(e=>{"string"!=typeof e&&e.forEach((e,r)=>{let s=t.collectedStyles.get(t.currentQuerySelector),o=s.get(r),a=!0;o&&(i!=n&&i>=o.startTime&&n<=o.endTime&&(t.errors.push((o.startTime,o.endTime,new Xo(3010,!1))),a=!1),i=o.startTime),a&&s.set(r,{startTime:i,endTime:n}),t.options&&nG(e,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:kL.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(new Xo(3011,!1)),r;let n=0,i=[],s=!1,o=!1,a=0,l=e.steps.map(e=>{let r=this._makeStyleAst(e,t),l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}(r.styles),u=0;return null!=l&&(n++,u=r.offset=l),o=o||u<0||u>1,s=s||u<a,a=u,i.push(u),r});o&&t.errors.push(new Xo(3012,!1)),s&&t.errors.push(new Xo(3200,!1));let u=e.steps.length,c=0;n>0&&n<u?t.errors.push(new Xo(3202,!1)):0==n&&(c=1/(u-1));let h=u-1,d=t.currentTime,p=t.currentAnimateTimings,f=p.duration;return l.forEach((e,n)=>{let s=c>0?n==h?1:c*n:i[n],o=s*f;t.currentTime=d+p.delay+o,p.duration=o,this._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r}visitReference(e,t){return{type:kL.Reference,animation:aG(this,rG(e.animation),t),options:TG(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:kL.AnimateChild,options:TG(e.options)}}visitAnimateRef(e,t){return{type:kL.AnimateRef,animation:this.visitReference(e.animation,t),options:TG(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,n=e.options||{};t.queryCount++,t.currentQuery=e;let[i,s]=function(e){let t=!!e.split(/\s*,\s*/).find(e=>e==eW);return t&&(e=e.replace(tW,"")),[e=e.replace(/@\*/g,yG).replace(/@\w+/g,e=>yG+"-"+e.slice(1)).replace(/:animating/g,bG),t]}(e.selector);t.currentQuerySelector=r.length?r+" "+i:i,HH(t.collectedStyles,t.currentQuerySelector,new Map);let o=aG(this,rG(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:kL.Query,selector:i,limit:n.limit||0,optional:!!n.optional,includeSelf:s,animation:o,originalSelector:e.selector,options:TG(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(new Xo(3013,!1));let r="full"===e.timings?{duration:0,delay:0,easing:"full"}:JH(e.timings,t.errors,!0);return{type:kL.Stagger,animation:aG(this,rG(e.animation),t),timings:r,options:null}}},nW=class{errors;queryCount=0;depCount=0;currentTransition=null;currentQuery=null;currentQuerySelector=null;currentAnimateTimings=null;currentTime=0;collectedStyles=new Map;options=null;unsupportedCSSPropertiesFound=new Set;constructor(e){this.errors=e}},iW=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},sW=new RegExp(":enter","g"),oW=new RegExp(":leave","g"),aW=class{buildKeyframes(e,t,r,n,i,s,o,a,l,u=[]){l=l||new iW;let c=new uW(e,t,l,n,i,u,[]);c.options=a;let h=a.delay?KH(a.delay):0;c.currentTimeline.delayNextStep(h),c.currentTimeline.setStyles([s],null,c.errors,a),aG(this,r,c);let d=c.timelines.filter(e=>e.containsAnimation());if(d.length&&o.size){let e;
vendor: 4,500 bytes, line 101
101for(let r=d.length-1;r>=0;r--){let n=d[r];if(n.element===t){e=n;break}}e&&!e.allowOnlyTimelineStyles()&&e.setStyles([o],null,c.errors,a)}return d.length?d.map(e=>e.buildKeyframes()):[OG(t,[],[],[],0,h,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let n=t.createSubContext(e.options),i=t.currentTimeline.currentTime,s=this._visitSubInstructions(r,n,n.options);i!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let n of e){let e=n?.delay;if(e){let i="number"==typeof e?e:KH(sG(e,n?.params??{},t.errors));r.delayNextStep(i)}}}_visitSubInstructions(e,t,r){let n=t.currentTimeline.currentTime,i=null!=r.duration?KH(r.duration):null,s=null!=r.delay?KH(r.delay):null;return 0!==i&&e.forEach(e=>{let r=t.appendInstructionToTimeline(e,i,s);n=Math.max(n,r.duration+r.delay)}),n}visitReference(e,t){t.updateOptions(e.options,!0),aG(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,n=t,i=e.options;if(i&&(i.params||i.delay)&&(n=t.createSubContext(i),n.transformIntoNewTimeline(),null!=i.delay)){n.previousNode.type==kL.Style&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=lW);let e=KH(i.delay);n.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>aG(this,e,n)),n.currentTimeline.applyStylesToKeyframe(),n.subContextCount>r&&n.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],n=t.currentTimeline.currentTime,i=e.options&&e.options.delay?KH(e.options.delay):0;e.steps.forEach(s=>{let o=t.createSubContext(e.options);i&&o.delayNextStep(i),aG(this,s,o),n=Math.max(n,o.currentTimeline.currentTime),r.push(o.currentTimeline)}),r.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(n),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue;return JH(t.params?sG(r,t.params,t.errors):r,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),n=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),n.snapshotCurrentStyles());let i=e.style;i.type==kL.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(r.duration),this.visitStyle(i,t),n.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,n=t.currentAnimateTimings;!n&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=n&&n.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,n=t.currentTimeline.duration,i=r.duration,s=t.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(e=>{let r=e.offset||0;s.forwardTime(r*i),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(n+i),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,n=e.options||{},i=n.delay?KH(n.delay):0;i&&(t.previousNode.type===kL.Style||0==r&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=lW);let s=r,o=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!n.optional,t.errors);t.currentQueryTotal=o.length;let a=null;o.forEach((r,n)=>{t.currentQueryIndex=n;let o=t.createSubContext(e.options,r);i&&o.delayNextStep(i),r===t.element&&(a=o.currentTimeline),aG(this,e.animation,o),o.currentTimeline.applyStylesToKeyframe();let l=o.currentTimeline.currentTime;s=Math.max(s,l)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,n=t.currentTimeline,i=e.timings,s=Math.abs(i.duration),o=s*(t.currentQueryTotal-1),a=s*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=o-a;break;case"full":a=r.currentStaggerTime}let l=t.currentTimeline;a&&l.delayNextStep(a);let u=l.currentTime;aG(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=n.currentTime-u+(n.startTime-r.currentTimeline.startTime)}},lW={},uW=class e{_driver;element;
101subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=lW;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,r,n,i,s,o,a){this._driver=e,this.element=t,this.subInstructions=r,this._enterClassName=n,this._leaveClassName=i,this.errors=s,this.timelines=o,this.currentTimeline=a||new cW(this._driver,t,0),o.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let r=e,n=this.options;null!=r.duration&&(n.duration=KH(r.duration)),null!=r.delay&&(n.delay=KH(r.delay));let i=r.params;if(i){let e=n.params;e||(e=this.options.params={}),Object.keys(i).forEach(r=>{(!t||!e.hasOwnProperty(r))&&(e[r]=sG(i[r],e,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let r=e.params={};Object.keys(t).forEach(e=>{r[e]=t[e]})}}return e}createSubContext(t=null,r,n){let i=r||this.element,s=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=lW,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,r){let n={duration:t??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},i=new hW(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,n,e.stretchStartingKeyframe);return this.timelines.push(i),n}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,r,n,i,s){let o=[];if(n&&o.push(this.element),e.length>0){e=(e=e.replace(sW,"."+this._enterClassName)).replace(oW,"."+this._leaveClassName);let t=1!=r,n=this._driver.query(this.element,e,t);0!==r&&(n=r<0?n.slice(n.length+r,n.length):n.slice(0,r)),o.push(...n)}return!i&&0==o.length&&s.push(new Xo(3014,!1)),o}},cW=class e{_driver;element;startTime;_elementTimelineStylesLookup;duration=0;easing=null;_previousKeyframe=new Map;_currentKeyframe=new Map;_keyframes=new Map;_styleSummary=new Map;_localTimelineStyles=new Map;_globalTimelineStyles;_pendingStyles=new Map;_backFill=new Map;_currentEmptyStepKeyframe=null;constructor(e,t,r,n){this._driver=e,this.element=t,this.startTime=r,this._elementTimelineStylesLookup=n,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(e){let t=1===this._keyframes.size&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(t,r){return this.applyStylesToKeyframe(),new e(this._driver,t,r||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(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}
101applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,r]of this._globalTimelineStyles)this._backFill.set(t,r||CL),this._currentKeyframe.set(t,CL);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,r,n){t&&this._previousKeyframe.set("easing",t);let i=n&&n.params||{},s=function(e,t){let r,n=new Map;return e.forEach(e=>{if("*"===e){r??=t.keys();for(let e of r)n.set(e,CL)}else for(let[t,r]of e)n.set(t,r)}),n}(e,this._globalTimelineStyles);for(let[o,a]of s){let e=sG(a,i,r);this._pendingStyles.set(o,e),this._localTimelineStyles.has(o)||this._backFill.set(o,this._globalTimelineStyles.get(o)??CL),this._updateStyle(o,e)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}
101mergeTimelineCollectedStyles(e){e._styleSummary.forEach((e,t)=>{let r=this._styleSummary.get(t);(!r||e.time>r.time)&&this._updateStyle(t,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,r=1===this._keyframes.size&&0===this.duration,n=[];this._keyframes.forEach((i,s)=>{let o=new Map([...this._backFill,...i]);o.forEach((r,n)=>{r===xL?e.add(n):r===CL&&t.add(n)}),r||o.set("offset",s/this.duration),n.push(o)});let i=[...e.values()],s=[...t.values()];if(r){let e=n[0],t=new Map(e);e.set("offset",0),t.set("offset",1),n=[e,t]}return OG(this.element,n,i,s,this.duration,this.startTime,this.easing,!1)}},hW=class extends cW{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,r,n,i,s,o=!1){super(e,t,s.delay),this.keyframes=r,this.preStyleProps=n,this.postStyleProps=i,this._stretchStartingKeyframe=o,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:n}=this.timings;if(this._stretchStartingKeyframe&&t){let i=[],s=r+t,o=t/s,a=new Map(e[0]);a.set("offset",0),i.push(a);let l=new Map(e[0]);l.set("offset",PG(o)),i.push(l);let u=e.length-1;for(let n=1;n<=u;n++){let o=new Map(e[n]),a=t+o.get("offset")*r;o.set("offset",PG(a/s)),i.push(o)}r=s,t=0,n="",e=i}return OG(this.element,e,this.preStyleProps,this.postStyleProps,r,t,n,!0)}},dW={},pW=class{_triggerName;ast;_stateStyles;constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,n){return function(e,t,r,n,i){return e.some(e=>e(t,r,n,i))}(this.ast.matchers,e,t,r,n)}buildStyles(e,t,r){let n=this._stateStyles.get("*");return void 0!==e&&(n=this._stateStyles.get(e?.toString())||n),n?n.buildStyles(t,r):new Map}build(e,t,r,n,i,s,o,a,l,u){let c=[],h=this.ast.options&&this.ast.options.params||dW,d=o&&o.params||dW,p=this.buildStyles(r,d,c),f=a&&a.params||dW,m=this.buildStyles(n,f,c),g=new Set,y=new Map,v=new Map,b="void"===n,_={params:RG(f,h),delay:this.ast.options?.delay},w=u?[]:AG(e,t,this.ast.animation,i,s,p,m,_,l,c),S=0;return w.forEach(e=>{S=Math.max(e.duration+e.delay,S)}),c.length?IG(t,this._triggerName,r,n,b,p,m,[],[],y,v,S,c):(w.forEach(e=>{let r=e.element,n=HH(y,r,new Set);e.preStyleProps.forEach(e=>n.add(e));let i=HH(v,r,new Set);e.postStyleProps.forEach(e=>i.add(e)),r!==t&&g.add(r)}),IG(t,this._triggerName,r,n,b,p,m,w,[...g.values()],y,v,S))}},fW=class{styles;defaultParams;normalizer;constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,n=RG(e,this.defaultParams);return this.styles.styles.forEach(e=>{"string"!=typeof e&&e.forEach((e,i)=>{e&&(e=sG(e,n,t));let s=this.normalizer.normalizePropertyName(i,t);e=this.normalizer.normalizeStyleValue(i,s,e,t),r.set(i,e)})}),r}},mW=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,t.states.forEach(e=>{let t=e.options&&e.options.params||{};this.states.set(e.name,new fW(e.style,t,r))}),NG(this.states,"true","1"),NG(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new pW(e,t,this.states))}),this.fallbackTransition=function(e,t){let r={type:kL.Sequence,steps:[],options:null},n={type:kL.Transition,animation:r,matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0};return new pW(e,n,t)}(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,n){return this.transitionFactories.find(i=>i.match(e,t,r,n))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}},gW=new iW,yW=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r}register(e,t){let r=[],n=DG(this._driver,t,r,[]);if(r.length)throw new Xo(3503,!1);this._animations.set(e,n)}_buildPlayer(e,t,r){let n=e.element,i=VH(this._normalizer,e.keyframes,t,r);return this._driver.animate(n,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let n,i=[],s=this._animations.get(e),o=new Map;if(s?(n=AG(this._driver,t,s,fG,mG,new Map,new Map,r,gW,i),n.forEac
101h(e=>{let t=HH(o,e.element,new Map);e.postStyleProps.forEach(e=>t.set(e,null))})):(i.push(new Xo(3300,!1)),n=[]),i.length)throw new Xo(3504,!1);o.forEach((e,t)=>{e.forEach((r,n)=>{e.set(n,this._driver.computeStyle(t,n,CL))})});let a=zH(n.map(e=>{let t=o.get(e.element);return this._buildPlayer(e,new Map,t)}));return this._playersById.set(e,a),a.onDestroy(()=>this.destroy(e)),this.players.push(a),a}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw new Xo(3301,!1);return t}listen(e,t,r,n){let i=qH(t,"","","");return $H(this._getPlayer(e),r,i,n),()=>{}}command(e,t,r,n){if("register"==r)return void this.register(e,n[0]);if("create"==r){let r=n[0]||{};return void this.create(e,t,r)}let i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(n[0]));break;case"destroy":this.destroy(e)}}},vW="ng-animate-queued",bW="ng-animate-disabled",_W=[],wW={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},SW={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},EW="__ng_removed",kW=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),n=r?e.value:e;if(this.value=function(e){return e??null}(n),r){let t=e,{value:r}=t,n=((e,t)=>{var r={};for(var n in e)f.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&d)for(var n of d(e))t.indexOf(n)<0&&m.call(e,n)&&(r[n]=e[n]);return r})(t,["value"]);this.options=n}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let e=this.options.params;Object.keys(t).forEach(r=>{null==e[r]&&(e[r]=t[r])})}}},DW=new kW(CW="void"),TW=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this._hostClassName="ng-tns-"
vendor: 8,755 bytes, line 101
101+e,BG(t,this._hostClassName)}listen(e,t,r,n){if(!this._triggers.has(t))throw new Xo(3302,!1);if(null==r||0==r.length)throw new Xo(3303,!1);if(!function(e){return"start"==e||"done"==e}(r))throw new Xo(3400,!1);let i=HH(this._elementListeners,e,[]),s={name:t,phase:r,callback:n};i.push(s);let o=HH(this._engine.statesByElement,e,new Map);return o.has(t)||(BG(e,gG),BG(e,gG+"-"+t),o.set(t,DW)),()=>{this._engine.afterFlush(()=>{let e=i.indexOf(s);e>=0&&i.splice(e,1),this._triggers.has(t)||o.delete(t)})}}register(e,t){return!this._triggers.has(e)&&(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw new Xo(3401,!1);return t}trigger(e,t,r,n=!0){let i=this._getTrigger(t),s=new OW(this.id,t,e),o=this._engine.statesByElement.get(e);o||(BG(e,gG),BG(e,gG+"-"+t),this._engine.statesByElement.set(e,o=new Map));let a=o.get(t),l=new kW(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),o.set(t,l),a||(a=DW),l.value!==CW&&a.value===l.value){if(!function(e,t){let r=Object.keys(e),n=Object.keys(t);if(r.length!=n.length)return!1;for(let i=0;i<r.length;i++){let n=r[i];if(!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}(a.params,l.params)){let t=[],r=i.matchStyles(a.value,a.params,t),n=i.matchStyles(l.value,l.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{tG(e,r),eG(e,n)})}return}let u=HH(this._engine.playersByElement,e,[]);u.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let c=i.matchTransition(a.value,l.value,e,l.params),h=!1;if(!c){if(!n)return;c=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:c,fromState:a,toState:l,player:s,isFallbackTransition:h}),h||(BG(e,vW),s.onStart(()=>{zG(e,vW)})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);let r=this._engine.playersByElement.get(e);if(r){let e=r.indexOf(s);e>=0&&r.splice(e,1)}}),this.players.push(s),u.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,yG,!0);r.forEach(e=>{if(e[EW])return;let r=this._engine.fetchNamespacesByElement(e);r.size?r.forEach(r=>r.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,r,n){let i=this._engine.statesByElement.get(e),s=new Map;if(i){let o=[];if(i.forEach((t,r)=>{if(s.set(r,t.value),this._triggers.has(r)){let t=this.trigger(e,r,CW,n);t&&o.push(t)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,s),r&&zH(o).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let n=new Set;t.forEach(t=>{let i=t.name;if(n.has(i))return;n.add(i);let s=this._triggers.get(i).fallbackTransition,o=r.get(i)||DW,a=new kW(CW),l=new OW(this.id,i,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:i,transition:s,fromState:o,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let n=!1;if(r.totalAnimations){let t=r.players.length?r.playersByQueriedElement.get(e):[];if(t&&t.length)n=!0;else{let t=e;for(;t=t.parentNode;)if(r.statesByElement.get(t)){n=!0;break}}}if(this.prepareLeaveAnimationListeners(e),n)r.markElementAsRemoved(this.id,e,!1,t);else{let n=e[EW];(!n||n===wW)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){BG(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let n=r.player;if(n.destroyed)return;let i=r.element,s=this._elementListeners.get(i);s&&s.forEach(t=>{if(t.name==r.triggerName){let n=qH(i,r.triggerName,r.fromState.value,r.toState.value);n._data=e,$H(r.player,t.phase,n,t.callback)}}),n.markedForDestroy?this._engine.afterFlush(()=>{n.destroy()}):t.push(r)}),this._queue=[],t.sort((e,t)=>{let r=e.transition.ast.depCount,n=t.transition.ast.depCount;return 0==r||0==n?r-n:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},xW=class{bodyNode;driver;_normalizer;players=[];newHostElements=new Map;playersByElement=new Map;playersByQueriedElement=new Map;statesByElement=new Map;disabledNodes=new Set;totalAnimations=0;totalQueuedPlayers=0;_namespaceLookup={};_namespaceList=[];_flushFns=[];_whenQuietFns=[];namespacesByHostElement=new Map;collectedEnterElements=[];collectedLeaveElements=[];onRemovalComplete=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r){this.bodyNode=e,this.driver=t,this._normalizer=r}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){let r=new TW(e,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[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,n=this.namespacesByHostElement;if(r.length-1>=0){let i=!1,s=this.driver.getParentElement(t);for(;s;){let t=n.get(s);if(t){let n=r.indexOf(t);r.splice(n+1,0,e),i=!0;break}s=this.driver.getParentElement(s)}i||r.unshift(e)}else r.push(e);return n.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let n=this._namespaceLookup[e];n&&n.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let n=this._namespaceList.indexOf(r);n>=0&&this._namespaceList.splice(n,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r)for(let n of r.values())if(n.namespaceId){let e=this._fetchNamespace(n.namespaceId);e&&t.add(e)}return t}trigger(e,t,r,n){if(FG(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,r,n),!0}return!1}insertNode(e,t,r,n){if(!FG(t))return;let i=t[EW];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){let n=this._fetchNamespace(e);n&&n.insertNode(t,r)}n&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),BG(e,bW)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),zG(e,bW))}removeNode(e,t,r){if(FG(t)){let n=e?this._fetchNamespace(e):null;n?n.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,n,i){this.collectedLeaveElements.push(t),t[EW]={namespaceId:e,setForRemoval:n,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,r,n,i){return FG(t)?this._fetchNamespace(e).listen(t,r,n,i):()=>{}}_buildInstruction(e,t,r,n,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,n,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,yG,!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,bG,!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return zH(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[EW];if(t&&t.setForRemoval){if(e[EW]=wW,t.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(bW)&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEac
101h(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){BG(this.collectedEnterElements[r],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let e=0;e<r.length;e++)r[e]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let e=this.collectedLeaveElements[r];this.processLeaveNode(e)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){let e=this._whenQuietFns;this._whenQuietFns=[],t.length?zH(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Xo(3402,!1)}_flushAnimations(e,t){let r=new iW,n=[],i=new Map,s=[],o=new Map,a=new Map,l=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);let t=this.driver.query(e,".ng-animate-queued",!0);for(let r=0;r<t.length;r++)u.add(t[r])});let c=this.bodyNode,h=Array.from(this.statesByElement.keys()),d=jG(h,this.collectedEnterElements),p=new Map,f=0;d.forEach((e,t)=>{let r=fG+f++;p.set(t,r),e.forEach(e=>BG(e,r))});let m=[],g=new Set,y=new Set;for(let A=0;A<this.collectedLeaveElements.length;A++){let e=this.collectedLeaveElements[A],t=e[EW];t&&t.setForRemoval&&(m.push(e),g.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>g.add(e)):y.add(e))}let v=new Map,b=jG(h,Array.from(g));b.forEach((e,t)=>{let r=mG+f++;v.set(t,r),e.forEach(e=>BG(e,r))}),e.push(()=>{d.forEach((e,t)=>{let r=p.get(t);e.forEach(e=>zG(e,r))}),b.forEach((e,t)=>{let r=v.get(t);e.forEach(e=>zG(e,r))}),m.forEach(e=>{this.processLeaveNode(e)})});let _=[],w=[];for(let A=this._namespaceList.length-1;A>=0;A--)this._namespaceList[A].drainQueuedTransitions(t).forEach(e=>{let t=e.player,i=e.element;if(_.push(t),this.collectedEnterElements.length){let r=i[EW];if(r&&r.setForMove){if(r.previousTriggersValues&&r.previousTriggersValues.has(e.triggerName)){let t=r.previousTriggersValues.get(e.triggerName),n=this.statesByElement.get(e.element);if(n&&n.has(e.triggerName)){let r=n.get(e.triggerName);r.value=t,n.set(e.triggerName,r)}}return void t.destroy()}}let u=!c||!this.driver.containsElement(c,i),h=v.get(i),d=p.get(i),f=this._buildInstruction(e,r,d,h,u);if(f.errors&&f.errors.length)return void w.push(f);if(u)return t.onStart(()=>tG(i,f.fromStyles)),t.onDestroy(()=>eG(i,f.toStyles)),void n.push(t);if(e.isFallbackTransition)return t.onStart(()=>tG(i,f.fromStyles)),t.onDestroy(()=>eG(i,f.toStyles)),void n.push(t);let m=[];f.timelines.forEach(e=>{e.stretchStartingKeyframe=!0,this.disabledNodes.has(e.element)||m.push(e)}),f.timelines=m,r.append(i,f.timelines);let g={instruction:f,player:t,element:i};s.push(g),f.queriedElements.forEach(e=>HH(o,e,[]).push(t)),f.preStyleProps.forEach((e,t)=>{if(e.size){let r=a.get(t);r||a.set(t,r=new Set),e.forEach((e,t)=>r.add(t))}}),f.postStyleProps.forEach((e,t)=>{let r=l.get(t);r||l.set(t,r=new Set),e.forEach((e,t)=>r.add(t))})});if(w.length){let e=[];w.forEach(t=>{e.push((t.triggerName,t.errors,new Xo(3505,!1)))}),_.forEach(e=>e.destroy()),this.reportError(e)}let S=new Map,E=new Map;s.forEach(e=>{let t=e.element;r.has(t)&&(E.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,S))}),n.forEach(e=>{let t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{HH(S,t,[]).push(e),e.destroy()})});let k=m.filter(e=>qG(e,a,l)),C=new Map;MG(C,this.driver,y,l,CL).forEach(e=>{qG(e,a,l)&&k.push(e)});let D=new Map;d.forEach((e,t)=>{MG(D,this.driver,new Set(e),a,xL)}),k.forEach(e=>{let t=C.get(e),r=D.get(e);C.set(e,new Map([...t?.entries()??[],...r?.entries()??[]]))});let T=[],x=[],O={};s.forEach(e=>{let{element:t,player:s,instruction:o}=e;if(r.has(t)){if(u.has(t))return s.onDestroy(()=>eG(t,o.toStyles)),s.disabled=!0,s.overrideTotalTime(o.totalTime),void n.push(s);let e=O;if(E.size>1){let r=t,n=[];for(;r=r.parentNode;){let t=E.get(r);if(t){e=t;break}n.push(r)}n.forEach(t=>E.set(t,e))}let r=this._buildAnimation(s.namespaceId,o,S,i,D,C);if(s.setRealPlayer(r),e===O)T.push(s);else{let t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=zH(t)),n.push(s)}}else tG(t,o.fromStyles),s.onDestroy(()=>eG(t,o.toStyles)),x.push(s),u.has(t)&&n.push(s)}
vendor: 8,599 bytes, line 101
101),x.forEach(e=>{let t=i.get(e.element);if(t&&t.length){let r=zH(t);e.setRealPlayer(r)}}),n.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let A=0;A<m.length;A++){let e=m[A],t=e[EW];if(zG(e,mG),t&&t.hasAnimation)continue;let r=[];if(o.size){let t=o.get(e);t&&t.length&&r.push(...t);let n=this.driver.query(e,bG,!0);for(let e=0;e<n.length;e++){let t=o.get(n[e]);t&&t.length&&r.push(...t)}}let n=r.filter(e=>!e.destroyed);n.length?VG(this,e,n):this.processLeaveNode(e)}return m.length=0,T.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();let t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),T}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,n,i){let s=[];if(t){let t=this.playersByQueriedElement.get(e);t&&(s=t)}else{let t=this.playersByElement.get(e);if(t){let e=!i||i==CW;t.forEach(t=>{t.queued||!e&&t.triggerName!=n||s.push(t)})}}return(r||n)&&(s=s.filter(e=>!(r&&r!=e.namespaceId||n&&n!=e.triggerName))),s}_beforeAnimationBuild(e,t,r){let n=t.triggerName,i=t.element,s=t.isRemovalTransition?void 0:e,o=t.isRemovalTransition?void 0:n;for(let a of t.timelines){let e=a.element,n=e!==i,l=HH(r,e,[]);this._getPreviousPlayers(e,n,s,o,t.toState).forEach(e=>{let t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})}tG(i,t.fromStyles)}_buildAnimation(e,t,r,n,i,s){let o=t.triggerName,a=t.element,l=[],u=new Set,c=new Set,h=t.timelines.map(t=>{let h=t.element;u.add(h);let d=h[EW];if(d&&d.removedBeforeQueried)return new DL(t.duration,t.delay);let p=h!==a,f=$G((r.get(h)||_W).map(e=>e.getRealPlayer())).filter(e=>{let t=e;return!!t.element&&t.element===h}),m=i.get(h),g=s.get(h),y=VH(this._normalizer,t.keyframes,m,g),v=this._buildPlayer(t,y,f);if(t.subTimeline&&n&&c.add(h),p){let t=new OW(e,o,h);t.setRealPlayer(v),l.push(t)}return v});l.forEach(e=>{HH(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,r){let n=e.get(t);if(n){if(n.length){let e=n.indexOf(r);n.splice(e,1)}0==n.length&&e.delete(t)}return n}(this.playersByQueriedElement,e.element,e))}),u.forEach(e=>BG(e,vG));let d=zH(h);return d.onDestroy(()=>{u.forEach(e=>zG(e,vG)),eG(a,t.toStyles)}),c.forEach(e=>{HH(n,e,[]).push(d)}),d}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new DL(e.duration,e.delay)}},OW=class{namespaceId;triggerName;element;_player=new DL;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(t=>$H(e,r,void 0,t))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){HH(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}},AW=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,r){this._driver=t,this._normalizer=r,this._transitionEngine=new xW(e.body,t,r),this._timelineEngine=new yW(e.body,t,r),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,r,n,i){let s=e+"-"+n,o=this._triggerCache[s];if(!o){let e=[],t=[],r=DG(this._driver,i,e,t);if(e.length)throw new Xo(3404,!1);o=function(e,t,r){return new mW(e,t,r)}(n,r,this._normalizer),this._triggerCache[s]=o}this._transitionEngine.registerTrigger(t,n,o)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,n){this._transitionEngine.insertNode(e,t,r,n)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,n){if("@"==r.charAt(0)){let[e,i]=GH(r),s=n;this._timelineEngine.command(e,t,i,s)}else this._transitionEngine.trigger(e,t,r,n)}listen(e,t,r,n,i){if("@"==r.charAt(0)){let[e,n]=GH(r);return this._timelineEngine.listen(e,t,n,i)}return this._transitionEngine.listen(e,t,r,n,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}},PW=(()=>{class e{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,r,n){this._element=t,this._startStyles=r,this._endStyles=n;let i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&eG(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(eG(this._element,this._initialStyles),this._endStyles&&(eG(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(tG(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(tG(this._element,this._endStyles),this._endStyles=null),eG(this._element,this._initialStyles),this._state=3)}}return e})(),IW=class{element;keyframes;options;_specialStyles;_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_duration;_delay;_initialized=!1;_finished=!1;_started=!1;_destroyed=!1;_finalKeyframe;_originalOnDoneFns=[];_originalOnStartFns=[];domPlayer=null;time=0;parentPlayer=null;currentSnapshot=new Map;constructor(e,t,r,n){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=n,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer()&&this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return this.domPlayer;this._initialized=!0;let e=this.keyframes,t=this._triggerWebAnimation(this.element,e,this.options);if(!t)return this._onFinish(),null;this.domPlayer=t,this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();return t.addEventListener("finish",r),this.onDestroy(()=>{t.removeEventListener("finish",r)}),t}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer?.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(e=>{t.push(Object.fromEntries(e))}),t}_triggerWebAnimation(e,t,r){let n=this._convertKeyframesToObject(t);try{return e.animate(n,r)}catch{return null}}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){let e=this._buildPlayer();e&&(this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),e.play())}pause(){this.init(),this.domPlayer?.pause()}finish(){this.init(),this.domPlayer&&(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?.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(e
101=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer||this.init(),this.domPlayer&&(this.domPlayer.currentTime=e*this.time)}getPosition(){return this.domPlayer?+(this.domPlayer.currentTime??0)/this.time:this._initialized?1:0}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,r)=>{"offset"!==r&&e.set(r,this._finished?t:lG(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t="start"===e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}},RW=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return ZH(e,t)}getParentElement(e){return WH(e)}query(e,t,r){return YH(e,t,r)}computeStyle(e,t,r){return lG(e,t)}animate(e,t,r,n,i,s=[]){let o={duration:r,delay:n,fill:0==n?"both":"forwards"};i&&(o.easing=i);let a=new Map,l=s.filter(e=>e instanceof IW);(function(e,t){return 0===e||0===t})(r,n)&&l.forEach(e=>{e.currentSnapshot.forEach((e,t)=>a.set(t,e))});let u=function(e){return e.length?e[0]instanceof Map?e:e.map(e=>new Map(Object.entries(e))):[]}(t).map(e=>new Map(e));u=function(e,t,r){if(r.size&&t.length){let n=t[0],i=[];if(r.forEach((e,t)=>{n.has(t)||i.push(t),n.set(t,e)}),i.length)for(let r=1;r<t.length;r++){let n=t[r];i.forEach(t=>n.set(t,lG(e,t)))}}return t}(e,u,a);let c=function(e,t){let r=null,n=null;return Array.isArray(t)&&t.length?(r=HG(t[0]),t.length>1&&(n=HG(t[t.length-1]))):t instanceof Map&&(r=HG(t)),r||n?new PW(e,r,n):null}(e,u);return new IW(e,u,o,c)}},NW="@",FW="@.disabled",LW=class{namespaceId;delegate;engine;_onDestroy;"ɵtype"=0;constructor(e,t,r,n){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=n}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,n=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,n)}removeChild(e,t,r,n){n?this.delegate.removeChild(e,t,r,n):this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,n){this.delegate.setAttribute(e,t,r,n)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,n){this.delegate.setStyle(e,t,r,n)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==NW&&t==FW?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r,n){return this.delegate.listen(e,t,r,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},MW=class extends LW{factory;constructor(e,t,r,n,i){super(t,r,n,i),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==NW?"."==t.charAt(1)&&t==FW?(r=void 0===r||!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r,n){if(t.charAt(0)==NW){let n=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),i=t.slice(1),s="";return i.charAt(0)!=NW&&([i,s]=function(e){let t=e.indexOf(".");return[e.substring(0,t),e.slice(t+1)]}(i)),this.engine.listen(this.namespaceId,n,i,s,e=>{let t=e._data||-1;this.factory.scheduleListenerCallback(t,r,e)})}return this.delegate.listen(e,t,r,n)}},jW=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,t.onRemovalComplete=(e,t)=>
101{t?.removeChild(null,e)}}createRenderer(e,t){let r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let e=this._rendererCache,t=e.get(r);if(!t){let n=()=>e.delete(r);t=new LW("",r,this.engine,n),e.set(r,t)}return t}let n=t.id,i=t.id+"-"+this._currentId;this._currentId++,this.engine.register(i,e);let s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(n,i,e,t.name,t)};return t.data.animation.forEach(s),new MW(this,i,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId)return void this._zone.run(()=>t(r));let n=this._animationCallbacksBuffer;0==n.length&&queueMicrotask(()=>{this._zone.run(()=>{n.forEach(e=>{let[t,r]=e;t(r)}),this._animationCallbacksBuffer=[]})}),n.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()}componentReplaced(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}}});function zW(){return new YG}function VW(e,t,r){return new jW(e,t,r)}var $W,UW,qW,HW,GW,WW=b(()=>{"use strict";fy(),fy(),BW(),BW(),dv(),Fv(),Xv(),$W=(()=>{class e extends AW{constructor(e,t,r){super(e,t,r)}ngOnDestroy(){this.flush()}static"ɵfac"=function(t){return new(t||e)(as(yl),as(WG),as(QG))};static"ɵprov"=Qi({token:e,factory:e.ɵfac})}return e})(),UW=[{provide:QG,useFactory:zW},{provide:AW,useClass:$W},{provide:Qm,useFactory:VW,deps:[Av,AW,Cm]}],qW=[{provide:WG,useClass:GG},{provide:Zf,useValue:"NoopAnimations"},...UW],HW=[{provide:WG,useFactory:()=>new RW},{provide:Zf,useFactory:()=>"BrowserAnimations"},...UW],GW=(()=>{class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?qW:HW}}static"ɵfac"=function(t){return new(t||e)};static"ɵmod"=bd({type:e});static"ɵinj"=Zi({providers:HW,imports:[Kv]})}return e})()});function QW(e){return(SQ.__Zone_symbol_prefix||"__zone_symbol__")+e}function ZW(){let e=globalThis,t=!0===e[QW("forceDuplicateZoneCheck")];if(e.Zone&&(t||"function"!=typeof e.Zone.__symbol__))throw new Error("Zone already loaded.");return e.Zone??=function(){let e=SQ.performance;function t(t){e&&e.mark&&e.mark(t)}function r(t,r){e&&e.measure&&e.measure(t,r)}t("Zone");let n=(()=>{class e{static{this.__symbol__=QW}static assertZonePatched(){if(SQ.Promise!==D.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 t=e.current;for(;t.parent;)t=t.parent;return t}static get current(){return x.zone}static get currentTask(){return O}static __load_patch(n,i,s=!1){if(D.hasOwnProperty(n)){let e=!0===SQ[QW("forceDuplicateZoneCheck")];if(!s&&e)throw Error("Already loaded patch: "+n)}else if(!SQ["__Zone_disable_"+n]){let s="Zone:"+n;t(s),D[n]=i(SQ,e,T),r(s,s)}}get parent(){return this._parent}get name(){return this._name}constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,t)}get(e){let t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);let r=this._zoneDelegate.intercept(this,e,t),n=this;return function(){return n.runGuarded(r,this,arguments,t)}}run(e,t,r,n){x={parent:x,zone:this};try{return this._zoneDelegate.invoke(this,e,t,r,n)}finally{x=x.parent}}runGuarded(e,t=null,r,n){x={parent:x,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,r,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{x=x.parent}}runTask(e,t,r){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");let n=e,{type:i,data:{isPeriodic:s=!1,isRefreshable:o=!1}={}}=e;if(e.state===y&&(i===C||i===k))return;let a=e.state!=_;a&&n._transitionTo(_,b);let l=O;O=n,x={parent:x,zone:this};try{i==k&&e.data&&!s&&!o&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,n,t,r)}catch(u){if(this._zoneDelegate.handleError(this,u))throw u}}finally{let t=e.state;if(t!==y&&t!==S)if(i==C||s||o&&t===v)a&&n._transitionTo(b,_,v);else{let e=n._zoneDelegates;this._updateTaskCount(n,-1),a&&n._transitionTo(y,_,y),o&&(n._zoneDelegates=e)}x=x.parent,O=l}}
101scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(v,y);let t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(S,v,y),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==v&&e._transitionTo(b,v),e}scheduleMicroTask(e,t,r,n){return this.scheduleTask(new o(E,e,t,r,n,void 0))}scheduleMacroTask(e,t,r,n,i){return this.scheduleTask(new o(k,e,t,r,n,i))}scheduleEventTask(e,t,r,n,i){return this.scheduleTask(new o(C,e,t,r,n,i))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||g).name+"; Execution: "+this.name+")");if(e.state===b||e.state===_){e._transitionTo(w,b,_);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(S,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(y,w),e.runCount=-1,e}}_updateTaskCount(e,t){let r=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let n=0;n<r.length;n++)r[n]._updateTaskCount(e.type,t)}}return e})(),i={name:"",onHasTask:(e,t,r,n)=>e.hasTask(r,n),onScheduleTask:(e,t,r,n)=>e.scheduleTask(r,n),onInvokeTask:(e,t,r,n,i,s)=>e.invokeTask(r,n,i,s),onCancelTask:(e,t,r,n)=>e.cancelTask(r,n)};class s{get zone(){return this._zone}constructor(e,t,r){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this._zone=e,this._parentDelegate=t,this._forkZS=r&&(r&&r.onFork?r:t._forkZS),this._forkDlgt=r&&(r.onFork?t:t._forkDlgt),this._forkCurrZone=r&&(r.onFork?this._zone:t._forkCurrZone),this._interceptZS=r&&(r.onIntercept?r:t._interceptZS),this._interceptDlgt=r&&(r.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=r&&(r.onIntercept?this._zone:t._interceptCurrZone),this._invokeZS=r&&(r.onInvoke?r:t._invokeZS),this._invokeDlgt=r&&(r.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=r&&(r.onInvoke?this._zone:t._invokeCurrZone),this._handleErrorZS=r&&(r.onHandleError?r:t._handleErrorZS),this._handleErrorDlgt=r&&(r.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=r&&(r.onHandleError?this._zone:t._handleErrorCurrZone),this._scheduleTaskZS=r&&(r.onScheduleTask?r:t._scheduleTaskZS),this._scheduleTaskDlgt=r&&(r.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=r&&(r.onScheduleTask?this._zone:t._scheduleTaskCurrZone),this._invokeTaskZS=r&&(r.onInvokeTask?r:t._invokeTaskZS),this._invokeTaskDlgt=r&&(r.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=r&&(r.onInvokeTask?this._zone:t._invokeTaskCurrZone),this._cancelTaskZS=r&&(r.onCancelTask?r:t._cancelTaskZS),this._cancelTaskDlgt=r&&(r.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=r&&(r.onCancelTask?this._zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let n=r&&r.onHasTask,s=t&&t._hasTaskZS;(n||s)&&(this._hasTaskZS=n?r:i,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,r.onScheduleTask||(this._scheduleTaskZS=i,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this._zone),r.onInvokeTask||(this._invokeTaskZS=i,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this._zone),r.onCancelTask||(this._cancelTaskZS=i,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this._zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new n(e,t)}intercept(e,t,r){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,r):t}invoke(e,t,r,n,i){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,r,n,i):t.apply(r,n)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let r=t;if(this._scheduleTaskZS)this._hasTaskZS&&r._zoneDelegates.push(this._hasTaskDlgtOwner),r=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),r||(r=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=E)throw new Error("Task is missing scheduleFn.");f(t)}return r}invokeTask(e,t,r,n){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,r,n):t.callback.apply(r,n)}cancelTask(e,t){let r;if(this._cancelTaskZS)r=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");r=t.cancelFn(t)}return r}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(r){this.handleError(e,r)}}_updateTaskCount(e,t){let r=this._taskCounts,n=r[e],i=r[e]=n+t;if(i<0)throw new Error("More tasks executed then were scheduled.");
101if(0==n||0==i){let t={microTask:r.microTask>0,macroTask:r.macroTask>0,eventTask:r.eventTask>0,change:e};this.hasTask(this._zone,t)}}}class o{constructor(e,t,r,n,i,s){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=e,this.source=t,this.data=n,this.scheduleFn=i,this.cancelFn=s,!r)throw new Error("callback is not defined");this.callback=r;let a=this;e===C&&n&&n.useG?this.invoke=o.invokeTask:this.invoke=function(){return o.invokeTask.call(SQ,a,this,arguments)}}static invokeTask(e,t,r){e||(e=this),A++;try{return e.runCount++,e.zone.runTask(e,t,r)}finally{1==A&&m(),A--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(y,v)}_transitionTo(e,t,r){if(this._state!==t&&this._state!==r)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${r?" or '"+r+"'":""}, was '${this._state}'.`);this._state=e,e==y&&(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}}}let a,l=QW("setTimeout"),u=QW("Promise"),c=QW("then"),h=[],d=!1;function p(e){if(a||SQ[u]&&(a=SQ[u].resolve(0)),a){let t=a[c];t||(t=a.then),t.call(a,e)}else SQ[l](e,0)}function f(e){0===A&&0===h.length&&p(m),e&&h.push(e)}function m(){if(!d){for(d=!0;h.length;){let t=h;h=[];for(let r=0;r<t.length;r++){let n=t[r];try{n.zone.runTask(n,null,null)}catch(e){T.onUnhandledError(e)}}}T.microtaskDrainDone(),d=!1}}let g={name:"NO ZONE"},y="notScheduled",v="scheduling",b="scheduled",_="running",w="canceling",S="unknown",E="microTask",k="macroTask",C="eventTask",D={},T={symbol:QW,currentZoneFrame:()=>x,onUnhandledError:P,microtaskDrainDone:P,scheduleMicroTask:f,showUncaughtError:()=>!n[QW("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:P,patchMethod:()=>P,bindArguments:()=>[],patchThen:()=>P,patchMacroTask:()=>P,patchEventPrototype:()=>P,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>P,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>P,wrapWithCurrentZone:()=>P,filterProperties:()=>[],attachOriginToPatched:()=>P,_redefineProperty:()=>P,patchCallbacks:()=>P,nativeScheduleMicroTask:p},x={parent:null,zone:new n(null,null)},O=null,A=0;function P(){}return r("Zone","Zone"),n}(),e.Zone}function YW(e,t){return Zone.current.wrap(e,t)}function KW(e,t,r,n,i){return Zone.current.scheduleMacroTask(e,t,r,n,i)}function XW(e,t){for(let r=e.length-1;r>=0;r--)"function"==typeof e[r]&&(e[r]=YW(e[r],t+"_"+r));return e}function JW(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&typeof e.set>"u")}function eQ(e,t,r){let n=EQ(e,t);if(!n&&r&&EQ(r,t)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let i=FQ("on"+t+"patched");if(e.hasOwnProperty(i)&&e[i])return;delete n.writable,delete n.value;let s=n.get,o=n.set,a=t.slice(2),l=qQ[a];l||(l=qQ[a]=FQ("ON_PROPERTY"+a)),n.set=function(t){let r=this;!r&&e===jQ&&(r=jQ),r&&("function"==typeof r[l]&&r.removeEventListener(a,GQ),o&&o.call(r,null),r[l]=t,"function"==typeof t&&r.addEventListener(a,GQ,!1))},n.get=function(){let r=this;if(!r&&e===jQ&&(r=jQ),!r)return null;let i=r[l];if(i)return i;if(s){let e=s.call(this);if(e)return n.set.call(this,e),"function"==typeof r[BQ]&&r.removeAttribute(t),e}return null},kQ(e,t,n),e[i]=!0}function tQ(e,t,r){if(t)for(let n=0;n<t.length;n++)eQ(e,"on"+t[n],r);else{let t=[];for(let r in e)"on"==r.slice(0,2)&&t.push(r);for(let n=0;n<t.length;n++)eQ(e,t[n],r)}}function rQ(e){let t=jQ[e];if(!t)return;jQ[FQ(e)]=t,jQ[e]=function(){let r=XW(arguments,e);switch(r.length){case 0:this[WQ]=new t;break;case 1:this[WQ]=new t(r[0]);break;case 2:this[WQ]=new t(r[0],r[1]);break;case 3:this[WQ]=new t(r[0],r[1],r[2]);break;case 4:this[WQ]=new t(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}},sQ(jQ[e],t);let r,n=new t(function(){});for(r in n)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof n[t]?jQ[e].prototype[t]=function(){return this[WQ][t].apply(this[WQ],arguments)}
101:kQ(jQ[e].prototype,t,{set:function(r){"function"==typeof r?(this[WQ][t]=YW(r,e+"."+t),sQ(this[WQ][t],r)):this[WQ][t]=r},get:function(){return this[WQ][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(jQ[e][r]=t[r])}function nQ(e,t,r){let n=e;for(;n&&!n.hasOwnProperty(t);)n=CQ(n);!n&&e[t]&&(n=e);let i=FQ(t),s=null;if(n&&(!(s=n[i])||!n.hasOwnProperty(i))){if(s=n[i]=n[t],JW(n&&EQ(n,t))){let e=r(s,i,t);n[t]=function(){return e(this,arguments)},sQ(n[t],s)}}return s}function iQ(e,t,r){let n=null;function i(e){let t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},n.apply(t.target,t.args),e}n=nQ(e,t,e=>function(t,n){let s=r(t,n);return s.cbIdx>=0&&"function"==typeof n[s.cbIdx]?KW(s.name,n[s.cbIdx],s,i):e.apply(t,n)})}function sQ(e,t){e[FQ("OriginalDelegate")]=t}function oQ(){if(QQ)return ZQ;QQ=!0;try{let e=MQ.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(ZQ=!0)}catch{}return ZQ}function aQ(e){return"function"==typeof e}function lQ(e){return"number"==typeof e}function uQ(e,t){let r=(t?t(e):e)+RQ,n=(t?t(e):e)+IQ,i=NQ+r,s=NQ+n;XQ[e]={},XQ[e][RQ]=i,XQ[e][IQ]=s}function cQ(e,t,r,n){let i=n&&n.add||xQ,s=n&&n.rm||OQ,o=n&&n.listeners||"eventListeners",a=n&&n.rmAll||"removeAllListeners",l=FQ(i),u="."+i+":",c="prependListener",h="."+c+":",d=function(e,t,r){if(e.isRemoved)return;let n,i=e.callback;"object"==typeof i&&i.handleEvent&&(e.callback=e=>i.handleEvent(e),e.originalDelegate=i);try{e.invoke(e,t,[r])}catch(a){n=a}let o=e.options;if(o&&"object"==typeof o&&o.once){let n=e.originalDelegate?e.originalDelegate:e.callback;t[s].call(t,r.type,n,o)}return n};function p(r,n,i){if(!(n=n||e.event))return;let s=r||n.target||e,o=s[XQ[n.type][i?IQ:RQ]];if(o){let e=[];
101if(1===o.length){let t=d(o[0],s,n);t&&e.push(t)}else{let t=o.slice();for(let r=0;r<t.length&&(!n||!0!==n[tZ]);r++){let i=d(t[r],s,n);i&&e.push(i)}}if(1===e.length)throw e[0];for(let r=0;r<e.length;r++){let n=e[r];t.nativeScheduleMicroTask(()=>{throw n})}}}let f=function(e){return p(this,e,!1)},m=function(e){return p(this,e,!0)};function g(t,r){if(!t)return!1;let n=!0;r&&void 0!==r.useG&&(n=r.useG);let d=r&&r.vh,p=!0;r&&void 0!==r.chkDup&&(p=r.chkDup);let g=!1;r&&void 0!==r.rt&&(g=r.rt);let b=t;for(;b&&!b.hasOwnProperty(i);)b=CQ(b);if(!b&&t[i]&&(b=t),!b||b[l])return!1;let _,w=r&&r.eventNameToString,S={},E=b[l]=b[i],k=b[FQ(s)]=b[s],C=b[FQ(o)]=b[o],D=b[FQ(a)]=b[a];r&&r.prepend&&(_=b[FQ(r.prepend)]=b[r.prepend]);let T=n?function(e){if(!S.isExisting)return E.call(S.target,S.eventName,S.capture?m:f,S.options)}:function(e){return E.call(S.target,S.eventName,e.invoke,S.options)},x=n?function(e){if(!e.isRemoved){let t,r=XQ[e.eventName];r&&(t=r[e.capture?IQ:RQ]);let n=t&&e.target[t];if(n)for(let i=0;i<n.length;i++)if(n[i]===e){n.splice(i,1),e.isRemoved=!0,e.removeAbortListener&&(e.removeAbortListener(),e.removeAbortListener=null),0===n.length&&(e.allRemoved=!0,e.target[t]=null);break}}if(e.allRemoved)return k.call(e.target,e.eventName,e.capture?m:f,e.options)}:function(e){return k.call(e.target,e.eventName,e.invoke,e.options)},O=r&&r.diff?r.diff:function(e,t){let r=typeof t;return"function"===r&&e.callback===t||"object"===r&&e.originalDelegate===t},A=Zone[FQ("UNPATCHED_EVENTS")],P=e[FQ("PASSIVE_EVENTS")];let I=function(t,i,s,o,a=!1,l=!1){return function(){let u=this||e,c=arguments[0];r&&r.transferEventName&&(c=r.transferEventName(c));let h=arguments[1];if(!h)return t.apply(this,arguments);if(VQ&&"uncaughtException"===c)return t.apply(this,arguments);let f=!1;if("function"!=typeof h){if(!h.handleEvent)return t.apply(this,arguments);f=!0}if(d&&!d(t,h,u,arguments))return;let m=YQ&&!!P&&-1!==P.indexOf(c),g=function(e){if("object"==typeof e&&null!==e){let t=y({},e);return e.signal&&(t.signal=e.signal),t}return e}(function(e,t){return!YQ&&"object"==typeof e&&e?!!e.capture:YQ&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?v(y({},e),{passive:!0}):e:{passive:!0}:e}(arguments[2],m)),b=g?.signal;if(b?.aborted)return;if(A)for(let e=0;e<A.length;e++)if(c===A[e])return m?t.call(u,c,h,g):t.apply(this,arguments);let _=!!g&&("boolean"==typeof g||g.capture),E=!(!g||"object"!=typeof g)&&g.once,k=Zone.current,C=XQ[c];C||(uQ(c,w),C=XQ[c]);let D=C[_?IQ:RQ],T=u[D],x=!1;if(T){if(x=!0,p)for(let e=0;e<T.length;e++)if(O(T[e],h))return}else T=u[D]=[];let I,R=u.constructor.name,N=JQ[R];N&&(I=N[c]),I||(I=R+i+(w?w(c):c)),S.options=g,E&&(S.options.once=!1),S.target=u,S.capture=_,S.eventName=c,S.isExisting=x;let F=n?KQ:void 0;F&&(F.taskData=S),b&&(S.options.signal=void 0);let L=k.scheduleEventTask(I,h,F,s,o);if(b){S.options.signal=b;let e=()=>L.zone.cancelTask(L);t.call(b,"abort",e,{once:!0}),L.removeAbortListener=()=>b.removeEventListener("abort",e)}return S.target=null,F&&(F.taskData=null),E&&(S.options.once=!0),!YQ&&"boolean"==typeof L.options||(L.options=g),L.target=u,L.capture=_,L.eventName=c,f&&(L.originalDelegate=h),l?T.unshift(L):T.push(L),a?u:void 0}};return b[i]=I(E,u,T,x,g),_&&(b[c]=I(_,h,function(e){return _.call(S.target,S.eventName,e.invoke,S.options)},x,g,!0)),b[s]=function(){let t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));let i=arguments[2],s=!!i&&("boolean"==typeof i||i.capture),o=arguments[1];if(!o)return k.apply(this,arguments);if(d&&!d(k,o,t,arguments))return;let a,l=XQ[n];l&&(a=l[s?IQ:RQ]);let u=a&&t[a];if(u)for(let e=0;e<u.length;e++){let r=u[e];if(O(r,o)){if(u.splice(e,1),r.isRemoved=!0,0===u.length&&(r.allRemoved=!0,t[a]=null,!s&&"string"==typeof n)){t[NQ+"ON_PROPERTY"+n]=null}return r.zone.cancelTask(r),g?t:void 0}}return k.apply(this,arguments)},b[o]=function(){let t=this||e,n=arguments[0];r&&r.transferEventName&&(n=r.transferEventName(n));let i=[],s=hQ(t,w?w(n):n);for(let e=0;e<s.length;e++){let t=s[e],r=t.originalDelegate?t.originalDelegate:t.callback;i.push(r)}return i}
vendor: 1,478 bytes, line 101
101,b[a]=function(){let t=this||e,n=arguments[0];if(n){r&&r.transferEventName&&(n=r.transferEventName(n));let e=XQ[n];if(e){let r=e[RQ],i=e[IQ],o=t[r],a=t[i];if(o){let e=o.slice();for(let t=0;t<e.length;t++){let r=e[t],i=r.originalDelegate?r.originalDelegate:r.callback;this[s].call(this,n,i,r.options)}}if(a){let e=a.slice();for(let t=0;t<e.length;t++){let r=e[t],i=r.originalDelegate?r.originalDelegate:r.callback;this[s].call(this,n,i,r.options)}}}}else{let e=Object.keys(t);for(let t=0;t<e.length;t++){let r=e[t],n=eZ.exec(r),i=n&&n[1];i&&"removeListener"!==i&&this[a].call(this,i)}this[a].call(this,"removeListener")}if(g)return this},sQ(b[i],E),sQ(b[s],k),D&&sQ(b[a],D),C&&sQ(b[o],C),!0}let b=[];for(let y=0;y<r.length;y++)b[y]=g(r[y],n);return b}function hQ(e,t){if(!t){let r=[];for(let n in e){let i=eZ.exec(n),s=i&&i[1];if(s&&(!t||s===t)){let t=e[n];if(t)for(let e=0;e<t.length;e++)r.push(t[e])}}return r}let r=XQ[t];r||(uQ(t),r=XQ[t]);let n=e[r[RQ]],i=e[r[IQ]];return n?i?n.concat(i):n.slice():i?i.slice():[]}function dQ(e,t){let r=e.Event;r&&r.prototype&&t.patchMethod(r.prototype,"stopImmediatePropagation",e=>function(t,r){t[tZ]=!0,e&&e.apply(t,r)})}function pQ(e,t,r,n){let i=null,s=null;r+=n;let o={};function a(t){let r=t.data;r.args[0]=function(){return t.invoke.apply(this,arguments)};let n=i.apply(e,r.args);return lQ(n)?r.handleId=n:(r.handle=n,r.isRefreshable=aQ(n.refresh)),t}function l(t){let{handle:r,handleId:n}=t.data;return s.call(e,r??n)}i=nQ(e,t+=n,r=>
101function(i,s){if(aQ(s[0])){let e={isRefreshable:!1,isPeriodic:"Interval"===n,delay:"Timeout"===n||"Interval"===n?s[1]||0:void 0,args:s},r=s[0];s[0]=function(){try{return r.apply(this,arguments)}finally{let{handle:t,handleId:r,isPeriodic:n,isRefreshable:i}=e;!n&&!i&&(r?delete o[r]:t&&(t[rZ]=null))}};let i=KW(t,s[0],e,a,l);if(!i)return i;let{handleId:u,handle:c,isRefreshable:h,isPeriodic:d}=i.data;if(u)o[u]=i;else if(c&&(c[rZ]=i,h&&!d)){let e=c.refresh;c.refresh=function(){let{zone:t,state:r}=i;return"notScheduled"===r?(i._state="scheduled",t._updateTaskCount(i,1)):"running"===r&&(i._state="scheduling"),e.call(this)}}return c??u??i}return r.apply(e,s)}),s=nQ(e,r,t=>function(r,n){let i,s=n[0];lQ(s)?(i=o[s],delete o[s]):(i=s?.[rZ],i?s[rZ]=null:i=s),i?.type?i.cancelFn&&i.zone.cancelTask(i):t.apply(e,n)})}function fQ(e,t,r){if(!r||0===r.length)return t;let n=r.filter(t=>t.target===e);if(!n||0===n.length)return t;let i=n[0].ignoreProperties;return t.filter(e=>-1===i.indexOf(e))}function mQ(e,t,r,n){if(!e)return;tQ(e,fQ(e,t,r),n)}function gQ(e){return Object.getOwnPropertyNames(e).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function yQ(e,t){if(VQ&&!UQ||Zone[e.symbol("patchEvents")])return;let r=t.__Zone_ignore_on_properties,n=[];if($Q){let e=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let t=function(){try{let e=MQ.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch{}return!1}()?[{target:e,ignoreProperties:["error"]}]:[];mQ(e,gQ(e),r&&r.concat(t),CQ(e))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let i=0;i<n.length;i++){let e=t[n[i]];e&&e.prototype&&mQ(e.prototype,gQ(e.prototype),r)}}function vQ(e){e.__load_patch("legacy",t=>{let r=t[e.__symbol__("legacyPatch")];r&&r()}),e.__load_patch("timers",e=>{let t="clear";pQ(e,"set",t,"Timeout"),pQ(e,"set",t,"Interval"),pQ(e,"set",t,"Immediate")}),e.__load_patch("requestAnimationFrame",e=>{pQ(e,"request","cancel","AnimationFrame"),pQ(e,"mozRequest","mozCancel","AnimationFrame"),pQ(e,"webkitRequest","webkitCancel","AnimationFrame")}),e.__load_patch("blocking",(e,t)=>{let r=["alert","prompt","confirm"];for(let n=0;n<r.length;n++){nQ(e,r[n],(r,n,i)=>function(n,s){return t.current.run(r,e,s,i)})}}),e.__load_patch("EventTarget",(e,t,r)=>{(function(e,t){t.patchEventPrototype(e,t)})(e,r),function(e,t){if(Zone[t.symbol("patchEventTarget")])return;let{eventNames:r,zoneSymbolEventNames:n,TRUE_STR:i,FALSE_STR:s,ZONE_SYMBOL_PREFIX:o}=t.getGlobalObjects();for(let l=0;l<r.length;l++){let e=r[l],t=o+(e+s),a=o+(e+i);n[e]={},n[e][s]=t,n[e][i]=a}let a=e.EventTarget;a&&a.prototype&&t.patchEventTarget(e,t,[a&&a.prototype])}(e,r);let n=e.XMLHttpRequestEventTarget;n&&n.prototype&&r.patchEventTarget(e,r,[n.prototype])}),e.__load_patch("MutationObserver",(e,t,r)=>{rQ("MutationObserver"),rQ("WebKitMutationObserver")}),e.__load_patch("IntersectionObserver",(e,t,r)=>{rQ("IntersectionObserver")}),e.__load_patch("FileReader",(e,t,r)=>{rQ("FileReader")}),e.__load_patch("on_property",(e,t,r)=>{yQ(r,e)}),e.__load_patch("customElements",(e,t,r)=>{!function(e,t){let{isBrowser:r,isMix:n}=t.getGlobalObjects();if(!r&&!n||!e.customElements||!("customElements"in e))return;t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"])}(e,r)}),e.__load_patch("XHR",(e,t)=>{!function(e){let l=e.XMLHttpRequest;if(!l)return;let u=l.prototype;let c=u[AQ],h=u[PQ];if(!c){let t=e.XMLHttpRequestEventTarget;if(t){let e=t.prototype;c=e[AQ],h=e[PQ]}}let d="readystatechange",p="scheduled";function f(e){let n=e.data,o=n.target;o[s]=!1,o[a]=!1;let l=o[i];c||(c=o[AQ],h=o[PQ]),l&&h.call(o,d,l);let u=o[i]=()=>
101{if(o.readyState===o.DONE)if(!n.aborted&&o[s]&&e.state===p){let r=o[t.__symbol__("loadfalse")];if(0!==o.status&&r&&r.length>0){let i=e.invoke;e.invoke=function(){let r=o[t.__symbol__("loadfalse")];for(let t=0;t<r.length;t++)r[t]===e&&r.splice(t,1);!n.aborted&&e.state===p&&i.call(e)},r.push(e)}else e.invoke()}else!n.aborted&&!1===o[s]&&(o[a]=!0)};return c.call(o,d,u),o[r]||(o[r]=e),_.apply(o,n.args),o[s]=!0,e}function m(){}function g(e){let t=e.data;return t.aborted=!0,w.apply(t.target,t.args)}let y=nQ(u,"open",()=>function(e,t){return e[n]=0==t[2],e[o]=t[1],y.apply(e,t)}),v=FQ("fetchTaskAborting"),b=FQ("fetchTaskScheduling"),_=nQ(u,"send",()=>function(e,r){if(!0===t.current[b]||e[n])return _.apply(e,r);{let t={target:e,url:e[o],isPeriodic:!1,args:r,aborted:!1},n=KW("XMLHttpRequest.send",m,t,f,g);e&&!0===e[a]&&!t.aborted&&n.state===p&&n.invoke()}}),w=nQ(u,"abort",()=>function(e,n){let i=function(e){return e[r]}(e);if(i&&"string"==typeof i.type){if(null==i.cancelFn||i.data&&i.data.aborted)return;i.zone.cancelTask(i)}else if(!0===t.current[v])return w.apply(e,n)})}(e);let r=FQ("xhrTask"),n=FQ("xhrSync"),i=FQ("xhrListener"),s=FQ("xhrScheduled"),o=FQ("xhrURL"),a=FQ("xhrErrorBeforeScheduled")}),e.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,t){let r=e.constructor.name;for(let n=0;n<t.length;n++){let i=t[n],s=e[i];if(s){if(!JW(EQ(e,i)))continue;e[i]=(e=>{let t=function(){return e.apply(this,XW(arguments,r+"."+i))};return sQ(t,e),t})(s)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),e.__load_patch("PromiseRejectionEvent",(e,t)=>{function r(t){return function(r){hQ(e,t).forEach(n=>{let i=e.PromiseRejectionEvent;if(i){let e=new i(t,{promise:r.promise,reason:r.rejection});n.invoke(e)}})}}e.PromiseRejectionEvent&&(t[FQ("unhandledPromiseRejectionHandler")]=r("unhandledrejection"),t[FQ("rejectionHandledHandler")]=r("rejectionhandled"))}),e.__load_patch("queueMicrotask",(e,t,r)=>{!function(e,t){t.patchMethod(e,"queueMicrotask",e=>function(e,t){Zone.current.scheduleMicroTask("queueMicrotask",t[0])})}(e,r)})}function bQ(e){e.__load_patch("ZoneAwarePromise",(e,t,r)=>{let n=Object.getOwnPropertyDescriptor,i=Object.defineProperty;let s=r.symbol,o=[],a=!1!==e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=s("Promise"),u=s("then");r.onUnhandledError=e=>{if(r.showUncaughtError()){let t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},r.microtaskDrainDone=()=>{for(;o.length;){let t=o.shift();try{t.zone.runGuarded(()=>{throw t.throwOriginal?t.rejection:t})}catch(e){h(e)}}};let c=s("unhandledPromiseRejectionHandler");function h(e){r.onUnhandledError(e);try{let r=t[c];"function"==typeof r&&r.call(this,e)}catch{}}function d(e){return e&&e.then}function p(e){return e}function f(e){return N.reject(e)}let m=s("state"),g=s("value"),y=s("finally"),v=s("parentPromiseValue"),b=s("parentPromiseState"),_=null,w=!0,S=!1;function E(e,t){return r=>{try{x(e,t,r)}catch(n){x(e,!1,n)}}}let k=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},C="Promise resolved with itself",D=s("currentTaskTrace");function x(e,n,s){let l=k();if(e===s)throw new TypeError(C);if(e[m]===_){let c=null;try{("object"==typeof s||"function"==typeof s)&&(c=s&&s.then)}catch(u){return l(()=>{x(e,!1,u)})(),e}if(n!==S&&s instanceof N&&s.hasOwnProperty(m)&&s.hasOwnProperty(g)&&s[m]!==_)A(s),x(e,s[m],s[g]);else if(n!==S&&"function"==typeof c)try{c.call(s,l(E(e,n)),l(E(e,!1)))}catch(u){l(()=>{x(e,!1,u)})()}else{e[m]=n;let l=e[g];if(e[g]=s,e[y]===y&&n===w&&(e[m]=e[b],e[g]=e[v]),n===S&&s instanceof Error){let e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&i(s,D,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t<l.length;)P(e,l[t++],l[t++],l[t++],l[t++]);if(0==l.length&&n==S){e[m]=0;let n=s;try{throw new Error("Uncaught (in promise): "+function(e){return e&&e.toString===Object.prototype.toString?(e.constructor&&e.constructor.name||"")+": "+JSON.stringify(e):e?e.toString():Object.prototype.toString.call(e)}(s)+(s&&s.stack?"\n"+s.stack:""))}catch(T){n=T}a&&(n.throwOriginal=!0),n.rejection=s,n.promise=e,n.zone=t.current,n.task=t.currentTask,o.push(n),r.scheduleMicroTask()}}}return e}let O=s("rejectionHandledHandler");function A(e){if(0===e[m]){try{let r=t[O];r&&"function"==typeof r&&r.call(this,{rejection:e[g],promise:e})}catch{}e[m]=S;for(let t=0;t<o.length;t++)e===o[t].promise&&o.splice(t,1)}}function P(e,t,r,n,i){A(e);let s=e[m],o=s?"function"==typeof n?n:p:"function"==typeof i?i:f;t.scheduleMicroTask("Promise.then",()=>{try{let n=e[g],i=!!r&&y===r[y];i&&(r[v]=n,r[b]=s);let a=t.run(o,void 0,i&&o!==f&&o!==p?[]:[n]);x(r,!0,a)}catch(T){x(r,!1,T)}},r)}let I=function(){},R=e.AggregateError;class N{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return e instanceof N?e:x(new this(null),w,e)}static reject(e){return x(new this(null),S,e)}static withResolvers(){let e={};return e.promise=new N((t,r)=>{e.resolve=t,e.reject=r}),e}static any(e){if(!e||"function"!=typeof e[Symbol.iterator])return Promise.reject(new R([],"All promises were rejected"));let t=[],r=0;
vendor: 1,050 bytes, line 101
101try{for(let n of e)r++,t.push(N.resolve(n))}catch{return Promise.reject(new R([],"All promises were rejected"))}if(0===r)return Promise.reject(new R([],"All promises were rejected"));let n=!1,i=[];return new N((e,s)=>{for(let o=0;o<t.length;o++)t[o].then(t=>{n||(n=!0,e(t))},e=>{i.push(e),r--,0===r&&(n=!0,s(new R(i,"All promises were rejected")))})})}static race(e){let t,r,n=new this((e,n)=>{t=e,r=n});function i(e){t(e)}function s(e){r(e)}for(let o of e)d(o)||(o=this.resolve(o)),o.then(i,s);return n}static all(e){return N.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof N?this:N).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let r,n,i=new this((e,t)=>{r=e,n=t}),s=2,o=0,a=[];for(let l of e){d(l)||(l=this.resolve(l));let e=o;try{l.then(n=>{a[e]=t?t.thenCallback(n):n,s--,0===s&&r(a)},i=>{t?(a[e]=t.errorCallback(i),s--,0===s&&r(a)):n(i)})}catch(oe){n(oe)}s++,o++}return s-=2,0===s&&r(a),i}constructor(e){let t=this;
101if(!(t instanceof N))throw new Error("Must be an instanceof Promise.");t[m]=_,t[g]=[];try{let r=k();e&&e(r(E(t,w)),r(E(t,S)))}catch(r){x(t,!1,r)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return N}then(e,r){let n=this.constructor?.[Symbol.species];(!n||"function"!=typeof n)&&(n=this.constructor||N);let i=new n(I),s=t.current;return this[m]==_?this[g].push(s,i,e,r):P(this,s,i,e,r),i}catch(e){return this.then(null,e)}finally(e){let r=this.constructor?.[Symbol.species];(!r||"function"!=typeof r)&&(r=N);let n=new r(I);n[y]=y;let i=t.current;return this[m]==_?this[g].push(i,n,e,e):P(this,i,n,e,e),n}}N.resolve=N.resolve,N.reject=N.reject,N.race=N.race,N.all=N.all;let F=e[l]=e.Promise;e.Promise=N;let L=s("thenPatched");function M(e){let t=e.prototype,r=n(t,"then");if(r&&(!1===r.writable||!r.configurable))return;let i=t.then;t[u]=i,e.prototype.then=function(e,t){return new N((e,t)=>{i.call(this,e,t)}).then(e,t)},e[L]=!0}return r.patchThen=M,F&&(M(F),nQ(e,"fetch",e=>function(e){return function(t,r){let n=e.apply(t,r);if(n instanceof N)return n;let i=n.constructor;return i[L]||M(i),n}}(e))),Promise[t.__symbol__("uncaughtPromiseErrors")]=o,N})}function _Q(e,t,r,n,i){let s=Zone.__symbol__(n);if(t[s])return;let o=t[s]=t[n];t[n]=function(s,a,l){return a&&a.prototype&&i.forEach(function(t){let i=`${r}.${n}::`+t,s=a.prototype;try{if(s.hasOwnProperty(t)){let r=e.ObjectGetOwnPropertyDescriptor(s,t);r&&r.value?(r.value=e.wrapWithCurrentZone(r.value,i),e._redefineProperty(a.prototype,t,r)):s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],i))}else s[t]&&(s[t]=e.wrapWithCurrentZone(s[t],i))}catch{}}),o.call(t,s,a,l)},e.attachOriginToPatched(t[n],o)}function wQ(e){bQ(e),function(e){e.__load_patch("toString",e=>{let t=Function.prototype.toString,r=FQ("OriginalDelegate"),n=FQ("Promise"),i=FQ("Error"),s=function(){if("function"==typeof this){let s=this[r];if(s)return"function"==typeof s?t.call(s):Object.prototype.toString.call(s);if(this===Promise){let r=e[n];if(r)return t.call(r)}if(this===Error){let r=e[i];if(r)return t.call(r)}}return t.call(this)};s[r]=t,Function.prototype.toString=s;let o=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":o.call(this)}})}(e),function(e){e.__load_patch("util",(e,t,r)=>{let n=gQ(e);r.patchOnProperties=tQ,r.patchMethod=nQ,r.bindArguments=XW,r.patchMacroTask=iQ;let i=t.__symbol__("BLACK_LISTED_EVENTS"),s=t.__symbol__("UNPATCHED_EVENTS");e[s]&&(e[i]=e[s]),e[i]&&(t[i]=t[s]=e[i]),r.patchEventPrototype=dQ,r.patchEventTarget=cQ,r.isIEOrEdge=oQ,r.ObjectDefineProperty=kQ,r.ObjectGetOwnPropertyDescriptor=EQ,r.ObjectCreate=DQ,r.ArraySlice=TQ,r.patchClass=rQ,r.wrapWithCurrentZone=YW,r.filterProperties=fQ,r.attachOriginToPatched=sQ,r._redefineProperty=Object.defineProperty,r.patchCallbacks=_Q,r.getGlobalObjects=()=>({globalSources:JQ,zoneSymbolEventNames:XQ,eventNames:n,isBrowser:$Q,isMix:UQ,isNode:VQ,TRUE_STR:IQ,FALSE_STR:RQ,ZONE_SYMBOL_PREFIX:NQ,ADD_EVENT_LISTENER_STR:xQ,REMOVE_EVENT_LISTENER_STR:OQ})})}(e)}var SQ,EQ,kQ,CQ,DQ,TQ,xQ,OQ,AQ,PQ,IQ,RQ,NQ,FQ,LQ,MQ,jQ,BQ,zQ,VQ,$Q,UQ,qQ,HQ,GQ,WQ,QQ,ZQ,YQ,KQ,XQ,JQ,eZ,tZ,rZ,nZ,iZ=b(()=>{"use strict";if(SQ=globalThis,EQ=Object.getOwnPropertyDescriptor,kQ=Object.defineProperty,CQ=Object.getPrototypeOf,DQ=Object.create,TQ=Array.prototype.slice,OQ="removeEventListener",AQ=QW(xQ="addEventListener"),PQ=QW(OQ),IQ="true",RQ="false",NQ=QW(""),FQ=QW,LQ=typeof window<"u",MQ=LQ?window:void 0,jQ=LQ&&MQ||globalThis,BQ="removeAttribute",zQ=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,VQ=!("nw"in jQ)&&typeof jQ.process<"u"&&"[object process]"===jQ.process.toString(),$Q=!VQ&&!zQ&&!(!LQ||!MQ.HTMLElement),UQ=typeof jQ.process<"u"&&"[object process]"===jQ.process.toString()&&!zQ&&!(!LQ||!MQ.HTMLElement),qQ={},HQ=FQ("enable_beforeunload"),GQ=function(e){if(!(e=e||jQ.event))return;let t=qQ[e.type];t||(t=qQ[e.type]=FQ("ON_PROPERTY"+e.type));let r,n=this||e.target||jQ,i=n[t];if($Q&&n===MQ&&"error"===e.type){let t=e;r=i&&i.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=i&&i.apply(this,arguments),"beforeunload"===e.type&&jQ[HQ]&&"string"==typeof r?e.returnValue=r:null!=r&&!r&&e.preventDefault();return r},WQ=FQ("originalInstance"),QQ=!1,ZQ=!1,YQ=!1,typeof window<"u")try{let e=Object.defineProperty({},"passive",{get:function(){YQ=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{YQ=!1}KQ={useG:!0},XQ={},JQ={},eZ=new RegExp("^"+NQ+"(\\w+)(true|false)$"),tZ=FQ("propagationStopped"),rZ=FQ("zoneTask"),wQ(nZ=ZW()),vQ(nZ)}),sZ=_(e=>{Hb(),Jb(),MH(),fy(),qb(),WW(),iZ(),S(null,null,function*(){let e=yield Lv({providers:[ab(),Ss([GW])]}),t=Wb(sH,{injector:e.injector});customElements.define("px-rpt",t)})});sZ()})()}}]); 102//# sourceMappingURL=35d85485-1208522c5bdac933fddf.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.