diff --git a/5094-es5.c69454f490850e9c5701.js b/5094-es5.c69454f490850e9c5701.js index f3e59ea02..ed35a269e 100644 --- a/5094-es5.c69454f490850e9c5701.js +++ b/5094-es5.c69454f490850e9c5701.js @@ -1 +1 @@ -!function(){"use strict";function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t=function(){return e};var e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(j){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new M(n||[]);return o(a,"_invoke",{value:k(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(j){return{type:"throw",arg:j}}}e.wrap=l;var p={};function h(){}function d(){}function m(){}var v={};s(v,a,function(){return this});var y=Object.getPrototypeOf,g=y&&y(y(_([])));g&&g!==r&&n.call(g,a)&&(v=g);var w=m.prototype=h.prototype=Object.create(v);function b(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function x(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then(function(t){r("next",t,a,c)},function(t){r("throw",t,a,c)}):e.resolve(l).then(function(t){s.value=t,a(s)},function(t){return r("throw",t,a,c)})}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e(function(e,o){r(t,n,e,o)})}return i=i?i.then(o,o):o()}})}function k(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return Z()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=f(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function E(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function L(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function _(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}function e(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw i}}}}function a(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function u(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=t.call(i,"catchLoc"),c=t.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&t.call(o,"finallyLoc")&&this.prev=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),f}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:T(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),f}},e}(self.webpackChunkmaskito=self.webpackChunkmaskito||[]).push([[7027],{27027:function(n,r,o){var u,s;o.r(r),o.d(r,{VueDocPageModule:function(){return hp}});var d={};o.r(d),o.d(d,{BaseTransition:function(){return qr},BaseTransitionPropsValidators:function(){return $r},Comment:function(){return Yi},EffectScope:function(){return Fe},Fragment:function(){return Ji},KeepAlive:function(){return ro},ReactiveEffect:function(){return Qe},Static:function(){return Xi},Suspense:function(){return Cr},Teleport:function(){return Gi},Text:function(){return Qi},Transition:function(){return Ou},TransitionGroup:function(){return zu},VueElement:function(){return Su},assertNumber:function(){return Rt},callWithAsyncErrorHandling:function(){return Lt},callWithErrorHandling:function(){return It},camelize:function(){return ce},capitalize:function(){return fe},cloneVNode:function(){return ya},compatUtils:function(){return iu},computed:function(){return Ka},createApp:function(){return Cc},createBlock:function(){return ca},createCommentVNode:function(){return Sa},createElementBlock:function(){return ua},createElementVNode:function(){return ha},createHydrationRenderer:function(){return Bi},createPropsRestProxy:function(){return ni},createRenderer:function(){return Ui},createSSRApp:function(){return Ec},createSlots:function(){return Ro},createStaticVNode:function(){return ba},createTextVNode:function(){return _a},createVNode:function(){return ga},customRef:function(){return kt},defineAsyncComponent:function(){return eo},defineComponent:function(){return Yr},defineCustomElement:function(){return _u},defineEmits:function(){return Zo},defineExpose:function(){return Ho},defineModel:function(){return Wo},defineOptions:function(){return $o},defineProps:function(){return Do},defineSSRCustomElement:function(){return bu},defineSlots:function(){return qo},devtools:function(){return er},effect:function(){return Xe},effectScope:function(){return Ue},getCurrentInstance:function(){return Ia},getCurrentScope:function(){return je},getTransitionRawChildren:function(){return Qr},guardReactiveProps:function(){return ma},h:function(){return Ja},handleError:function(){return Vt},hasInjectionContext:function(){return bi},hydrate:function(){return kc},initCustomFormatter:function(){return Xa},initDirectivesForSSR:function(){return Pc},inject:function(){return _i},isMemoSame:function(){return nu},isProxy:function(){return at},isReactive:function(){return rt},isReadonly:function(){return ot},isRef:function(){return dt},isRuntimeOnly:function(){return $a},isShallow:function(){return it},isVNode:function(){return la},markRaw:function(){return ct},mergeDefaults:function(){return Xo},mergeModels:function(){return ei},mergeProps:function(){return Ca},nextTick:function(){return qt},normalizeClass:function(){return Ce},normalizeProps:function(){return Ee},normalizeStyle:function(){return be},onActivated:function(){return io},onBeforeMount:function(){return vo},onBeforeUnmount:function(){return yo},onBeforeUpdate:function(){return go},onDeactivated:function(){return ao},onErrorCaptured:function(){return wo},onMounted:function(){return ho},onRenderTracked:function(){return xo},onRenderTriggered:function(){return So},onScopeDispose:function(){return De},onServerPrefetch:function(){return bo},onUnmounted:function(){return _o},onUpdated:function(){return mo},openBlock:function(){return ta},popScopeId:function(){return gr},provide:function(){return yi},proxyRefs:function(){return xt},pushScopeId:function(){return hr},queuePostFlushCb:function(){return Gt},reactive:function(){return Yn},readonly:function(){return et},ref:function(){return vt},registerRuntimeCompiler:function(){return Ha},render:function(){return wc},renderList:function(){return Ao},renderSlot:function(){return Io},resolveComponent:function(){return Co},resolveDirective:function(){return Oo},resolveDynamicComponent:function(){return To},resolveFilter:function(){return ou},resolveTransitionHooks:function(){return zr},setBlockTracking:function(){return ia},setDevtoolsHook:function(){return or},setTransitionHooks:function(){return Jr},shallowReactive:function(){return Xn},shallowReadonly:function(){return nt},shallowRef:function(){return ht},ssrContextKey:function(){return Qa},ssrUtils:function(){return ru},stop:function(){return en},toDisplayString:function(){return Ve},toHandlerKey:function(){return pe},toHandlers:function(){return Vo},toRaw:function(){return ut},toRef:function(){return Ot},toRefs:function(){return Ct},toValue:function(){return bt},transformVNodeArgs:function(){return fa},triggerRef:function(){return yt},unref:function(){return _t},useAttrs:function(){return Ko},useCssModule:function(){return xu},useCssVars:function(){return wu},useModel:function(){return Jo},useSSRContext:function(){return Ya},useSlots:function(){return Go},useTransitionState:function(){return Zr},vModelCheckbox:function(){return nc},vModelDynamic:function(){return cc},vModelRadio:function(){return rc},vModelSelect:function(){return oc},vModelText:function(){return ec},vShow:function(){return gc},version:function(){return tu},warn:function(){return At},watch:function(){return Vr},watchEffect:function(){return Ar},watchPostEffect:function(){return Rr},watchSyncEffect:function(){return Ir},withAsyncContext:function(){return ti},withCtx:function(){return yr},withDefaults:function(){return zo},withDirectives:function(){return jr},withKeys:function(){return hc},withMemo:function(){return eu},withModifiers:function(){return dc},withScopeId:function(){return mr}});var v=o(12057),g=o(87862),m=o(2586),y=o(52494),_=o(70997),b=o(44427),S=o(82847),x=o(60885),w=o(74788),k=o(84800),C=o(41282),E=o(64762),T=o(76991),O=new Map,P=new Map;function N(e,n){var t,r;return(0,E.mG)(this,void 0,void 0,h().mark(function o(){var i,a;return h().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return i=null!==(t=n.elementPredicate)&&void 0!==t?t:T.gI,P.set(e,i),o.next=4,i(e);case 4:a=o.sent,P.get(e)===i&&(null===(r=O.get(e))||void 0===r||r.destroy(),O.set(e,new T.C8(a,n)));case 6:case"end":return o.stop()}},o)}))}var A={unmounted:function(e){return function(e){var n;null===(n=O.get(e))||void 0===n||n.destroy(),O.delete(e),P.delete(e)}(e)},mounted:function(e,n){var t=n.value;return(0,E.mG)(void 0,void 0,void 0,h().mark(function n(){return h().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",N(e,t));case 1:case"end":return n.stop()}},n)}))},updated:function(e,n){var t=n.value,r=n.oldValue;return(0,E.mG)(void 0,void 0,void 0,h().mark(function n(){return h().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t!==r,!n.t0){n.next=4;break}return n.next=4,N(e,t);case 4:case"end":return n.stop()}},n)}))}};function R(e,n){for(var t=Object.create(null),r=e.split(","),o=0;o-1&&e.splice(t,1)},H=Object.prototype.hasOwnProperty,$=function(e,n){return H.call(e,n)},q=Array.isArray,W=function(e){return"[object Map]"===ne(e)},z=function(e){return"[object Set]"===ne(e)},G=function(e){return"[object Date]"===ne(e)},K=function(e){return"function"==typeof e},J=function(e){return"string"==typeof e},Q=function(e){return"symbol"==typeof e},Y=function(e){return null!==e&&"object"==typeof e},X=function(e){return Y(e)&&K(e.then)&&K(e.catch)},ee=Object.prototype.toString,ne=function(e){return ee.call(e)},te=function(e){return"[object Object]"===ne(e)},re=function(e){return J(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},oe=R(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ie=R("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ae=function(e){var n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}},ue=/-(\w)/g,ce=ae(function(e){return e.replace(ue,function(e,n){return n?n.toUpperCase():""})}),le=/\B([A-Z])/g,se=ae(function(e){return e.replace(le,"-$1").toLowerCase()}),fe=ae(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),pe=ae(function(e){return e?"on".concat(fe(e)):""}),de=function(e,n){return!Object.is(e,n)},ve=function(e,n){for(var t=0;t1&&(n[t[0].trim()]=t[1].trim())}}),n}function Ce(e){var n="";if(J(e))n=e;else if(q(e))for(var t=0;t")]=o,e},{})):z(t)?l({},"Set(".concat(t.size,")"),p(t.values())):!Y(t)||q(t)||te(t)?t:String(t)},Fe=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];a(this,e),this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!n&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}return c(e,[{key:"active",get:function(){return this._active}},{key:"run",value:function(e){if(this._active){var n=Le;try{return Le=this,e()}finally{Le=n}}}},{key:"on",value:function(){Le=this}},{key:"off",value:function(){Le=this.parent}},{key:"stop",value:function(e){if(this._active){var n,t;for(n=0,t=this.effects.length;n1&&void 0!==arguments[1]?arguments[1]:Le;n&&n.active&&n.effects.push(e)}function je(){return Le}function De(e){Le&&Le.cleanups.push(e)}var Ze,He=function(e){var n=new Set(e);return n.w=0,n.n=0,n},$e=function(e){return(e.w&Ge)>0},qe=function(e){return(e.n&Ge)>0},We=new WeakMap,ze=0,Ge=1,Ke=Symbol(""),Je=Symbol(""),Qe=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;a(this,e),this.fn=n,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,Be(this,r)}return c(e,[{key:"run",value:function(){if(!this.active)return this.fn();for(var e=Ze,n=nn;e;){if(e===this)return;e=e.parent}try{return this.parent=Ze,Ze=this,nn=!0,Ge=1<<++ze,ze<=30?function(e){var n=e.deps;if(n.length)for(var t=0;t=l)&&c.push(e)})}else switch(void 0!==t&&c.push(u.get(t)),n){case"add":q(e)?re(t)&&c.push(u.get("length")):(c.push(u.get(Ke)),W(e)&&c.push(u.get(Je)));break;case"delete":q(e)||(c.push(u.get(Ke)),W(e)&&c.push(u.get(Je)));break;case"set":W(e)&&c.push(u.get(Ke))}if(1===c.length)c[0]&&ln(c[0]);else{var s,f=[],d=i(c);try{for(d.s();!(s=d.n()).done;){var v=s.value;v&&f.push.apply(f,p(v))}}catch(h){d.e(h)}finally{d.f()}ln(He(f))}}}function ln(e,n){var t,r=q(e)?e:p(e),o=i(r);try{for(o.s();!(t=o.n()).done;){var a=t.value;a.computed&&sn(a)}}catch(s){o.e(s)}finally{o.f()}var u,c=i(r);try{for(c.s();!(u=c.n()).done;){var l=u.value;l.computed||sn(l)}}catch(s){c.e(s)}finally{c.f()}}function sn(e,n){(e!==Ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var fn=R("__proto__,__v_isRef,__isVue"),pn=new Set(Object.getOwnPropertyNames(Symbol).filter(function(e){return"arguments"!==e&&"caller"!==e}).map(function(e){return Symbol[e]}).filter(Q)),dn=_n(),vn=_n(!1,!0),hn=_n(!0),gn=_n(!0,!0),mn=function(){var e={};return["includes","indexOf","lastIndexOf"].forEach(function(n){e[n]=function(){for(var e=ut(this),t=0,r=this.length;t0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return n;if("__v_raw"===r&&o===(e?n?Qn:Jn:n?Kn:Gn).get(t))return t;var i=q(t);if(!e){if(i&&$(mn,r))return Reflect.get(mn,r,o);if("hasOwnProperty"===r)return yn}var a=Reflect.get(t,r,o);return(Q(r)?pn.has(r):fn(r))||(e||an(t,0,r),n)?a:dt(a)?i&&re(r)?a:a.value:Y(a)?e?et(a):Yn(a):a}}function bn(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,t,r,o){var i=n[t];if(ot(i)&&dt(i)&&!dt(r))return!1;if(!e&&(!it(r)&&!ot(r)&&(i=ut(i),r=ut(r)),!q(n)&&dt(i)&&!dt(r)))return i.value=r,!0;var a=q(n)&&re(t)?Number(t)2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=ut(e=e.__v_raw),i=ut(n);t||(n!==i&&an(o,0,n),an(o,0,i));var a=En(o),u=a.has,c=r?Cn:t?st:lt;return u.call(o,n)?c(e.get(n)):u.call(o,i)?c(e.get(i)):void(e!==o&&e.get(n))}function On(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=this.__v_raw,r=ut(t),o=ut(e);return n||(e!==o&&an(r,0,e),an(r,0,o)),e===o?t.has(e):t.has(e)||t.has(o)}function Pn(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!n&&an(ut(e),0,Ke),Reflect.get(e,"size",e)}function Nn(e){e=ut(e);var n=ut(this);return En(n).has.call(n,e)||(n.add(e),cn(n,"add",e,e)),this}function An(e,n){n=ut(n);var t=ut(this),r=En(t),o=r.has,i=r.get,a=o.call(t,e);a||(e=ut(e),a=o.call(t,e));var u=i.call(t,e);return t.set(e,n),a?de(n,u)&&cn(t,"set",e,n):cn(t,"add",e,n),this}function Rn(e){var n=ut(this),t=En(n),r=t.has,o=t.get,i=r.call(n,e);i||(e=ut(e),i=r.call(n,e)),o&&o.call(n,e);var a=n.delete(e);return i&&cn(n,"delete",e,void 0),a}function In(){var e=ut(this),n=0!==e.size,t=e.clear();return n&&cn(e,"clear",void 0,void 0),t}function Ln(e,n){return function(t,r){var o=this,i=o.__v_raw,a=ut(i),u=n?Cn:e?st:lt;return!e&&an(a,0,Ke),i.forEach(function(e,n){return t.call(r,u(e),u(n),o)})}}function Vn(e,n,t){return function(){var r=this.__v_raw,o=ut(r),i=W(o),a="entries"===e||e===Symbol.iterator&&i,u="keys"===e&&i,c=r[e].apply(r,arguments),s=t?Cn:n?st:lt;return!n&&an(o,0,u?Je:Ke),l({next:function(){var e=c.next(),n=e.value,t=e.done;return t?{value:n,done:t}:{value:a?[s(n[0]),s(n[1])]:s(n),done:t}}},Symbol.iterator,function(){return this})}}function Mn(e){return function(){return"delete"!==e&&this}}var Fn=function(){var e={get:function(e){return Tn(this,e)},get size(){return Pn(this)},has:On,add:Nn,set:An,delete:Rn,clear:In,forEach:Ln(!1,!1)},n={get:function(e){return Tn(this,e,!1,!0)},get size(){return Pn(this)},has:On,add:Nn,set:An,delete:Rn,clear:In,forEach:Ln(!1,!0)},t={get:function(e){return Tn(this,e,!0)},get size(){return Pn(this,!0)},has:function(e){return On.call(this,e,!0)},add:Mn("add"),set:Mn("set"),delete:Mn("delete"),clear:Mn("clear"),forEach:Ln(!0,!1)},r={get:function(e){return Tn(this,e,!0,!0)},get size(){return Pn(this,!0)},has:function(e){return On.call(this,e,!0)},add:Mn("add"),set:Mn("set"),delete:Mn("delete"),clear:Mn("clear"),forEach:Ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(function(o){e[o]=Vn(o,!1,!1),t[o]=Vn(o,!0,!1),n[o]=Vn(o,!1,!0),r[o]=Vn(o,!0,!0)}),[e,t,n,r]}(),Un=f(Fn,4),Bn=Un[0],jn=Un[1],Dn=Un[2],Zn=Un[3];function Hn(e,n){var t=n?e?Zn:Dn:e?jn:Bn;return function(n,r,o){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?n:Reflect.get($(t,r)&&r in n?t:n,r,o)}}var $n={get:Hn(!1,!1)},qn={get:Hn(!1,!0)},Wn={get:Hn(!0,!1)},zn={get:Hn(!0,!0)},Gn=new WeakMap,Kn=new WeakMap,Jn=new WeakMap,Qn=new WeakMap;function Yn(e){return ot(e)?e:tt(e,!1,Sn,$n,Gn)}function Xn(e){return tt(e,!1,wn,qn,Kn)}function et(e){return tt(e,!0,xn,Wn,Jn)}function nt(e){return tt(e,!0,kn,zn,Qn)}function tt(e,n,t,r,o){if(!Y(e)||e.__v_raw&&(!n||!e.__v_isReactive))return e;var i=o.get(e);if(i)return i;var a=function(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(function(e){return ne(e).slice(8,-1)}(e))}(e);if(0===a)return e;var u=new Proxy(e,2===a?r:t);return o.set(e,u),u}function rt(e){return ot(e)?rt(e.__v_raw):!(!e||!e.__v_isReactive)}function ot(e){return!(!e||!e.__v_isReadonly)}function it(e){return!(!e||!e.__v_isShallow)}function at(e){return rt(e)||ot(e)}function ut(e){var n=e&&e.__v_raw;return n?ut(n):e}function ct(e){return he(e,"__v_skip",!0),e}var lt=function(e){return Y(e)?Yn(e):e},st=function(e){return Y(e)?et(e):e};function ft(e){nn&&Ze&&un((e=ut(e)).dep||(e.dep=He()))}function pt(e,n){var t=(e=ut(e)).dep;t&&ln(t)}function dt(e){return!(!e||!0!==e.__v_isRef)}function vt(e){return gt(e,!1)}function ht(e){return gt(e,!0)}function gt(e,n){return dt(e)?e:new mt(e,n)}var mt=function(){function e(n,t){a(this,e),this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?n:ut(n),this._value=t?n:lt(n)}return c(e,[{key:"value",get:function(){return ft(this),this._value},set:function(e){var n=this.__v_isShallow||it(e)||ot(e);e=n?e:ut(e),de(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:lt(e),pt(this))}}]),e}();function yt(e){pt(e)}function _t(e){return dt(e)?e.value:e}function bt(e){return K(e)?e():_t(e)}var St={get:function(e,n,t){return _t(Reflect.get(e,n,t))},set:function(e,n,t,r){var o=e[n];return dt(o)&&!dt(t)?(o.value=t,!0):Reflect.set(e,n,t,r)}};function xt(e){return rt(e)?e:new Proxy(e,St)}var wt=function(){function e(n){var t=this;a(this,e),this.dep=void 0,this.__v_isRef=!0;var r=n(function(){return ft(t)},function(){return pt(t)}),o=r.get,i=r.set;this._get=o,this._set=i}return c(e,[{key:"value",get:function(){return this._get()},set:function(e){this._set(e)}}]),e}();function kt(e){return new wt(e)}function Ct(e){var n=q(e)?new Array(e.length):{};for(var t in e)n[t]=Pt(e,t);return n}var Et=function(){function e(n,t,r){a(this,e),this._object=n,this._key=t,this._defaultValue=r,this.__v_isRef=!0}return c(e,[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}},{key:"dep",get:function(){return function(e,n){var t;return null==(t=We.get(e))?void 0:t.get(n)}(ut(this._object),this._key)}}]),e}(),Tt=function(){function e(n){a(this,e),this._getter=n,this.__v_isRef=!0,this.__v_isReadonly=!0}return c(e,[{key:"value",get:function(){return this._getter()}}]),e}();function Ot(e,n,t){return dt(e)?e:K(e)?new Tt(e):Y(e)&&arguments.length>1?Pt(e,n,t):vt(e)}function Pt(e,n,t){var r=e[n];return dt(r)?r:new Et(e,n,t)}var Nt=function(){function e(n,t,r,o){var i=this;a(this,e),this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Qe(n,function(){i._dirty||(i._dirty=!0,pt(i))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}return c(e,[{key:"value",get:function(){var e=ut(this);return ft(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}();function At(e){}function Rt(e,n){}function It(e,n,t,r){var o;try{o=r?e.apply(void 0,p(r)):e()}catch(i){Vt(i,n,t)}return o}function Lt(e,n,t,r){if(K(e)){var o=It(e,n,t,r);return o&&X(o)&&o.catch(function(e){Vt(e,n,t)}),o}for(var i=[],a=0;a3&&void 0!==arguments[3])||arguments[3];if(n){for(var o=n.parent,i=n.proxy,a=t;o;){var u=o.ec;if(u)for(var c=0;c>>1;Qt(Ut[r])1&&void 0!==arguments[1]?arguments[1]:Mt?Bt+1:0;n1?t-1:0),o=1;o2?r-2:0),i=2;i2&&void 0!==arguments[2]&&arguments[2],r=n.emitsCache,o=r.get(e);if(void 0!==o)return o;var i=e.emits,a={},u=!1;if(__VUE_OPTIONS_API__&&!K(e)){var c=function(e){var t=sr(e,n,!0);t&&(u=!0,D(a,t))};!t&&n.mixins.length&&n.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return i||u?(q(i)?i.forEach(function(e){return a[e]=null}):D(a,i),Y(e)&&r.set(e,a),a):(Y(e)&&r.set(e,null),null)}function fr(e,n){return!(!e||!B(n))&&(n=n.slice(2).replace(/Once$/,""),$(e,n[0].toLowerCase()+n.slice(1))||$(e,se(n))||$(e,n))}var pr=null,dr=null;function vr(e){var n=pr;return pr=e,dr=e&&e.type.__scopeId||null,n}function hr(e){dr=e}function gr(){dr=null}var mr=function(e){return yr};function yr(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pr;if(!n||e._n)return e;var t=function t(){t._d&&ia(-1);var r,o=vr(n);try{r=e.apply(void 0,arguments)}finally{vr(o),t._d&&ia(1)}return __VUE_PROD_DEVTOOLS__&&ar(n),r};return t._n=!0,t._c=!0,t._d=!0,t}function _r(e){var n,t,r=e.type,o=e.vnode,i=e.proxy,a=e.withProxy,u=e.props,c=f(e.propsOptions,1)[0],l=e.slots,s=e.attrs,p=e.emit,d=e.render,v=e.renderCache,h=e.data,g=e.setupState,m=e.ctx,y=e.inheritAttrs,_=vr(e);try{if(4&o.shapeFlag){var b=a||i;n=xa(d.call(b,b,v,u,g,h,m)),t=s}else n=xa(r(u,r.length>1?{attrs:s,slots:l,emit:p}:null)),t=r.props?s:br(s)}catch(b){ea.length=0,Vt(b,e,1),n=ga(Yi)}var S=n;if(t&&!1!==y){var x=Object.keys(t),w=S.shapeFlag;x.length&&7&w&&(c&&x.some(j)&&(t=Sr(t,c)),S=ya(S,t))}return o.dirs&&((S=ya(S)).dirs=S.dirs?S.dirs.concat(o.dirs):o.dirs),o.transition&&(S.transition=o.transition),n=S,vr(_),n}var br=function(e){var n;for(var t in e)("class"===t||"style"===t||B(t))&&((n||(n={}))[t]=e[t]);return n},Sr=function(e,n){var t={};for(var r in e)(!j(r)||!(r.slice(9)in n))&&(t[r]=e[r]);return t};function xr(e,n,t){var r=Object.keys(n);if(r.length!==Object.keys(e).length)return!0;for(var o=0;o0?(Er(e,"onPending"),Er(e,"onFallback"),l(null,e.ssFallback,n,t,r,null,i,a),Nr(f,e.ssFallback)):f.resolve(!1,!0)}(n,t,r,o,i,a,u,c,l):function(e,n,t,r,o,i,a,u,c){var l=c.p,s=c.um,f=c.o.createElement,p=n.suspense=e.suspense;p.vnode=n,n.el=e.el;var d=n.ssContent,v=n.ssFallback,h=p.activeBranch,g=p.pendingBranch,m=p.isInFallback,y=p.isHydrating;if(g)p.pendingBranch=d,sa(d,g)?(l(g,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0?p.resolve():m&&(l(h,v,t,r,o,null,i,a,u),Nr(p,v))):(p.pendingId++,y?(p.isHydrating=!1,p.activeBranch=g):s(g,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=f("div"),m?(l(null,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0?p.resolve():(l(h,v,t,r,o,null,i,a,u),Nr(p,v))):h&&sa(d,h)?(l(h,d,t,r,o,p,i,a,u),p.resolve(!0)):(l(null,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0&&p.resolve()));else if(h&&sa(d,h))l(h,d,t,r,o,p,i,a,u),Nr(p,d);else if(Er(n,"onPending"),p.pendingBranch=d,p.pendingId++,l(null,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0)p.resolve();else{var _=p.timeout,b=p.pendingId;_>0?setTimeout(function(){p.pendingId===b&&p.fallback(v)},_):0===_&&p.fallback(v)}}(e,n,t,r,o,a,u,c,l)},hydrate:function(e,n,t,r,o,i,a,u,c){var l=n.suspense=Tr(n,r,t,e.parentNode,document.createElement("div"),null,o,i,a,u,!0),s=c(e,l.pendingBranch=n.ssContent,t,l,i,a);return 0===l.deps&&l.resolve(!1,!0),s},create:Tr,normalize:function(e){var n=e.shapeFlag,t=e.children,r=32&n;e.ssContent=Or(r?t.default:t),e.ssFallback=r?Or(t.fallback):ga(Yi)}};function Er(e,n){var t=e.props&&e.props[n];K(t)&&t()}function Tr(e,n,t,r,o,i,a,u,c,l){var s,f=arguments.length>10&&void 0!==arguments[10]&&arguments[10],d=l.p,v=l.m,h=l.um,g=l.n,m=l.o,y=m.parentNode,_=m.remove,b=function(e){var n;return null!=(null==(n=e.props)?void 0:n.suspensible)&&!1!==e.props.suspensible}(e);b&&(null==n?void 0:n.pendingBranch)&&(s=n.pendingId,n.deps++);var S=e.props?me(e.props.timeout):void 0,x={vnode:e,parent:n,parentComponent:t,isSVG:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof S?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=x.vnode,o=x.activeBranch,i=x.pendingBranch,a=x.pendingId,u=x.effects,c=x.parentComponent,l=x.container;if(x.isHydrating)x.isHydrating=!1;else if(!e){var f=o&&i.transition&&"out-in"===i.transition.mode;f&&(o.transition.afterLeave=function(){a===x.pendingId&&v(i,l,d,0)});var d=x.anchor;o&&(d=g(o),h(o,c,x,!0)),f||v(i,l,d,0)}Nr(x,i),x.pendingBranch=null,x.isInFallback=!1;for(var m=x.parent,y=!1;m;){if(m.pendingBranch){var _;(_=m.effects).push.apply(_,p(u)),y=!0;break}m=m.parent}y||Gt(u),x.effects=[],b&&n&&n.pendingBranch&&s===n.pendingId&&(n.deps--,0===n.deps&&!t&&n.resolve()),Er(r,"onResolve")},fallback:function(e){if(x.pendingBranch){var n=x.vnode,t=x.activeBranch,r=x.parentComponent,o=x.container,i=x.isSVG;Er(n,"onFallback");var a=g(t),l=function(){!x.isInFallback||(d(null,e,o,a,r,null,i,u,c),Nr(x,e))},s=e.transition&&"out-in"===e.transition.mode;s&&(t.transition.afterLeave=l),x.isInFallback=!0,h(t,r,null,!0),s||l()}},move:function(e,n,t){x.activeBranch&&v(x.activeBranch,e,n,t),x.container=e},next:function(){return x.activeBranch&&g(x.activeBranch)},registerDep:function(e,n){var t=!!x.pendingBranch;t&&x.deps++;var r=e.vnode.el;e.asyncDep.catch(function(n){Vt(n,e,0)}).then(function(o){if(!e.isUnmounted&&!x.isUnmounted&&x.pendingId===e.suspenseId){e.asyncResolved=!0;var i=e.vnode;Za(e,o,!1),r&&(i.el=r);var u=!r&&e.subTree.el;n(e,i,y(r||e.subTree.el),r?null:g(e.subTree),x,a,c),u&&_(u),wr(e,i.el),t&&0==--x.deps&&x.resolve()}})},unmount:function(e,n){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,t,e,n),x.pendingBranch&&h(x.pendingBranch,t,e,n)}};return x}function Or(e){var n;if(K(e)){var t=oa&&e._c;t&&(e._d=!1,ta()),e=e(),t&&(e._d=!0,n=na,ra())}return q(e)&&(e=function(e){for(var n,t=0;t2&&void 0!==arguments[2]?arguments[2]:L,i=o.immediate,a=o.deep,u=o.flush,c=je()===(null==(t=Ra)?void 0:t.scope)?Ra:null,l=!1,s=!1;if(dt(e)?(r=function(){return e.value},l=it(e)):rt(e)?(r=function(){return e},a=!0):q(e)?(s=!0,l=e.some(function(e){return rt(e)||it(e)}),r=function(){return e.map(function(e){return dt(e)?e.value:rt(e)?Br(e):K(e)?It(e,c,2):void 0})}):r=K(e)?n?function(){return It(e,c,2)}:function(){if(!c||!c.isUnmounted)return p&&p(),Lt(e,c,3,[v])}:M,n&&a){var f=r;r=function(){return Br(f())}}var p,d,v=function(e){p=_.onStop=function(){It(e,c,4)}};if(ja){if(v=M,n?i&&Lt(n,c,3,[r(),s?[]:void 0,v]):r(),"sync"!==u)return M;var h=Ya();d=h.__watcherHandles||(h.__watcherHandles=[])}var g,m=s?new Array(e.length).fill(Lr):Lr,y=function(){if(_.active)if(n){var e=_.run();(a||l||(s?e.some(function(e,n){return de(e,m[n])}):de(e,m)))&&(p&&p(),Lt(n,c,3,[e,m===Lr?void 0:s&&m[0]===Lr?[]:m,v]),m=e)}else _.run()};y.allowRecurse=!!n,"sync"===u?g=y:"post"===u?g=function(){return Fi(y,c&&c.suspense)}:(y.pre=!0,c&&(y.id=c.uid),g=function(){return Wt(y)});var _=new Qe(r,g);n?i?y():m=_.run():"post"===u?Fi(_.run.bind(_),c&&c.suspense):_.run();var b=function(){_.stop(),c&&c.scope&&Z(c.scope.effects,_)};return d&&d.push(b),b}function Fr(e,n,t){var r,o=this.proxy,i=J(e)?e.includes(".")?Ur(o,e):function(){return o[e]}:e.bind(o,o);K(n)?r=n:(r=n.handler,t=n);var a=Ra;Va(this);var u=Mr(i,r.bind(o),t);return a?Va(a):Ma(),u}function Ur(e,n){var t=n.split(".");return function(){for(var n=e,r=0;r1){var c,l=i(n);try{for(l.s();!(c=l.n()).done;){var s=c.value;if(s.type!==Yi){u=s,!0;break}}}catch(S){l.e(S)}finally{l.f()}}var f=ut(e),p=f.mode;if(a.isLeaving)return Gr(u);var d=Kr(u);if(!d)return Gr(u);var v=zr(d,f,a,o);Jr(d,v);var h=o.subTree,g=h&&Kr(h),m=!1,y=d.type.getTransitionKey;if(y){var _=y();void 0===t?t=_:_!==t&&(t=_,m=!0)}if(g&&g.type!==Yi&&(!sa(d,g)||m)){var b=zr(g,f,a,o);if(Jr(g,b),"out-in"===p)return a.isLeaving=!0,b.afterLeave=function(){a.isLeaving=!1,!1!==o.update.active&&o.update()},Gr(u);"in-out"===p&&d.type!==Yi&&(b.delayLeave=function(e,n,t){Wr(a,g)[String(g.key)]=g,e._leaveCb=function(){n(),e._leaveCb=void 0,delete v.delayedLeave},v.delayedLeave=t})}return u}}}};function Wr(e,n){var t=e.leavingVNodes,r=t.get(n.type);return r||(r=Object.create(null),t.set(n.type,r)),r}function zr(e,n,t,r){var o=n.appear,i=n.mode,a=n.persisted,u=void 0!==a&&a,c=n.onBeforeEnter,l=n.onEnter,s=n.onAfterEnter,f=n.onEnterCancelled,p=n.onBeforeLeave,d=n.onLeave,v=n.onAfterLeave,h=n.onLeaveCancelled,g=n.onBeforeAppear,m=n.onAppear,y=n.onAfterAppear,_=n.onAppearCancelled,b=String(e.key),S=Wr(t,e),x=function(e,n){e&&Lt(e,r,9,n)},w=function(e,n){var t=n[1];x(e,n),q(e)?e.every(function(e){return e.length<=1})&&t():e.length<=1&&t()},k={mode:i,persisted:u,beforeEnter:function(n){var r=c;if(!t.isMounted){if(!o)return;r=g||c}n._leaveCb&&n._leaveCb(!0);var i=S[b];i&&sa(e,i)&&i.el._leaveCb&&i.el._leaveCb(),x(r,[n])},enter:function(e){var n=l,r=s,i=f;if(!t.isMounted){if(!o)return;n=m||l,r=y||s,i=_||f}var a=!1,u=e._enterCb=function(n){a||(a=!0,x(n?i:r,[e]),k.delayedLeave&&k.delayedLeave(),e._enterCb=void 0)};n?w(n,[e,u]):u()},leave:function(n,r){var o=String(e.key);if(n._enterCb&&n._enterCb(!0),t.isUnmounting)return r();x(p,[n]);var i=!1,a=n._leaveCb=function(t){i||(i=!0,r(),x(t?h:v,[n]),n._leaveCb=void 0,S[o]===e&&delete S[o])};S[o]=e,d?w(d,[n,a]):a()},clone:function(e){return zr(e,n,t,r)}};return k}function Gr(e){if(to(e))return(e=ya(e)).children=null,e}function Kr(e){return to(e)?e.children?e.children[0]:void 0:e}function Jr(e,n){6&e.shapeFlag&&e.component?Jr(e.component.subTree,n):128&e.shapeFlag?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Qr(e){for(var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2?arguments[2]:void 0,r=[],o=0,i=0;i1)for(var c=0;c1)return u=null,n;if(!la(r)||!(4&r.shapeFlag||128&r.shapeFlag))return u=null,r;var o=so(r),c=o.type,l=Ga(Xr(o)?o.type.__asyncResolved||{}:c),s=e.include,f=e.exclude,p=e.max;if(s&&(!l||!oo(s,l))||f&&l&&oo(f,l))return u=o,r;var d=null==o.key?c:o.key,v=i.get(d);return o.el&&(o=ya(o),128&r.shapeFlag&&(r.ssContent=o)),y=d,v?(o.el=v.el,o.component=v.component,o.transition&&Jr(o,o.transition),o.shapeFlag|=512,a.delete(d),a.add(d)):(a.add(d),p&&a.size>parseInt(p,10)&&m(a.values().next().value)),o.shapeFlag|=256,u=o,kr(r.type)?r:o}}};function oo(e,n){return q(e)?e.some(function(e){return oo(e,n)}):J(e)?e.split(",").includes(n):!!function(e){return"[object RegExp]"===ne(e)}(e)&&e.test(n)}function io(e,n){uo(e,"a",n)}function ao(e,n){uo(e,"da",n)}function uo(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ra,r=e.__wdc||(e.__wdc=function(){for(var n=t;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(fo(n,r,t),t)for(var o=t.parent;o&&o.parent;)to(o.parent.vnode)&&co(r,n,t,o),o=o.parent}function co(e,n,t,r){var o=fo(n,e,r,!0);_o(function(){Z(r[n],o)},t)}function lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function so(e){return 128&e.shapeFlag?e.ssContent:e}function fo(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ra,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(t){var o=t[e]||(t[e]=[]),i=n.__weh||(n.__weh=function(){if(!t.isUnmounted){rn(),Va(t);for(var r=arguments.length,o=new Array(r),i=0;i1&&void 0!==arguments[1]?arguments[1]:Ra;return(!ja||"sp"===e)&&fo(e,function(){return n.apply(void 0,arguments)},t)}},vo=po("bm"),ho=po("m"),go=po("bu"),mo=po("u"),yo=po("bum"),_o=po("um"),bo=po("sp"),So=po("rtg"),xo=po("rtc");function wo(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ra;fo("ec",e,n)}var ko="components";function Co(e,n){return Po(ko,e,!0,n)||e}var Eo=Symbol.for("v-ndc");function To(e){return J(e)?Po(ko,e,!1)||e:e||Eo}function Oo(e){return Po("directives",e)}function Po(e,n){var t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=pr||Ra;if(r){var o=r.type;if(e===ko){var i=Ga(o,!1);if(i&&(i===n||i===ce(n)||i===fe(ce(n))))return o}var a=No(r[e]||o[e],n)||No(r.appContext[e],n);return!a&&t?o:a}}function No(e,n){return e&&(e[n]||e[ce(n)]||e[fe(ce(n))])}function Ao(e,n,t,r){var o,i=t&&t[r];if(q(e)||J(e)){o=new Array(e.length);for(var a=0,u=e.length;a2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(pr.isCE||pr.parent&&Xr(pr.parent)&&pr.parent.isCE)return"default"!==n&&(t.name=n),ga("slot",t,r&&r());var i=e[n];i&&i._c&&(i._d=!1),ta();var a=i&&Lo(i(t)),u=ca(Ji,{key:t.key||a&&a.key||"_".concat(n)},a||(r?r():[]),a&&1===e._?64:-2);return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function Lo(e){return e.some(function(e){return!la(e)||!(e.type===Yi||e.type===Ji&&!Lo(e.children))})?e:null}function Vo(e,n){var t={};for(var r in e)t[n&&/[A-Z]/.test(r)?"on:".concat(r):pe(r)]=e[r];return t}var Mo=function e(n){return n?Fa(n)?za(n)||n.proxy:e(n.parent):null},Fo=D(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return Mo(e.parent)},$root:function(e){return Mo(e.root)},$emit:function(e){return e.emit},$options:function(e){return __VUE_OPTIONS_API__?ai(e):e.type},$forceUpdate:function(e){return e.f||(e.f=function(){return Wt(e.update)})},$nextTick:function(e){return e.n||(e.n=qt.bind(e.proxy))},$watch:function(e){return __VUE_OPTIONS_API__?Fr.bind(e):M}}),Uo=function(e,n){return e!==L&&!e.__isScriptSetup&&$(e,n)},Bo={get:function(e,n){var t,r=e._,o=r.ctx,i=r.setupState,a=r.data,u=r.props,c=r.accessCache,l=r.type,s=r.appContext;if("$"!==n[0]){var f=c[n];if(void 0!==f)switch(f){case 1:return i[n];case 2:return a[n];case 4:return o[n];case 3:return u[n]}else{if(Uo(i,n))return c[n]=1,i[n];if(a!==L&&$(a,n))return c[n]=2,a[n];if((t=r.propsOptions[0])&&$(t,n))return c[n]=3,u[n];if(o!==L&&$(o,n))return c[n]=4,o[n];(!__VUE_OPTIONS_API__||ri)&&(c[n]=0)}}var p,d,v=Fo[n];return v?("$attrs"===n&&an(r,0,n),v(r)):(p=l.__cssModules)&&(p=p[n])?p:o!==L&&$(o,n)?(c[n]=4,o[n]):(d=s.config.globalProperties,$(d,n)?d[n]:void 0)},set:function(e,n,t){var r=e._,o=r.data,i=r.setupState,a=r.ctx;return Uo(i,n)?(i[n]=t,!0):o!==L&&$(o,n)?(o[n]=t,!0):!($(r.props,n)||"$"===n[0]&&n.slice(1)in r||(a[n]=t,0))},has:function(e,n){var t,r=e._,o=r.data,i=r.setupState,a=r.accessCache,u=r.ctx,c=r.appContext,l=r.propsOptions;return!!a[n]||o!==L&&$(o,n)||Uo(i,n)||(t=l[0])&&$(t,n)||$(u,n)||$(Fo,n)||$(c.config.globalProperties,n)},defineProperty:function(e,n,t){return null!=t.get?e._.accessCache[n]=0:$(t,"value")&&this.set(e,n,t.value,null),Reflect.defineProperty(e,n,t)}},jo=D({},Bo,{get:function(e,n){if(n!==Symbol.unscopables)return Bo.get(e,n,e)},has:function(e,n){return"_"!==n[0]&&!_e(n)}});function Do(){return null}function Zo(){return null}function Ho(e){}function $o(e){}function qo(){return null}function Wo(){}function zo(e,n){return null}function Go(){return Qo().slots}function Ko(){return Qo().attrs}function Jo(e,n,t){var r=Ia();if(t&&t.local){var o=vt(e[n]);return Vr(function(){return e[n]},function(e){return o.value=e}),Vr(o,function(t){t!==e[n]&&r.emit("update:".concat(n),t)}),o}return{__v_isRef:!0,get value(){return e[n]},set value(e){r.emit("update:".concat(n),e)}}}function Qo(){var e=Ia();return e.setupContext||(e.setupContext=Wa(e))}function Yo(e){return q(e)?e.reduce(function(e,n){return e[n]=null,e},{}):e}function Xo(e,n){var t=Yo(e);for(var r in n)if(!r.startsWith("__skip")){var o=t[r];o?q(o)||K(o)?o=t[r]={type:o,default:n[r]}:o.default=n[r]:null===o&&(o=t[r]={default:n[r]}),o&&n["__skip_".concat(r)]&&(o.skipFactory=!0)}return t}function ei(e,n){return e&&n?q(e)&&q(n)?e.concat(n):D({},Yo(e),Yo(n)):e||n}function ni(e,n){var t={},r=function(r){n.includes(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})};for(var o in e)r(o);return t}function ti(e){var n=Ia(),t=e();return Ma(),X(t)&&(t=t.catch(function(e){throw Va(n),e})),[t,function(){return Va(n)}]}var ri=!0;function oi(e,n,t){Lt(q(e)?e.map(function(e){return e.bind(n.proxy)}):e.bind(n.proxy),n,t)}function ii(e,n,t,r){var o=r.includes(".")?Ur(t,r):function(){return t[r]};if(J(e)){var i=n[e];K(i)&&Vr(o,i)}else if(K(e))Vr(o,e.bind(t));else if(Y(e))if(q(e))e.forEach(function(e){return ii(e,n,t,r)});else{var a=K(e.handler)?e.handler.bind(t):n[e.handler];K(a)&&Vr(o,a,e)}}function ai(e){var n,t=e.type,r=t.mixins,o=t.extends,i=e.appContext,a=i.mixins,u=i.optionsCache,c=i.config.optionMergeStrategies,l=u.get(t);return l?n=l:a.length||r||o?(n={},a.length&&a.forEach(function(e){return ui(n,e,c,!0)}),ui(n,t,c)):n=t,Y(t)&&u.set(t,n),n}function ui(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.mixins,i=n.extends;for(var a in i&&ui(e,i,t,!0),o&&o.forEach(function(n){return ui(e,n,t,!0)}),n)if(!r||"expose"!==a){var u=ci[a]||t&&t[a];e[a]=u?u(e[a],n[a]):n[a]}return e}var ci={data:li,props:di,emits:di,methods:pi,computed:pi,beforeCreate:fi,created:fi,beforeMount:fi,mounted:fi,beforeUpdate:fi,updated:fi,beforeDestroy:fi,beforeUnmount:fi,destroyed:fi,unmounted:fi,activated:fi,deactivated:fi,errorCaptured:fi,serverPrefetch:fi,components:pi,directives:pi,watch:function(e,n){if(!e)return n;if(!n)return e;var t=D(Object.create(null),e);for(var r in n)t[r]=fi(e[r],n[r]);return t},provide:li,inject:function(e,n){return pi(si(e),si(n))}};function li(e,n){return n?e?function(){return D(K(e)?e.call(this,this):e,K(n)?n.call(this,this):n)}:n:e}function si(e){if(q(e)){for(var n={},t=0;t1&&void 0!==arguments[1]?arguments[1]:null;K(t)||(t=D({},t)),null!=r&&!Y(r)&&(r=null);var o=vi(),i=new Set,a=!1,u=o.app={_uid:hi++,_component:t,_props:r,_container:null,_context:o,_instance:null,version:tu,get config(){return o.config},set config(e){},use:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r2&&void 0!==arguments[2]&&arguments[2],r=Ra||pr;if(r||mi){var o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:mi._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return t&&K(n)?n.call(r&&r.proxy):n}}function bi(){return!!(Ra||pr||mi)}function Si(e,n,t,r){var o,i=f(e.propsOptions,2),a=i[0],u=i[1],c=!1;if(n)for(var l in n)if(!oe(l)){var s=n[l],p=void 0;a&&$(a,p=ce(l))?u&&u.includes(p)?(o||(o={}))[p]=s:t[p]=s:fr(e.emitsOptions,l)||(!(l in r)||s!==r[l])&&(r[l]=s,c=!0)}if(u)for(var d=ut(t),v=o||L,h=0;h2&&void 0!==arguments[2]&&arguments[2],r=n.propsCache,o=r.get(e);if(o)return o;var i=e.props,a={},u=[],c=!1;if(__VUE_OPTIONS_API__&&!K(e)){var l=function(e){c=!0;var t=f(wi(e,n,!0),2),r=t[0],o=t[1];D(a,r),o&&u.push.apply(u,p(o))};!t&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!i&&!c)return Y(e)&&r.set(e,V),V;if(q(i))for(var s=0;s-1,m[1]=_<0||y<_,(y>-1||$(m,"default"))&&u.push(h)}}}var b=[a,u];return Y(e)&&r.set(e,b),b}function ki(e){return"$"!==e[0]}function Ci(e){var n=e&&e.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:null===e?"null":""}function Ei(e,n){return Ci(e)===Ci(n)}function Ti(e,n){return q(n)?n.findIndex(function(n){return Ei(n,e)}):K(n)&&Ei(n,e)?0:-1}var Oi=function(e){return"_"===e[0]||"$stable"===e},Pi=function(e){return q(e)?e.map(xa):[xa(e)]},Ni=function(e,n,t){var r=e._ctx,o=function(){if(Oi(i))return"continue";var t=e[i];if(K(t))n[i]=function(e,n,t){if(n._n)return n;var r=yr(function(){return Pi(n.apply(void 0,arguments))},t);return r._c=!1,r}(0,t,r);else if(null!=t){var o=Pi(t);n[i]=function(){return o}}};for(var i in e)o()},Ai=function(e,n){var t=Pi(n);e.slots.default=function(){return t}};function Ri(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(q(e))e.forEach(function(e,i){return Ri(e,n&&(q(n)?n[i]:n),t,r,o)});else if(!Xr(r)||o){var i=4&r.shapeFlag?za(r.component)||r.component.proxy:r.el,a=o?null:i,u=e.i,c=e.r,l=n&&n.r,s=u.refs===L?u.refs={}:u.refs,f=u.setupState;if(null!=l&&l!==c&&(J(l)?(s[l]=null,$(f,l)&&(f[l]=null)):dt(l)&&(l.value=null)),K(c))It(c,u,12,[a,s]);else{var p=J(c),d=dt(c);if(p||d){var v=function(){if(e.f){var n=p?$(f,c)?f[c]:s[c]:c.value;o?q(n)&&Z(n,i):q(n)?n.includes(i)||n.push(i):p?(s[c]=[i],$(f,c)&&(f[c]=s[c])):(c.value=[i],e.k&&(s[e.k]=c.value))}else p?(s[c]=a,$(f,c)&&(f[c]=a)):d&&(c.value=a,e.k&&(s[e.k]=a))};a?(v.id=-1,Fi(v,t)):v()}}}}var Ii=!1,Li=function(e){return/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName},Vi=function(e){return 8===e.nodeType};function Mi(e){var n=e.mt,t=e.p,r=e.o,o=r.patchProp,i=r.createText,a=r.nextSibling,u=r.parentNode,c=r.remove,l=r.insert,s=r.createComment,f=function t(r,o,c,s,f){var m=arguments.length>5&&void 0!==arguments[5]&&arguments[5],y=Vi(r)&&"["===r.data,_=function(){return h(r,o,c,s,f,y)},b=o.type,S=o.ref,x=o.shapeFlag,w=o.patchFlag,k=r.nodeType;o.el=r,-2===w&&(m=!1,o.dynamicChildren=null);var C=null;switch(b){case Qi:3!==k?""===o.children?(l(o.el=i(""),u(r),r),C=r):C=_():(r.data!==o.children&&(Ii=!0,r.data=o.children),C=a(r));break;case Yi:C=8!==k||y?_():a(r);break;case Xi:if(y&&(k=(r=a(r)).nodeType),1===k||3===k){C=r;for(var E=!o.children.length,T=0;T3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!n.dynamicChildren;if(e!==n){e&&!sa(e,n)&&(r=Q(e),W(e,o,i,!0),e=null),-2===n.patchFlag&&(c=!1,n.dynamicChildren=null);var l=n.type,s=n.ref,f=n.shapeFlag;switch(l){case Qi:S(e,n,t,r);break;case Yi:x(e,n,t,r);break;case Xi:null==e&&w(n,t,r,a);break;case Ji:A(e,n,t,r,o,i,a,u,c);break;default:1&f?k(e,n,t,r,o,i,a,u,c):6&f?R(e,n,t,r,o,i,a,u,c):(64&f||128&f)&&l.process(e,n,t,r,o,i,a,u,c,X)}null!=s&&o&&Ri(s,e&&e.ref,i,n||e,!n)}},S=function(e,n,t,r){if(null==e)a(n.el=s(n.children),t,r);else{var o=n.el=e.el;n.children!==e.children&&d(o,n.children)}},x=function(e,n,t,r){null==e?a(n.el=p(n.children||""),t,r):n.el=e.el},w=function(e,n,t,r){var o=f(_(e.children,n,t,r,e.el,e.anchor),2);e.el=o[0],e.anchor=o[1]},k=function(e,n,t,r,o,i,a,u,c){a=a||"svg"===n.type,null==e?C(n,t,r,o,i,a,u,c):O(e,n,o,i,a,u,c)},C=function(e,n,t,r,o,i,u,s){var f,p,d=e.type,h=e.props,g=e.shapeFlag,m=e.transition,y=e.dirs;if(f=e.el=l(e.type,i,h&&h.is,h),8&g?v(f,e.children):16&g&&T(e.children,f,null,r,o,i&&"foreignObject"!==d,u,s),y&&Dr(e,null,r,"created"),E(f,e,e.scopeId,u,r),h){for(var _ in h)"value"!==_&&!oe(_)&&c(f,_,null,h[_],i,e.children,r,o,J);"value"in h&&c(f,"value",null,h.value),(p=h.onVnodeBeforeMount)&&Ea(p,r,e)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(f,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(f,"__vueParentComponent",{value:r,enumerable:!1})),y&&Dr(e,null,r,"beforeMount");var b=(!o||o&&!o.pendingBranch)&&m&&!m.persisted;b&&m.beforeEnter(f),a(f,n,t),((p=h&&h.onVnodeMounted)||b||y)&&Fi(function(){p&&Ea(p,r,e),b&&m.enter(f),y&&Dr(e,null,r,"mounted")},o)},E=function e(n,t,r,o,i){if(r&&y(n,r),o)for(var a=0;a8&&void 0!==arguments[8]?arguments[8]:0,l=c;l0){if(16&l)N(u,n,d,h,t,r,o);else if(2&l&&d.class!==h.class&&c(u,"class",null,h.class,o),4&l&&c(u,"style",d.style,h.style,o),8&l)for(var m=n.dynamicProps,y=0;y0&&64&d&&v&&e.dynamicChildren?(P(e.dynamicChildren,v,t,o,i,u,c),(null!=n.key||o&&n===o.subTree)&&Zi(e,n,!0)):j(e,n,t,p,o,i,u,c,l)},R=function(e,n,t,r,o,i,a,u,c){n.slotScopeIds=u,null==e?512&n.shapeFlag?o.ctx.activate(n,t,r,a,c):I(n,t,r,o,i,a,c):F(e,n,c)},I=function(e,n,t,r,o,i,a){var u=e.component=Pa(e,r,o);if(to(e)&&(u.ctx.renderer=X),Da(u),u.asyncDep){if(o&&o.registerDep(u,U),!e.el){var c=u.subTree=ga(Yi);x(null,c,n,t)}}else U(u,e,n,t,o,i,a)},F=function(e,n,t){var r=n.component=e.component;if(function(e,n,t){var r=e.props,o=e.children,i=e.component,a=n.props,u=n.children,c=n.patchFlag,l=i.emitsOptions;if(n.dirs||n.transition)return!0;if(!(t&&c>=0))return!(!o&&!u||u&&u.$stable)||r!==a&&(r?!a||xr(r,a,l):!!a);if(1024&c)return!0;if(16&c)return r?xr(r,a,l):!!a;if(8&c)for(var s=n.dynamicProps,f=0;fBt&&Ut.splice(n,1)}(r.update),r.update()}else n.el=e.el,r.vnode=n},U=function(e,n,t,r,o,a,u){var c=e.effect=new Qe(function(){if(e.isMounted){var c,l=e.next,s=e.bu,f=e.u,p=e.parent,d=e.vnode,v=l;Di(e,!1),l?(l.el=d.el,B(e,l,u)):l=d,s&&ve(s),(c=l.props&&l.props.onVnodeBeforeUpdate)&&Ea(c,p,l,d),Di(e,!0);var g=_r(e),m=e.subTree;e.subTree=g,b(m,g,h(m.el),Q(m),e,o,a),l.el=g.el,null===v&&wr(e,g.el),f&&Fi(f,o),(c=l.props&&l.props.onVnodeUpdated)&&Fi(function(){return Ea(c,p,l,d)},o),__VUE_PROD_DEVTOOLS__&&ar(e)}else{var y,_=n,S=_.el,x=_.props,w=e.bm,k=e.m,C=e.parent,E=Xr(n);if(Di(e,!1),w&&ve(w),!E&&(y=x&&x.onVnodeBeforeMount)&&Ea(y,C,n),Di(e,!0),S&&i){var T=function(){e.subTree=_r(e),i(S,e.subTree,e,o,null)};E?n.type.__asyncLoader().then(function(){return!e.isUnmounted&&T()}):T()}else{var O=e.subTree=_r(e);b(null,O,t,r,e,o,a),n.el=O.el}if(k&&Fi(k,o),!E&&(y=x&&x.onVnodeMounted)){var P=n;Fi(function(){return Ea(y,C,P)},o)}(256&n.shapeFlag||C&&Xr(C.vnode)&&256&C.vnode.shapeFlag)&&e.a&&Fi(e.a,o),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&ir(e),n=t=r=null}},function(){return Wt(l)},e.scope),l=e.update=function(){return c.run()};l.id=e.uid,Di(e,!0),l()},B=function(e,n,t){n.component=e;var r=e.vnode.props;e.vnode=n,e.next=null,function(e,n,t,r){var o=e.props,i=e.attrs,a=e.vnode.patchFlag,u=ut(o),c=f(e.propsOptions,1)[0],l=!1;if(!(r||a>0)||16&a){var s;for(var p in Si(e,n,o,i)&&(l=!0),u)(!n||!$(n,p)&&((s=se(p))===p||!$(n,s)))&&(c?t&&(void 0!==t[p]||void 0!==t[s])&&(o[p]=xi(c,u,p,void 0,e,!0)):delete o[p]);if(i!==u)for(var d in i)(!n||!$(n,d))&&(delete i[d],l=!0)}else if(8&a)for(var v=e.vnode.dynamicProps,h=0;h8&&void 0!==arguments[8]&&arguments[8],l=e&&e.children,s=e?e.shapeFlag:0,f=n.children,p=n.patchFlag,d=n.shapeFlag;if(p>0){if(128&p)return void H(l,f,t,r,o,i,a,u,c);if(256&p)return void Z(l,f,t,r,o,i,a,u,c)}8&d?(16&s&&J(l,o,i),f!==l&&v(t,f)):16&s?16&d?H(l,f,t,r,o,i,a,u,c):J(l,o,i,!0):(8&s&&v(t,""),16&d&&T(f,t,r,o,i,a,u,c))},Z=function(e,n,t,r,o,i,a,u,c){var l,s=(e=e||V).length,f=(n=n||V).length,p=Math.min(s,f);for(l=0;lf?J(e,o,i,!0,!1,p):T(n,t,r,o,i,a,u,c,p)},H=function(e,n,t,r,o,i,a,u,c){for(var l=0,s=n.length,f=e.length-1,p=s-1;l<=f&&l<=p;){var d=e[l],v=n[l]=c?wa(n[l]):xa(n[l]);if(!sa(d,v))break;b(d,v,t,null,o,i,a,u,c),l++}for(;l<=f&&l<=p;){var h=e[f],g=n[p]=c?wa(n[p]):xa(n[p]);if(!sa(h,g))break;b(h,g,t,null,o,i,a,u,c),f--,p--}if(l>f){if(l<=p)for(var m=p+1,y=mp)for(;l<=f;)W(e[l],o,i,!0),l++;else{var _=l,S=l,x=new Map;for(l=S;l<=p;l++){var w=n[l]=c?wa(n[l]):xa(n[l]);null!=w.key&&x.set(w.key,l)}var k,C=0,E=p-S+1,T=!1,O=0,P=new Array(E);for(l=0;l=E)W(N,o,i,!0);else{var A=void 0;if(null!=N.key)A=x.get(N.key);else for(k=S;k<=p;k++)if(0===P[k-S]&&sa(N,n[k])){A=k;break}void 0===A?W(N,o,i,!0):(P[A-S]=l+1,A>=O?O=A:T=!0,b(N,n[A],t,null,o,i,a,u,c),C++)}}var R=T?function(e){var n,t,r,o,i,a=e.slice(),u=[0],c=e.length;for(n=0;n>1]]0&&(a[n]=u[r-1]),u[r]=n)}}for(o=u[(r=u.length)-1];r-- >0;)u[r]=o,o=a[o];return u}(P):V;for(k=R.length-1,l=E-1;l>=0;l--){var I=S+l,L=n[I],M=I+14&&void 0!==arguments[4]?arguments[4]:null,u=n.el,c=n.type,l=n.transition,s=n.children,f=n.shapeFlag;if(6&f)e(n.component.subTree,t,r,o);else if(128&f)n.suspense.move(t,r,o);else if(64&f)c.move(n,t,r,X);else if(c!==Ji)if(c!==Xi)if(2!==o&&1&f&&l)if(0===o)l.beforeEnter(u),a(u,t,r),Fi(function(){return l.enter(u)},i);else{var p=l.leave,d=l.delayLeave,v=l.afterLeave,h=function(){return a(u,t,r)},m=function(){p(u,function(){h(),v&&v()})};d?d(u,h,m):m()}else a(u,t,r);else!function(e,n,t){for(var r,o=e.el,i=e.anchor;o&&o!==i;)r=g(o),a(o,n,t),o=r;a(i,n,t)}(n,t,r);else{a(u,t,r);for(var y=0;y3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=e.type,a=e.props,u=e.ref,c=e.children,l=e.dynamicChildren,s=e.shapeFlag,f=e.patchFlag,p=e.dirs;if(null!=u&&Ri(u,null,t,e,!0),256&s)n.ctx.deactivate(e);else{var d,v=1&s&&p,h=!Xr(e);if(h&&(d=a&&a.onVnodeBeforeUnmount)&&Ea(d,n,e),6&s)K(e.component,t,r);else{if(128&s)return void e.suspense.unmount(t,r);v&&Dr(e,null,n,"beforeUnmount"),64&s?e.type.remove(e,n,t,o,X,r):l&&(i!==Ji||f>0&&64&f)?J(l,n,t,!1,!0):(i===Ji&&384&f||!o&&16&s)&&J(c,n,t),r&&z(e)}(h&&(d=a&&a.onVnodeUnmounted)||v)&&Fi(function(){d&&Ea(d,n,e),v&&Dr(e,null,n,"unmounted")},t)}},z=function(e){var n=e.type,t=e.el,r=e.anchor,o=e.transition;if(n!==Ji)if(n!==Xi){var i=function(){u(t),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){var a=o.leave,c=o.delayLeave,l=function(){return a(t,i)};c?c(e.el,i,l):l()}else i()}else!function(e){for(var n,t=e.el,r=e.anchor;t&&t!==r;)n=g(t),u(t),t=n;u(r)}(e);else G(t,r)},G=function(e,n){for(var t;e!==n;)t=g(e),u(e),e=t;u(n)},K=function(e,n,t){var r=e.bum,o=e.scope,i=e.update,a=e.subTree,u=e.um;r&&ve(r),o.stop(),i&&(i.active=!1,W(a,e,n,t)),u&&Fi(u,n),Fi(function(){e.isUnmounted=!0},n),n&&n.pendingBranch&&!n.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===n.pendingId&&(n.deps--,0===n.deps&&n.resolve()),__VUE_PROD_DEVTOOLS__&&function(e){er&&"function"==typeof er.cleanupBuffer&&!er.cleanupBuffer(e)&&ur(e)}(e)},J=function(e,n,t){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=i;a2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=n.children;if(q(r)&&q(o))for(var i=0;i4&&void 0!==arguments[4]?arguments[4]:2;0===a&&o(e.targetAnchor,n,t);var u=e.el,c=e.anchor,l=e.shapeFlag,s=e.children,f=e.props,p=2===a;if(p&&o(u,n,t),(!p||Hi(f))&&16&l)for(var d=0;d0&&void 0!==arguments[0]&&arguments[0];ea.push(na=e?null:[])}function ra(){ea.pop(),na=ea[ea.length-1]||null}var oa=1;function ia(e){oa+=e}function aa(e){return e.dynamicChildren=oa>0?na||V:null,ra(),oa>0&&na&&na.push(e),e}function ua(e,n,t,r,o,i){return aa(ha(e,n,t,r,o,i,!0))}function ca(e,n,t,r,o){return aa(ga(e,n,t,r,o,!0))}function la(e){return!!e&&!0===e.__v_isVNode}function sa(e,n){return e.type===n.type&&e.key===n.key}function fa(e){e}var pa="__vInternal",da=function(e){var n=e.key;return null!=n?n:null},va=function(e){var n=e.ref,t=e.ref_key,r=e.ref_for;return"number"==typeof n&&(n=""+n),null!=n?J(n)||dt(n)||K(n)?{i:pr,r:n,k:t,f:!!r}:n:null};function ha(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Ji?0:1,a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&da(n),ref:n&&va(n),scopeId:dr,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:pr};return u?(ka(c,t),128&i&&e.normalize(c)):t&&(c.shapeFlag|=J(t)?8:16),oa>0&&!a&&na&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&na.push(c),c}var ga=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if((!e||e===Eo)&&(e=Yi),la(e)){var a=ya(e,n,!0);return t&&ka(a,t),oa>0&&!i&&na&&(6&a.shapeFlag?na[na.indexOf(e)]=a:na.push(a)),a.patchFlag|=-2,a}if(function(e){return K(e)&&"__vccOpts"in e}(e)&&(e=e.__vccOpts),n){var u=n=ma(n),c=u.class,l=u.style;c&&!J(c)&&(n.class=Ce(c)),Y(l)&&(at(l)&&!q(l)&&(l=D({},l)),n.style=be(l))}return ha(e,n,t,r,o,J(e)?1:kr(e)?128:function(e){return e.__isTeleport}(e)?64:Y(e)?4:K(e)?2:0,i,!0)};function ma(e){return e?at(e)||pa in e?D({},e):e:null}function ya(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.props,o=e.ref,i=e.patchFlag,a=e.children,u=n?Ca(r||{},n):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&da(u),ref:n&&n.ref?t&&o?q(o)?o.concat(va(n)):[o,va(n)]:va(n):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Ji?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ya(e.ssContent),ssFallback:e.ssFallback&&ya(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function _a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ga(Qi,null,e,n)}function ba(e,n){var t=ga(Xi,null,e);return t.staticCount=n,t}function Sa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n?(ta(),ca(Yi,null,e)):ga(Yi,null,e)}function xa(e){return null==e||"boolean"==typeof e?ga(Yi):q(e)?ga(Ji,null,e.slice()):"object"==typeof e?wa(e):ga(Qi,null,String(e))}function wa(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ya(e)}function ka(e,n){var t=0,r=e.shapeFlag;if(null==n)n=null;else if(q(n))t=16;else if("object"==typeof n){if(65&r){var o=n.default;return void(o&&(o._c&&(o._d=!1),ka(e,o()),o._c&&(o._d=!0)))}t=32;var i=n._;i||pa in n?3===i&&pr&&(1===pr.slots._?n._=1:(n._=2,e.patchFlag|=1024)):n._ctx=pr}else K(n)?(n={default:n,_ctx:pr},t=32):(n=String(n),64&r?(t=16,n=[_a(n)]):t=8);e.children=n,e.shapeFlag|=t}function Ca(){for(var e={},n=0;n3&&void 0!==arguments[3]?arguments[3]:null;Lt(e,n,7,[t,r])}var Ta=vi(),Oa=0;function Pa(e,n,t){var r=e.type,o=(n?n.appContext:e.appContext)||Ta,i={uid:Oa++,vnode:e,type:r,parent:n,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Fe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wi(r,o),emitsOptions:sr(r,o),emit:null,emitted:null,propsDefaults:L,inheritAttrs:r.inheritAttrs,ctx:L,data:L,props:L,attrs:L,slots:L,refs:L,setupState:L,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=n?n.root:i,i.emit=lr.bind(null,i),e.ce&&e.ce(i),i}var Na,Aa,Ra=null,Ia=function(){return Ra||pr},La="__VUE_INSTANCE_SETTERS__";(Aa=ye()[La])||(Aa=ye()[La]=[]),Aa.push(function(e){return Ra=e}),Na=function(e){Aa.length>1?Aa.forEach(function(n){return n(e)}):Aa[0](e)};var Va=function(e){Na(e),e.scope.on()},Ma=function(){Ra&&Ra.scope.off(),Na(null)};function Fa(e){return 4&e.vnode.shapeFlag}var Ua,Ba,ja=!1;function Da(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];ja=n;var t=e.vnode,r=t.props,o=t.children,i=Fa(e);(function(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o={},i={};for(var a in he(i,pa,1),e.propsDefaults=Object.create(null),Si(e,n,o,i),e.propsOptions[0])a in o||(o[a]=void 0);e.props=t?r?o:Xn(o):e.type.props?o:i,e.attrs=i})(e,r,i,n),function(e,n){if(32&e.vnode.shapeFlag){var t=n._;t?(e.slots=ut(n),he(n,"_",t)):Ni(n,e.slots={})}else e.slots={},n&&Ai(e,n);he(e.slots,pa,1)}(e,o);var a=i?function(e,n){var t=e.type;e.accessCache=Object.create(null),e.proxy=ct(new Proxy(e.ctx,Bo));var r=t.setup;if(r){var o=e.setupContext=r.length>1?Wa(e):null;Va(e),rn();var i=It(r,e,0,[e.props,o]);if(on(),Ma(),X(i)){if(i.then(Ma,Ma),n)return i.then(function(t){Za(e,t,n)}).catch(function(n){Vt(n,e,0)});e.asyncDep=i}else Za(e,i,n)}else qa(e,n)}(e,n):void 0;return ja=!1,a}function Za(e,n,t){K(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:Y(n)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=n),e.setupState=xt(n)),qa(e,t)}function Ha(e){Ua=e,Ba=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,jo))}}var $a=function(){return!Ua};function qa(e,n,t){var r=e.type;if(!e.render){if(!n&&Ua&&!r.render){var o=r.template||ai(e).template;if(o){var i=e.appContext.config,a=i.isCustomElement,u=i.compilerOptions,c=r.delimiters,l=r.compilerOptions,s=D(D({isCustomElement:a,delimiters:c},u),l);r.render=Ua(o,s)}}e.render=r.render||M,Ba&&Ba(e)}__VUE_OPTIONS_API__&&(Va(e),rn(),function(e){var n=ai(e),t=e.proxy,r=e.ctx;ri=!1,n.beforeCreate&&oi(n.beforeCreate,e,"bc");var o=n.data,i=n.computed,a=n.methods,u=n.watch,c=n.provide,l=n.inject,s=n.created,f=n.beforeMount,p=n.mounted,d=n.beforeUpdate,v=n.updated,h=n.activated,g=n.deactivated,m=n.beforeUnmount,y=n.unmounted,_=n.render,b=n.renderTracked,S=n.renderTriggered,x=n.errorCaptured,w=n.serverPrefetch,k=n.expose,C=n.inheritAttrs,E=n.components,T=n.directives;if(l&&function(e,n){q(e)&&(e=si(e));var t=function(){var t,o=e[r];dt(t=Y(o)?"default"in o?_i(o.from||r,o.default,!0):_i(o.from||r):_i(o))?Object.defineProperty(n,r,{enumerable:!0,configurable:!0,get:function(){return t.value},set:function(e){return t.value=e}}):n[r]=t};for(var r in e)t()}(l,r,null),a)for(var O in a){var P=a[O];K(P)&&(r[O]=P.bind(t))}if(o){var N=o.call(t,t);Y(N)&&(e.data=Yn(N))}if(ri=!0,i){var A=function(){var e=i[R],n=K(e)?e.bind(t,t):K(e.get)?e.get.bind(t,t):M,o=!K(e)&&K(e.set)?e.set.bind(t):M,a=Ka({get:n,set:o});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:function(){return a.value},set:function(e){return a.value=e}})};for(var R in i)A()}if(u)for(var I in u)ii(u[I],r,t,I);if(c){var L=K(c)?c.call(t):c;Reflect.ownKeys(L).forEach(function(e){yi(e,L[e])})}function V(e,n){q(n)?n.forEach(function(n){return e(n.bind(t))}):n&&e(n.bind(t))}if(s&&oi(s,e,"c"),V(vo,f),V(ho,p),V(go,d),V(mo,v),V(io,h),V(ao,g),V(wo,x),V(xo,b),V(So,S),V(yo,m),V(_o,y),V(bo,w),q(k))if(k.length){var F=e.exposed||(e.exposed={});k.forEach(function(e){Object.defineProperty(F,e,{get:function(){return t[e]},set:function(n){return t[e]=n}})})}else e.exposed||(e.exposed={});_&&e.render===M&&(e.render=_),null!=C&&(e.inheritAttrs=C),E&&(e.components=E),T&&(e.directives=T)}(e),on(),Ma())}function Wa(e){return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:function(n,t){return an(e,0,"$attrs"),n[t]}}))}(e)},slots:e.slots,emit:e.emit,expose:function(n){e.exposed=n||{}}}}function za(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(xt(ct(e.exposed)),{get:function(n,t){return t in n?n[t]:t in Fo?Fo[t](e):void 0},has:function(e,n){return n in e||n in Fo}}))}function Ga(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return K(e)?e.displayName||e.name:e.name||n&&e.__name}var Ka=function(e,n){return function(e,n){var t,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=K(e);return i?(t=e,r=M):(t=e.get,r=e.set),new Nt(t,r,i||!r,o)}(e,0,ja)};function Ja(e,n,t){var r=arguments.length;return 2===r?Y(n)&&!q(n)?la(n)?ga(e,null,[n]):ga(e,n):ga(e,null,n):(r>3?t=Array.prototype.slice.call(arguments,2):3===r&&la(t)&&(t=[t]),ga(e,n,t))}var Qa=Symbol.for("v-scx"),Ya=function(){return _i(Qa)};function Xa(){}function eu(e,n,t,r){var o=t[r];if(o&&nu(o,e))return o;var i=n();return i.memo=e.slice(),t[r]=i}function nu(e,n){var t=e.memo;if(t.length!=n.length)return!1;for(var r=0;r0&&na&&na.push(e),!0}var tu="3.3.4",ru={createComponentInstance:Pa,setupComponent:Da,renderComponentRoot:_r,setCurrentRenderingInstance:vr,isVNode:la,normalizeVNode:xa},ou=null,iu=null,au="undefined"!=typeof document?document:null,uu=au&&au.createElement("template"),cu={insert:function(e,n,t){n.insertBefore(e,t||null)},remove:function(e){var n=e.parentNode;n&&n.removeChild(e)},createElement:function(e,n,t,r){var o=n?au.createElementNS("http://www.w3.org/2000/svg",e):au.createElement(e,t?{is:t}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:function(e){return au.createTextNode(e)},createComment:function(e){return au.createComment(e)},setText:function(e,n){e.nodeValue=n},setElementText:function(e,n){e.textContent=n},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return au.querySelector(e)},setScopeId:function(e,n){e.setAttribute(n,"")},insertStaticContent:function(e,n,t,r,o,i){var a=t?t.previousSibling:n.lastChild;if(o&&(o===i||o.nextSibling))for(;n.insertBefore(o.cloneNode(!0),t),o!==i&&(o=o.nextSibling););else{uu.innerHTML=r?"".concat(e,""):e;var u=uu.content;if(r){for(var c=u.firstChild;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}n.insertBefore(u,t)}return[a?a.nextSibling:n.firstChild,t?t.previousSibling:n.lastChild]}},lu=/\s*!important$/;function su(e,n,t){if(q(t))t.forEach(function(t){return su(e,n,t)});else if(null==t&&(t=""),n.startsWith("--"))e.setProperty(n,t);else{var r=function(e,n){var t=pu[n];if(t)return t;var r=ce(n);if("filter"!==r&&r in e)return pu[n]=r;r=fe(r);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return a(this,o),(n=r.call(this))._def=e,n._props=t,n._instance=null,n._connected=!1,n._resolved=!1,n._numberProps=null,n.shadowRoot&&i?i(n._createVNode(),n.shadowRoot):(n.attachShadow({mode:"open"}),n._def.__asyncLoader||n._resolveProps(n._def)),n}return c(o,[{key:"connectedCallback",value:function(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}},{key:"disconnectedCallback",value:function(){var e=this;this._connected=!1,qt(function(){e._connected||(wc(null,e.shadowRoot),e._instance=null)})}},{key:"_resolveDef",value:function(){var e=this;this._resolved=!0;for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],o=n.props,i=n.styles;if(o&&!q(o))for(var a in o){var u=o[a];(u===Number||u&&u.type===Number)&&(a in e._props&&(e._props[a]=me(e._props[a])),(t||(t=Object.create(null)))[ce(a)]=!0)}e._numberProps=t,r&&e._resolveProps(n),e._applyStyles(i),e._update()},r=this._def.__asyncLoader;r?r().then(function(e){return t(e,!0)}):t(this._def)}},{key:"_resolveProps",value:function(e){for(var n=this,t=e.props,r=q(t)?t:Object.keys(t||{}),o=0,a=Object.keys(this);o2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];n!==this._props[e]&&(this._props[e]=n,r&&this._instance&&this._update(),t&&(!0===n?this.setAttribute(se(e),""):"string"==typeof n||"number"==typeof n?this.setAttribute(se(e),n+""):n||this.removeAttribute(se(e))))}},{key:"_update",value:function(){wc(this._createVNode(),this.shadowRoot)}},{key:"_createVNode",value:function(){var e=this,n=ga(this._def,D({},this._props));return this._instance||(n.ce=function(n){e._instance=n,n.isCE=!0;var t=function(n,t){e.dispatchEvent(new CustomEvent(n,{detail:t}))};n.emit=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"$style",n=Ia();if(!n)return L;var t=n.type.__cssModules;return t&&t[e]||L}function wu(e){var n=Ia();if(n){var t=n.ut=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e(n.proxy);Array.from(document.querySelectorAll('[data-v-owner="'.concat(n.uid,'"]'))).forEach(function(e){return Cu(e,t)})},r=function(){var r=e(n.proxy);ku(n.subTree,r),t(r)};Rr(r),ho(function(){var e=new MutationObserver(r);e.observe(n.subTree.el.parentNode,{childList:!0}),_o(function(){return e.disconnect()})})}}function ku(e,n){if(128&e.shapeFlag){var t=e.suspense;e=t.activeBranch,t.pendingBranch&&!t.isHydrating&&t.effects.push(function(){ku(t.activeBranch,n)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Cu(e.el,n);else if(e.type===Ji)e.children.forEach(function(e){return ku(e,n)});else if(e.type===Xi)for(var r=e,o=r.el,i=r.anchor;o&&(Cu(o,n),o!==i);)o=o.nextSibling}function Cu(e,n){if(1===e.nodeType){var t=e.style;for(var r in n)t.setProperty("--".concat(r),n[r])}}var Eu="transition",Tu="animation",Ou=function(e,n){var t=n.slots;return Ja(qr,Iu(e),t)};Ou.displayName="Transition";var Pu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Nu=Ou.props=D({},$r,Pu),Au=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];q(e)?e.forEach(function(e){return e.apply(void 0,p(n))}):e&&e.apply(void 0,p(n))},Ru=function(e){return!!e&&(q(e)?e.some(function(e){return e.length>1}):e.length>1)};function Iu(e){var n={};for(var t in e)t in Pu||(n[t]=e[t]);if(!1===e.css)return n;var r=e.name,o=void 0===r?"v":r,i=e.type,a=e.duration,u=e.enterFromClass,c=void 0===u?"".concat(o,"-enter-from"):u,l=e.enterActiveClass,s=void 0===l?"".concat(o,"-enter-active"):l,f=e.enterToClass,p=void 0===f?"".concat(o,"-enter-to"):f,d=e.appearFromClass,v=void 0===d?c:d,h=e.appearActiveClass,g=void 0===h?s:h,m=e.appearToClass,y=void 0===m?p:m,_=e.leaveFromClass,b=void 0===_?"".concat(o,"-leave-from"):_,S=e.leaveActiveClass,x=void 0===S?"".concat(o,"-leave-active"):S,w=e.leaveToClass,k=void 0===w?"".concat(o,"-leave-to"):w,C=function(e){if(null==e)return null;if(Y(e))return[Lu(e.enter),Lu(e.leave)];var n=Lu(e);return[n,n]}(a),E=C&&C[0],T=C&&C[1],O=n.onBeforeEnter,P=n.onEnter,N=n.onEnterCancelled,A=n.onLeave,R=n.onLeaveCancelled,I=n.onBeforeAppear,L=void 0===I?O:I,V=n.onAppear,M=void 0===V?P:V,F=n.onAppearCancelled,U=void 0===F?N:F,B=function(e,n,t){Mu(e,n?y:p),Mu(e,n?g:s),t&&t()},j=function(e,n){e._isLeaving=!1,Mu(e,b),Mu(e,k),Mu(e,x),n&&n()},Z=function(e){return function(n,t){var r=e?M:P,o=function(){return B(n,e,t)};Au(r,[n,o]),Fu(function(){Mu(n,e?v:c),Vu(n,e?y:p),Ru(r)||Bu(n,i,E,o)})}};return D(n,{onBeforeEnter:function(e){Au(O,[e]),Vu(e,c),Vu(e,s)},onBeforeAppear:function(e){Au(L,[e]),Vu(e,v),Vu(e,g)},onEnter:Z(!1),onAppear:Z(!0),onLeave:function(e,n){e._isLeaving=!0;var t=function(){return j(e,n)};Vu(e,b),Hu(),Vu(e,x),Fu(function(){!e._isLeaving||(Mu(e,b),Vu(e,k),Ru(A)||Bu(e,i,T,t))}),Au(A,[e,t])},onEnterCancelled:function(e){B(e,!1),Au(N,[e])},onAppearCancelled:function(e){B(e,!0),Au(U,[e])},onLeaveCancelled:function(e){j(e),Au(R,[e])}})}function Lu(e){return me(e)}function Vu(e,n){n.split(/\s+/).forEach(function(n){return n&&e.classList.add(n)}),(e._vtc||(e._vtc=new Set)).add(n)}function Mu(e,n){n.split(/\s+/).forEach(function(n){return n&&e.classList.remove(n)});var t=e._vtc;t&&(t.delete(n),t.size||(e._vtc=void 0))}function Fu(e){requestAnimationFrame(function(){requestAnimationFrame(e)})}var Uu=0;function Bu(e,n,t,r){var o=e._endId=++Uu,i=function(){o===e._endId&&r()};if(t)return setTimeout(i,t);var a=ju(e,n),u=a.type,c=a.timeout,l=a.propCount;if(!u)return r();var s=u+"end",f=0,p=function(){e.removeEventListener(s,d),i()},d=function(n){n.target===e&&++f>=l&&p()};setTimeout(function(){f0&&(s=Eu,f=a,p=i.length):n===Tu?l>0&&(s=Tu,f=l,p=c.length):p=(s=(f=Math.max(a,l))>0?a>l?Eu:Tu:null)?s===Eu?i.length:c.length:0,{type:s,timeout:f,propCount:p,hasTransform:s===Eu&&/\b(transform|all)(,|$)/.test(r("".concat(Eu,"Property")).toString())}}function Du(e,n){for(;e.length-1:z(r)?e.checked=r.has(t.props.value):r!==o&&(e.checked=Re(r,uc(e,!0)))}var rc={created:function(e,n,t){var r=n.value;e.checked=Re(r,t.props.value),e._assign=Qu(t),vu(e,"change",function(){e._assign(ac(e))})},beforeUpdate:function(e,n,t){var r=n.value,o=n.oldValue;e._assign=Qu(t),r!==o&&(e.checked=Re(r,t.props.value))}},oc={deep:!0,created:function(e,n,t){var r=n.value,o=n.modifiers.number,i=z(r);vu(e,"change",function(){var n=Array.prototype.filter.call(e.options,function(e){return e.selected}).map(function(e){return o?ge(ac(e)):ac(e)});e._assign(e.multiple?i?new Set(n):n:n[0])}),e._assign=Qu(t)},mounted:function(e,n){ic(e,n.value)},beforeUpdate:function(e,n,t){e._assign=Qu(t)},updated:function(e,n){ic(e,n.value)}};function ic(e,n){var t=e.multiple;if(!t||q(n)||z(n)){for(var r=0,o=e.options.length;r-1:n.has(a);else if(Re(ac(i),n))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}!t&&-1!==e.selectedIndex&&(e.selectedIndex=-1)}}function ac(e){return"_value"in e?e._value:e.value}function uc(e,n){var t=n?"_trueValue":"_falseValue";return t in e?e[t]:n}var cc={created:function(e,n,t){sc(e,n,t,null,"created")},mounted:function(e,n,t){sc(e,n,t,null,"mounted")},beforeUpdate:function(e,n,t,r){sc(e,n,t,r,"beforeUpdate")},updated:function(e,n,t,r){sc(e,n,t,r,"updated")}};function lc(e,n){switch(e){case"SELECT":return oc;case"TEXTAREA":return ec;default:switch(n){case"checkbox":return nc;case"radio":return rc;default:return ec}}}function sc(e,n,t,r,o){var i=lc(e.tagName,t.props&&t.props.type)[o];i&&i(e,n,t,r)}var fc=["ctrl","shift","alt","meta"],pc={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,n){return fc.some(function(t){return e["".concat(t,"Key")]&&!n.includes(t)})}},dc=function(e,n){return function(t){for(var r=0;r1?i-1:0),u=1;u4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0;"class"===n?function(e,n,t){var r=e._vtc;r&&(n=(n?[n].concat(p(r)):p(r)).join(" ")),null==n?e.removeAttribute("class"):t?e.setAttribute("class",n):e.className=n}(e,r,o):"style"===n?function(e,n,t){var r=e.style,o=J(t);if(t&&!o){if(n&&!J(n))for(var i in n)null==t[i]&&su(r,i,"");for(var a in t)su(r,a,t[a])}else{var u=r.display;o?n!==t&&(r.cssText=t):n&&e.removeAttribute("style"),"_vod"in e&&(r.display=u)}}(e,t,r):B(n)?j(n)||function(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=e._vei||(e._vei={}),a=i[n];if(r&&a)a.value=r;else{var u=function(e){var n,t;if(hu.test(e))for(n={};t=e.match(hu);)e=e.slice(0,e.length-t[0].length),n[t[0].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):se(e.slice(2)),n]}(n),c=f(u,2),l=c[0],s=c[1];if(r){var p=i[n]=function(e,n){var t=function e(t){if(t._vts){if(t._vts<=e.attached)return}else t._vts=Date.now();Lt(function(e,n){if(q(n)){var t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.call(e),e._stopped=!0},n.map(function(e){return function(n){return!n._stopped&&e&&e(n)}})}return n}(t,e.value),n,5,[t])};return t.value=e,t.attached=gu||(mu.then(function(){return gu=0}),gu=Date.now()),t}(r,o);vu(e,l,p,s)}else a&&(function(e,n,t,r){e.removeEventListener(n,t,r)}(e,l,a,s),i[n]=void 0)}}(e,n,0,r,a):("."===n[0]?(n=n.slice(1),1):"^"===n[0]?(n=n.slice(1),0):function(e,n,t,r){return r?!!("innerHTML"===n||"textContent"===n||n in e&&yu.test(n)&&K(t)):!("spellcheck"===n||"draggable"===n||"translate"===n||"form"===n||"list"===n&&"INPUT"===e.tagName||"type"===n&&"TEXTAREA"===e.tagName||yu.test(n)&&J(t))&&n in e}(e,n,r,o))?function(e,n,t,r,o,i,a){if("innerHTML"===n||"textContent"===n)return r&&a(r,o,i),void(e[n]=null==t?"":t);var u=e.tagName;if("value"===n&&"PROGRESS"!==u&&!u.includes("-")){e._value=t;var c=null==t?"":t;return("OPTION"===u?e.getAttribute("value"):e.value)!==c&&(e.value=c),void(null==t&&e.removeAttribute(n))}var l=!1;if(""===t||null==t){var s=typeof e[n];"boolean"===s?t=Ae(t):null==t&&"string"===s?(t="",l=!0):"number"===s&&(t=0,l=!0)}try{e[n]=t}catch(s){}l&&e.removeAttribute(n)}(e,n,r,i,a,u,c):("true-value"===n?e._trueValue=r:"false-value"===n&&(e._falseValue=r),function(e,n,t,r,o){if(r&&n.startsWith("xlink:"))null==t?e.removeAttributeNS(du,n.slice(6,n.length)):e.setAttributeNS(du,n,t);else{var i=Ne(n);null==t||i&&!Ae(t)?e.removeAttribute(n):e.setAttribute(n,i?"":t)}}(e,n,r,o))}},cu),bc=!1;function Sc(){return yc||(yc=Ui(_c))}function xc(){return yc=bc?yc:Bi(_c),bc=!0,yc}var wc=function(){var e;(e=Sc()).render.apply(e,arguments)},kc=function(){var e;(e=xc()).hydrate.apply(e,arguments)},Cc=function(){var e,n=(e=Sc()).createApp.apply(e,arguments),t=n.mount;return n.mount=function(e){var r=Tc(e);if(r){var o=n._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";var i=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i}},n},Ec=function(){var e,n=(e=xc()).createApp.apply(e,arguments),t=n.mount;return n.mount=function(e){var n=Tc(e);if(n)return t(n,!0,n instanceof SVGElement)},n};function Tc(e){return J(e)?document.querySelector(e):e}var Oc=!1,Pc=function(){Oc||(Oc=!0,ec.getSSRProps=function(e){return{value:e.value}},rc.getSSRProps=function(e,n){var t=e.value;if(n.props&&Re(n.props.value,t))return{checked:!0}},nc.getSSRProps=function(e,n){var t=e.value;if(q(t)){if(n.props&&Ie(t,n.props.value)>-1)return{checked:!0}}else if(z(t)){if(n.props&&t.has(n.props.value))return{checked:!0}}else if(t)return{checked:!0}},cc.getSSRProps=function(e,n){if("string"==typeof n.type){var t=lc(n.type.toUpperCase(),n.props&&n.props.type);return t.getSSRProps?t.getSSRProps(e,n):void 0}},gc.getSSRProps=function(e){if(!e.value)return{style:{display:"none"}}})};function Nc(e){throw e}function Ac(e){}function Rc(e,n,t,r){var o=new SyntaxError(String(e));return o.code=e,o.loc=n,o}var Ic=Symbol(""),Lc=Symbol(""),Vc=Symbol(""),Mc=Symbol(""),Fc=Symbol(""),Uc=Symbol(""),Bc=Symbol(""),jc=Symbol(""),Dc=Symbol(""),Zc=Symbol(""),Hc=Symbol(""),$c=Symbol(""),qc=Symbol(""),Wc=Symbol(""),zc=Symbol(""),Gc=Symbol(""),Kc=Symbol(""),Jc=Symbol(""),Qc=Symbol(""),Yc=Symbol(""),Xc=Symbol(""),el=Symbol(""),nl=Symbol(""),tl=Symbol(""),rl=Symbol(""),ol=Symbol(""),il=Symbol(""),al=Symbol(""),ul=Symbol(""),cl=Symbol(""),ll=Symbol(""),sl=Symbol(""),fl=Symbol(""),pl=Symbol(""),dl=Symbol(""),vl=Symbol(""),hl=Symbol(""),gl=Symbol(""),ml=Symbol(""),yl=(l(u={},Ic,"Fragment"),l(u,Lc,"Teleport"),l(u,Vc,"Suspense"),l(u,Mc,"KeepAlive"),l(u,Fc,"BaseTransition"),l(u,Uc,"openBlock"),l(u,Bc,"createBlock"),l(u,jc,"createElementBlock"),l(u,Dc,"createVNode"),l(u,Zc,"createElementVNode"),l(u,Hc,"createCommentVNode"),l(u,$c,"createTextVNode"),l(u,qc,"createStaticVNode"),l(u,Wc,"resolveComponent"),l(u,zc,"resolveDynamicComponent"),l(u,Gc,"resolveDirective"),l(u,Kc,"resolveFilter"),l(u,Jc,"withDirectives"),l(u,Qc,"renderList"),l(u,Yc,"renderSlot"),l(u,Xc,"createSlots"),l(u,el,"toDisplayString"),l(u,nl,"mergeProps"),l(u,tl,"normalizeClass"),l(u,rl,"normalizeStyle"),l(u,ol,"normalizeProps"),l(u,il,"guardReactiveProps"),l(u,al,"toHandlers"),l(u,ul,"camelize"),l(u,cl,"capitalize"),l(u,ll,"toHandlerKey"),l(u,sl,"setBlockTracking"),l(u,fl,"pushScopeId"),l(u,pl,"popScopeId"),l(u,dl,"withCtx"),l(u,vl,"unref"),l(u,hl,"isRef"),l(u,gl,"withMemo"),l(u,ml,"isMemoSame"),u),_l={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function bl(e,n,t,r,o,i,a){var u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c=arguments.length>8&&void 0!==arguments[8]&&arguments[8],l=arguments.length>9&&void 0!==arguments[9]&&arguments[9],s=arguments.length>10&&void 0!==arguments[10]?arguments[10]:_l;return e&&(u?(e.helper(Uc),e.helper(Nl(e.inSSR,l))):e.helper(Pl(e.inSSR,l)),a&&e.helper(Jc)),{type:13,tag:n,props:t,children:r,patchFlag:o,dynamicProps:i,directives:a,isBlock:u,disableTracking:c,isComponent:l,loc:s}}function Sl(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:17,loc:n,elements:e}}function xl(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:15,loc:n,properties:e}}function wl(e,n){return{type:16,loc:_l,key:J(e)?kl(e,!0):e,value:n}}function kl(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_l,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{type:4,loc:t,content:e,isStatic:n,constType:n?3:r}}function Cl(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:8,loc:n,children:e}}function El(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_l;return{type:14,loc:t,callee:e,arguments:n}}function Tl(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:_l;return{type:18,params:e,returns:n,newline:t,isSlot:r,loc:o}}function Ol(e,n,t){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:19,test:e,consequent:n,alternate:t,newline:r,loc:_l}}function Pl(e,n){return e||n?Dc:Zc}function Nl(e,n){return e||n?Bc:jc}function Al(e,n){var t=n.helper,r=n.removeHelper,o=n.inSSR;e.isBlock||(e.isBlock=!0,r(Pl(o,e.isComponent)),t(Uc),t(Nl(o,e.isComponent)))}var Rl=function(e){return 4===e.type&&e.isStatic},Il=function(e,n){return e===n||e===se(n)};function Ll(e){return Il(e,"Teleport")?Lc:Il(e,"Suspense")?Vc:Il(e,"KeepAlive")?Mc:Il(e,"BaseTransition")?Fc:void 0}var Vl=/^\d|[^\$\w]/,Ml=function(e){return!Vl.test(e)},Fl=/[A-Za-z_$\xA0-\uFFFF]/,Ul=/[\.\?\w$\xA0-\uFFFF]/,Bl=/\s+[.[]\s*|\s*[.[]\s+/g,jl=function(e){e=e.trim().replace(Bl,function(e){return e.trim()});for(var n=0,t=[],r=0,o=0,i=null,a=0;a2&&void 0!==arguments[2]?arguments[2]:n.length;return Hl(D({},e),n,t)}function Hl(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.length,r=0,o=-1,i=0;i2&&void 0!==arguments[2]&&arguments[2],r=0;r2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=0;o1&&void 0!==arguments[1]?arguments[1]:[];if(e&&!J(e)&&14===e.type){var t=e.callee;if(!J(t)&&Ql.has(t))return Yl(e.arguments[0],n.concat(e))}return[e,n]}function Xl(e,n,t){var r,o,i=13===e.type?e.props:e.arguments[2],a=[];if(i&&!J(i)&&14===i.type){var u=Yl(i);i=u[0],o=(a=u[1])[a.length-1]}if(null==i||J(i))r=xl([n]);else if(14===i.type){var c=i.arguments[0];J(c)||15!==c.type?i.callee===al?r=El(t.helper(nl),[xl([n]),i]):i.arguments.unshift(xl([n])):es(n,c)||c.properties.unshift(n),!r&&(r=i)}else 15===i.type?(es(n,i)||i.properties.unshift(n),r=i):(r=El(t.helper(nl),[xl([n]),i]),o&&o.callee===il&&(o=a[a.length-2]));13===e.type?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function es(e,n){var t=!1;if(4===e.key.type){var r=e.key.content;t=n.properties.some(function(e){return 4===e.key.type&&e.key.content===r})}return t}function ns(e,n){return"_".concat(n,"_").concat(e.replace(/[^\w]/g,function(n,t){return"-"===n?"_":e.charCodeAt(t).toString()}))}function ts(e,n){var t=n.options?n.options.compatConfig:n.compatConfig,r=t&&t[e];return"MODE"===e?r||3:r}function rs(e,n){var t=ts("MODE",n),r=ts(e,n);return 3===t?!0===r:!1!==r}function os(e,n,t){return rs(e,n)}var is=/&(gt|lt|amp|apos|quot);/g,as={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},us={delimiters:["{{","}}"],getNamespace:function(){return 0},getTextMode:function(){return 0},isVoidTag:F,isPreTag:F,isCustomElement:F,decodeEntities:function(e){return e.replace(is,function(e,n){return as[n]})},onError:Nc,onWarn:Ac,comments:!1};function cs(e,n,t){for(var r=ks(t),o=r?r.ns:0,i=[];!Ns(e,n,t);){var a=e.source,u=void 0;if(0===n||1===n)if(!e.inVPre&&Cs(a,e.options.delimiters[0]))u=_s(e,n);else if(0===n&&"<"===a[0])if(1===a.length)Ps(e,5,1);else if("!"===a[1])Cs(a,"\x3c!--")?u=fs(e):Cs(a,""===a[2]){Ps(e,14,2),Es(e,3);continue}if(/[a-z]/i.test(a[2])){Ps(e,23),gs(e,vs.End,r);continue}Ps(e,12,2),u=ps(e)}else/[a-z]/i.test(a[1])?(u=ds(e,t),rs("COMPILER_NATIVE_TEMPLATE",e)&&u&&"template"===u.tag&&!u.props.some(function(e){return 7===e.type&&hs(e.name)})&&(u=u.children)):"?"===a[1]?(Ps(e,21,1),u=ps(e)):Ps(e,12,1);if(u||(u=bs(e,n)),q(u))for(var c=0;c/.exec(e.source);if(r){r.index<=3&&Ps(e,0),r[1]&&Ps(e,10),n=e.source.slice(4,r.index);for(var o=e.source.slice(0,r.index),i=1,a=0;-1!==(a=o.indexOf("\x3c!--",i));)Es(e,a-i+1),a+4");return-1===o?(n=e.source.slice(r),Es(e,e.source.length)):(n=e.source.slice(r,o),Es(e,o+1)),{type:3,content:n,loc:ws(e,t)}}function ds(e,n){var t=e.inPre,r=e.inVPre,o=ks(n),i=gs(e,vs.Start,o),a=e.inPre&&!t,u=e.inVPre&&!r;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return a&&(e.inPre=!1),u&&(e.inVPre=!1),i;n.push(i);var c=e.options.getTextMode(i,o),l=cs(e,c,n);n.pop();var s=i.props.find(function(e){return 6===e.type&&"inline-template"===e.name});if(s&&os("COMPILER_INLINE_TEMPLATE",e)){var f=ws(e,i.loc.end);s.value={type:2,content:f.source,loc:f}}if(i.children=l,As(e.source,i.tag))gs(e,vs.End,o);else if(Ps(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){var p=l[0];p&&Cs(p.loc.source,"\x3c!--")&&Ps(e,8)}return i.loc=ws(e,i.loc.start),a&&(e.inPre=!1),u&&(e.inVPre=!1),i}var vs=function(e){return e[e.Start=0]="Start",e[e.End=1]="End",e}(vs||{}),hs=R("if,else,else-if,for,slot");function gs(e,n,t){var r=xs(e),o=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=o[1],a=e.options.getNamespace(i,t);Es(e,o[0].length),Ts(e);var u=xs(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);var l=ms(e,n);0===n&&!e.inVPre&&l.some(function(e){return 7===e.type&&"pre"===e.name})&&(e.inVPre=!0,D(e,u),e.source=c,l=ms(e,n).filter(function(e){return"v-pre"!==e.name}));var s=!1;if(0===e.source.length?Ps(e,9):(s=Cs(e.source,"/>"),1===n&&s&&Ps(e,4),Es(e,s?2:1)),1!==n){var f=0;return e.inVPre||("slot"===i?f=2:"template"===i?l.some(function(e){return 7===e.type&&hs(e.name)})&&(f=3):function(e,n,t){var r=t.options;if(r.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Ll(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return!0;for(var o=0;o0&&!Cs(e.source,">")&&!Cs(e.source,"/>");)if(Cs(e.source,"/"))Ps(e,22),Es(e,1),Ts(e);else{1===n&&Ps(e,3);var o=ys(e,r);6===o.type&&o.value&&"class"===o.name&&(o.value.content=o.value.content.replace(/\s+/g," ").trim()),0===n&&t.push(o),/^[^\t\r\n\f />]/.test(e.source)&&Ps(e,15),Ts(e)}return t}function ys(e,n){var t,r,o=xs(e),i=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];n.has(i)&&Ps(e,2),n.add(i),"="===i[0]&&Ps(e,19);for(var a,u=/["'<]/g;a=u.exec(i);)Ps(e,17,a.index);Es(e,i.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Ts(e),Es(e,1),Ts(e),r=function(e){var n,t=xs(e),r=e.source[0],o='"'===r||"'"===r;if(o){Es(e,1);var i=e.source.indexOf(r);-1===i?n=Ss(e,e.source.length,4):(n=Ss(e,i,4),Es(e,1))}else{var a=/^[^\t\r\n\f >]+/.exec(e.source);if(!a)return;for(var u,c=/["'<=`]/g;u=c.exec(a[0]);)Ps(e,18,u.index);n=Ss(e,a[0].length,4)}return{content:n,isQuoted:o,loc:ws(e,t)}}(e),r||Ps(e,13));var c=ws(e,o);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(i)){var l,s=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(i),f=Cs(i,"."),p=s[1]||(f||Cs(i,":")?"bind":Cs(i,"@")?"on":"slot");if(s[2]){var d="slot"===p,v=i.lastIndexOf(s[2],i.length-((null==(t=s[3])?void 0:t.length)||0)),h=ws(e,Os(e,o,v),Os(e,o,v+s[2].length+(d&&s[3]||"").length)),g=s[2],m=!0;g.startsWith("[")?(m=!1,g.endsWith("]")?g=g.slice(1,g.length-1):(Ps(e,27),g=g.slice(1))):d&&(g+=s[3]||""),l={type:4,content:g,isStatic:m,constType:m?3:0,loc:h}}if(r&&r.isQuoted){var y=r.loc;y.start.offset++,y.start.column++,y.end=Zl(y.start,r.content),y.source=y.source.slice(1,-1)}var _=s[3]?s[3].slice(1).split("."):[];return f&&_.push("prop"),"bind"===p&&l&&_.includes("sync")&&os("COMPILER_V_BIND_SYNC",e)&&(p="model",_.splice(_.indexOf("sync"),1)),{type:7,name:p,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:_,loc:c}}return!e.inVPre&&Cs(i,"v-")&&Ps(e,26),{type:6,name:i,value:r&&{type:2,content:r.content,loc:r.loc},loc:c}}function _s(e,n){var t=f(e.options.delimiters,2),r=t[0],o=t[1],i=e.source.indexOf(o,r.length);if(-1!==i){var a=xs(e);Es(e,r.length);var u=xs(e),c=xs(e),l=i-r.length,s=e.source.slice(0,l),p=Ss(e,l,n),d=p.trim(),v=p.indexOf(d);return v>0&&Hl(u,s,v),Hl(c,s,l-(p.length-d.length-v)),Es(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:d,loc:ws(e,u,c)},loc:ws(e,a)}}Ps(e,25)}function bs(e,n){for(var t=3===n?["]]>"]:["<",e.options.delimiters[0]],r=e.source.length,o=0;oi&&(r=i)}var a=xs(e);return{type:2,content:Ss(e,r,n),loc:ws(e,a)}}function Ss(e,n,t){var r=e.source.slice(0,n);return Es(e,n),2!==t&&3!==t&&r.includes("&")?e.options.decodeEntities(r,4===t):r}function xs(e){return{column:e.column,line:e.line,offset:e.offset}}function ws(e,n,t){return{start:n,end:t=t||xs(e),source:e.originalSource.slice(n.offset,t.offset)}}function ks(e){return e[e.length-1]}function Cs(e,n){return e.startsWith(n)}function Es(e,n){var t=e.source;Hl(e,t,n),e.source=t.slice(n)}function Ts(e){var n=/^[\t\r\n\f ]+/.exec(e.source);n&&Es(e,n[0].length)}function Os(e,n,t){return Zl(n,e.originalSource.slice(n.offset,t),t)}function Ps(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xs(e);t&&(r.offset+=t,r.column+=t),e.options.onError(Rc(n,{start:r,end:r,source:""}))}function Ns(e,n,t){var r=e.source;switch(n){case 0:if(Cs(r,"=0;--o)if(As(r,t[o].tag))return!0;break;case 1:case 2:var i=ks(t);if(i&&As(r,i.tag))return!0;break;case 3:if(Cs(r,"]]>"))return!0}return!r}function As(e,n){return Cs(e,"]/.test(e[2+n.length]||">")}function Rs(e,n){Ls(e,n,Is(e,e.children[0]))}function Is(e,n){return 1===e.children.length&&1===n.type&&!Jl(n)}function Ls(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=r.length,i=0,a=0;a0){if(c>=2){u.codegenNode.patchFlag="-1",u.codegenNode=n.hoist(u.codegenNode),i++;continue}}else{var l=u.codegenNode;if(13===l.type){var s=js(l);if((!s||512===s||1===s)&&Us(u,n)>=2){var f=Bs(u);f&&(l.props=n.hoist(f))}l.dynamicProps&&(l.dynamicProps=n.hoist(l.dynamicProps))}}}if(1===u.type){var p=1===u.tagType;p&&n.scopes.vSlot++,Ls(u,n),p&&n.scopes.vSlot--}else if(11===u.type)Ls(u,n,1===u.children.length);else if(9===u.type)for(var d=0;d1)for(var l=0;ln&&(W.childIndex--,W.onNodeRemoved()):(W.currentNode=null,W.onNodeRemoved()),W.parent.children.splice(n,1)},onNodeRemoved:function(){},addIdentifiers:function(e){},removeIdentifiers:function(e){},hoist:function(e){J(e)&&(e=kl(e)),W.hoists.push(e);var n=kl("_hoisted_".concat(W.hoists.length),!1,e.loc,2);return n.hoisted=e,n},cache:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:20,index:e,value:n,isVNode:t,loc:_l}}(W.cached++,e,n)}};return W.filters=new Set,W}(e,n);Zs(e,t),n.hoistStatic&&Rs(e,t),n.ssr||function(e,n){var t=n.helper,r=e.children;if(1===r.length){var o=r[0];if(Is(e,o)&&o.codegenNode){var i=o.codegenNode;13===i.type&&Al(i,n),e.codegenNode=i}else e.codegenNode=o}else if(r.length>1){e.codegenNode=bl(n,t(Ic),void 0,e.children,"64",void 0,void 0,!0,void 0,!1)}}(e,t),e.helpers=new Set(p(t.helpers.keys())),e.components=p(t.components),e.directives=p(t.directives),e.imports=t.imports,e.hoists=t.hoists,e.temps=t.temps,e.cached=t.cached,e.filters=p(t.filters)}function Zs(e,n){n.currentNode=e;for(var t=n.nodeTransforms,r=[],o=0;o1&&void 0!==arguments[1]?arguments[1]:{},t=function(e,n){var t=n.mode,r=void 0===t?"function":t,o=n.prefixIdentifiers,i=void 0===o?"module"===r:o,a=n.sourceMap,u=void 0!==a&&a,c=n.filename,l=void 0===c?"template.vue.html":c,s=n.scopeId,f=void 0===s?null:s,p=n.optimizeImports,d=void 0!==p&&p,v=n.runtimeGlobalName,h=void 0===v?"Vue":v,g=n.runtimeModuleName,m=void 0===g?"vue":g,y=n.ssrRuntimeModuleName,_=void 0===y?"vue/server-renderer":y,b=n.ssr,S=void 0!==b&&b,x=n.isTS,w=void 0!==x&&x,k=n.inSSR,C={mode:r,prefixIdentifiers:i,sourceMap:u,filename:l,scopeId:f,optimizeImports:d,runtimeGlobalName:h,runtimeModuleName:m,ssrRuntimeModuleName:_,ssr:S,isTS:w,inSSR:void 0!==k&&k,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:function(e){return"_".concat(yl[e])},push:function(e,n){C.code+=e},indent:function(){E(++C.indentLevel)},deindent:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?--C.indentLevel:E(--C.indentLevel)},newline:function(){E(C.indentLevel)}};function E(e){C.push("\n"+" ".repeat(e))}return C}(e,n);n.onContextCreated&&n.onContextCreated(t);var r=t.mode,o=t.push,i=t.prefixIdentifiers,a=t.indent,u=t.deindent,c=t.newline,l=t.ssr,s=Array.from(e.helpers),f=s.length>0,p=!i&&"module"!==r;if(function(e,n){var t=n.push,r=n.newline,o=n.runtimeGlobalName,i=Array.from(e.helpers);if(i.length>0&&(t("const _Vue = ".concat(o,"\n")),e.hoists.length)){var a=[Dc,Zc,Hc,$c,qc].filter(function(e){return i.includes(e)}).map(qs).join(", ");t("const { ".concat(a," } = _Vue\n"))}(function(e,n){if(e.length){n.pure=!0;var t=n.push,r=n.newline;r();for(var o=0;o0)&&c()),e.directives.length&&(zs(e.directives,"directive",t),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),zs(e.filters,"filter",t),c()),e.temps>0){o("let ");for(var d=0;d0?", ":"","_temp").concat(d))}return(e.components.length||e.directives.length||e.temps)&&(o("\n"),c()),l||o("return "),e.codegenNode?Js(e.codegenNode,t):o("null"),p&&(u(),o("}")),u(),o("}"),{ast:e,code:t.code,preamble:"",map:t.map?t.map.toJSON():void 0}}function zs(e,n,t){for(var r=t.helper,o=t.push,i=t.newline,a=t.isTS,u=r("filter"===n?Kc:"component"===n?Wc:Gc),c=0;c3||!1;n.push("["),t&&n.indent(),Ks(e,n,t),t&&n.deindent(),n.push("]")}function Ks(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=n.push,i=n.newline,a=0;a1||!1;t(u?"{":"{ "),u&&r();for(var c=0;c "),(c||u)&&(t("{"),r()),a?(c&&t("return "),q(a)?Gs(a,n):Js(a,n)):u&&Js(u,n),(c||u)&&(o(),t("}")),l&&(e.isNonScopedSlot&&t(", undefined, true"),t(")"))}(e,n);break;case 19:!function(e,n){var t=e.test,r=e.consequent,o=e.alternate,i=e.newline,a=n.push,u=n.indent,c=n.deindent,l=n.newline;if(4===t.type){var s=!Ml(t.content);s&&a("("),Qs(t,n),s&&a(")")}else a("("),Js(t,n),a(")");i&&u(),n.indentLevel++,i||a(" "),a("? "),Js(r,n),n.indentLevel--,i&&l(),i||a(" "),a(": ");var f=19===o.type;f||n.indentLevel++,Js(o,n),f||n.indentLevel--,i&&c(!0)}(e,n);break;case 20:!function(e,n){var t=n.push,r=n.helper,o=n.indent,i=n.deindent,a=n.newline;t("_cache[".concat(e.index,"] || (")),e.isVNode&&(o(),t("".concat(r(sl),"(-1),")),a()),t("_cache[".concat(e.index,"] = ")),Js(e.value,n),e.isVNode&&(t(","),a(),t("".concat(r(sl),"(1),")),a(),t("_cache[".concat(e.index,"]")),i()),t(")")}(e,n);break;case 21:Ks(e.body,n,!0,!1)}}function Qs(e,n){var t=e.content,r=e.isStatic;n.push(r?JSON.stringify(t):t,e)}function Ys(e,n){for(var t=0;t=-1;){var l=u[c];if(l&&3===l.type)t.removeNode(l);else{if(!l||2!==l.type||l.content.trim().length){if(l&&9===l.type){"else-if"===n.name&&void 0===l.branches[l.branches.length-1].condition&&t.onError(Rc(30,e.loc)),t.removeNode();var s=nf(e,n);l.branches.push(s);var f=r&&r(l,s,!1);Zs(s,t),f&&f(),t.currentNode=null}else t.onError(Rc(30,e.loc));break}t.removeNode(l)}}}(e,n,t,function(e,n,r){for(var o=t.parent.children,i=o.indexOf(e),a=0;i-- >=0;){var u=o[i];u&&9===u.type&&(a+=u.branches.length)}return function(){if(r)e.codegenNode=tf(n,a,t);else{var o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=tf(n,a+e.branches.length-1,t)}}})});function nf(e,n){var t=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===n.name?void 0:n.exp,children:t&&!$l(e,"for")?e.children:[e],userKey:ql(e,"key"),isTemplateIf:t}}function tf(e,n,t){return e.condition?Ol(e.condition,rf(e,n,t),El(t.helper(Hc),['""',"true"])):rf(e,n,t)}function rf(e,n,t){var r=t.helper,o=wl("key",kl("".concat(n),!1,_l,2)),i=e.children,a=i[0];if(1!==i.length||1!==a.type){if(1===i.length&&11===a.type){var u=a.codegenNode;return Xl(u,o,t),u}return bl(t,r(Ic),xl([o]),i,"64",void 0,void 0,!0,!1,!1,e.loc)}var c=a.codegenNode,l=function(e){return 14===e.type&&e.callee===gl?e.arguments[1].returns:e}(c);return 13===l.type&&Al(l,t),Xl(l,o,t),c}var of=Hs("for",function(e,n,t){var r=t.helper,o=t.removeHelper;return function(e,n,t,r){if(n.exp){var o=lf(n.exp);if(o){var i=t.scopes,a=o.source,u=o.value,c=o.key,l=o.index,s={type:11,loc:n.loc,source:a,valueAlias:u,keyAlias:c,objectIndexAlias:l,parseResult:o,children:Kl(e)?e.children:[e]};t.replaceNode(s),i.vFor++;var f=r&&r(s);return function(){i.vFor--,f&&f()}}t.onError(Rc(32,n.loc))}else t.onError(Rc(31,n.loc))}(e,n,t,function(n){var i=El(r(Qc),[n.source]),a=Kl(e),u=$l(e,"memo"),c=ql(e,"key"),l=c&&(6===c.type?kl(c.value.content,!0):c.exp),s=c?wl("key",l):null,f=4===n.source.type&&n.source.constType>0,d=f?64:c?128:256;return n.codegenNode=bl(t,r(Ic),void 0,i,d+"",void 0,void 0,!0,!f,!1,e.loc),function(){var c,d=n.children,v=1!==d.length||1!==d[0].type,h=Jl(e)?e:a&&1===e.children.length&&Jl(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,a&&s&&Xl(c,s,t)):v?c=bl(t,r(Ic),s?xl([s]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=d[0].codegenNode,a&&s&&Xl(c,s,t),c.isBlock!==!f&&(c.isBlock?(o(Uc),o(Nl(t.inSSR,c.isComponent))):o(Pl(t.inSSR,c.isComponent))),c.isBlock=!f,c.isBlock?(r(Uc),r(Nl(t.inSSR,c.isComponent))):r(Pl(t.inSSR,c.isComponent))),u){var g=Tl(ff(n.parseResult,[kl("_cached")]));g.body=function(e){return{type:21,body:e,loc:_l}}([Cl(["const _memo = (",u.exp,")"]),Cl(["if (_cached"].concat(p(l?[" && _cached.key === ",l]:[]),[" && ".concat(t.helperString(ml),"(_cached, _memo)) return _cached")])),Cl(["const _item = ",c]),kl("_item.memo = _memo"),kl("return _item")]),i.arguments.push(g,kl("_cache"),kl(String(t.cached++)))}else i.arguments.push(Tl(ff(n.parseResult),c,!0))}})}),af=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,uf=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,cf=/^\(|\)$/g;function lf(e,n){var t=e.loc,r=e.content,o=r.match(af);if(o){var i=f(o,3),a=i[1],u=i[2],c={source:sf(t,u.trim(),r.indexOf(u,a.length)),value:void 0,key:void 0,index:void 0},l=a.trim().replace(cf,"").trim(),s=a.indexOf(l),p=l.match(uf);if(p){l=l.replace(uf,"").trim();var d,v=p[1].trim();if(v&&(d=r.indexOf(v,s+l.length),c.key=sf(t,v,d)),p[2]){var h=p[2].trim();h&&(c.index=sf(t,h,r.indexOf(h,c.key?d+v.length:s+l.length)))}}return l&&(c.value=sf(t,l,s)),c}}function sf(e,n,t){return kl(n,!1,Dl(e,t,n.length))}function ff(e){var n=e.value,t=e.key,r=e.index,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(e){for(var n=e.length;n--&&!e[n];);return e.slice(0,n+1).map(function(e,n){return e||kl("_".repeat(n+1),!1)})}([n,t,r].concat(p(o)))}var pf=kl("undefined",!1),df=function(e,n){if(1===e.type&&(1===e.tagType||3===e.tagType)&&$l(e,"slot"))return n.scopes.vSlot++,function(){n.scopes.vSlot--}},vf=function(e,n,t){return Tl(e,n,!1,!0,n.length?n[0].loc:t)};function hf(e,n,t){var r=[wl("name",e),wl("fn",n)];return null!=t&&r.push(wl("key",kl(String(t),!0))),xl(r)}function gf(e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=e.tag,o=wf(r),i=ql(e,"is");if(i)if(o||rs("COMPILER_IS_ON_ELEMENT",n)){var a=6===i.type?i.value&&kl(i.value.content,!0):i.exp;if(a)return El(n.helper(zc),[a])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));var u=!o&&$l(e,"is");if(u&&u.exp)return El(n.helper(zc),[u.exp]);var c=Ll(r)||n.isBuiltInComponent(r);return c?(t||n.helper(c),c):(n.helper(Wc),n.components.add(r),ns(r,"component"))}(e,n):'"'.concat(l,'"'),d=Y(p)&&p.callee===zc,v=0,h=d||p===Lc||p===Vc||!f&&("svg"===l||"foreignObject"===l);if(s.length>0){var g=bf(e,n,void 0,f,d);t=g.props,v=g.patchFlag,a=g.dynamicPropNames;var m=g.directives;u=m&&m.length?Sl(m.map(function(e){return function(e,n){var t=[],r=yf.get(e);r?t.push(n.helperString(r)):(n.helper(Gc),n.directives.add(e.name),t.push(ns(e.name,"directive")));var o=e.loc;if(e.exp&&t.push(e.exp),e.arg&&(e.exp||t.push("void 0"),t.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||t.push("void 0"),t.push("void 0"));var i=kl("true",!1,o);t.push(xl(e.modifiers.map(function(e){return wl(e,i)}),o))}return Sl(t,e.loc)}(e,n)})):void 0,g.shouldUseBlock&&(h=!0)}if(e.children.length>0)if(p===Mc&&(h=!0,v|=1024),f&&p!==Lc&&p!==Mc){var y=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vf;n.helper(dl);var r=e.children,o=e.loc,i=[],a=[],u=n.scopes.vSlot>0||n.scopes.vFor>0,c=$l(e,"slot",!0);if(c){var l=c.arg,s=c.exp;l&&!Rl(l)&&(u=!0),i.push(wl(l||kl("default",!0),t(s,r,o)))}for(var f=!1,p=!1,d=[],v=new Set,h=0,g=0;g2&&void 0!==arguments[2]?arguments[2]:e.props,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=e.tag,c=e.loc,l=e.children,s=[],f=[],d=[],v=l.length>0,h=!1,g=0,m=!1,y=!1,_=!1,b=!1,S=!1,x=!1,w=[],k=function(e){s.length&&(f.push(xl(Sf(s),c)),s=[]),e&&f.push(e)},C=function(e){var t=e.key,r=e.value;if(Rl(t)){var a=t.content,u=B(a);if(u&&(!o||i)&&"onclick"!==a.toLowerCase()&&"onUpdate:modelValue"!==a&&!oe(a)&&(b=!0),u&&oe(a)&&(x=!0),20===r.type||(4===r.type||8===r.type)&&Vs(r,n)>0)return;"ref"===a?m=!0:"class"===a?y=!0:"style"===a?_=!0:"key"!==a&&!w.includes(a)&&w.push(a),o&&("class"===a||"style"===a)&&!w.includes(a)&&w.push(a)}else S=!0},E=0;E0&&s.push(wl(kl("ref_for",!0),kl("true")))),"is"===P&&(wf(u)||N&&N.content.startsWith("vue:")||rs("COMPILER_IS_ON_ELEMENT",n)))continue;s.push(wl(kl(P,!0,Dl(O,0,P.length)),kl(N?N.content:"",A,N?N.loc:O)))}else{var R=T.name,I=T.arg,L=T.exp,V=T.loc,M="bind"===R,F="on"===R;if("slot"===R){o||n.onError(Rc(40,V));continue}if("once"===R||"memo"===R||"is"===R||M&&Wl(I,"is")&&(wf(u)||rs("COMPILER_IS_ON_ELEMENT",n))||F&&a)continue;if((M&&Wl(I,"key")||F&&v&&Wl(I,"vue:before-update"))&&(h=!0),M&&Wl(I,"ref")&&n.scopes.vFor>0&&s.push(wl(kl("ref_for",!0),kl("true"))),!I&&(M||F)){if(S=!0,L)if(M){if(k(),rs("COMPILER_V_BIND_OBJECT_ORDER",n)){f.unshift(L);continue}f.push(L)}else k({type:14,loc:V,callee:n.helper(al),arguments:o?[L]:[L,"true"]});else n.onError(Rc(M?34:35,V));continue}var U=n.directiveTransforms[R];if(U){var j,D=U(T,e,n),Z=D.props,H=D.needRuntime;!a&&Z.forEach(C),F&&I&&!Rl(I)?k(xl(Z,c)):(j=s).push.apply(j,p(Z)),H&&(d.push(T),Q(H)&&yf.set(T,H))}else ie(R)||(d.push(T),v&&(h=!0))}}if(f.length?(k(),t=f.length>1?El(n.helper(nl),f,c):f[0]):s.length&&(t=xl(Sf(s),c)),S?g|=16:(y&&!o&&(g|=2),_&&!o&&(g|=4),w.length&&(g|=8),b&&(g|=32)),!h&&(0===g||32===g)&&(m||x||d.length>0)&&(g|=512),!n.inSSR&&t)switch(t.type){case 15:for(var $=-1,q=-1,W=!1,z=0;z0){var u=bf(e,n,o,!1,!1),c=u.props,l=u.directives;t=c,l.length&&n.onError(Rc(36,l[0].loc))}return{slotName:r,slotProps:t}}(e,n),i=o.slotName,a=o.slotProps,u=[n.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"],c=2;a&&(u[2]=a,c=3),t.length&&(u[3]=Tl([],t,!1,!1,r),c=4),n.scopeId&&!n.slotted&&(c=5),u.splice(c),e.codegenNode=El(n.helper(Yc),u,r)}},Cf=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ef=function(e,n,t,r){var o,i=e.loc,a=e.modifiers,u=e.arg;if(!e.exp&&!a.length&&t.onError(Rc(35,i)),4===u.type)if(u.isStatic){var c=u.content;c.startsWith("vue:")&&(c="vnode-".concat(c.slice(4))),o=kl(0!==n.tagType||c.startsWith("vnode")||!/[A-Z]/.test(c)?pe(ce(c)):"on:".concat(c),!0,u.loc)}else o=Cl(["".concat(t.helperString(ll),"("),u,")"]);else(o=u).children.unshift("".concat(t.helperString(ll),"(")),o.children.push(")");var l=e.exp;l&&!l.content.trim()&&(l=void 0);var s=t.cacheHandlers&&!l&&!t.inVOnce;if(l){var f=jl(l.content),p=!(f||Cf.test(l.content)),d=l.content.includes(";");(p||s&&f)&&(l=Cl(["".concat(p?"$event":"(...args)"," => ").concat(d?"{":"("),l,d?"}":")"]))}var v={props:[wl(o,l||kl("() => {}",!1,i))]};return r&&(v=r(v)),s&&(v.props[0].value=t.cache(v.props[0].value)),v.props.forEach(function(e){return e.key.isHandlerKey=!0}),v},Tf=function(e,n,t){var r=e.exp,o=e.modifiers,i=e.loc,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content="".concat(a.content,' || ""')),o.includes("camel")&&(4===a.type?a.content=a.isStatic?ce(a.content):"".concat(t.helperString(ul),"(").concat(a.content,")"):(a.children.unshift("".concat(t.helperString(ul),"(")),a.children.push(")"))),t.inSSR||(o.includes("prop")&&Of(a,"."),o.includes("attr")&&Of(a,"^")),!r||4===r.type&&!r.content.trim()?(t.onError(Rc(34,i)),{props:[wl(a,kl("",!0,i))]}):{props:[wl(a,r)]}},Of=function(e,n){4===e.type?e.content=e.isStatic?n+e.content:"`".concat(n,"${").concat(e.content,"}`"):(e.children.unshift("'".concat(n,"' + (")),e.children.push(")"))},Pf=function(e,n){if(0===e.type||1===e.type||11===e.type||10===e.type)return function(){for(var t,r=e.children,o=!1,i=0;i ((",r,") = $event)"]);var f=[wl(l,e.exp),wl(s,c)];if(e.modifiers.length&&1===n.tagType){var p=e.modifiers.map(function(e){return(Ml(e)?e:JSON.stringify(e))+": true"}).join(", "),d=o?Rl(o)?"".concat(o.content,"Modifiers"):Cl([o,' + "Modifiers"']):"modelModifiers";f.push(wl(d,kl("{ ".concat(p," }"),!1,e.loc,2)))}return If(f)};function If(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{props:e}}var Lf=/[\w).+\-_$\]]/,Vf=function(e,n){!rs("COMPILER_FILTER",n)||(5===e.type&&Mf(e.content,n),1===e.type&&e.props.forEach(function(e){7===e.type&&"for"!==e.name&&e.exp&&Mf(e.exp,n)}))};function Mf(e,n){if(4===e.type)Ff(e,n);else for(var t=0;t=0&&" "===(g=a.charAt(m));m--);(!g||!Lf.test(g))&&(s=!0)}}else void 0===i?(v=o+1,i=a.slice(0,o).trim()):y();function y(){h.push(a.slice(v,o).trim()),v=o+1}if(void 0===i?i=a.slice(0,o).trim():0!==v&&y(),h.length){for(o=0;o1&&void 0!==arguments[1]?arguments[1]:{},t=n.onError||Nc,r="module"===n.mode;!0===n.prefixIdentifiers?t(Rc(47)):r&&t(Rc(48)),n.cacheHandlers&&t(Rc(49)),n.scopeId&&!r&&t(Rc(50));var o=J(e)?function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=function(e,n){var t,r=D({},us);for(t in n)r[t]=void 0===n[t]?us[t]:n[t];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:r.onWarn}}(e,n),r=xs(t);return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:n}}(cs(t,0,[]),ws(t,r))}(e,n):e,i=[Af,ef,jf,of,Vf,kf,_f,df,Pf],a={on:Ef,bind:Tf,model:Rf};return Ds(o,D({},n,{prefixIdentifiers:!1,nodeTransforms:[].concat(i,p(n.nodeTransforms||[])),directiveTransforms:D({},a,n.directiveTransforms||{})})),Ws(o,D({},n,{prefixIdentifiers:!1}))}var Zf,Hf,$f=Symbol(""),qf=Symbol(""),Wf=Symbol(""),zf=Symbol(""),Gf=Symbol(""),Kf=Symbol(""),Jf=Symbol(""),Qf=Symbol(""),Yf=Symbol(""),Xf=Symbol("");l(s={},$f,"vModelRadio"),l(s,qf,"vModelCheckbox"),l(s,Wf,"vModelText"),l(s,zf,"vModelSelect"),l(s,Gf,"vModelDynamic"),l(s,Kf,"withModifiers"),l(s,Jf,"withKeys"),l(s,Qf,"vShow"),l(s,Yf,"Transition"),l(s,Xf,"TransitionGroup"),Zf=s,Object.getOwnPropertySymbols(Zf).forEach(function(e){yl[e]=Zf[e]});var ep=R("style,iframe,script,noscript",!0),np={isVoidTag:Pe,isNativeTag:function(e){return Te(e)||Oe(e)},isPreTag:function(e){return"pre"===e},decodeEntities:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Hf||(Hf=document.createElement("div")),n?(Hf.innerHTML='
'),Hf.children[0].getAttribute("foo")):(Hf.innerHTML=e,Hf.textContent)},isBuiltInComponent:function(e){return Il(e,"Transition")?Yf:Il(e,"TransitionGroup")?Xf:void 0},getNamespace:function(e,n){var t=n?n.ns:0;if(n&&2===t)if("annotation-xml"===n.tag){if("svg"===e)return 1;n.props.some(function(e){return 6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)})&&(t=0)}else/^m(?:[ions]|text)$/.test(n.tag)&&"mglyph"!==e&&"malignmark"!==e&&(t=0);else n&&1===t&&("foreignObject"===n.tag||"desc"===n.tag||"title"===n.tag)&&(t=0);if(0===t){if("svg"===e)return 1;if("math"===e)return 2}return t},getTextMode:function(e){var n=e.tag;if(0===e.ns){if("textarea"===n||"title"===n)return 1;if(ep(n))return 2}return 0}},tp=function(e,n){var t=ke(e);return kl(JSON.stringify(t),!1,n,3)};function rp(e,n){return Rc(e,n)}var op=R("passive,once,capture"),ip=R("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ap=R("left,right"),up=R("onkeyup,onkeydown,onkeypress",!0),cp=function(e,n){return Rl(e)&&"onclick"===e.content.toLowerCase()?kl(n,!0):4!==e.type?Cl(["(",e,') === "onClick" ? "'.concat(n,'" : ('),e,")"]):e},lp=function(e,n){1===e.type&&0===e.tagType&&("script"===e.tag||"style"===e.tag)&&n.removeNode()},sp=[function(e){1===e.type&&e.props.forEach(function(n,t){6===n.type&&"style"===n.name&&n.value&&(e.props[t]={type:7,name:"bind",arg:kl("style",!0,n.loc),exp:tp(n.value.content,n.loc),modifiers:[],loc:n.loc})})}],fp={cloak:function(){return{props:[]}},html:function(e,n,t){var r=e.exp,o=e.loc;return r||t.onError(rp(53,o)),n.children.length&&(t.onError(rp(54,o)),n.children.length=0),{props:[wl(kl("innerHTML",!0,o),r||kl("",!0))]}},text:function(e,n,t){var r=e.exp,o=e.loc;return r||t.onError(rp(55,o)),n.children.length&&(t.onError(rp(56,o)),n.children.length=0),{props:[wl(kl("textContent",!0),r?Vs(r,t)>0?r:El(t.helperString(el),[r],o):kl("",!0))]}},model:function(e,n,t){var r=Rf(e,n,t);if(!r.props.length||1===n.tagType)return r;e.arg&&t.onError(rp(58,e.arg.loc));var o=n.tag,i=t.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||i){var a=Wf,u=!1;if("input"===o||i){var c=ql(n,"type");if(c){if(7===c.type)a=Gf;else if(c.value)switch(c.value.content){case"radio":a=$f;break;case"checkbox":a=qf;break;case"file":u=!0,t.onError(rp(59,e.loc))}}else(function(e){return e.props.some(function(e){return!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)})})(n)&&(a=Gf)}else"select"===o&&(a=zf);u||(r.needRuntime=t.helper(a))}else t.onError(rp(57,e.loc));return r.props=r.props.filter(function(e){return!(4===e.key.type&&"modelValue"===e.key.content)}),r},on:function(e,n,t){return Ef(e,n,t,function(n){var r=e.modifiers;if(!r.length)return n;var o=n.props[0],i=o.key,a=o.value,u=function(e,n,t,r){for(var o=[],i=[],a=[],u=0;u1&&void 0!==arguments[1]?arguments[1]:{};return Df(e,D({},np,n,{nodeTransforms:[lp].concat(sp,p(n.nodeTransforms||[])),directiveTransforms:D({},fp,n.directiveTransforms||{}),transformHoist:null}))}(e,i),u=a.code,c=new Function("Vue",u)(d);return c._rc=!0,pp[t]=c});var dp=function(){var e=c(function e(){a(this,e),setTimeout(function(){Cc({template:'',directives:{maskito:A},data:function(){return{value:"123456",options:(0,C.f8)()}}}).mount("#vue")})});return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=w.Xpm({type:e,selectors:[["vue-example-1"]],decls:1,vars:0,consts:[["id","vue"]],template:function(e,n){1&e&&w._UZ(0,"div",0)},encapsulation:2}),e}(),vp=function(){var e=c(function e(){a(this,e),this.coreConceptsOverviewDocPage="/core-concepts/overview",this.useMaskitoBasicUsage=o.e(6916).then(o.t.bind(o,6916,17)),this.queryNestedInputDemo=o.e(9748).then(o.t.bind(o,79748,17)),this.bestBadPractice=o.e(7648).then(o.t.bind(o,77648,17))});return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=w.Xpm({type:e,selectors:[["vue-doc-page"]],decls:52,vars:4,consts:[["header","Vue","path","vue"],[1,"tui-space_top-0"],["status","warning",1,"tui-space_top-6"],[1,"tui-space_bottom-0"],["tuiLink","",3,"routerLink"],[1,"tui-space_top-12"],["code","npm install @maskito/{core,vue}"],[3,"code"],["id","example","heading","Above code example in practice"],[1,"tui-space_bottom-4"]],template:function(e,n){1&e&&(w.TgZ(0,"tui-doc-page",0),w.TgZ(1,"p",1),w.TgZ(2,"code"),w._uU(3,"@maskito/vue"),w.qZA(),w._uU(4," is a light-weighted library to use "),w.TgZ(5,"strong"),w._uU(6,"Maskito"),w.qZA(),w._uU(7," in as a Vue directive. "),w.qZA(),w.TgZ(8,"tui-notification",2),w.TgZ(9,"strong"),w._uU(10,"Prerequisites"),w.qZA(),w.TgZ(11,"p",3),w._uU(12," To get the most out of this guide, you should review the topic "),w.TgZ(13,"a",4),w._uU(14,' "Core\xa0Concepts" '),w.qZA(),w._uU(15," first. "),w.qZA(),w.qZA(),w.TgZ(16,"section",5),w.TgZ(17,"h2"),w._uU(18,"Getting Started"),w.qZA(),w.TgZ(19,"p"),w._uU(20,"Install libraries"),w.qZA(),w._UZ(21,"tui-doc-code",6),w.TgZ(22,"p"),w._uU(23," and use "),w.TgZ(24,"strong"),w._uU(25,"Maskito"),w.qZA(),w.qZA(),w._UZ(26,"tui-doc-code",7),w.qZA(),w.TgZ(27,"tui-doc-example",8),w._UZ(28,"vue-example-1"),w.qZA(),w.TgZ(29,"section",5),w.TgZ(30,"h2"),w._uU(31,"Query nested input element"),w.qZA(),w.TgZ(32,"p"),w._uU(33," Pass a predicate to "),w.TgZ(34,"strong"),w._uU(35,"elementPredicate"),w.qZA(),w._uU(36," to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library. "),w.qZA(),w.TgZ(37,"tui-notification",9),w._uU(38," By default "),w.TgZ(39,"strong"),w._uU(40,"Maskito"),w.qZA(),w._uU(41," will try to find input/textarea by querying its host: "),w.TgZ(42,"code"),w._uU(43,"host.querySelector('input,textarea')"),w.qZA(),w._uU(44," so that might be sufficient. Use custom predicate if you need custom logic. "),w.qZA(),w._UZ(45,"tui-doc-code",7),w.qZA(),w.TgZ(46,"section",5),w.TgZ(47,"h2"),w._uU(48,"Best practices & Anti-Patterns"),w.qZA(),w.TgZ(49,"p"),w._uU(50," Avoid inlining options object, otherwise Maskito will be recreated on every update: "),w.qZA(),w._UZ(51,"tui-doc-code",7),w.qZA(),w.qZA()),2&e&&(w.xp6(13),w.Q6J("routerLink",n.coreConceptsOverviewDocPage),w.xp6(13),w.Q6J("code",n.useMaskitoBasicUsage),w.xp6(19),w.Q6J("code",n.queryNestedInputDemo),w.xp6(6),w.Q6J("code",n.bestBadPractice))},directives:[k.qo,x.Ls,S.V,m.yS,k.c0,k.f2,dp],encapsulation:2,changeDetection:0}),e}(),hp=function(){var e=c(function e(){a(this,e)});return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=w.oAB({type:e}),e.\u0275inj=w.cJS({imports:[[v.ez,g.u5,g.UX,y.U5,_.fV,S.j,x.Hi,m.Bz.forChild((0,b.Ve)(vp))]]}),e}()}}])}(); \ No newline at end of file +!function(){"use strict";function e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},n(e,t)}function t(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var t,i=o(e);if(n){var a=o(this).constructor;t=Reflect.construct(i,arguments,a)}else t=i.apply(this,arguments);return r(this,t)}}function r(e,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function i(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=d(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw i}}}}function a(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function u(e,n){for(var t=0;te.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=t.call(i,"catchLoc"),c=t.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&t.call(o,"finallyLoc")&&this.prev=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),f}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:T(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),f}},e}(self.webpackChunkmaskito=self.webpackChunkmaskito||[]).push([[7027],{27027:function(n,r,o){var u,s;o.r(r),o.d(r,{VueDocPageModule:function(){return hp}});var d={};o.r(d),o.d(d,{BaseTransition:function(){return qr},BaseTransitionPropsValidators:function(){return $r},Comment:function(){return Yi},EffectScope:function(){return Fe},Fragment:function(){return Ji},KeepAlive:function(){return ro},ReactiveEffect:function(){return Qe},Static:function(){return Xi},Suspense:function(){return Cr},Teleport:function(){return Gi},Text:function(){return Qi},Transition:function(){return Ou},TransitionGroup:function(){return zu},VueElement:function(){return Su},assertNumber:function(){return Rt},callWithAsyncErrorHandling:function(){return Lt},callWithErrorHandling:function(){return It},camelize:function(){return ce},capitalize:function(){return fe},cloneVNode:function(){return ya},compatUtils:function(){return iu},computed:function(){return Ka},createApp:function(){return Cc},createBlock:function(){return ca},createCommentVNode:function(){return Sa},createElementBlock:function(){return ua},createElementVNode:function(){return ha},createHydrationRenderer:function(){return Bi},createPropsRestProxy:function(){return ni},createRenderer:function(){return Ui},createSSRApp:function(){return Ec},createSlots:function(){return Ro},createStaticVNode:function(){return ba},createTextVNode:function(){return _a},createVNode:function(){return ga},customRef:function(){return kt},defineAsyncComponent:function(){return eo},defineComponent:function(){return Yr},defineCustomElement:function(){return _u},defineEmits:function(){return Zo},defineExpose:function(){return Ho},defineModel:function(){return Wo},defineOptions:function(){return $o},defineProps:function(){return Do},defineSSRCustomElement:function(){return bu},defineSlots:function(){return qo},devtools:function(){return er},effect:function(){return Xe},effectScope:function(){return Ue},getCurrentInstance:function(){return Ia},getCurrentScope:function(){return je},getTransitionRawChildren:function(){return Qr},guardReactiveProps:function(){return ma},h:function(){return Ja},handleError:function(){return Vt},hasInjectionContext:function(){return bi},hydrate:function(){return kc},initCustomFormatter:function(){return Xa},initDirectivesForSSR:function(){return Pc},inject:function(){return _i},isMemoSame:function(){return nu},isProxy:function(){return at},isReactive:function(){return rt},isReadonly:function(){return ot},isRef:function(){return dt},isRuntimeOnly:function(){return $a},isShallow:function(){return it},isVNode:function(){return la},markRaw:function(){return ct},mergeDefaults:function(){return Xo},mergeModels:function(){return ei},mergeProps:function(){return Ca},nextTick:function(){return qt},normalizeClass:function(){return Ce},normalizeProps:function(){return Ee},normalizeStyle:function(){return be},onActivated:function(){return io},onBeforeMount:function(){return vo},onBeforeUnmount:function(){return yo},onBeforeUpdate:function(){return go},onDeactivated:function(){return ao},onErrorCaptured:function(){return wo},onMounted:function(){return ho},onRenderTracked:function(){return xo},onRenderTriggered:function(){return So},onScopeDispose:function(){return De},onServerPrefetch:function(){return bo},onUnmounted:function(){return _o},onUpdated:function(){return mo},openBlock:function(){return ta},popScopeId:function(){return gr},provide:function(){return yi},proxyRefs:function(){return xt},pushScopeId:function(){return hr},queuePostFlushCb:function(){return Gt},reactive:function(){return Yn},readonly:function(){return et},ref:function(){return vt},registerRuntimeCompiler:function(){return Ha},render:function(){return wc},renderList:function(){return Ao},renderSlot:function(){return Io},resolveComponent:function(){return Co},resolveDirective:function(){return Oo},resolveDynamicComponent:function(){return To},resolveFilter:function(){return ou},resolveTransitionHooks:function(){return zr},setBlockTracking:function(){return ia},setDevtoolsHook:function(){return or},setTransitionHooks:function(){return Jr},shallowReactive:function(){return Xn},shallowReadonly:function(){return nt},shallowRef:function(){return ht},ssrContextKey:function(){return Qa},ssrUtils:function(){return ru},stop:function(){return en},toDisplayString:function(){return Ve},toHandlerKey:function(){return pe},toHandlers:function(){return Vo},toRaw:function(){return ut},toRef:function(){return Ot},toRefs:function(){return Ct},toValue:function(){return bt},transformVNodeArgs:function(){return fa},triggerRef:function(){return yt},unref:function(){return _t},useAttrs:function(){return Ko},useCssModule:function(){return xu},useCssVars:function(){return wu},useModel:function(){return Jo},useSSRContext:function(){return Ya},useSlots:function(){return Go},useTransitionState:function(){return Zr},vModelCheckbox:function(){return nc},vModelDynamic:function(){return cc},vModelRadio:function(){return rc},vModelSelect:function(){return oc},vModelText:function(){return ec},vShow:function(){return gc},version:function(){return tu},warn:function(){return At},watch:function(){return Vr},watchEffect:function(){return Ar},watchPostEffect:function(){return Rr},watchSyncEffect:function(){return Ir},withAsyncContext:function(){return ti},withCtx:function(){return yr},withDefaults:function(){return zo},withDirectives:function(){return jr},withKeys:function(){return hc},withMemo:function(){return eu},withModifiers:function(){return dc},withScopeId:function(){return mr}});var v=o(12057),g=o(87862),m=o(2586),y=o(52494),_=o(70997),b=o(44427),S=o(82847),x=o(60885),w=o(74788),k=o(84800),C=o(41282),E=o(64762),T=o(76991),O=new Map,P=new Map;function N(e,n){var t,r;return(0,E.mG)(this,void 0,void 0,h().mark(function o(){var i,a;return h().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return i=null!==(t=n.elementPredicate)&&void 0!==t?t:T.gI,P.set(e,i),o.next=4,i(e);case 4:a=o.sent,P.get(e)===i&&(null===(r=O.get(e))||void 0===r||r.destroy(),O.set(e,new T.C8(a,n)));case 6:case"end":return o.stop()}},o)}))}var A={unmounted:function(e){return function(e){var n;null===(n=O.get(e))||void 0===n||n.destroy(),O.delete(e),P.delete(e)}(e)},mounted:function(e,n){var t=n.value;return(0,E.mG)(void 0,void 0,void 0,h().mark(function n(){return h().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",N(e,t));case 1:case"end":return n.stop()}},n)}))},updated:function(e,n){var t=n.value,r=n.oldValue;return(0,E.mG)(void 0,void 0,void 0,h().mark(function n(){return h().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t!==r,!n.t0){n.next=4;break}return n.next=4,N(e,t);case 4:case"end":return n.stop()}},n)}))}};function R(e,n){for(var t=Object.create(null),r=e.split(","),o=0;o-1&&e.splice(t,1)},H=Object.prototype.hasOwnProperty,$=function(e,n){return H.call(e,n)},q=Array.isArray,W=function(e){return"[object Map]"===ne(e)},z=function(e){return"[object Set]"===ne(e)},G=function(e){return"[object Date]"===ne(e)},K=function(e){return"function"==typeof e},J=function(e){return"string"==typeof e},Q=function(e){return"symbol"==typeof e},Y=function(e){return null!==e&&"object"==typeof e},X=function(e){return Y(e)&&K(e.then)&&K(e.catch)},ee=Object.prototype.toString,ne=function(e){return ee.call(e)},te=function(e){return"[object Object]"===ne(e)},re=function(e){return J(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e},oe=R(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ie=R("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ae=function(e){var n=Object.create(null);return function(t){return n[t]||(n[t]=e(t))}},ue=/-(\w)/g,ce=ae(function(e){return e.replace(ue,function(e,n){return n?n.toUpperCase():""})}),le=/\B([A-Z])/g,se=ae(function(e){return e.replace(le,"-$1").toLowerCase()}),fe=ae(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),pe=ae(function(e){return e?"on".concat(fe(e)):""}),de=function(e,n){return!Object.is(e,n)},ve=function(e,n){for(var t=0;t1&&(n[t[0].trim()]=t[1].trim())}}),n}function Ce(e){var n="";if(J(e))n=e;else if(q(e))for(var t=0;t")]=o,e},{})):z(t)?l({},"Set(".concat(t.size,")"),p(t.values())):!Y(t)||q(t)||te(t)?t:String(t)},Fe=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];a(this,e),this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!n&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}return c(e,[{key:"active",get:function(){return this._active}},{key:"run",value:function(e){if(this._active){var n=Le;try{return Le=this,e()}finally{Le=n}}}},{key:"on",value:function(){Le=this}},{key:"off",value:function(){Le=this.parent}},{key:"stop",value:function(e){if(this._active){var n,t;for(n=0,t=this.effects.length;n1&&void 0!==arguments[1]?arguments[1]:Le;n&&n.active&&n.effects.push(e)}function je(){return Le}function De(e){Le&&Le.cleanups.push(e)}var Ze,He=function(e){var n=new Set(e);return n.w=0,n.n=0,n},$e=function(e){return(e.w&Ge)>0},qe=function(e){return(e.n&Ge)>0},We=new WeakMap,ze=0,Ge=1,Ke=Symbol(""),Je=Symbol(""),Qe=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2?arguments[2]:void 0;a(this,e),this.fn=n,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,Be(this,r)}return c(e,[{key:"run",value:function(){if(!this.active)return this.fn();for(var e=Ze,n=nn;e;){if(e===this)return;e=e.parent}try{return this.parent=Ze,Ze=this,nn=!0,Ge=1<<++ze,ze<=30?function(e){var n=e.deps;if(n.length)for(var t=0;t=l)&&c.push(e)})}else switch(void 0!==t&&c.push(u.get(t)),n){case"add":q(e)?re(t)&&c.push(u.get("length")):(c.push(u.get(Ke)),W(e)&&c.push(u.get(Je)));break;case"delete":q(e)||(c.push(u.get(Ke)),W(e)&&c.push(u.get(Je)));break;case"set":W(e)&&c.push(u.get(Ke))}if(1===c.length)c[0]&&ln(c[0]);else{var s,f=[],d=i(c);try{for(d.s();!(s=d.n()).done;){var v=s.value;v&&f.push.apply(f,p(v))}}catch(h){d.e(h)}finally{d.f()}ln(He(f))}}}function ln(e,n){var t,r=q(e)?e:p(e),o=i(r);try{for(o.s();!(t=o.n()).done;){var a=t.value;a.computed&&sn(a)}}catch(s){o.e(s)}finally{o.f()}var u,c=i(r);try{for(c.s();!(u=c.n()).done;){var l=u.value;l.computed||sn(l)}}catch(s){c.e(s)}finally{c.f()}}function sn(e,n){(e!==Ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}var fn=R("__proto__,__v_isRef,__isVue"),pn=new Set(Object.getOwnPropertyNames(Symbol).filter(function(e){return"arguments"!==e&&"caller"!==e}).map(function(e){return Symbol[e]}).filter(Q)),dn=_n(),vn=_n(!1,!0),hn=_n(!0),gn=_n(!0,!0),mn=function(){var e={};return["includes","indexOf","lastIndexOf"].forEach(function(n){e[n]=function(){for(var e=ut(this),t=0,r=this.length;t0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,r,o){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return n;if("__v_raw"===r&&o===(e?n?Qn:Jn:n?Kn:Gn).get(t))return t;var i=q(t);if(!e){if(i&&$(mn,r))return Reflect.get(mn,r,o);if("hasOwnProperty"===r)return yn}var a=Reflect.get(t,r,o);return(Q(r)?pn.has(r):fn(r))||(e||an(t,0,r),n)?a:dt(a)?i&&re(r)?a:a.value:Y(a)?e?et(a):Yn(a):a}}function bn(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(n,t,r,o){var i=n[t];if(ot(i)&&dt(i)&&!dt(r))return!1;if(!e&&(!it(r)&&!ot(r)&&(i=ut(i),r=ut(r)),!q(n)&&dt(i)&&!dt(r)))return i.value=r,!0;var a=q(n)&&re(t)?Number(t)2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=ut(e=e.__v_raw),i=ut(n);t||(n!==i&&an(o,0,n),an(o,0,i));var a=En(o),u=a.has,c=r?Cn:t?st:lt;return u.call(o,n)?c(e.get(n)):u.call(o,i)?c(e.get(i)):void(e!==o&&e.get(n))}function On(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=this.__v_raw,r=ut(t),o=ut(e);return n||(e!==o&&an(r,0,e),an(r,0,o)),e===o?t.has(e):t.has(e)||t.has(o)}function Pn(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!n&&an(ut(e),0,Ke),Reflect.get(e,"size",e)}function Nn(e){e=ut(e);var n=ut(this);return En(n).has.call(n,e)||(n.add(e),cn(n,"add",e,e)),this}function An(e,n){n=ut(n);var t=ut(this),r=En(t),o=r.has,i=r.get,a=o.call(t,e);a||(e=ut(e),a=o.call(t,e));var u=i.call(t,e);return t.set(e,n),a?de(n,u)&&cn(t,"set",e,n):cn(t,"add",e,n),this}function Rn(e){var n=ut(this),t=En(n),r=t.has,o=t.get,i=r.call(n,e);i||(e=ut(e),i=r.call(n,e)),o&&o.call(n,e);var a=n.delete(e);return i&&cn(n,"delete",e,void 0),a}function In(){var e=ut(this),n=0!==e.size,t=e.clear();return n&&cn(e,"clear",void 0,void 0),t}function Ln(e,n){return function(t,r){var o=this,i=o.__v_raw,a=ut(i),u=n?Cn:e?st:lt;return!e&&an(a,0,Ke),i.forEach(function(e,n){return t.call(r,u(e),u(n),o)})}}function Vn(e,n,t){return function(){var r=this.__v_raw,o=ut(r),i=W(o),a="entries"===e||e===Symbol.iterator&&i,u="keys"===e&&i,c=r[e].apply(r,arguments),s=t?Cn:n?st:lt;return!n&&an(o,0,u?Je:Ke),l({next:function(){var e=c.next(),n=e.value,t=e.done;return t?{value:n,done:t}:{value:a?[s(n[0]),s(n[1])]:s(n),done:t}}},Symbol.iterator,function(){return this})}}function Mn(e){return function(){return"delete"!==e&&this}}var Fn=function(){var e={get:function(e){return Tn(this,e)},get size(){return Pn(this)},has:On,add:Nn,set:An,delete:Rn,clear:In,forEach:Ln(!1,!1)},n={get:function(e){return Tn(this,e,!1,!0)},get size(){return Pn(this)},has:On,add:Nn,set:An,delete:Rn,clear:In,forEach:Ln(!1,!0)},t={get:function(e){return Tn(this,e,!0)},get size(){return Pn(this,!0)},has:function(e){return On.call(this,e,!0)},add:Mn("add"),set:Mn("set"),delete:Mn("delete"),clear:Mn("clear"),forEach:Ln(!0,!1)},r={get:function(e){return Tn(this,e,!0,!0)},get size(){return Pn(this,!0)},has:function(e){return On.call(this,e,!0)},add:Mn("add"),set:Mn("set"),delete:Mn("delete"),clear:Mn("clear"),forEach:Ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(function(o){e[o]=Vn(o,!1,!1),t[o]=Vn(o,!0,!1),n[o]=Vn(o,!1,!0),r[o]=Vn(o,!0,!0)}),[e,t,n,r]}(),Un=f(Fn,4),Bn=Un[0],jn=Un[1],Dn=Un[2],Zn=Un[3];function Hn(e,n){var t=n?e?Zn:Dn:e?jn:Bn;return function(n,r,o){return"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?n:Reflect.get($(t,r)&&r in n?t:n,r,o)}}var $n={get:Hn(!1,!1)},qn={get:Hn(!1,!0)},Wn={get:Hn(!0,!1)},zn={get:Hn(!0,!0)},Gn=new WeakMap,Kn=new WeakMap,Jn=new WeakMap,Qn=new WeakMap;function Yn(e){return ot(e)?e:tt(e,!1,Sn,$n,Gn)}function Xn(e){return tt(e,!1,wn,qn,Kn)}function et(e){return tt(e,!0,xn,Wn,Jn)}function nt(e){return tt(e,!0,kn,zn,Qn)}function tt(e,n,t,r,o){if(!Y(e)||e.__v_raw&&(!n||!e.__v_isReactive))return e;var i=o.get(e);if(i)return i;var a=function(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(function(e){return ne(e).slice(8,-1)}(e))}(e);if(0===a)return e;var u=new Proxy(e,2===a?r:t);return o.set(e,u),u}function rt(e){return ot(e)?rt(e.__v_raw):!(!e||!e.__v_isReactive)}function ot(e){return!(!e||!e.__v_isReadonly)}function it(e){return!(!e||!e.__v_isShallow)}function at(e){return rt(e)||ot(e)}function ut(e){var n=e&&e.__v_raw;return n?ut(n):e}function ct(e){return he(e,"__v_skip",!0),e}var lt=function(e){return Y(e)?Yn(e):e},st=function(e){return Y(e)?et(e):e};function ft(e){nn&&Ze&&un((e=ut(e)).dep||(e.dep=He()))}function pt(e,n){var t=(e=ut(e)).dep;t&&ln(t)}function dt(e){return!(!e||!0!==e.__v_isRef)}function vt(e){return gt(e,!1)}function ht(e){return gt(e,!0)}function gt(e,n){return dt(e)?e:new mt(e,n)}var mt=function(){function e(n,t){a(this,e),this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?n:ut(n),this._value=t?n:lt(n)}return c(e,[{key:"value",get:function(){return ft(this),this._value},set:function(e){var n=this.__v_isShallow||it(e)||ot(e);e=n?e:ut(e),de(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:lt(e),pt(this))}}]),e}();function yt(e){pt(e)}function _t(e){return dt(e)?e.value:e}function bt(e){return K(e)?e():_t(e)}var St={get:function(e,n,t){return _t(Reflect.get(e,n,t))},set:function(e,n,t,r){var o=e[n];return dt(o)&&!dt(t)?(o.value=t,!0):Reflect.set(e,n,t,r)}};function xt(e){return rt(e)?e:new Proxy(e,St)}var wt=function(){function e(n){var t=this;a(this,e),this.dep=void 0,this.__v_isRef=!0;var r=n(function(){return ft(t)},function(){return pt(t)}),o=r.get,i=r.set;this._get=o,this._set=i}return c(e,[{key:"value",get:function(){return this._get()},set:function(e){this._set(e)}}]),e}();function kt(e){return new wt(e)}function Ct(e){var n=q(e)?new Array(e.length):{};for(var t in e)n[t]=Pt(e,t);return n}var Et=function(){function e(n,t,r){a(this,e),this._object=n,this._key=t,this._defaultValue=r,this.__v_isRef=!0}return c(e,[{key:"value",get:function(){var e=this._object[this._key];return void 0===e?this._defaultValue:e},set:function(e){this._object[this._key]=e}},{key:"dep",get:function(){return function(e,n){var t;return null==(t=We.get(e))?void 0:t.get(n)}(ut(this._object),this._key)}}]),e}(),Tt=function(){function e(n){a(this,e),this._getter=n,this.__v_isRef=!0,this.__v_isReadonly=!0}return c(e,[{key:"value",get:function(){return this._getter()}}]),e}();function Ot(e,n,t){return dt(e)?e:K(e)?new Tt(e):Y(e)&&arguments.length>1?Pt(e,n,t):vt(e)}function Pt(e,n,t){var r=e[n];return dt(r)?r:new Et(e,n,t)}var Nt=function(){function e(n,t,r,o){var i=this;a(this,e),this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Qe(n,function(){i._dirty||(i._dirty=!0,pt(i))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}return c(e,[{key:"value",get:function(){var e=ut(this);return ft(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value},set:function(e){this._setter(e)}}]),e}();function At(e){}function Rt(e,n){}function It(e,n,t,r){var o;try{o=r?e.apply(void 0,p(r)):e()}catch(i){Vt(i,n,t)}return o}function Lt(e,n,t,r){if(K(e)){var o=It(e,n,t,r);return o&&X(o)&&o.catch(function(e){Vt(e,n,t)}),o}for(var i=[],a=0;a3&&void 0!==arguments[3])||arguments[3];if(n){for(var o=n.parent,i=n.proxy,a=t;o;){var u=o.ec;if(u)for(var c=0;c>>1;Qt(Ut[r])1&&void 0!==arguments[1]?arguments[1]:Mt?Bt+1:0;n1?t-1:0),o=1;o2?r-2:0),i=2;i2&&void 0!==arguments[2]&&arguments[2],r=n.emitsCache,o=r.get(e);if(void 0!==o)return o;var i=e.emits,a={},u=!1;if(__VUE_OPTIONS_API__&&!K(e)){var c=function(e){var t=sr(e,n,!0);t&&(u=!0,D(a,t))};!t&&n.mixins.length&&n.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return i||u?(q(i)?i.forEach(function(e){return a[e]=null}):D(a,i),Y(e)&&r.set(e,a),a):(Y(e)&&r.set(e,null),null)}function fr(e,n){return!(!e||!B(n))&&(n=n.slice(2).replace(/Once$/,""),$(e,n[0].toLowerCase()+n.slice(1))||$(e,se(n))||$(e,n))}var pr=null,dr=null;function vr(e){var n=pr;return pr=e,dr=e&&e.type.__scopeId||null,n}function hr(e){dr=e}function gr(){dr=null}var mr=function(e){return yr};function yr(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pr;if(!n||e._n)return e;var t=function t(){t._d&&ia(-1);var r,o=vr(n);try{r=e.apply(void 0,arguments)}finally{vr(o),t._d&&ia(1)}return __VUE_PROD_DEVTOOLS__&&ar(n),r};return t._n=!0,t._c=!0,t._d=!0,t}function _r(e){var n,t,r=e.type,o=e.vnode,i=e.proxy,a=e.withProxy,u=e.props,c=f(e.propsOptions,1)[0],l=e.slots,s=e.attrs,p=e.emit,d=e.render,v=e.renderCache,h=e.data,g=e.setupState,m=e.ctx,y=e.inheritAttrs,_=vr(e);try{if(4&o.shapeFlag){var b=a||i;n=xa(d.call(b,b,v,u,g,h,m)),t=s}else n=xa(r(u,r.length>1?{attrs:s,slots:l,emit:p}:null)),t=r.props?s:br(s)}catch(b){ea.length=0,Vt(b,e,1),n=ga(Yi)}var S=n;if(t&&!1!==y){var x=Object.keys(t),w=S.shapeFlag;x.length&&7&w&&(c&&x.some(j)&&(t=Sr(t,c)),S=ya(S,t))}return o.dirs&&((S=ya(S)).dirs=S.dirs?S.dirs.concat(o.dirs):o.dirs),o.transition&&(S.transition=o.transition),n=S,vr(_),n}var br=function(e){var n;for(var t in e)("class"===t||"style"===t||B(t))&&((n||(n={}))[t]=e[t]);return n},Sr=function(e,n){var t={};for(var r in e)(!j(r)||!(r.slice(9)in n))&&(t[r]=e[r]);return t};function xr(e,n,t){var r=Object.keys(n);if(r.length!==Object.keys(e).length)return!0;for(var o=0;o0?(Er(e,"onPending"),Er(e,"onFallback"),l(null,e.ssFallback,n,t,r,null,i,a),Nr(f,e.ssFallback)):f.resolve(!1,!0)}(n,t,r,o,i,a,u,c,l):function(e,n,t,r,o,i,a,u,c){var l=c.p,s=c.um,f=c.o.createElement,p=n.suspense=e.suspense;p.vnode=n,n.el=e.el;var d=n.ssContent,v=n.ssFallback,h=p.activeBranch,g=p.pendingBranch,m=p.isInFallback,y=p.isHydrating;if(g)p.pendingBranch=d,sa(d,g)?(l(g,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0?p.resolve():m&&(l(h,v,t,r,o,null,i,a,u),Nr(p,v))):(p.pendingId++,y?(p.isHydrating=!1,p.activeBranch=g):s(g,o,p),p.deps=0,p.effects.length=0,p.hiddenContainer=f("div"),m?(l(null,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0?p.resolve():(l(h,v,t,r,o,null,i,a,u),Nr(p,v))):h&&sa(d,h)?(l(h,d,t,r,o,p,i,a,u),p.resolve(!0)):(l(null,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0&&p.resolve()));else if(h&&sa(d,h))l(h,d,t,r,o,p,i,a,u),Nr(p,d);else if(Er(n,"onPending"),p.pendingBranch=d,p.pendingId++,l(null,d,p.hiddenContainer,null,o,p,i,a,u),p.deps<=0)p.resolve();else{var _=p.timeout,b=p.pendingId;_>0?setTimeout(function(){p.pendingId===b&&p.fallback(v)},_):0===_&&p.fallback(v)}}(e,n,t,r,o,a,u,c,l)},hydrate:function(e,n,t,r,o,i,a,u,c){var l=n.suspense=Tr(n,r,t,e.parentNode,document.createElement("div"),null,o,i,a,u,!0),s=c(e,l.pendingBranch=n.ssContent,t,l,i,a);return 0===l.deps&&l.resolve(!1,!0),s},create:Tr,normalize:function(e){var n=e.shapeFlag,t=e.children,r=32&n;e.ssContent=Or(r?t.default:t),e.ssFallback=r?Or(t.fallback):ga(Yi)}};function Er(e,n){var t=e.props&&e.props[n];K(t)&&t()}function Tr(e,n,t,r,o,i,a,u,c,l){var s,f=arguments.length>10&&void 0!==arguments[10]&&arguments[10],d=l.p,v=l.m,h=l.um,g=l.n,m=l.o,y=m.parentNode,_=m.remove,b=function(e){var n;return null!=(null==(n=e.props)?void 0:n.suspensible)&&!1!==e.props.suspensible}(e);b&&(null==n?void 0:n.pendingBranch)&&(s=n.pendingId,n.deps++);var S=e.props?me(e.props.timeout):void 0,x={vnode:e,parent:n,parentComponent:t,isSVG:a,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:"number"==typeof S?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=x.vnode,o=x.activeBranch,i=x.pendingBranch,a=x.pendingId,u=x.effects,c=x.parentComponent,l=x.container;if(x.isHydrating)x.isHydrating=!1;else if(!e){var f=o&&i.transition&&"out-in"===i.transition.mode;f&&(o.transition.afterLeave=function(){a===x.pendingId&&v(i,l,d,0)});var d=x.anchor;o&&(d=g(o),h(o,c,x,!0)),f||v(i,l,d,0)}Nr(x,i),x.pendingBranch=null,x.isInFallback=!1;for(var m=x.parent,y=!1;m;){if(m.pendingBranch){var _;(_=m.effects).push.apply(_,p(u)),y=!0;break}m=m.parent}y||Gt(u),x.effects=[],b&&n&&n.pendingBranch&&s===n.pendingId&&(n.deps--,0===n.deps&&!t&&n.resolve()),Er(r,"onResolve")},fallback:function(e){if(x.pendingBranch){var n=x.vnode,t=x.activeBranch,r=x.parentComponent,o=x.container,i=x.isSVG;Er(n,"onFallback");var a=g(t),l=function(){!x.isInFallback||(d(null,e,o,a,r,null,i,u,c),Nr(x,e))},s=e.transition&&"out-in"===e.transition.mode;s&&(t.transition.afterLeave=l),x.isInFallback=!0,h(t,r,null,!0),s||l()}},move:function(e,n,t){x.activeBranch&&v(x.activeBranch,e,n,t),x.container=e},next:function(){return x.activeBranch&&g(x.activeBranch)},registerDep:function(e,n){var t=!!x.pendingBranch;t&&x.deps++;var r=e.vnode.el;e.asyncDep.catch(function(n){Vt(n,e,0)}).then(function(o){if(!e.isUnmounted&&!x.isUnmounted&&x.pendingId===e.suspenseId){e.asyncResolved=!0;var i=e.vnode;Za(e,o,!1),r&&(i.el=r);var u=!r&&e.subTree.el;n(e,i,y(r||e.subTree.el),r?null:g(e.subTree),x,a,c),u&&_(u),wr(e,i.el),t&&0==--x.deps&&x.resolve()}})},unmount:function(e,n){x.isUnmounted=!0,x.activeBranch&&h(x.activeBranch,t,e,n),x.pendingBranch&&h(x.pendingBranch,t,e,n)}};return x}function Or(e){var n;if(K(e)){var t=oa&&e._c;t&&(e._d=!1,ta()),e=e(),t&&(e._d=!0,n=na,ra())}return q(e)&&(e=function(e){for(var n,t=0;t2&&void 0!==arguments[2]?arguments[2]:L,i=o.immediate,a=o.deep,u=o.flush,c=je()===(null==(t=Ra)?void 0:t.scope)?Ra:null,l=!1,s=!1;if(dt(e)?(r=function(){return e.value},l=it(e)):rt(e)?(r=function(){return e},a=!0):q(e)?(s=!0,l=e.some(function(e){return rt(e)||it(e)}),r=function(){return e.map(function(e){return dt(e)?e.value:rt(e)?Br(e):K(e)?It(e,c,2):void 0})}):r=K(e)?n?function(){return It(e,c,2)}:function(){if(!c||!c.isUnmounted)return p&&p(),Lt(e,c,3,[v])}:M,n&&a){var f=r;r=function(){return Br(f())}}var p,d,v=function(e){p=_.onStop=function(){It(e,c,4)}};if(ja){if(v=M,n?i&&Lt(n,c,3,[r(),s?[]:void 0,v]):r(),"sync"!==u)return M;var h=Ya();d=h.__watcherHandles||(h.__watcherHandles=[])}var g,m=s?new Array(e.length).fill(Lr):Lr,y=function(){if(_.active)if(n){var e=_.run();(a||l||(s?e.some(function(e,n){return de(e,m[n])}):de(e,m)))&&(p&&p(),Lt(n,c,3,[e,m===Lr?void 0:s&&m[0]===Lr?[]:m,v]),m=e)}else _.run()};y.allowRecurse=!!n,"sync"===u?g=y:"post"===u?g=function(){return Fi(y,c&&c.suspense)}:(y.pre=!0,c&&(y.id=c.uid),g=function(){return Wt(y)});var _=new Qe(r,g);n?i?y():m=_.run():"post"===u?Fi(_.run.bind(_),c&&c.suspense):_.run();var b=function(){_.stop(),c&&c.scope&&Z(c.scope.effects,_)};return d&&d.push(b),b}function Fr(e,n,t){var r,o=this.proxy,i=J(e)?e.includes(".")?Ur(o,e):function(){return o[e]}:e.bind(o,o);K(n)?r=n:(r=n.handler,t=n);var a=Ra;Va(this);var u=Mr(i,r.bind(o),t);return a?Va(a):Ma(),u}function Ur(e,n){var t=n.split(".");return function(){for(var n=e,r=0;r1){var c,l=i(n);try{for(l.s();!(c=l.n()).done;){var s=c.value;if(s.type!==Yi){u=s,!0;break}}}catch(S){l.e(S)}finally{l.f()}}var f=ut(e),p=f.mode;if(a.isLeaving)return Gr(u);var d=Kr(u);if(!d)return Gr(u);var v=zr(d,f,a,o);Jr(d,v);var h=o.subTree,g=h&&Kr(h),m=!1,y=d.type.getTransitionKey;if(y){var _=y();void 0===t?t=_:_!==t&&(t=_,m=!0)}if(g&&g.type!==Yi&&(!sa(d,g)||m)){var b=zr(g,f,a,o);if(Jr(g,b),"out-in"===p)return a.isLeaving=!0,b.afterLeave=function(){a.isLeaving=!1,!1!==o.update.active&&o.update()},Gr(u);"in-out"===p&&d.type!==Yi&&(b.delayLeave=function(e,n,t){Wr(a,g)[String(g.key)]=g,e._leaveCb=function(){n(),e._leaveCb=void 0,delete v.delayedLeave},v.delayedLeave=t})}return u}}}};function Wr(e,n){var t=e.leavingVNodes,r=t.get(n.type);return r||(r=Object.create(null),t.set(n.type,r)),r}function zr(e,n,t,r){var o=n.appear,i=n.mode,a=n.persisted,u=void 0!==a&&a,c=n.onBeforeEnter,l=n.onEnter,s=n.onAfterEnter,f=n.onEnterCancelled,p=n.onBeforeLeave,d=n.onLeave,v=n.onAfterLeave,h=n.onLeaveCancelled,g=n.onBeforeAppear,m=n.onAppear,y=n.onAfterAppear,_=n.onAppearCancelled,b=String(e.key),S=Wr(t,e),x=function(e,n){e&&Lt(e,r,9,n)},w=function(e,n){var t=n[1];x(e,n),q(e)?e.every(function(e){return e.length<=1})&&t():e.length<=1&&t()},k={mode:i,persisted:u,beforeEnter:function(n){var r=c;if(!t.isMounted){if(!o)return;r=g||c}n._leaveCb&&n._leaveCb(!0);var i=S[b];i&&sa(e,i)&&i.el._leaveCb&&i.el._leaveCb(),x(r,[n])},enter:function(e){var n=l,r=s,i=f;if(!t.isMounted){if(!o)return;n=m||l,r=y||s,i=_||f}var a=!1,u=e._enterCb=function(n){a||(a=!0,x(n?i:r,[e]),k.delayedLeave&&k.delayedLeave(),e._enterCb=void 0)};n?w(n,[e,u]):u()},leave:function(n,r){var o=String(e.key);if(n._enterCb&&n._enterCb(!0),t.isUnmounting)return r();x(p,[n]);var i=!1,a=n._leaveCb=function(t){i||(i=!0,r(),x(t?h:v,[n]),n._leaveCb=void 0,S[o]===e&&delete S[o])};S[o]=e,d?w(d,[n,a]):a()},clone:function(e){return zr(e,n,t,r)}};return k}function Gr(e){if(to(e))return(e=ya(e)).children=null,e}function Kr(e){return to(e)?e.children?e.children[0]:void 0:e}function Jr(e,n){6&e.shapeFlag&&e.component?Jr(e.component.subTree,n):128&e.shapeFlag?(e.ssContent.transition=n.clone(e.ssContent),e.ssFallback.transition=n.clone(e.ssFallback)):e.transition=n}function Qr(e){for(var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2?arguments[2]:void 0,r=[],o=0,i=0;i1)for(var c=0;c1)return u=null,n;if(!la(r)||!(4&r.shapeFlag||128&r.shapeFlag))return u=null,r;var o=so(r),c=o.type,l=Ga(Xr(o)?o.type.__asyncResolved||{}:c),s=e.include,f=e.exclude,p=e.max;if(s&&(!l||!oo(s,l))||f&&l&&oo(f,l))return u=o,r;var d=null==o.key?c:o.key,v=i.get(d);return o.el&&(o=ya(o),128&r.shapeFlag&&(r.ssContent=o)),y=d,v?(o.el=v.el,o.component=v.component,o.transition&&Jr(o,o.transition),o.shapeFlag|=512,a.delete(d),a.add(d)):(a.add(d),p&&a.size>parseInt(p,10)&&m(a.values().next().value)),o.shapeFlag|=256,u=o,kr(r.type)?r:o}}};function oo(e,n){return q(e)?e.some(function(e){return oo(e,n)}):J(e)?e.split(",").includes(n):!!function(e){return"[object RegExp]"===ne(e)}(e)&&e.test(n)}function io(e,n){uo(e,"a",n)}function ao(e,n){uo(e,"da",n)}function uo(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ra,r=e.__wdc||(e.__wdc=function(){for(var n=t;n;){if(n.isDeactivated)return;n=n.parent}return e()});if(fo(n,r,t),t)for(var o=t.parent;o&&o.parent;)to(o.parent.vnode)&&co(r,n,t,o),o=o.parent}function co(e,n,t,r){var o=fo(n,e,r,!0);_o(function(){Z(r[n],o)},t)}function lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function so(e){return 128&e.shapeFlag?e.ssContent:e}function fo(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ra,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(t){var o=t[e]||(t[e]=[]),i=n.__weh||(n.__weh=function(){if(!t.isUnmounted){rn(),Va(t);for(var r=arguments.length,o=new Array(r),i=0;i1&&void 0!==arguments[1]?arguments[1]:Ra;return(!ja||"sp"===e)&&fo(e,function(){return n.apply(void 0,arguments)},t)}},vo=po("bm"),ho=po("m"),go=po("bu"),mo=po("u"),yo=po("bum"),_o=po("um"),bo=po("sp"),So=po("rtg"),xo=po("rtc");function wo(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ra;fo("ec",e,n)}var ko="components";function Co(e,n){return Po(ko,e,!0,n)||e}var Eo=Symbol.for("v-ndc");function To(e){return J(e)?Po(ko,e,!1)||e:e||Eo}function Oo(e){return Po("directives",e)}function Po(e,n){var t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=pr||Ra;if(r){var o=r.type;if(e===ko){var i=Ga(o,!1);if(i&&(i===n||i===ce(n)||i===fe(ce(n))))return o}var a=No(r[e]||o[e],n)||No(r.appContext[e],n);return!a&&t?o:a}}function No(e,n){return e&&(e[n]||e[ce(n)]||e[fe(ce(n))])}function Ao(e,n,t,r){var o,i=t&&t[r];if(q(e)||J(e)){o=new Array(e.length);for(var a=0,u=e.length;a2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(pr.isCE||pr.parent&&Xr(pr.parent)&&pr.parent.isCE)return"default"!==n&&(t.name=n),ga("slot",t,r&&r());var i=e[n];i&&i._c&&(i._d=!1),ta();var a=i&&Lo(i(t)),u=ca(Ji,{key:t.key||a&&a.key||"_".concat(n)},a||(r?r():[]),a&&1===e._?64:-2);return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),i&&i._c&&(i._d=!0),u}function Lo(e){return e.some(function(e){return!la(e)||!(e.type===Yi||e.type===Ji&&!Lo(e.children))})?e:null}function Vo(e,n){var t={};for(var r in e)t[n&&/[A-Z]/.test(r)?"on:".concat(r):pe(r)]=e[r];return t}var Mo=function e(n){return n?Fa(n)?za(n)||n.proxy:e(n.parent):null},Fo=D(Object.create(null),{$:function(e){return e},$el:function(e){return e.vnode.el},$data:function(e){return e.data},$props:function(e){return e.props},$attrs:function(e){return e.attrs},$slots:function(e){return e.slots},$refs:function(e){return e.refs},$parent:function(e){return Mo(e.parent)},$root:function(e){return Mo(e.root)},$emit:function(e){return e.emit},$options:function(e){return __VUE_OPTIONS_API__?ai(e):e.type},$forceUpdate:function(e){return e.f||(e.f=function(){return Wt(e.update)})},$nextTick:function(e){return e.n||(e.n=qt.bind(e.proxy))},$watch:function(e){return __VUE_OPTIONS_API__?Fr.bind(e):M}}),Uo=function(e,n){return e!==L&&!e.__isScriptSetup&&$(e,n)},Bo={get:function(e,n){var t,r=e._,o=r.ctx,i=r.setupState,a=r.data,u=r.props,c=r.accessCache,l=r.type,s=r.appContext;if("$"!==n[0]){var f=c[n];if(void 0!==f)switch(f){case 1:return i[n];case 2:return a[n];case 4:return o[n];case 3:return u[n]}else{if(Uo(i,n))return c[n]=1,i[n];if(a!==L&&$(a,n))return c[n]=2,a[n];if((t=r.propsOptions[0])&&$(t,n))return c[n]=3,u[n];if(o!==L&&$(o,n))return c[n]=4,o[n];(!__VUE_OPTIONS_API__||ri)&&(c[n]=0)}}var p,d,v=Fo[n];return v?("$attrs"===n&&an(r,0,n),v(r)):(p=l.__cssModules)&&(p=p[n])?p:o!==L&&$(o,n)?(c[n]=4,o[n]):(d=s.config.globalProperties,$(d,n)?d[n]:void 0)},set:function(e,n,t){var r=e._,o=r.data,i=r.setupState,a=r.ctx;return Uo(i,n)?(i[n]=t,!0):o!==L&&$(o,n)?(o[n]=t,!0):!($(r.props,n)||"$"===n[0]&&n.slice(1)in r||(a[n]=t,0))},has:function(e,n){var t,r=e._,o=r.data,i=r.setupState,a=r.accessCache,u=r.ctx,c=r.appContext,l=r.propsOptions;return!!a[n]||o!==L&&$(o,n)||Uo(i,n)||(t=l[0])&&$(t,n)||$(u,n)||$(Fo,n)||$(c.config.globalProperties,n)},defineProperty:function(e,n,t){return null!=t.get?e._.accessCache[n]=0:$(t,"value")&&this.set(e,n,t.value,null),Reflect.defineProperty(e,n,t)}},jo=D({},Bo,{get:function(e,n){if(n!==Symbol.unscopables)return Bo.get(e,n,e)},has:function(e,n){return"_"!==n[0]&&!_e(n)}});function Do(){return null}function Zo(){return null}function Ho(e){}function $o(e){}function qo(){return null}function Wo(){}function zo(e,n){return null}function Go(){return Qo().slots}function Ko(){return Qo().attrs}function Jo(e,n,t){var r=Ia();if(t&&t.local){var o=vt(e[n]);return Vr(function(){return e[n]},function(e){return o.value=e}),Vr(o,function(t){t!==e[n]&&r.emit("update:".concat(n),t)}),o}return{__v_isRef:!0,get value(){return e[n]},set value(e){r.emit("update:".concat(n),e)}}}function Qo(){var e=Ia();return e.setupContext||(e.setupContext=Wa(e))}function Yo(e){return q(e)?e.reduce(function(e,n){return e[n]=null,e},{}):e}function Xo(e,n){var t=Yo(e);for(var r in n)if(!r.startsWith("__skip")){var o=t[r];o?q(o)||K(o)?o=t[r]={type:o,default:n[r]}:o.default=n[r]:null===o&&(o=t[r]={default:n[r]}),o&&n["__skip_".concat(r)]&&(o.skipFactory=!0)}return t}function ei(e,n){return e&&n?q(e)&&q(n)?e.concat(n):D({},Yo(e),Yo(n)):e||n}function ni(e,n){var t={},r=function(r){n.includes(r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})};for(var o in e)r(o);return t}function ti(e){var n=Ia(),t=e();return Ma(),X(t)&&(t=t.catch(function(e){throw Va(n),e})),[t,function(){return Va(n)}]}var ri=!0;function oi(e,n,t){Lt(q(e)?e.map(function(e){return e.bind(n.proxy)}):e.bind(n.proxy),n,t)}function ii(e,n,t,r){var o=r.includes(".")?Ur(t,r):function(){return t[r]};if(J(e)){var i=n[e];K(i)&&Vr(o,i)}else if(K(e))Vr(o,e.bind(t));else if(Y(e))if(q(e))e.forEach(function(e){return ii(e,n,t,r)});else{var a=K(e.handler)?e.handler.bind(t):n[e.handler];K(a)&&Vr(o,a,e)}}function ai(e){var n,t=e.type,r=t.mixins,o=t.extends,i=e.appContext,a=i.mixins,u=i.optionsCache,c=i.config.optionMergeStrategies,l=u.get(t);return l?n=l:a.length||r||o?(n={},a.length&&a.forEach(function(e){return ui(n,e,c,!0)}),ui(n,t,c)):n=t,Y(t)&&u.set(t,n),n}function ui(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.mixins,i=n.extends;for(var a in i&&ui(e,i,t,!0),o&&o.forEach(function(n){return ui(e,n,t,!0)}),n)if(!r||"expose"!==a){var u=ci[a]||t&&t[a];e[a]=u?u(e[a],n[a]):n[a]}return e}var ci={data:li,props:di,emits:di,methods:pi,computed:pi,beforeCreate:fi,created:fi,beforeMount:fi,mounted:fi,beforeUpdate:fi,updated:fi,beforeDestroy:fi,beforeUnmount:fi,destroyed:fi,unmounted:fi,activated:fi,deactivated:fi,errorCaptured:fi,serverPrefetch:fi,components:pi,directives:pi,watch:function(e,n){if(!e)return n;if(!n)return e;var t=D(Object.create(null),e);for(var r in n)t[r]=fi(e[r],n[r]);return t},provide:li,inject:function(e,n){return pi(si(e),si(n))}};function li(e,n){return n?e?function(){return D(K(e)?e.call(this,this):e,K(n)?n.call(this,this):n)}:n:e}function si(e){if(q(e)){for(var n={},t=0;t1&&void 0!==arguments[1]?arguments[1]:null;K(t)||(t=D({},t)),null!=r&&!Y(r)&&(r=null);var o=vi(),i=new Set,a=!1,u=o.app={_uid:hi++,_component:t,_props:r,_container:null,_context:o,_instance:null,version:tu,get config(){return o.config},set config(e){},use:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r2&&void 0!==arguments[2]&&arguments[2],r=Ra||pr;if(r||mi){var o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:mi._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return t&&K(n)?n.call(r&&r.proxy):n}}function bi(){return!!(Ra||pr||mi)}function Si(e,n,t,r){var o,i=f(e.propsOptions,2),a=i[0],u=i[1],c=!1;if(n)for(var l in n)if(!oe(l)){var s=n[l],p=void 0;a&&$(a,p=ce(l))?u&&u.includes(p)?(o||(o={}))[p]=s:t[p]=s:fr(e.emitsOptions,l)||(!(l in r)||s!==r[l])&&(r[l]=s,c=!0)}if(u)for(var d=ut(t),v=o||L,h=0;h2&&void 0!==arguments[2]&&arguments[2],r=n.propsCache,o=r.get(e);if(o)return o;var i=e.props,a={},u=[],c=!1;if(__VUE_OPTIONS_API__&&!K(e)){var l=function(e){c=!0;var t=f(wi(e,n,!0),2),r=t[0],o=t[1];D(a,r),o&&u.push.apply(u,p(o))};!t&&n.mixins.length&&n.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!i&&!c)return Y(e)&&r.set(e,V),V;if(q(i))for(var s=0;s-1,m[1]=_<0||y<_,(y>-1||$(m,"default"))&&u.push(h)}}}var b=[a,u];return Y(e)&&r.set(e,b),b}function ki(e){return"$"!==e[0]}function Ci(e){var n=e&&e.toString().match(/^\s*(function|class) (\w+)/);return n?n[2]:null===e?"null":""}function Ei(e,n){return Ci(e)===Ci(n)}function Ti(e,n){return q(n)?n.findIndex(function(n){return Ei(n,e)}):K(n)&&Ei(n,e)?0:-1}var Oi=function(e){return"_"===e[0]||"$stable"===e},Pi=function(e){return q(e)?e.map(xa):[xa(e)]},Ni=function(e,n,t){var r=e._ctx,o=function(){if(Oi(i))return 1;var t=e[i];if(K(t))n[i]=function(e,n,t){if(n._n)return n;var r=yr(function(){return Pi(n.apply(void 0,arguments))},t);return r._c=!1,r}(0,t,r);else if(null!=t){var o=Pi(t);n[i]=function(){return o}}};for(var i in e)o()},Ai=function(e,n){var t=Pi(n);e.slots.default=function(){return t}};function Ri(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(q(e))e.forEach(function(e,i){return Ri(e,n&&(q(n)?n[i]:n),t,r,o)});else if(!Xr(r)||o){var i=4&r.shapeFlag?za(r.component)||r.component.proxy:r.el,a=o?null:i,u=e.i,c=e.r,l=n&&n.r,s=u.refs===L?u.refs={}:u.refs,f=u.setupState;if(null!=l&&l!==c&&(J(l)?(s[l]=null,$(f,l)&&(f[l]=null)):dt(l)&&(l.value=null)),K(c))It(c,u,12,[a,s]);else{var p=J(c),d=dt(c);if(p||d){var v=function(){if(e.f){var n=p?$(f,c)?f[c]:s[c]:c.value;o?q(n)&&Z(n,i):q(n)?n.includes(i)||n.push(i):p?(s[c]=[i],$(f,c)&&(f[c]=s[c])):(c.value=[i],e.k&&(s[e.k]=c.value))}else p?(s[c]=a,$(f,c)&&(f[c]=a)):d&&(c.value=a,e.k&&(s[e.k]=a))};a?(v.id=-1,Fi(v,t)):v()}}}}var Ii=!1,Li=function(e){return/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName},Vi=function(e){return 8===e.nodeType};function Mi(e){var n=e.mt,t=e.p,r=e.o,o=r.patchProp,i=r.createText,a=r.nextSibling,u=r.parentNode,c=r.remove,l=r.insert,s=r.createComment,f=function t(r,o,c,s,f){var m=arguments.length>5&&void 0!==arguments[5]&&arguments[5],y=Vi(r)&&"["===r.data,_=function(){return h(r,o,c,s,f,y)},b=o.type,S=o.ref,x=o.shapeFlag,w=o.patchFlag,k=r.nodeType;o.el=r,-2===w&&(m=!1,o.dynamicChildren=null);var C=null;switch(b){case Qi:3!==k?""===o.children?(l(o.el=i(""),u(r),r),C=r):C=_():(r.data!==o.children&&(Ii=!0,r.data=o.children),C=a(r));break;case Yi:C=8!==k||y?_():a(r);break;case Xi:if(y&&(k=(r=a(r)).nodeType),1===k||3===k){C=r;for(var E=!o.children.length,T=0;T3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!n.dynamicChildren;if(e!==n){e&&!sa(e,n)&&(r=Q(e),W(e,o,i,!0),e=null),-2===n.patchFlag&&(c=!1,n.dynamicChildren=null);var l=n.type,s=n.ref,f=n.shapeFlag;switch(l){case Qi:S(e,n,t,r);break;case Yi:x(e,n,t,r);break;case Xi:null==e&&w(n,t,r,a);break;case Ji:A(e,n,t,r,o,i,a,u,c);break;default:1&f?k(e,n,t,r,o,i,a,u,c):6&f?R(e,n,t,r,o,i,a,u,c):(64&f||128&f)&&l.process(e,n,t,r,o,i,a,u,c,X)}null!=s&&o&&Ri(s,e&&e.ref,i,n||e,!n)}},S=function(e,n,t,r){if(null==e)a(n.el=s(n.children),t,r);else{var o=n.el=e.el;n.children!==e.children&&d(o,n.children)}},x=function(e,n,t,r){null==e?a(n.el=p(n.children||""),t,r):n.el=e.el},w=function(e,n,t,r){var o=f(_(e.children,n,t,r,e.el,e.anchor),2);e.el=o[0],e.anchor=o[1]},k=function(e,n,t,r,o,i,a,u,c){a=a||"svg"===n.type,null==e?C(n,t,r,o,i,a,u,c):O(e,n,o,i,a,u,c)},C=function(e,n,t,r,o,i,u,s){var f,p,d=e.type,h=e.props,g=e.shapeFlag,m=e.transition,y=e.dirs;if(f=e.el=l(e.type,i,h&&h.is,h),8&g?v(f,e.children):16&g&&T(e.children,f,null,r,o,i&&"foreignObject"!==d,u,s),y&&Dr(e,null,r,"created"),E(f,e,e.scopeId,u,r),h){for(var _ in h)"value"!==_&&!oe(_)&&c(f,_,null,h[_],i,e.children,r,o,J);"value"in h&&c(f,"value",null,h.value),(p=h.onVnodeBeforeMount)&&Ea(p,r,e)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(f,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(f,"__vueParentComponent",{value:r,enumerable:!1})),y&&Dr(e,null,r,"beforeMount");var b=(!o||o&&!o.pendingBranch)&&m&&!m.persisted;b&&m.beforeEnter(f),a(f,n,t),((p=h&&h.onVnodeMounted)||b||y)&&Fi(function(){p&&Ea(p,r,e),b&&m.enter(f),y&&Dr(e,null,r,"mounted")},o)},E=function e(n,t,r,o,i){if(r&&y(n,r),o)for(var a=0;a8&&void 0!==arguments[8]?arguments[8]:0,l=c;l0){if(16&l)N(u,n,d,h,t,r,o);else if(2&l&&d.class!==h.class&&c(u,"class",null,h.class,o),4&l&&c(u,"style",d.style,h.style,o),8&l)for(var m=n.dynamicProps,y=0;y0&&64&d&&v&&e.dynamicChildren?(P(e.dynamicChildren,v,t,o,i,u,c),(null!=n.key||o&&n===o.subTree)&&Zi(e,n,!0)):j(e,n,t,p,o,i,u,c,l)},R=function(e,n,t,r,o,i,a,u,c){n.slotScopeIds=u,null==e?512&n.shapeFlag?o.ctx.activate(n,t,r,a,c):I(n,t,r,o,i,a,c):F(e,n,c)},I=function(e,n,t,r,o,i,a){var u=e.component=Pa(e,r,o);if(to(e)&&(u.ctx.renderer=X),Da(u),u.asyncDep){if(o&&o.registerDep(u,U),!e.el){var c=u.subTree=ga(Yi);x(null,c,n,t)}}else U(u,e,n,t,o,i,a)},F=function(e,n,t){var r=n.component=e.component;if(function(e,n,t){var r=e.props,o=e.children,i=e.component,a=n.props,u=n.children,c=n.patchFlag,l=i.emitsOptions;if(n.dirs||n.transition)return!0;if(!(t&&c>=0))return!(!o&&!u||u&&u.$stable)||r!==a&&(r?!a||xr(r,a,l):!!a);if(1024&c)return!0;if(16&c)return r?xr(r,a,l):!!a;if(8&c)for(var s=n.dynamicProps,f=0;fBt&&Ut.splice(n,1)}(r.update),r.update()}else n.el=e.el,r.vnode=n},U=function(e,n,t,r,o,a,u){var c=e.effect=new Qe(function(){if(e.isMounted){var c,l=e.next,s=e.bu,f=e.u,p=e.parent,d=e.vnode,v=l;Di(e,!1),l?(l.el=d.el,B(e,l,u)):l=d,s&&ve(s),(c=l.props&&l.props.onVnodeBeforeUpdate)&&Ea(c,p,l,d),Di(e,!0);var g=_r(e),m=e.subTree;e.subTree=g,b(m,g,h(m.el),Q(m),e,o,a),l.el=g.el,null===v&&wr(e,g.el),f&&Fi(f,o),(c=l.props&&l.props.onVnodeUpdated)&&Fi(function(){return Ea(c,p,l,d)},o),__VUE_PROD_DEVTOOLS__&&ar(e)}else{var y,_=n,S=_.el,x=_.props,w=e.bm,k=e.m,C=e.parent,E=Xr(n);if(Di(e,!1),w&&ve(w),!E&&(y=x&&x.onVnodeBeforeMount)&&Ea(y,C,n),Di(e,!0),S&&i){var T=function(){e.subTree=_r(e),i(S,e.subTree,e,o,null)};E?n.type.__asyncLoader().then(function(){return!e.isUnmounted&&T()}):T()}else{var O=e.subTree=_r(e);b(null,O,t,r,e,o,a),n.el=O.el}if(k&&Fi(k,o),!E&&(y=x&&x.onVnodeMounted)){var P=n;Fi(function(){return Ea(y,C,P)},o)}(256&n.shapeFlag||C&&Xr(C.vnode)&&256&C.vnode.shapeFlag)&&e.a&&Fi(e.a,o),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&ir(e),n=t=r=null}},function(){return Wt(l)},e.scope),l=e.update=function(){return c.run()};l.id=e.uid,Di(e,!0),l()},B=function(e,n,t){n.component=e;var r=e.vnode.props;e.vnode=n,e.next=null,function(e,n,t,r){var o=e.props,i=e.attrs,a=e.vnode.patchFlag,u=ut(o),c=f(e.propsOptions,1)[0],l=!1;if(!(r||a>0)||16&a){var s;for(var p in Si(e,n,o,i)&&(l=!0),u)(!n||!$(n,p)&&((s=se(p))===p||!$(n,s)))&&(c?t&&(void 0!==t[p]||void 0!==t[s])&&(o[p]=xi(c,u,p,void 0,e,!0)):delete o[p]);if(i!==u)for(var d in i)(!n||!$(n,d))&&(delete i[d],l=!0)}else if(8&a)for(var v=e.vnode.dynamicProps,h=0;h8&&void 0!==arguments[8]&&arguments[8],l=e&&e.children,s=e?e.shapeFlag:0,f=n.children,p=n.patchFlag,d=n.shapeFlag;if(p>0){if(128&p)return void H(l,f,t,r,o,i,a,u,c);if(256&p)return void Z(l,f,t,r,o,i,a,u,c)}8&d?(16&s&&J(l,o,i),f!==l&&v(t,f)):16&s?16&d?H(l,f,t,r,o,i,a,u,c):J(l,o,i,!0):(8&s&&v(t,""),16&d&&T(f,t,r,o,i,a,u,c))},Z=function(e,n,t,r,o,i,a,u,c){var l,s=(e=e||V).length,f=(n=n||V).length,p=Math.min(s,f);for(l=0;lf?J(e,o,i,!0,!1,p):T(n,t,r,o,i,a,u,c,p)},H=function(e,n,t,r,o,i,a,u,c){for(var l=0,s=n.length,f=e.length-1,p=s-1;l<=f&&l<=p;){var d=e[l],v=n[l]=c?wa(n[l]):xa(n[l]);if(!sa(d,v))break;b(d,v,t,null,o,i,a,u,c),l++}for(;l<=f&&l<=p;){var h=e[f],g=n[p]=c?wa(n[p]):xa(n[p]);if(!sa(h,g))break;b(h,g,t,null,o,i,a,u,c),f--,p--}if(l>f){if(l<=p)for(var m=p+1,y=mp)for(;l<=f;)W(e[l],o,i,!0),l++;else{var _=l,S=l,x=new Map;for(l=S;l<=p;l++){var w=n[l]=c?wa(n[l]):xa(n[l]);null!=w.key&&x.set(w.key,l)}var k,C=0,E=p-S+1,T=!1,O=0,P=new Array(E);for(l=0;l=E)W(N,o,i,!0);else{var A=void 0;if(null!=N.key)A=x.get(N.key);else for(k=S;k<=p;k++)if(0===P[k-S]&&sa(N,n[k])){A=k;break}void 0===A?W(N,o,i,!0):(P[A-S]=l+1,A>=O?O=A:T=!0,b(N,n[A],t,null,o,i,a,u,c),C++)}}var R=T?function(e){var n,t,r,o,i,a=e.slice(),u=[0],c=e.length;for(n=0;n>1]]0&&(a[n]=u[r-1]),u[r]=n)}}for(o=u[(r=u.length)-1];r-- >0;)u[r]=o,o=a[o];return u}(P):V;for(k=R.length-1,l=E-1;l>=0;l--){var I=S+l,L=n[I],M=I+14&&void 0!==arguments[4]?arguments[4]:null,u=n.el,c=n.type,l=n.transition,s=n.children,f=n.shapeFlag;if(6&f)e(n.component.subTree,t,r,o);else if(128&f)n.suspense.move(t,r,o);else if(64&f)c.move(n,t,r,X);else if(c!==Ji)if(c!==Xi)if(2!==o&&1&f&&l)if(0===o)l.beforeEnter(u),a(u,t,r),Fi(function(){return l.enter(u)},i);else{var p=l.leave,d=l.delayLeave,v=l.afterLeave,h=function(){return a(u,t,r)},m=function(){p(u,function(){h(),v&&v()})};d?d(u,h,m):m()}else a(u,t,r);else!function(e,n,t){for(var r,o=e.el,i=e.anchor;o&&o!==i;)r=g(o),a(o,n,t),o=r;a(i,n,t)}(n,t,r);else{a(u,t,r);for(var y=0;y3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=e.type,a=e.props,u=e.ref,c=e.children,l=e.dynamicChildren,s=e.shapeFlag,f=e.patchFlag,p=e.dirs;if(null!=u&&Ri(u,null,t,e,!0),256&s)n.ctx.deactivate(e);else{var d,v=1&s&&p,h=!Xr(e);if(h&&(d=a&&a.onVnodeBeforeUnmount)&&Ea(d,n,e),6&s)K(e.component,t,r);else{if(128&s)return void e.suspense.unmount(t,r);v&&Dr(e,null,n,"beforeUnmount"),64&s?e.type.remove(e,n,t,o,X,r):l&&(i!==Ji||f>0&&64&f)?J(l,n,t,!1,!0):(i===Ji&&384&f||!o&&16&s)&&J(c,n,t),r&&z(e)}(h&&(d=a&&a.onVnodeUnmounted)||v)&&Fi(function(){d&&Ea(d,n,e),v&&Dr(e,null,n,"unmounted")},t)}},z=function(e){var n=e.type,t=e.el,r=e.anchor,o=e.transition;if(n!==Ji)if(n!==Xi){var i=function(){u(t),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){var a=o.leave,c=o.delayLeave,l=function(){return a(t,i)};c?c(e.el,i,l):l()}else i()}else!function(e){for(var n,t=e.el,r=e.anchor;t&&t!==r;)n=g(t),u(t),t=n;u(r)}(e);else G(t,r)},G=function(e,n){for(var t;e!==n;)t=g(e),u(e),e=t;u(n)},K=function(e,n,t){var r=e.bum,o=e.scope,i=e.update,a=e.subTree,u=e.um;r&&ve(r),o.stop(),i&&(i.active=!1,W(a,e,n,t)),u&&Fi(u,n),Fi(function(){e.isUnmounted=!0},n),n&&n.pendingBranch&&!n.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===n.pendingId&&(n.deps--,0===n.deps&&n.resolve()),__VUE_PROD_DEVTOOLS__&&function(e){er&&"function"==typeof er.cleanupBuffer&&!er.cleanupBuffer(e)&&ur(e)}(e)},J=function(e,n,t){for(var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=i;a2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=n.children;if(q(r)&&q(o))for(var i=0;i4&&void 0!==arguments[4]?arguments[4]:2;0===a&&o(e.targetAnchor,n,t);var u=e.el,c=e.anchor,l=e.shapeFlag,s=e.children,f=e.props,p=2===a;if(p&&o(u,n,t),(!p||Hi(f))&&16&l)for(var d=0;d0&&void 0!==arguments[0]&&arguments[0];ea.push(na=e?null:[])}function ra(){ea.pop(),na=ea[ea.length-1]||null}var oa=1;function ia(e){oa+=e}function aa(e){return e.dynamicChildren=oa>0?na||V:null,ra(),oa>0&&na&&na.push(e),e}function ua(e,n,t,r,o,i){return aa(ha(e,n,t,r,o,i,!0))}function ca(e,n,t,r,o){return aa(ga(e,n,t,r,o,!0))}function la(e){return!!e&&!0===e.__v_isVNode}function sa(e,n){return e.type===n.type&&e.key===n.key}function fa(e){e}var pa="__vInternal",da=function(e){var n=e.key;return null!=n?n:null},va=function(e){var n=e.ref,t=e.ref_key,r=e.ref_for;return"number"==typeof n&&(n=""+n),null!=n?J(n)||dt(n)||K(n)?{i:pr,r:n,k:t,f:!!r}:n:null};function ha(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===Ji?0:1,a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c={__v_isVNode:!0,__v_skip:!0,type:e,props:n,key:n&&da(n),ref:n&&va(n),scopeId:dr,slotScopeIds:null,children:t,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:pr};return u?(ka(c,t),128&i&&e.normalize(c)):t&&(c.shapeFlag|=J(t)?8:16),oa>0&&!a&&na&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&na.push(c),c}var ga=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if((!e||e===Eo)&&(e=Yi),la(e)){var a=ya(e,n,!0);return t&&ka(a,t),oa>0&&!i&&na&&(6&a.shapeFlag?na[na.indexOf(e)]=a:na.push(a)),a.patchFlag|=-2,a}if(function(e){return K(e)&&"__vccOpts"in e}(e)&&(e=e.__vccOpts),n){var u=n=ma(n),c=u.class,l=u.style;c&&!J(c)&&(n.class=Ce(c)),Y(l)&&(at(l)&&!q(l)&&(l=D({},l)),n.style=be(l))}return ha(e,n,t,r,o,J(e)?1:kr(e)?128:function(e){return e.__isTeleport}(e)?64:Y(e)?4:K(e)?2:0,i,!0)};function ma(e){return e?at(e)||pa in e?D({},e):e:null}function ya(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.props,o=e.ref,i=e.patchFlag,a=e.children,u=n?Ca(r||{},n):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&da(u),ref:n&&n.ref?t&&o?q(o)?o.concat(va(n)):[o,va(n)]:va(n):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:n&&e.type!==Ji?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ya(e.ssContent),ssFallback:e.ssFallback&&ya(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function _a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:" ",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return ga(Qi,null,e,n)}function ba(e,n){var t=ga(Xi,null,e);return t.staticCount=n,t}function Sa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n?(ta(),ca(Yi,null,e)):ga(Yi,null,e)}function xa(e){return null==e||"boolean"==typeof e?ga(Yi):q(e)?ga(Ji,null,e.slice()):"object"==typeof e?wa(e):ga(Qi,null,String(e))}function wa(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ya(e)}function ka(e,n){var t=0,r=e.shapeFlag;if(null==n)n=null;else if(q(n))t=16;else if("object"==typeof n){if(65&r){var o=n.default;return void(o&&(o._c&&(o._d=!1),ka(e,o()),o._c&&(o._d=!0)))}t=32;var i=n._;i||pa in n?3===i&&pr&&(1===pr.slots._?n._=1:(n._=2,e.patchFlag|=1024)):n._ctx=pr}else K(n)?(n={default:n,_ctx:pr},t=32):(n=String(n),64&r?(t=16,n=[_a(n)]):t=8);e.children=n,e.shapeFlag|=t}function Ca(){for(var e={},n=0;n3&&void 0!==arguments[3]?arguments[3]:null;Lt(e,n,7,[t,r])}var Ta=vi(),Oa=0;function Pa(e,n,t){var r=e.type,o=(n?n.appContext:e.appContext)||Ta,i={uid:Oa++,vnode:e,type:r,parent:n,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Fe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wi(r,o),emitsOptions:sr(r,o),emit:null,emitted:null,propsDefaults:L,inheritAttrs:r.inheritAttrs,ctx:L,data:L,props:L,attrs:L,slots:L,refs:L,setupState:L,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:t,suspenseId:t?t.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=n?n.root:i,i.emit=lr.bind(null,i),e.ce&&e.ce(i),i}var Na,Aa,Ra=null,Ia=function(){return Ra||pr},La="__VUE_INSTANCE_SETTERS__";(Aa=ye()[La])||(Aa=ye()[La]=[]),Aa.push(function(e){return Ra=e}),Na=function(e){Aa.length>1?Aa.forEach(function(n){return n(e)}):Aa[0](e)};var Va=function(e){Na(e),e.scope.on()},Ma=function(){Ra&&Ra.scope.off(),Na(null)};function Fa(e){return 4&e.vnode.shapeFlag}var Ua,Ba,ja=!1;function Da(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];ja=n;var t=e.vnode,r=t.props,o=t.children,i=Fa(e);(function(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o={},i={};for(var a in he(i,pa,1),e.propsDefaults=Object.create(null),Si(e,n,o,i),e.propsOptions[0])a in o||(o[a]=void 0);e.props=t?r?o:Xn(o):e.type.props?o:i,e.attrs=i})(e,r,i,n),function(e,n){if(32&e.vnode.shapeFlag){var t=n._;t?(e.slots=ut(n),he(n,"_",t)):Ni(n,e.slots={})}else e.slots={},n&&Ai(e,n);he(e.slots,pa,1)}(e,o);var a=i?function(e,n){var t=e.type;e.accessCache=Object.create(null),e.proxy=ct(new Proxy(e.ctx,Bo));var r=t.setup;if(r){var o=e.setupContext=r.length>1?Wa(e):null;Va(e),rn();var i=It(r,e,0,[e.props,o]);if(on(),Ma(),X(i)){if(i.then(Ma,Ma),n)return i.then(function(t){Za(e,t,n)}).catch(function(n){Vt(n,e,0)});e.asyncDep=i}else Za(e,i,n)}else qa(e,n)}(e,n):void 0;return ja=!1,a}function Za(e,n,t){K(n)?e.type.__ssrInlineRender?e.ssrRender=n:e.render=n:Y(n)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=n),e.setupState=xt(n)),qa(e,t)}function Ha(e){Ua=e,Ba=function(e){e.render._rc&&(e.withProxy=new Proxy(e.ctx,jo))}}var $a=function(){return!Ua};function qa(e,n,t){var r=e.type;if(!e.render){if(!n&&Ua&&!r.render){var o=r.template||ai(e).template;if(o){var i=e.appContext.config,a=i.isCustomElement,u=i.compilerOptions,c=r.delimiters,l=r.compilerOptions,s=D(D({isCustomElement:a,delimiters:c},u),l);r.render=Ua(o,s)}}e.render=r.render||M,Ba&&Ba(e)}__VUE_OPTIONS_API__&&(Va(e),rn(),function(e){var n=ai(e),t=e.proxy,r=e.ctx;ri=!1,n.beforeCreate&&oi(n.beforeCreate,e,"bc");var o=n.data,i=n.computed,a=n.methods,u=n.watch,c=n.provide,l=n.inject,s=n.created,f=n.beforeMount,p=n.mounted,d=n.beforeUpdate,v=n.updated,h=n.activated,g=n.deactivated,m=n.beforeUnmount,y=n.unmounted,_=n.render,b=n.renderTracked,S=n.renderTriggered,x=n.errorCaptured,w=n.serverPrefetch,k=n.expose,C=n.inheritAttrs,E=n.components,T=n.directives;if(l&&function(e,n){q(e)&&(e=si(e));var t=function(){var t,o=e[r];dt(t=Y(o)?"default"in o?_i(o.from||r,o.default,!0):_i(o.from||r):_i(o))?Object.defineProperty(n,r,{enumerable:!0,configurable:!0,get:function(){return t.value},set:function(e){return t.value=e}}):n[r]=t};for(var r in e)t()}(l,r,null),a)for(var O in a){var P=a[O];K(P)&&(r[O]=P.bind(t))}if(o){var N=o.call(t,t);Y(N)&&(e.data=Yn(N))}if(ri=!0,i){var A=function(){var e=i[R],n=K(e)?e.bind(t,t):K(e.get)?e.get.bind(t,t):M,o=!K(e)&&K(e.set)?e.set.bind(t):M,a=Ka({get:n,set:o});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,get:function(){return a.value},set:function(e){return a.value=e}})};for(var R in i)A()}if(u)for(var I in u)ii(u[I],r,t,I);if(c){var L=K(c)?c.call(t):c;Reflect.ownKeys(L).forEach(function(e){yi(e,L[e])})}function V(e,n){q(n)?n.forEach(function(n){return e(n.bind(t))}):n&&e(n.bind(t))}if(s&&oi(s,e,"c"),V(vo,f),V(ho,p),V(go,d),V(mo,v),V(io,h),V(ao,g),V(wo,x),V(xo,b),V(So,S),V(yo,m),V(_o,y),V(bo,w),q(k))if(k.length){var F=e.exposed||(e.exposed={});k.forEach(function(e){Object.defineProperty(F,e,{get:function(){return t[e]},set:function(n){return t[e]=n}})})}else e.exposed||(e.exposed={});_&&e.render===M&&(e.render=_),null!=C&&(e.inheritAttrs=C),E&&(e.components=E),T&&(e.directives=T)}(e),on(),Ma())}function Wa(e){return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:function(n,t){return an(e,0,"$attrs"),n[t]}}))}(e)},slots:e.slots,emit:e.emit,expose:function(n){e.exposed=n||{}}}}function za(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(xt(ct(e.exposed)),{get:function(n,t){return t in n?n[t]:t in Fo?Fo[t](e):void 0},has:function(e,n){return n in e||n in Fo}}))}function Ga(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return K(e)?e.displayName||e.name:e.name||n&&e.__name}var Ka=function(e,n){return function(e,n){var t,r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=K(e);return i?(t=e,r=M):(t=e.get,r=e.set),new Nt(t,r,i||!r,o)}(e,0,ja)};function Ja(e,n,t){var r=arguments.length;return 2===r?Y(n)&&!q(n)?la(n)?ga(e,null,[n]):ga(e,n):ga(e,null,n):(r>3?t=Array.prototype.slice.call(arguments,2):3===r&&la(t)&&(t=[t]),ga(e,n,t))}var Qa=Symbol.for("v-scx"),Ya=function(){return _i(Qa)};function Xa(){}function eu(e,n,t,r){var o=t[r];if(o&&nu(o,e))return o;var i=n();return i.memo=e.slice(),t[r]=i}function nu(e,n){var t=e.memo;if(t.length!=n.length)return!1;for(var r=0;r0&&na&&na.push(e),!0}var tu="3.3.4",ru={createComponentInstance:Pa,setupComponent:Da,renderComponentRoot:_r,setCurrentRenderingInstance:vr,isVNode:la,normalizeVNode:xa},ou=null,iu=null,au="undefined"!=typeof document?document:null,uu=au&&au.createElement("template"),cu={insert:function(e,n,t){n.insertBefore(e,t||null)},remove:function(e){var n=e.parentNode;n&&n.removeChild(e)},createElement:function(e,n,t,r){var o=n?au.createElementNS("http://www.w3.org/2000/svg",e):au.createElement(e,t?{is:t}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:function(e){return au.createTextNode(e)},createComment:function(e){return au.createComment(e)},setText:function(e,n){e.nodeValue=n},setElementText:function(e,n){e.textContent=n},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},querySelector:function(e){return au.querySelector(e)},setScopeId:function(e,n){e.setAttribute(n,"")},insertStaticContent:function(e,n,t,r,o,i){var a=t?t.previousSibling:n.lastChild;if(o&&(o===i||o.nextSibling))for(;n.insertBefore(o.cloneNode(!0),t),o!==i&&(o=o.nextSibling););else{uu.innerHTML=r?"".concat(e,""):e;var u=uu.content;if(r){for(var c=u.firstChild;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}n.insertBefore(u,t)}return[a?a.nextSibling:n.firstChild,t?t.previousSibling:n.lastChild]}},lu=/\s*!important$/;function su(e,n,t){if(q(t))t.forEach(function(t){return su(e,n,t)});else if(null==t&&(t=""),n.startsWith("--"))e.setProperty(n,t);else{var r=function(e,n){var t=pu[n];if(t)return t;var r=ce(n);if("filter"!==r&&r in e)return pu[n]=r;r=fe(r);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return a(this,o),(n=r.call(this))._def=e,n._props=t,n._instance=null,n._connected=!1,n._resolved=!1,n._numberProps=null,n.shadowRoot&&i?i(n._createVNode(),n.shadowRoot):(n.attachShadow({mode:"open"}),n._def.__asyncLoader||n._resolveProps(n._def)),n}return c(o,[{key:"connectedCallback",value:function(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}},{key:"disconnectedCallback",value:function(){var e=this;this._connected=!1,qt(function(){e._connected||(wc(null,e.shadowRoot),e._instance=null)})}},{key:"_resolveDef",value:function(){var e=this;this._resolved=!0;for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],o=n.props,i=n.styles;if(o&&!q(o))for(var a in o){var u=o[a];(u===Number||u&&u.type===Number)&&(a in e._props&&(e._props[a]=me(e._props[a])),(t||(t=Object.create(null)))[ce(a)]=!0)}e._numberProps=t,r&&e._resolveProps(n),e._applyStyles(i),e._update()},r=this._def.__asyncLoader;r?r().then(function(e){return t(e,!0)}):t(this._def)}},{key:"_resolveProps",value:function(e){for(var n=this,t=e.props,r=q(t)?t:Object.keys(t||{}),o=0,a=Object.keys(this);o2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];n!==this._props[e]&&(this._props[e]=n,r&&this._instance&&this._update(),t&&(!0===n?this.setAttribute(se(e),""):"string"==typeof n||"number"==typeof n?this.setAttribute(se(e),n+""):n||this.removeAttribute(se(e))))}},{key:"_update",value:function(){wc(this._createVNode(),this.shadowRoot)}},{key:"_createVNode",value:function(){var e=this,n=ga(this._def,D({},this._props));return this._instance||(n.ce=function(n){e._instance=n,n.isCE=!0;var t=function(n,t){e.dispatchEvent(new CustomEvent(n,{detail:t}))};n.emit=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"$style",n=Ia();if(!n)return L;var t=n.type.__cssModules;return t&&t[e]||L}function wu(e){var n=Ia();if(n){var t=n.ut=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e(n.proxy);Array.from(document.querySelectorAll('[data-v-owner="'.concat(n.uid,'"]'))).forEach(function(e){return Cu(e,t)})},r=function(){var r=e(n.proxy);ku(n.subTree,r),t(r)};Rr(r),ho(function(){var e=new MutationObserver(r);e.observe(n.subTree.el.parentNode,{childList:!0}),_o(function(){return e.disconnect()})})}}function ku(e,n){if(128&e.shapeFlag){var t=e.suspense;e=t.activeBranch,t.pendingBranch&&!t.isHydrating&&t.effects.push(function(){ku(t.activeBranch,n)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Cu(e.el,n);else if(e.type===Ji)e.children.forEach(function(e){return ku(e,n)});else if(e.type===Xi)for(var r=e,o=r.el,i=r.anchor;o&&(Cu(o,n),o!==i);)o=o.nextSibling}function Cu(e,n){if(1===e.nodeType){var t=e.style;for(var r in n)t.setProperty("--".concat(r),n[r])}}var Eu="transition",Tu="animation",Ou=function(e,n){var t=n.slots;return Ja(qr,Iu(e),t)};Ou.displayName="Transition";var Pu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Nu=Ou.props=D({},$r,Pu),Au=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];q(e)?e.forEach(function(e){return e.apply(void 0,p(n))}):e&&e.apply(void 0,p(n))},Ru=function(e){return!!e&&(q(e)?e.some(function(e){return e.length>1}):e.length>1)};function Iu(e){var n={};for(var t in e)t in Pu||(n[t]=e[t]);if(!1===e.css)return n;var r=e.name,o=void 0===r?"v":r,i=e.type,a=e.duration,u=e.enterFromClass,c=void 0===u?"".concat(o,"-enter-from"):u,l=e.enterActiveClass,s=void 0===l?"".concat(o,"-enter-active"):l,f=e.enterToClass,p=void 0===f?"".concat(o,"-enter-to"):f,d=e.appearFromClass,v=void 0===d?c:d,h=e.appearActiveClass,g=void 0===h?s:h,m=e.appearToClass,y=void 0===m?p:m,_=e.leaveFromClass,b=void 0===_?"".concat(o,"-leave-from"):_,S=e.leaveActiveClass,x=void 0===S?"".concat(o,"-leave-active"):S,w=e.leaveToClass,k=void 0===w?"".concat(o,"-leave-to"):w,C=function(e){if(null==e)return null;if(Y(e))return[Lu(e.enter),Lu(e.leave)];var n=Lu(e);return[n,n]}(a),E=C&&C[0],T=C&&C[1],O=n.onBeforeEnter,P=n.onEnter,N=n.onEnterCancelled,A=n.onLeave,R=n.onLeaveCancelled,I=n.onBeforeAppear,L=void 0===I?O:I,V=n.onAppear,M=void 0===V?P:V,F=n.onAppearCancelled,U=void 0===F?N:F,B=function(e,n,t){Mu(e,n?y:p),Mu(e,n?g:s),t&&t()},j=function(e,n){e._isLeaving=!1,Mu(e,b),Mu(e,k),Mu(e,x),n&&n()},Z=function(e){return function(n,t){var r=e?M:P,o=function(){return B(n,e,t)};Au(r,[n,o]),Fu(function(){Mu(n,e?v:c),Vu(n,e?y:p),Ru(r)||Bu(n,i,E,o)})}};return D(n,{onBeforeEnter:function(e){Au(O,[e]),Vu(e,c),Vu(e,s)},onBeforeAppear:function(e){Au(L,[e]),Vu(e,v),Vu(e,g)},onEnter:Z(!1),onAppear:Z(!0),onLeave:function(e,n){e._isLeaving=!0;var t=function(){return j(e,n)};Vu(e,b),Hu(),Vu(e,x),Fu(function(){!e._isLeaving||(Mu(e,b),Vu(e,k),Ru(A)||Bu(e,i,T,t))}),Au(A,[e,t])},onEnterCancelled:function(e){B(e,!1),Au(N,[e])},onAppearCancelled:function(e){B(e,!0),Au(U,[e])},onLeaveCancelled:function(e){j(e),Au(R,[e])}})}function Lu(e){return me(e)}function Vu(e,n){n.split(/\s+/).forEach(function(n){return n&&e.classList.add(n)}),(e._vtc||(e._vtc=new Set)).add(n)}function Mu(e,n){n.split(/\s+/).forEach(function(n){return n&&e.classList.remove(n)});var t=e._vtc;t&&(t.delete(n),t.size||(e._vtc=void 0))}function Fu(e){requestAnimationFrame(function(){requestAnimationFrame(e)})}var Uu=0;function Bu(e,n,t,r){var o=e._endId=++Uu,i=function(){o===e._endId&&r()};if(t)return setTimeout(i,t);var a=ju(e,n),u=a.type,c=a.timeout,l=a.propCount;if(!u)return r();var s=u+"end",f=0,p=function(){e.removeEventListener(s,d),i()},d=function(n){n.target===e&&++f>=l&&p()};setTimeout(function(){f0&&(s=Eu,f=a,p=i.length):n===Tu?l>0&&(s=Tu,f=l,p=c.length):p=(s=(f=Math.max(a,l))>0?a>l?Eu:Tu:null)?s===Eu?i.length:c.length:0,{type:s,timeout:f,propCount:p,hasTransform:s===Eu&&/\b(transform|all)(,|$)/.test(r("".concat(Eu,"Property")).toString())}}function Du(e,n){for(;e.length-1:z(r)?e.checked=r.has(t.props.value):r!==o&&(e.checked=Re(r,uc(e,!0)))}var rc={created:function(e,n,t){var r=n.value;e.checked=Re(r,t.props.value),e._assign=Qu(t),vu(e,"change",function(){e._assign(ac(e))})},beforeUpdate:function(e,n,t){var r=n.value,o=n.oldValue;e._assign=Qu(t),r!==o&&(e.checked=Re(r,t.props.value))}},oc={deep:!0,created:function(e,n,t){var r=n.value,o=n.modifiers.number,i=z(r);vu(e,"change",function(){var n=Array.prototype.filter.call(e.options,function(e){return e.selected}).map(function(e){return o?ge(ac(e)):ac(e)});e._assign(e.multiple?i?new Set(n):n:n[0])}),e._assign=Qu(t)},mounted:function(e,n){ic(e,n.value)},beforeUpdate:function(e,n,t){e._assign=Qu(t)},updated:function(e,n){ic(e,n.value)}};function ic(e,n){var t=e.multiple;if(!t||q(n)||z(n)){for(var r=0,o=e.options.length;r-1:n.has(a);else if(Re(ac(i),n))return void(e.selectedIndex!==r&&(e.selectedIndex=r))}!t&&-1!==e.selectedIndex&&(e.selectedIndex=-1)}}function ac(e){return"_value"in e?e._value:e.value}function uc(e,n){var t=n?"_trueValue":"_falseValue";return t in e?e[t]:n}var cc={created:function(e,n,t){sc(e,n,t,null,"created")},mounted:function(e,n,t){sc(e,n,t,null,"mounted")},beforeUpdate:function(e,n,t,r){sc(e,n,t,r,"beforeUpdate")},updated:function(e,n,t,r){sc(e,n,t,r,"updated")}};function lc(e,n){switch(e){case"SELECT":return oc;case"TEXTAREA":return ec;default:switch(n){case"checkbox":return nc;case"radio":return rc;default:return ec}}}function sc(e,n,t,r,o){var i=lc(e.tagName,t.props&&t.props.type)[o];i&&i(e,n,t,r)}var fc=["ctrl","shift","alt","meta"],pc={stop:function(e){return e.stopPropagation()},prevent:function(e){return e.preventDefault()},self:function(e){return e.target!==e.currentTarget},ctrl:function(e){return!e.ctrlKey},shift:function(e){return!e.shiftKey},alt:function(e){return!e.altKey},meta:function(e){return!e.metaKey},left:function(e){return"button"in e&&0!==e.button},middle:function(e){return"button"in e&&1!==e.button},right:function(e){return"button"in e&&2!==e.button},exact:function(e,n){return fc.some(function(t){return e["".concat(t,"Key")]&&!n.includes(t)})}},dc=function(e,n){return function(t){for(var r=0;r1?i-1:0),u=1;u4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,u=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0;"class"===n?function(e,n,t){var r=e._vtc;r&&(n=(n?[n].concat(p(r)):p(r)).join(" ")),null==n?e.removeAttribute("class"):t?e.setAttribute("class",n):e.className=n}(e,r,o):"style"===n?function(e,n,t){var r=e.style,o=J(t);if(t&&!o){if(n&&!J(n))for(var i in n)null==t[i]&&su(r,i,"");for(var a in t)su(r,a,t[a])}else{var u=r.display;o?n!==t&&(r.cssText=t):n&&e.removeAttribute("style"),"_vod"in e&&(r.display=u)}}(e,t,r):B(n)?j(n)||function(e,n,t,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=e._vei||(e._vei={}),a=i[n];if(r&&a)a.value=r;else{var u=function(e){var n,t;if(hu.test(e))for(n={};t=e.match(hu);)e=e.slice(0,e.length-t[0].length),n[t[0].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):se(e.slice(2)),n]}(n),c=f(u,2),l=c[0],s=c[1];if(r){var p=i[n]=function(e,n){var t=function e(t){if(t._vts){if(t._vts<=e.attached)return}else t._vts=Date.now();Lt(function(e,n){if(q(n)){var t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.call(e),e._stopped=!0},n.map(function(e){return function(n){return!n._stopped&&e&&e(n)}})}return n}(t,e.value),n,5,[t])};return t.value=e,t.attached=gu||(mu.then(function(){return gu=0}),gu=Date.now()),t}(r,o);vu(e,l,p,s)}else a&&(function(e,n,t,r){e.removeEventListener(n,t,r)}(e,l,a,s),i[n]=void 0)}}(e,n,0,r,a):("."===n[0]?(n=n.slice(1),1):"^"===n[0]?(n=n.slice(1),0):function(e,n,t,r){return r?!!("innerHTML"===n||"textContent"===n||n in e&&yu.test(n)&&K(t)):!("spellcheck"===n||"draggable"===n||"translate"===n||"form"===n||"list"===n&&"INPUT"===e.tagName||"type"===n&&"TEXTAREA"===e.tagName||yu.test(n)&&J(t))&&n in e}(e,n,r,o))?function(e,n,t,r,o,i,a){if("innerHTML"===n||"textContent"===n)return r&&a(r,o,i),void(e[n]=null==t?"":t);var u=e.tagName;if("value"===n&&"PROGRESS"!==u&&!u.includes("-")){e._value=t;var c=null==t?"":t;return("OPTION"===u?e.getAttribute("value"):e.value)!==c&&(e.value=c),void(null==t&&e.removeAttribute(n))}var l=!1;if(""===t||null==t){var s=typeof e[n];"boolean"===s?t=Ae(t):null==t&&"string"===s?(t="",l=!0):"number"===s&&(t=0,l=!0)}try{e[n]=t}catch(s){}l&&e.removeAttribute(n)}(e,n,r,i,a,u,c):("true-value"===n?e._trueValue=r:"false-value"===n&&(e._falseValue=r),function(e,n,t,r,o){if(r&&n.startsWith("xlink:"))null==t?e.removeAttributeNS(du,n.slice(6,n.length)):e.setAttributeNS(du,n,t);else{var i=Ne(n);null==t||i&&!Ae(t)?e.removeAttribute(n):e.setAttribute(n,i?"":t)}}(e,n,r,o))}},cu),bc=!1;function Sc(){return yc||(yc=Ui(_c))}function xc(){return yc=bc?yc:Bi(_c),bc=!0,yc}var wc=function(){var e;(e=Sc()).render.apply(e,arguments)},kc=function(){var e;(e=xc()).hydrate.apply(e,arguments)},Cc=function(){var e,n=(e=Sc()).createApp.apply(e,arguments),t=n.mount;return n.mount=function(e){var r=Tc(e);if(r){var o=n._component;!K(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";var i=t(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i}},n},Ec=function(){var e,n=(e=xc()).createApp.apply(e,arguments),t=n.mount;return n.mount=function(e){var n=Tc(e);if(n)return t(n,!0,n instanceof SVGElement)},n};function Tc(e){return J(e)?document.querySelector(e):e}var Oc=!1,Pc=function(){Oc||(Oc=!0,ec.getSSRProps=function(e){return{value:e.value}},rc.getSSRProps=function(e,n){var t=e.value;if(n.props&&Re(n.props.value,t))return{checked:!0}},nc.getSSRProps=function(e,n){var t=e.value;if(q(t)){if(n.props&&Ie(t,n.props.value)>-1)return{checked:!0}}else if(z(t)){if(n.props&&t.has(n.props.value))return{checked:!0}}else if(t)return{checked:!0}},cc.getSSRProps=function(e,n){if("string"==typeof n.type){var t=lc(n.type.toUpperCase(),n.props&&n.props.type);return t.getSSRProps?t.getSSRProps(e,n):void 0}},gc.getSSRProps=function(e){if(!e.value)return{style:{display:"none"}}})};function Nc(e){throw e}function Ac(e){}function Rc(e,n,t,r){var o=new SyntaxError(String(e));return o.code=e,o.loc=n,o}var Ic=Symbol(""),Lc=Symbol(""),Vc=Symbol(""),Mc=Symbol(""),Fc=Symbol(""),Uc=Symbol(""),Bc=Symbol(""),jc=Symbol(""),Dc=Symbol(""),Zc=Symbol(""),Hc=Symbol(""),$c=Symbol(""),qc=Symbol(""),Wc=Symbol(""),zc=Symbol(""),Gc=Symbol(""),Kc=Symbol(""),Jc=Symbol(""),Qc=Symbol(""),Yc=Symbol(""),Xc=Symbol(""),el=Symbol(""),nl=Symbol(""),tl=Symbol(""),rl=Symbol(""),ol=Symbol(""),il=Symbol(""),al=Symbol(""),ul=Symbol(""),cl=Symbol(""),ll=Symbol(""),sl=Symbol(""),fl=Symbol(""),pl=Symbol(""),dl=Symbol(""),vl=Symbol(""),hl=Symbol(""),gl=Symbol(""),ml=Symbol(""),yl=(l(u={},Ic,"Fragment"),l(u,Lc,"Teleport"),l(u,Vc,"Suspense"),l(u,Mc,"KeepAlive"),l(u,Fc,"BaseTransition"),l(u,Uc,"openBlock"),l(u,Bc,"createBlock"),l(u,jc,"createElementBlock"),l(u,Dc,"createVNode"),l(u,Zc,"createElementVNode"),l(u,Hc,"createCommentVNode"),l(u,$c,"createTextVNode"),l(u,qc,"createStaticVNode"),l(u,Wc,"resolveComponent"),l(u,zc,"resolveDynamicComponent"),l(u,Gc,"resolveDirective"),l(u,Kc,"resolveFilter"),l(u,Jc,"withDirectives"),l(u,Qc,"renderList"),l(u,Yc,"renderSlot"),l(u,Xc,"createSlots"),l(u,el,"toDisplayString"),l(u,nl,"mergeProps"),l(u,tl,"normalizeClass"),l(u,rl,"normalizeStyle"),l(u,ol,"normalizeProps"),l(u,il,"guardReactiveProps"),l(u,al,"toHandlers"),l(u,ul,"camelize"),l(u,cl,"capitalize"),l(u,ll,"toHandlerKey"),l(u,sl,"setBlockTracking"),l(u,fl,"pushScopeId"),l(u,pl,"popScopeId"),l(u,dl,"withCtx"),l(u,vl,"unref"),l(u,hl,"isRef"),l(u,gl,"withMemo"),l(u,ml,"isMemoSame"),u),_l={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function bl(e,n,t,r,o,i,a){var u=arguments.length>7&&void 0!==arguments[7]&&arguments[7],c=arguments.length>8&&void 0!==arguments[8]&&arguments[8],l=arguments.length>9&&void 0!==arguments[9]&&arguments[9],s=arguments.length>10&&void 0!==arguments[10]?arguments[10]:_l;return e&&(u?(e.helper(Uc),e.helper(Nl(e.inSSR,l))):e.helper(Pl(e.inSSR,l)),a&&e.helper(Jc)),{type:13,tag:n,props:t,children:r,patchFlag:o,dynamicProps:i,directives:a,isBlock:u,disableTracking:c,isComponent:l,loc:s}}function Sl(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:17,loc:n,elements:e}}function xl(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:15,loc:n,properties:e}}function wl(e,n){return{type:16,loc:_l,key:J(e)?kl(e,!0):e,value:n}}function kl(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_l,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{type:4,loc:t,content:e,isStatic:n,constType:n?3:r}}function Cl(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:8,loc:n,children:e}}function El(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_l;return{type:14,loc:t,callee:e,arguments:n}}function Tl(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:_l;return{type:18,params:e,returns:n,newline:t,isSlot:r,loc:o}}function Ol(e,n,t){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return{type:19,test:e,consequent:n,alternate:t,newline:r,loc:_l}}function Pl(e,n){return e||n?Dc:Zc}function Nl(e,n){return e||n?Bc:jc}function Al(e,n){var t=n.helper,r=n.removeHelper,o=n.inSSR;e.isBlock||(e.isBlock=!0,r(Pl(o,e.isComponent)),t(Uc),t(Nl(o,e.isComponent)))}var Rl=function(e){return 4===e.type&&e.isStatic},Il=function(e,n){return e===n||e===se(n)};function Ll(e){return Il(e,"Teleport")?Lc:Il(e,"Suspense")?Vc:Il(e,"KeepAlive")?Mc:Il(e,"BaseTransition")?Fc:void 0}var Vl=/^\d|[^\$\w]/,Ml=function(e){return!Vl.test(e)},Fl=/[A-Za-z_$\xA0-\uFFFF]/,Ul=/[\.\?\w$\xA0-\uFFFF]/,Bl=/\s+[.[]\s*|\s*[.[]\s+/g,jl=function(e){e=e.trim().replace(Bl,function(e){return e.trim()});for(var n=0,t=[],r=0,o=0,i=null,a=0;a2&&void 0!==arguments[2]?arguments[2]:n.length;return Hl(D({},e),n,t)}function Hl(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.length,r=0,o=-1,i=0;i2&&void 0!==arguments[2]&&arguments[2],r=0;r2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=0;o1&&void 0!==arguments[1]?arguments[1]:[];if(e&&!J(e)&&14===e.type){var t=e.callee;if(!J(t)&&Ql.has(t))return Yl(e.arguments[0],n.concat(e))}return[e,n]}function Xl(e,n,t){var r,o,i=13===e.type?e.props:e.arguments[2],a=[];if(i&&!J(i)&&14===i.type){var u=Yl(i);i=u[0],o=(a=u[1])[a.length-1]}if(null==i||J(i))r=xl([n]);else if(14===i.type){var c=i.arguments[0];J(c)||15!==c.type?i.callee===al?r=El(t.helper(nl),[xl([n]),i]):i.arguments.unshift(xl([n])):es(n,c)||c.properties.unshift(n),!r&&(r=i)}else 15===i.type?(es(n,i)||i.properties.unshift(n),r=i):(r=El(t.helper(nl),[xl([n]),i]),o&&o.callee===il&&(o=a[a.length-2]));13===e.type?o?o.arguments[0]=r:e.props=r:o?o.arguments[0]=r:e.arguments[2]=r}function es(e,n){var t=!1;if(4===e.key.type){var r=e.key.content;t=n.properties.some(function(e){return 4===e.key.type&&e.key.content===r})}return t}function ns(e,n){return"_".concat(n,"_").concat(e.replace(/[^\w]/g,function(n,t){return"-"===n?"_":e.charCodeAt(t).toString()}))}function ts(e,n){var t=n.options?n.options.compatConfig:n.compatConfig,r=t&&t[e];return"MODE"===e?r||3:r}function rs(e,n){var t=ts("MODE",n),r=ts(e,n);return 3===t?!0===r:!1!==r}function os(e,n,t){return rs(e,n)}var is=/&(gt|lt|amp|apos|quot);/g,as={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},us={delimiters:["{{","}}"],getNamespace:function(){return 0},getTextMode:function(){return 0},isVoidTag:F,isPreTag:F,isCustomElement:F,decodeEntities:function(e){return e.replace(is,function(e,n){return as[n]})},onError:Nc,onWarn:Ac,comments:!1};function cs(e,n,t){for(var r=ks(t),o=r?r.ns:0,i=[];!Ns(e,n,t);){var a=e.source,u=void 0;if(0===n||1===n)if(!e.inVPre&&Cs(a,e.options.delimiters[0]))u=_s(e,n);else if(0===n&&"<"===a[0])if(1===a.length)Ps(e,5,1);else if("!"===a[1])Cs(a,"\x3c!--")?u=fs(e):Cs(a,""===a[2]){Ps(e,14,2),Es(e,3);continue}if(/[a-z]/i.test(a[2])){Ps(e,23),gs(e,vs.End,r);continue}Ps(e,12,2),u=ps(e)}else/[a-z]/i.test(a[1])?(u=ds(e,t),rs("COMPILER_NATIVE_TEMPLATE",e)&&u&&"template"===u.tag&&!u.props.some(function(e){return 7===e.type&&hs(e.name)})&&(u=u.children)):"?"===a[1]?(Ps(e,21,1),u=ps(e)):Ps(e,12,1);if(u||(u=bs(e,n)),q(u))for(var c=0;c/.exec(e.source);if(r){r.index<=3&&Ps(e,0),r[1]&&Ps(e,10),n=e.source.slice(4,r.index);for(var o=e.source.slice(0,r.index),i=1,a=0;-1!==(a=o.indexOf("\x3c!--",i));)Es(e,a-i+1),a+4");return-1===o?(n=e.source.slice(r),Es(e,e.source.length)):(n=e.source.slice(r,o),Es(e,o+1)),{type:3,content:n,loc:ws(e,t)}}function ds(e,n){var t=e.inPre,r=e.inVPre,o=ks(n),i=gs(e,vs.Start,o),a=e.inPre&&!t,u=e.inVPre&&!r;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return a&&(e.inPre=!1),u&&(e.inVPre=!1),i;n.push(i);var c=e.options.getTextMode(i,o),l=cs(e,c,n);n.pop();var s=i.props.find(function(e){return 6===e.type&&"inline-template"===e.name});if(s&&os("COMPILER_INLINE_TEMPLATE",e)){var f=ws(e,i.loc.end);s.value={type:2,content:f.source,loc:f}}if(i.children=l,As(e.source,i.tag))gs(e,vs.End,o);else if(Ps(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){var p=l[0];p&&Cs(p.loc.source,"\x3c!--")&&Ps(e,8)}return i.loc=ws(e,i.loc.start),a&&(e.inPre=!1),u&&(e.inVPre=!1),i}var vs=function(e){return e[e.Start=0]="Start",e[e.End=1]="End",e}(vs||{}),hs=R("if,else,else-if,for,slot");function gs(e,n,t){var r=xs(e),o=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=o[1],a=e.options.getNamespace(i,t);Es(e,o[0].length),Ts(e);var u=xs(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);var l=ms(e,n);0===n&&!e.inVPre&&l.some(function(e){return 7===e.type&&"pre"===e.name})&&(e.inVPre=!0,D(e,u),e.source=c,l=ms(e,n).filter(function(e){return"v-pre"!==e.name}));var s=!1;if(0===e.source.length?Ps(e,9):(s=Cs(e.source,"/>"),1===n&&s&&Ps(e,4),Es(e,s?2:1)),1!==n){var f=0;return e.inVPre||("slot"===i?f=2:"template"===i?l.some(function(e){return 7===e.type&&hs(e.name)})&&(f=3):function(e,n,t){var r=t.options;if(r.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||Ll(e)||r.isBuiltInComponent&&r.isBuiltInComponent(e)||r.isNativeTag&&!r.isNativeTag(e))return!0;for(var o=0;o0&&!Cs(e.source,">")&&!Cs(e.source,"/>");)if(Cs(e.source,"/"))Ps(e,22),Es(e,1),Ts(e);else{1===n&&Ps(e,3);var o=ys(e,r);6===o.type&&o.value&&"class"===o.name&&(o.value.content=o.value.content.replace(/\s+/g," ").trim()),0===n&&t.push(o),/^[^\t\r\n\f />]/.test(e.source)&&Ps(e,15),Ts(e)}return t}function ys(e,n){var t,r,o=xs(e),i=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];n.has(i)&&Ps(e,2),n.add(i),"="===i[0]&&Ps(e,19);for(var a,u=/["'<]/g;a=u.exec(i);)Ps(e,17,a.index);Es(e,i.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Ts(e),Es(e,1),Ts(e),r=function(e){var n,t=xs(e),r=e.source[0],o='"'===r||"'"===r;if(o){Es(e,1);var i=e.source.indexOf(r);-1===i?n=Ss(e,e.source.length,4):(n=Ss(e,i,4),Es(e,1))}else{var a=/^[^\t\r\n\f >]+/.exec(e.source);if(!a)return;for(var u,c=/["'<=`]/g;u=c.exec(a[0]);)Ps(e,18,u.index);n=Ss(e,a[0].length,4)}return{content:n,isQuoted:o,loc:ws(e,t)}}(e),r||Ps(e,13));var c=ws(e,o);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(i)){var l,s=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(i),f=Cs(i,"."),p=s[1]||(f||Cs(i,":")?"bind":Cs(i,"@")?"on":"slot");if(s[2]){var d="slot"===p,v=i.lastIndexOf(s[2],i.length-((null==(t=s[3])?void 0:t.length)||0)),h=ws(e,Os(e,o,v),Os(e,o,v+s[2].length+(d&&s[3]||"").length)),g=s[2],m=!0;g.startsWith("[")?(m=!1,g.endsWith("]")?g=g.slice(1,g.length-1):(Ps(e,27),g=g.slice(1))):d&&(g+=s[3]||""),l={type:4,content:g,isStatic:m,constType:m?3:0,loc:h}}if(r&&r.isQuoted){var y=r.loc;y.start.offset++,y.start.column++,y.end=Zl(y.start,r.content),y.source=y.source.slice(1,-1)}var _=s[3]?s[3].slice(1).split("."):[];return f&&_.push("prop"),"bind"===p&&l&&_.includes("sync")&&os("COMPILER_V_BIND_SYNC",e)&&(p="model",_.splice(_.indexOf("sync"),1)),{type:7,name:p,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:l,modifiers:_,loc:c}}return!e.inVPre&&Cs(i,"v-")&&Ps(e,26),{type:6,name:i,value:r&&{type:2,content:r.content,loc:r.loc},loc:c}}function _s(e,n){var t=f(e.options.delimiters,2),r=t[0],o=t[1],i=e.source.indexOf(o,r.length);if(-1!==i){var a=xs(e);Es(e,r.length);var u=xs(e),c=xs(e),l=i-r.length,s=e.source.slice(0,l),p=Ss(e,l,n),d=p.trim(),v=p.indexOf(d);return v>0&&Hl(u,s,v),Hl(c,s,l-(p.length-d.length-v)),Es(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:d,loc:ws(e,u,c)},loc:ws(e,a)}}Ps(e,25)}function bs(e,n){for(var t=3===n?["]]>"]:["<",e.options.delimiters[0]],r=e.source.length,o=0;oi&&(r=i)}var a=xs(e);return{type:2,content:Ss(e,r,n),loc:ws(e,a)}}function Ss(e,n,t){var r=e.source.slice(0,n);return Es(e,n),2!==t&&3!==t&&r.includes("&")?e.options.decodeEntities(r,4===t):r}function xs(e){return{column:e.column,line:e.line,offset:e.offset}}function ws(e,n,t){return{start:n,end:t=t||xs(e),source:e.originalSource.slice(n.offset,t.offset)}}function ks(e){return e[e.length-1]}function Cs(e,n){return e.startsWith(n)}function Es(e,n){var t=e.source;Hl(e,t,n),e.source=t.slice(n)}function Ts(e){var n=/^[\t\r\n\f ]+/.exec(e.source);n&&Es(e,n[0].length)}function Os(e,n,t){return Zl(n,e.originalSource.slice(n.offset,t),t)}function Ps(e,n,t){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:xs(e);t&&(r.offset+=t,r.column+=t),e.options.onError(Rc(n,{start:r,end:r,source:""}))}function Ns(e,n,t){var r=e.source;switch(n){case 0:if(Cs(r,"=0;--o)if(As(r,t[o].tag))return!0;break;case 1:case 2:var i=ks(t);if(i&&As(r,i.tag))return!0;break;case 3:if(Cs(r,"]]>"))return!0}return!r}function As(e,n){return Cs(e,"]/.test(e[2+n.length]||">")}function Rs(e,n){Ls(e,n,Is(e,e.children[0]))}function Is(e,n){return 1===e.children.length&&1===n.type&&!Jl(n)}function Ls(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.children,o=r.length,i=0,a=0;a0){if(c>=2){u.codegenNode.patchFlag="-1",u.codegenNode=n.hoist(u.codegenNode),i++;continue}}else{var l=u.codegenNode;if(13===l.type){var s=js(l);if((!s||512===s||1===s)&&Us(u,n)>=2){var f=Bs(u);f&&(l.props=n.hoist(f))}l.dynamicProps&&(l.dynamicProps=n.hoist(l.dynamicProps))}}}if(1===u.type){var p=1===u.tagType;p&&n.scopes.vSlot++,Ls(u,n),p&&n.scopes.vSlot--}else if(11===u.type)Ls(u,n,1===u.children.length);else if(9===u.type)for(var d=0;d1)for(var l=0;ln&&(W.childIndex--,W.onNodeRemoved()):(W.currentNode=null,W.onNodeRemoved()),W.parent.children.splice(n,1)},onNodeRemoved:function(){},addIdentifiers:function(e){},removeIdentifiers:function(e){},hoist:function(e){J(e)&&(e=kl(e)),W.hoists.push(e);var n=kl("_hoisted_".concat(W.hoists.length),!1,e.loc,2);return n.hoisted=e,n},cache:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{type:20,index:e,value:n,isVNode:t,loc:_l}}(W.cached++,e,n)}};return W.filters=new Set,W}(e,n);Zs(e,t),n.hoistStatic&&Rs(e,t),n.ssr||function(e,n){var t=n.helper,r=e.children;if(1===r.length){var o=r[0];if(Is(e,o)&&o.codegenNode){var i=o.codegenNode;13===i.type&&Al(i,n),e.codegenNode=i}else e.codegenNode=o}else if(r.length>1){e.codegenNode=bl(n,t(Ic),void 0,e.children,"64",void 0,void 0,!0,void 0,!1)}}(e,t),e.helpers=new Set(p(t.helpers.keys())),e.components=p(t.components),e.directives=p(t.directives),e.imports=t.imports,e.hoists=t.hoists,e.temps=t.temps,e.cached=t.cached,e.filters=p(t.filters)}function Zs(e,n){n.currentNode=e;for(var t=n.nodeTransforms,r=[],o=0;o1&&void 0!==arguments[1]?arguments[1]:{},t=function(e,n){var t=n.mode,r=void 0===t?"function":t,o=n.prefixIdentifiers,i=void 0===o?"module"===r:o,a=n.sourceMap,u=void 0!==a&&a,c=n.filename,l=void 0===c?"template.vue.html":c,s=n.scopeId,f=void 0===s?null:s,p=n.optimizeImports,d=void 0!==p&&p,v=n.runtimeGlobalName,h=void 0===v?"Vue":v,g=n.runtimeModuleName,m=void 0===g?"vue":g,y=n.ssrRuntimeModuleName,_=void 0===y?"vue/server-renderer":y,b=n.ssr,S=void 0!==b&&b,x=n.isTS,w=void 0!==x&&x,k=n.inSSR,C={mode:r,prefixIdentifiers:i,sourceMap:u,filename:l,scopeId:f,optimizeImports:d,runtimeGlobalName:h,runtimeModuleName:m,ssrRuntimeModuleName:_,ssr:S,isTS:w,inSSR:void 0!==k&&k,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:function(e){return"_".concat(yl[e])},push:function(e,n){C.code+=e},indent:function(){E(++C.indentLevel)},deindent:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e?--C.indentLevel:E(--C.indentLevel)},newline:function(){E(C.indentLevel)}};function E(e){C.push("\n"+" ".repeat(e))}return C}(e,n);n.onContextCreated&&n.onContextCreated(t);var r=t.mode,o=t.push,i=t.prefixIdentifiers,a=t.indent,u=t.deindent,c=t.newline,l=t.ssr,s=Array.from(e.helpers),f=s.length>0,p=!i&&"module"!==r;if(function(e,n){var t=n.push,r=n.newline,o=n.runtimeGlobalName,i=Array.from(e.helpers);if(i.length>0&&(t("const _Vue = ".concat(o,"\n")),e.hoists.length)){var a=[Dc,Zc,Hc,$c,qc].filter(function(e){return i.includes(e)}).map(qs).join(", ");t("const { ".concat(a," } = _Vue\n"))}(function(e,n){if(e.length){n.pure=!0;var t=n.push,r=n.newline;r();for(var o=0;o0)&&c()),e.directives.length&&(zs(e.directives,"directive",t),e.temps>0&&c()),e.filters&&e.filters.length&&(c(),zs(e.filters,"filter",t),c()),e.temps>0){o("let ");for(var d=0;d0?", ":"","_temp").concat(d))}return(e.components.length||e.directives.length||e.temps)&&(o("\n"),c()),l||o("return "),e.codegenNode?Js(e.codegenNode,t):o("null"),p&&(u(),o("}")),u(),o("}"),{ast:e,code:t.code,preamble:"",map:t.map?t.map.toJSON():void 0}}function zs(e,n,t){for(var r=t.helper,o=t.push,i=t.newline,a=t.isTS,u=r("filter"===n?Kc:"component"===n?Wc:Gc),c=0;c3||!1;n.push("["),t&&n.indent(),Ks(e,n,t),t&&n.deindent(),n.push("]")}function Ks(e,n){for(var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=n.push,i=n.newline,a=0;a1||!1;t(u?"{":"{ "),u&&r();for(var c=0;c "),(c||u)&&(t("{"),r()),a?(c&&t("return "),q(a)?Gs(a,n):Js(a,n)):u&&Js(u,n),(c||u)&&(o(),t("}")),l&&(e.isNonScopedSlot&&t(", undefined, true"),t(")"))}(e,n);break;case 19:!function(e,n){var t=e.test,r=e.consequent,o=e.alternate,i=e.newline,a=n.push,u=n.indent,c=n.deindent,l=n.newline;if(4===t.type){var s=!Ml(t.content);s&&a("("),Qs(t,n),s&&a(")")}else a("("),Js(t,n),a(")");i&&u(),n.indentLevel++,i||a(" "),a("? "),Js(r,n),n.indentLevel--,i&&l(),i||a(" "),a(": ");var f=19===o.type;f||n.indentLevel++,Js(o,n),f||n.indentLevel--,i&&c(!0)}(e,n);break;case 20:!function(e,n){var t=n.push,r=n.helper,o=n.indent,i=n.deindent,a=n.newline;t("_cache[".concat(e.index,"] || (")),e.isVNode&&(o(),t("".concat(r(sl),"(-1),")),a()),t("_cache[".concat(e.index,"] = ")),Js(e.value,n),e.isVNode&&(t(","),a(),t("".concat(r(sl),"(1),")),a(),t("_cache[".concat(e.index,"]")),i()),t(")")}(e,n);break;case 21:Ks(e.body,n,!0,!1)}}function Qs(e,n){var t=e.content,r=e.isStatic;n.push(r?JSON.stringify(t):t,e)}function Ys(e,n){for(var t=0;t=-1;){var l=u[c];if(l&&3===l.type)t.removeNode(l);else{if(!l||2!==l.type||l.content.trim().length){if(l&&9===l.type){"else-if"===n.name&&void 0===l.branches[l.branches.length-1].condition&&t.onError(Rc(30,e.loc)),t.removeNode();var s=nf(e,n);l.branches.push(s);var f=r&&r(l,s,!1);Zs(s,t),f&&f(),t.currentNode=null}else t.onError(Rc(30,e.loc));break}t.removeNode(l)}}}(e,n,t,function(e,n,r){for(var o=t.parent.children,i=o.indexOf(e),a=0;i-- >=0;){var u=o[i];u&&9===u.type&&(a+=u.branches.length)}return function(){if(r)e.codegenNode=tf(n,a,t);else{var o=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);o.alternate=tf(n,a+e.branches.length-1,t)}}})});function nf(e,n){var t=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===n.name?void 0:n.exp,children:t&&!$l(e,"for")?e.children:[e],userKey:ql(e,"key"),isTemplateIf:t}}function tf(e,n,t){return e.condition?Ol(e.condition,rf(e,n,t),El(t.helper(Hc),['""',"true"])):rf(e,n,t)}function rf(e,n,t){var r=t.helper,o=wl("key",kl("".concat(n),!1,_l,2)),i=e.children,a=i[0];if(1!==i.length||1!==a.type){if(1===i.length&&11===a.type){var u=a.codegenNode;return Xl(u,o,t),u}return bl(t,r(Ic),xl([o]),i,"64",void 0,void 0,!0,!1,!1,e.loc)}var c=a.codegenNode,l=function(e){return 14===e.type&&e.callee===gl?e.arguments[1].returns:e}(c);return 13===l.type&&Al(l,t),Xl(l,o,t),c}var of=Hs("for",function(e,n,t){var r=t.helper,o=t.removeHelper;return function(e,n,t,r){if(n.exp){var o=lf(n.exp);if(o){var i=t.scopes,a=o.source,u=o.value,c=o.key,l=o.index,s={type:11,loc:n.loc,source:a,valueAlias:u,keyAlias:c,objectIndexAlias:l,parseResult:o,children:Kl(e)?e.children:[e]};t.replaceNode(s),i.vFor++;var f=r&&r(s);return function(){i.vFor--,f&&f()}}t.onError(Rc(32,n.loc))}else t.onError(Rc(31,n.loc))}(e,n,t,function(n){var i=El(r(Qc),[n.source]),a=Kl(e),u=$l(e,"memo"),c=ql(e,"key"),l=c&&(6===c.type?kl(c.value.content,!0):c.exp),s=c?wl("key",l):null,f=4===n.source.type&&n.source.constType>0,d=f?64:c?128:256;return n.codegenNode=bl(t,r(Ic),void 0,i,d+"",void 0,void 0,!0,!f,!1,e.loc),function(){var c,d=n.children,v=1!==d.length||1!==d[0].type,h=Jl(e)?e:a&&1===e.children.length&&Jl(e.children[0])?e.children[0]:null;if(h?(c=h.codegenNode,a&&s&&Xl(c,s,t)):v?c=bl(t,r(Ic),s?xl([s]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(c=d[0].codegenNode,a&&s&&Xl(c,s,t),c.isBlock!==!f&&(c.isBlock?(o(Uc),o(Nl(t.inSSR,c.isComponent))):o(Pl(t.inSSR,c.isComponent))),c.isBlock=!f,c.isBlock?(r(Uc),r(Nl(t.inSSR,c.isComponent))):r(Pl(t.inSSR,c.isComponent))),u){var g=Tl(ff(n.parseResult,[kl("_cached")]));g.body=function(e){return{type:21,body:e,loc:_l}}([Cl(["const _memo = (",u.exp,")"]),Cl(["if (_cached"].concat(p(l?[" && _cached.key === ",l]:[]),[" && ".concat(t.helperString(ml),"(_cached, _memo)) return _cached")])),Cl(["const _item = ",c]),kl("_item.memo = _memo"),kl("return _item")]),i.arguments.push(g,kl("_cache"),kl(String(t.cached++)))}else i.arguments.push(Tl(ff(n.parseResult),c,!0))}})}),af=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,uf=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,cf=/^\(|\)$/g;function lf(e,n){var t=e.loc,r=e.content,o=r.match(af);if(o){var i=f(o,3),a=i[1],u=i[2],c={source:sf(t,u.trim(),r.indexOf(u,a.length)),value:void 0,key:void 0,index:void 0},l=a.trim().replace(cf,"").trim(),s=a.indexOf(l),p=l.match(uf);if(p){l=l.replace(uf,"").trim();var d,v=p[1].trim();if(v&&(d=r.indexOf(v,s+l.length),c.key=sf(t,v,d)),p[2]){var h=p[2].trim();h&&(c.index=sf(t,h,r.indexOf(h,c.key?d+v.length:s+l.length)))}}return l&&(c.value=sf(t,l,s)),c}}function sf(e,n,t){return kl(n,!1,Dl(e,t,n.length))}function ff(e){var n=e.value,t=e.key,r=e.index,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(e){for(var n=e.length;n--&&!e[n];);return e.slice(0,n+1).map(function(e,n){return e||kl("_".repeat(n+1),!1)})}([n,t,r].concat(p(o)))}var pf=kl("undefined",!1),df=function(e,n){if(1===e.type&&(1===e.tagType||3===e.tagType)&&$l(e,"slot"))return n.scopes.vSlot++,function(){n.scopes.vSlot--}},vf=function(e,n,t){return Tl(e,n,!1,!0,n.length?n[0].loc:t)};function hf(e,n,t){var r=[wl("name",e),wl("fn",n)];return null!=t&&r.push(wl("key",kl(String(t),!0))),xl(r)}function gf(e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=e.tag,o=wf(r),i=ql(e,"is");if(i)if(o||rs("COMPILER_IS_ON_ELEMENT",n)){var a=6===i.type?i.value&&kl(i.value.content,!0):i.exp;if(a)return El(n.helper(zc),[a])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));var u=!o&&$l(e,"is");if(u&&u.exp)return El(n.helper(zc),[u.exp]);var c=Ll(r)||n.isBuiltInComponent(r);return c?(t||n.helper(c),c):(n.helper(Wc),n.components.add(r),ns(r,"component"))}(e,n):'"'.concat(l,'"'),d=Y(p)&&p.callee===zc,v=0,h=d||p===Lc||p===Vc||!f&&("svg"===l||"foreignObject"===l);if(s.length>0){var g=bf(e,n,void 0,f,d);t=g.props,v=g.patchFlag,a=g.dynamicPropNames;var m=g.directives;u=m&&m.length?Sl(m.map(function(e){return function(e,n){var t=[],r=yf.get(e);r?t.push(n.helperString(r)):(n.helper(Gc),n.directives.add(e.name),t.push(ns(e.name,"directive")));var o=e.loc;if(e.exp&&t.push(e.exp),e.arg&&(e.exp||t.push("void 0"),t.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||t.push("void 0"),t.push("void 0"));var i=kl("true",!1,o);t.push(xl(e.modifiers.map(function(e){return wl(e,i)}),o))}return Sl(t,e.loc)}(e,n)})):void 0,g.shouldUseBlock&&(h=!0)}if(e.children.length>0)if(p===Mc&&(h=!0,v|=1024),f&&p!==Lc&&p!==Mc){var y=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:vf;n.helper(dl);var r=e.children,o=e.loc,i=[],a=[],u=n.scopes.vSlot>0||n.scopes.vFor>0,c=$l(e,"slot",!0);if(c){var l=c.arg,s=c.exp;l&&!Rl(l)&&(u=!0),i.push(wl(l||kl("default",!0),t(s,r,o)))}for(var f=!1,p=!1,d=[],v=new Set,h=0,g=0;g2&&void 0!==arguments[2]?arguments[2]:e.props,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],u=e.tag,c=e.loc,l=e.children,s=[],f=[],d=[],v=l.length>0,h=!1,g=0,m=!1,y=!1,_=!1,b=!1,S=!1,x=!1,w=[],k=function(e){s.length&&(f.push(xl(Sf(s),c)),s=[]),e&&f.push(e)},C=function(e){var t=e.key,r=e.value;if(Rl(t)){var a=t.content,u=B(a);if(u&&(!o||i)&&"onclick"!==a.toLowerCase()&&"onUpdate:modelValue"!==a&&!oe(a)&&(b=!0),u&&oe(a)&&(x=!0),20===r.type||(4===r.type||8===r.type)&&Vs(r,n)>0)return;"ref"===a?m=!0:"class"===a?y=!0:"style"===a?_=!0:"key"!==a&&!w.includes(a)&&w.push(a),o&&("class"===a||"style"===a)&&!w.includes(a)&&w.push(a)}else S=!0},E=0;E0&&s.push(wl(kl("ref_for",!0),kl("true")))),"is"===P&&(wf(u)||N&&N.content.startsWith("vue:")||rs("COMPILER_IS_ON_ELEMENT",n)))continue;s.push(wl(kl(P,!0,Dl(O,0,P.length)),kl(N?N.content:"",A,N?N.loc:O)))}else{var R=T.name,I=T.arg,L=T.exp,V=T.loc,M="bind"===R,F="on"===R;if("slot"===R){o||n.onError(Rc(40,V));continue}if("once"===R||"memo"===R||"is"===R||M&&Wl(I,"is")&&(wf(u)||rs("COMPILER_IS_ON_ELEMENT",n))||F&&a)continue;if((M&&Wl(I,"key")||F&&v&&Wl(I,"vue:before-update"))&&(h=!0),M&&Wl(I,"ref")&&n.scopes.vFor>0&&s.push(wl(kl("ref_for",!0),kl("true"))),!I&&(M||F)){if(S=!0,L)if(M){if(k(),rs("COMPILER_V_BIND_OBJECT_ORDER",n)){f.unshift(L);continue}f.push(L)}else k({type:14,loc:V,callee:n.helper(al),arguments:o?[L]:[L,"true"]});else n.onError(Rc(M?34:35,V));continue}var U=n.directiveTransforms[R];if(U){var j,D=U(T,e,n),Z=D.props,H=D.needRuntime;!a&&Z.forEach(C),F&&I&&!Rl(I)?k(xl(Z,c)):(j=s).push.apply(j,p(Z)),H&&(d.push(T),Q(H)&&yf.set(T,H))}else ie(R)||(d.push(T),v&&(h=!0))}}if(f.length?(k(),t=f.length>1?El(n.helper(nl),f,c):f[0]):s.length&&(t=xl(Sf(s),c)),S?g|=16:(y&&!o&&(g|=2),_&&!o&&(g|=4),w.length&&(g|=8),b&&(g|=32)),!h&&(0===g||32===g)&&(m||x||d.length>0)&&(g|=512),!n.inSSR&&t)switch(t.type){case 15:for(var $=-1,q=-1,W=!1,z=0;z0){var u=bf(e,n,o,!1,!1),c=u.props,l=u.directives;t=c,l.length&&n.onError(Rc(36,l[0].loc))}return{slotName:r,slotProps:t}}(e,n),i=o.slotName,a=o.slotProps,u=[n.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"],c=2;a&&(u[2]=a,c=3),t.length&&(u[3]=Tl([],t,!1,!1,r),c=4),n.scopeId&&!n.slotted&&(c=5),u.splice(c),e.codegenNode=El(n.helper(Yc),u,r)}},Cf=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ef=function(e,n,t,r){var o,i=e.loc,a=e.modifiers,u=e.arg;if(!e.exp&&!a.length&&t.onError(Rc(35,i)),4===u.type)if(u.isStatic){var c=u.content;c.startsWith("vue:")&&(c="vnode-".concat(c.slice(4))),o=kl(0!==n.tagType||c.startsWith("vnode")||!/[A-Z]/.test(c)?pe(ce(c)):"on:".concat(c),!0,u.loc)}else o=Cl(["".concat(t.helperString(ll),"("),u,")"]);else(o=u).children.unshift("".concat(t.helperString(ll),"(")),o.children.push(")");var l=e.exp;l&&!l.content.trim()&&(l=void 0);var s=t.cacheHandlers&&!l&&!t.inVOnce;if(l){var f=jl(l.content),p=!(f||Cf.test(l.content)),d=l.content.includes(";");(p||s&&f)&&(l=Cl(["".concat(p?"$event":"(...args)"," => ").concat(d?"{":"("),l,d?"}":")"]))}var v={props:[wl(o,l||kl("() => {}",!1,i))]};return r&&(v=r(v)),s&&(v.props[0].value=t.cache(v.props[0].value)),v.props.forEach(function(e){return e.key.isHandlerKey=!0}),v},Tf=function(e,n,t){var r=e.exp,o=e.modifiers,i=e.loc,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content="".concat(a.content,' || ""')),o.includes("camel")&&(4===a.type?a.content=a.isStatic?ce(a.content):"".concat(t.helperString(ul),"(").concat(a.content,")"):(a.children.unshift("".concat(t.helperString(ul),"(")),a.children.push(")"))),t.inSSR||(o.includes("prop")&&Of(a,"."),o.includes("attr")&&Of(a,"^")),!r||4===r.type&&!r.content.trim()?(t.onError(Rc(34,i)),{props:[wl(a,kl("",!0,i))]}):{props:[wl(a,r)]}},Of=function(e,n){4===e.type?e.content=e.isStatic?n+e.content:"`".concat(n,"${").concat(e.content,"}`"):(e.children.unshift("'".concat(n,"' + (")),e.children.push(")"))},Pf=function(e,n){if(0===e.type||1===e.type||11===e.type||10===e.type)return function(){for(var t,r=e.children,o=!1,i=0;i ((",r,") = $event)"]);var f=[wl(l,e.exp),wl(s,c)];if(e.modifiers.length&&1===n.tagType){var p=e.modifiers.map(function(e){return(Ml(e)?e:JSON.stringify(e))+": true"}).join(", "),d=o?Rl(o)?"".concat(o.content,"Modifiers"):Cl([o,' + "Modifiers"']):"modelModifiers";f.push(wl(d,kl("{ ".concat(p," }"),!1,e.loc,2)))}return If(f)};function If(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{props:e}}var Lf=/[\w).+\-_$\]]/,Vf=function(e,n){!rs("COMPILER_FILTER",n)||(5===e.type&&Mf(e.content,n),1===e.type&&e.props.forEach(function(e){7===e.type&&"for"!==e.name&&e.exp&&Mf(e.exp,n)}))};function Mf(e,n){if(4===e.type)Ff(e,n);else for(var t=0;t=0&&" "===(g=a.charAt(m));m--);(!g||!Lf.test(g))&&(s=!0)}}else void 0===i?(v=o+1,i=a.slice(0,o).trim()):y();function y(){h.push(a.slice(v,o).trim()),v=o+1}if(void 0===i?i=a.slice(0,o).trim():0!==v&&y(),h.length){for(o=0;o1&&void 0!==arguments[1]?arguments[1]:{},t=n.onError||Nc,r="module"===n.mode;!0===n.prefixIdentifiers?t(Rc(47)):r&&t(Rc(48)),n.cacheHandlers&&t(Rc(49)),n.scopeId&&!r&&t(Rc(50));var o=J(e)?function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=function(e,n){var t,r=D({},us);for(t in n)r[t]=void 0===n[t]?us[t]:n[t];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:r.onWarn}}(e,n),r=xs(t);return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_l;return{type:0,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:n}}(cs(t,0,[]),ws(t,r))}(e,n):e,i=[Af,ef,jf,of,Vf,kf,_f,df,Pf],a={on:Ef,bind:Tf,model:Rf};return Ds(o,D({},n,{prefixIdentifiers:!1,nodeTransforms:[].concat(i,p(n.nodeTransforms||[])),directiveTransforms:D({},a,n.directiveTransforms||{})})),Ws(o,D({},n,{prefixIdentifiers:!1}))}var Zf,Hf,$f=Symbol(""),qf=Symbol(""),Wf=Symbol(""),zf=Symbol(""),Gf=Symbol(""),Kf=Symbol(""),Jf=Symbol(""),Qf=Symbol(""),Yf=Symbol(""),Xf=Symbol("");l(s={},$f,"vModelRadio"),l(s,qf,"vModelCheckbox"),l(s,Wf,"vModelText"),l(s,zf,"vModelSelect"),l(s,Gf,"vModelDynamic"),l(s,Kf,"withModifiers"),l(s,Jf,"withKeys"),l(s,Qf,"vShow"),l(s,Yf,"Transition"),l(s,Xf,"TransitionGroup"),Zf=s,Object.getOwnPropertySymbols(Zf).forEach(function(e){yl[e]=Zf[e]});var ep=R("style,iframe,script,noscript",!0),np={isVoidTag:Pe,isNativeTag:function(e){return Te(e)||Oe(e)},isPreTag:function(e){return"pre"===e},decodeEntities:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Hf||(Hf=document.createElement("div")),n?(Hf.innerHTML='
'),Hf.children[0].getAttribute("foo")):(Hf.innerHTML=e,Hf.textContent)},isBuiltInComponent:function(e){return Il(e,"Transition")?Yf:Il(e,"TransitionGroup")?Xf:void 0},getNamespace:function(e,n){var t=n?n.ns:0;if(n&&2===t)if("annotation-xml"===n.tag){if("svg"===e)return 1;n.props.some(function(e){return 6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)})&&(t=0)}else/^m(?:[ions]|text)$/.test(n.tag)&&"mglyph"!==e&&"malignmark"!==e&&(t=0);else n&&1===t&&("foreignObject"===n.tag||"desc"===n.tag||"title"===n.tag)&&(t=0);if(0===t){if("svg"===e)return 1;if("math"===e)return 2}return t},getTextMode:function(e){var n=e.tag;if(0===e.ns){if("textarea"===n||"title"===n)return 1;if(ep(n))return 2}return 0}},tp=function(e,n){var t=ke(e);return kl(JSON.stringify(t),!1,n,3)};function rp(e,n){return Rc(e,n)}var op=R("passive,once,capture"),ip=R("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ap=R("left,right"),up=R("onkeyup,onkeydown,onkeypress",!0),cp=function(e,n){return Rl(e)&&"onclick"===e.content.toLowerCase()?kl(n,!0):4!==e.type?Cl(["(",e,') === "onClick" ? "'.concat(n,'" : ('),e,")"]):e},lp=function(e,n){1===e.type&&0===e.tagType&&("script"===e.tag||"style"===e.tag)&&n.removeNode()},sp=[function(e){1===e.type&&e.props.forEach(function(n,t){6===n.type&&"style"===n.name&&n.value&&(e.props[t]={type:7,name:"bind",arg:kl("style",!0,n.loc),exp:tp(n.value.content,n.loc),modifiers:[],loc:n.loc})})}],fp={cloak:function(){return{props:[]}},html:function(e,n,t){var r=e.exp,o=e.loc;return r||t.onError(rp(53,o)),n.children.length&&(t.onError(rp(54,o)),n.children.length=0),{props:[wl(kl("innerHTML",!0,o),r||kl("",!0))]}},text:function(e,n,t){var r=e.exp,o=e.loc;return r||t.onError(rp(55,o)),n.children.length&&(t.onError(rp(56,o)),n.children.length=0),{props:[wl(kl("textContent",!0),r?Vs(r,t)>0?r:El(t.helperString(el),[r],o):kl("",!0))]}},model:function(e,n,t){var r=Rf(e,n,t);if(!r.props.length||1===n.tagType)return r;e.arg&&t.onError(rp(58,e.arg.loc));var o=n.tag,i=t.isCustomElement(o);if("input"===o||"textarea"===o||"select"===o||i){var a=Wf,u=!1;if("input"===o||i){var c=ql(n,"type");if(c){if(7===c.type)a=Gf;else if(c.value)switch(c.value.content){case"radio":a=$f;break;case"checkbox":a=qf;break;case"file":u=!0,t.onError(rp(59,e.loc))}}else(function(e){return e.props.some(function(e){return!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)})})(n)&&(a=Gf)}else"select"===o&&(a=zf);u||(r.needRuntime=t.helper(a))}else t.onError(rp(57,e.loc));return r.props=r.props.filter(function(e){return!(4===e.key.type&&"modelValue"===e.key.content)}),r},on:function(e,n,t){return Ef(e,n,t,function(n){var r=e.modifiers;if(!r.length)return n;var o=n.props[0],i=o.key,a=o.value,u=function(e,n,t,r){for(var o=[],i=[],a=[],u=0;u1&&void 0!==arguments[1]?arguments[1]:{};return Df(e,D({},np,n,{nodeTransforms:[lp].concat(sp,p(n.nodeTransforms||[])),directiveTransforms:D({},fp,n.directiveTransforms||{}),transformHoist:null}))}(e,i),u=a.code,c=new Function("Vue",u)(d);return c._rc=!0,pp[t]=c});var dp=function(){var e=c(function e(){a(this,e),setTimeout(function(){Cc({template:'',directives:{maskito:A},data:function(){return{value:"123456",options:(0,C.f8)()}}}).mount("#vue")})});return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=w.Xpm({type:e,selectors:[["vue-example-1"]],decls:1,vars:0,consts:[["id","vue"]],template:function(e,n){1&e&&w._UZ(0,"div",0)},encapsulation:2}),e}(),vp=function(){var e=c(function e(){a(this,e),this.coreConceptsOverviewDocPage="/core-concepts/overview",this.useMaskitoBasicUsage=o.e(6916).then(o.t.bind(o,6916,17)),this.queryNestedInputDemo=o.e(9748).then(o.t.bind(o,79748,17)),this.bestBadPractice=o.e(7648).then(o.t.bind(o,77648,17))});return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=w.Xpm({type:e,selectors:[["vue-doc-page"]],decls:52,vars:4,consts:[["header","Vue","path","vue"],[1,"tui-space_top-0"],["status","warning",1,"tui-space_top-6"],[1,"tui-space_bottom-0"],["tuiLink","",3,"routerLink"],[1,"tui-space_top-12"],["code","npm install @maskito/{core,vue}"],[3,"code"],["id","example","heading","Above code example in practice"],[1,"tui-space_bottom-4"]],template:function(e,n){1&e&&(w.TgZ(0,"tui-doc-page",0),w.TgZ(1,"p",1),w.TgZ(2,"code"),w._uU(3,"@maskito/vue"),w.qZA(),w._uU(4," is a light-weighted library to use "),w.TgZ(5,"strong"),w._uU(6,"Maskito"),w.qZA(),w._uU(7," in as a Vue directive. "),w.qZA(),w.TgZ(8,"tui-notification",2),w.TgZ(9,"strong"),w._uU(10,"Prerequisites"),w.qZA(),w.TgZ(11,"p",3),w._uU(12," To get the most out of this guide, you should review the topic "),w.TgZ(13,"a",4),w._uU(14,' "Core\xa0Concepts" '),w.qZA(),w._uU(15," first. "),w.qZA(),w.qZA(),w.TgZ(16,"section",5),w.TgZ(17,"h2"),w._uU(18,"Getting Started"),w.qZA(),w.TgZ(19,"p"),w._uU(20,"Install libraries"),w.qZA(),w._UZ(21,"tui-doc-code",6),w.TgZ(22,"p"),w._uU(23," and use "),w.TgZ(24,"strong"),w._uU(25,"Maskito"),w.qZA(),w.qZA(),w._UZ(26,"tui-doc-code",7),w.qZA(),w.TgZ(27,"tui-doc-example",8),w._UZ(28,"vue-example-1"),w.qZA(),w.TgZ(29,"section",5),w.TgZ(30,"h2"),w._uU(31,"Query nested input element"),w.qZA(),w.TgZ(32,"p"),w._uU(33," Pass a predicate to "),w.TgZ(34,"strong"),w._uU(35,"elementPredicate"),w.qZA(),w._uU(36," to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library. "),w.qZA(),w.TgZ(37,"tui-notification",9),w._uU(38," By default "),w.TgZ(39,"strong"),w._uU(40,"Maskito"),w.qZA(),w._uU(41," will try to find input/textarea by querying its host: "),w.TgZ(42,"code"),w._uU(43,"host.querySelector('input,textarea')"),w.qZA(),w._uU(44," so that might be sufficient. Use custom predicate if you need custom logic. "),w.qZA(),w._UZ(45,"tui-doc-code",7),w.qZA(),w.TgZ(46,"section",5),w.TgZ(47,"h2"),w._uU(48,"Best practices & Anti-Patterns"),w.qZA(),w.TgZ(49,"p"),w._uU(50," Avoid inlining options object, otherwise Maskito will be recreated on every update: "),w.qZA(),w._UZ(51,"tui-doc-code",7),w.qZA(),w.qZA()),2&e&&(w.xp6(13),w.Q6J("routerLink",n.coreConceptsOverviewDocPage),w.xp6(13),w.Q6J("code",n.useMaskitoBasicUsage),w.xp6(19),w.Q6J("code",n.queryNestedInputDemo),w.xp6(6),w.Q6J("code",n.bestBadPractice))},directives:[k.qo,x.Ls,S.V,m.yS,k.c0,k.f2,dp],encapsulation:2,changeDetection:0}),e}(),hp=function(){var e=c(function e(){a(this,e)});return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=w.oAB({type:e}),e.\u0275inj=w.cJS({imports:[[v.ez,g.u5,g.UX,y.U5,_.fV,S.j,x.Hi,m.Bz.forChild((0,b.Ve)(vp))]]}),e}()}}])}(); \ No newline at end of file diff --git a/9358-es5.291a0c6dedee67b5e098.js b/9358-es5.291a0c6dedee67b5e098.js index b1acee7cd..88efddbbc 100644 --- a/9358-es5.291a0c6dedee67b5e098.js +++ b/9358-es5.291a0c6dedee67b5e098.js @@ -1 +1 @@ -!function(){function e(t){var r="function"==typeof Map?new Map:void 0;return e=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,o)}function o(){return n(e,arguments,u(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),i(o,e)},e(t)}function n(e,t,r){return n=c()?Reflect.construct.bind():function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&i(o,t.prototype),o},n.apply(null,arguments)}function t(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,i,o,a,c=[],u=!0,l=!1;try{if(o=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;u=!1}else for(;!(u=(r=o.call(t)).done)&&(c.push(r.value),c.length!==n);u=!0);}catch(s){l=!0,i=s}finally{try{if(!u&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw i}}return c}}(e,n)||s(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&i(e,n)}function i(e,n){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},i(e,n)}function o(e){var n=c();return function(){var t,r=u(e);if(n){var i=u(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return a(this,t)}}function a(e,n){if(n&&("object"==typeof n||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function l(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,n){if(e){if("string"==typeof e)return f(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f(e,n):void 0}}function f(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t/g,">").replace(/"/g,""").replace(/'/g,"'")}function u(e){var n=Object.create(null);for(var t in e)n[t]=e[t];for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o')}}]),e}(),d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={children:[]};return Object.assign(n,e),n},p=function(e){r(t,e);var n=o(t);function t(e){var r;return g(this,t),(r=n.call(this)).options=e,r}return h(t,[{key:"addText",value:function(e){""!==e&&this.add(e)}},{key:"startScope",value:function(e){this.openNode(e)}},{key:"endScope",value:function(){this.closeNode()}},{key:"__addSublanguage",value:function(e,n){var t=e.root;n&&(t.scope="language:".concat(n)),this.add(t)}},{key:"toHTML",value:function(){return new f(this,this.options).value()}},{key:"finalize",value:function(){return this.closeAllNodes(),!0}}]),t}(function(){function e(){g(this,e),this.rootNode=d(),this.stack=[this.rootNode]}return h(e,[{key:"top",get:function(){return this.stack[this.stack.length-1]}},{key:"root",get:function(){return this.rootNode}},{key:"add",value:function(e){this.top.children.push(e)}},{key:"openNode",value:function(e){var n=d({scope:e});this.add(n),this.stack.push(n)}},{key:"closeNode",value:function(){if(this.stack.length>1)return this.stack.pop()}},{key:"closeAllNodes",value:function(){for(;this.closeNode(););}},{key:"toJSON",value:function(){return JSON.stringify(this.rootNode,null,4)}},{key:"walk",value:function(e){return this.constructor._walk(e,this.rootNode)}}],[{key:"_walk",value:function(e,n){var t=this;return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(function(n){return t._walk(e,n)}),e.closeNode(n)),e}},{key:"_collapse",value:function(n){"string"!=typeof n&&(!n.children||(n.children.every(function(e){return"string"==typeof e})?n.children=[n.children.join("")]:n.children.forEach(function(n){e._collapse(n)})))}}]),e}());function b(e){return e?"string"==typeof e?e:e.source:null}function v(e){return w("(?=",e,")")}function y(e){return w("(?:",e,")*")}function m(e){return w("(?:",e,")?")}function w(){for(var e=arguments.length,n=new Array(e),t=0;t0;){var o=_.exec(t);if(!o){i+=t;break}i+=t.substring(0,o.index),t=t.substring(o.index+o[0].length),"\\"===o[0][0]&&o[1]?i+="\\"+String(Number(o[1])+n):(i+=o[0],"("===o[0]&&r++)}return i}).map(function(e){return"(".concat(e,")")}).join(t)}var O="[a-zA-Z]\\w*",S="[a-zA-Z_]\\w*",j="\\b\\d+(\\.\\d+)?",A="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",M="\\b(0b[01]+)",N={begin:"\\\\[\\s\\S]",relevance:0},R={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[N]},I={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[N]},T=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u({scope:"comment",begin:e,end:n,contains:[]},t);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});var i=E("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:w(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},L=T("//","$"),B=T("/\\*","\\*/"),P=T("#","$"),C=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:O,UNDERSCORE_IDENT_RE:S,NUMBER_RE:j,C_NUMBER_RE:A,BINARY_NUMBER_RE:M,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=/^#![ ]*\//;return e.binary&&(e.begin=w(n,/.*\b/,e.binary,/\b.*/)),u({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":function(e,n){0!==e.index&&n.ignoreMatch()}},e)},BACKSLASH_ESCAPE:N,APOS_STRING_MODE:R,QUOTE_STRING_MODE:I,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:T,C_LINE_COMMENT_MODE:L,C_BLOCK_COMMENT_MODE:B,HASH_COMMENT_MODE:P,NUMBER_MODE:{scope:"number",begin:j,relevance:0},C_NUMBER_MODE:{scope:"number",begin:A,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:M,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[N,{begin:/\[/,end:/\]/,relevance:0,contains:[N]}]}]},TITLE_MODE:{scope:"title",begin:O,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:S,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+S,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":function(e,n){n.data._beginMatch=e[1]},"on:end":function(e,n){n.data._beginMatch!==e[1]&&n.ignoreMatch()}})}});function H(e,n){"."===e.input[e.index-1]&&n.ignoreMatch()}function D(e,n){void 0!==e.className&&(e.scope=e.className,delete e.className)}function U(e,n){!n||!e.beginKeywords||(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=H,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function z(e,n){!Array.isArray(e.illegal)||(e.illegal=E.apply(void 0,l(e.illegal)))}function W(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function X(e,n){void 0===e.relevance&&(e.relevance=1)}var F=function(e,n){if(e.beforeMatch){if(e.starts)throw new Error("beforeMatch cannot be used with starts");var t=Object.assign({},e);Object.keys(e).forEach(function(n){delete e[n]}),e.keywords=t.keywords,e.begin=w(t.beforeMatch,v(t.begin)),e.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},e.relevance=0,delete t.beforeMatch}},G=["of","and","for","in","not","or","if","then","parent","list","value"];function K(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"keyword",r=Object.create(null);return"string"==typeof e?i(t,e.split(" ")):Array.isArray(e)?i(t,e):Object.keys(e).forEach(function(t){Object.assign(r,K(e[t],n,t))}),r;function i(e,t){n&&(t=t.map(function(e){return e.toLowerCase()})),t.forEach(function(n){var t=n.split("|");r[t[0]]=[e,$(t[0],t[1])]})}}function $(e,n){return n?Number(n):function(e){return G.includes(e.toLowerCase())}(e)?0:1}var Z={},J=function(e){console.error(e)},V=function(e){for(var n,t=arguments.length,r=new Array(t>1?t-1:0),i=1;i0&&void 0!==e}),r=this.matchIndexes[t];return n.splice(0,t),Object.assign(n,r)}}]),e}(),i=function(){function e(){g(this,e),this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}return h(e,[{key:"getMatcher",value:function(e){if(this.multiRegexes[e])return this.multiRegexes[e];var n=new r;return this.rules.slice(e).forEach(function(e){var r=t(e,2),i=r[0],o=r[1];return n.addRule(i,o)}),n.compile(),this.multiRegexes[e]=n,n}},{key:"resumingScanAtSamePosition",value:function(){return 0!==this.regexIndex}},{key:"considerAll",value:function(){this.regexIndex=0}},{key:"addRule",value:function(e,n){this.rules.push([e,n]),"begin"===n.type&&this.count++}},{key:"exec",value:function(e){var n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;var t=n.exec(e);if(this.resumingScanAtSamePosition()&&(!t||t.index!==this.lastIndex)){var r=this.getMatcher(0);r.lastIndex=this.lastIndex+1,t=r.exec(e)}return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count&&this.considerAll()),t}}]),e}();if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=u(e.classNameAliases||{}),function t(r,o){var a,c=r;if(r.isCompiled)return c;[D,W,ee,F].forEach(function(e){return e(r,o)}),e.compilerExtensions.forEach(function(e){return e(r,o)}),r.__beforeBegin=null,[U,z,X].forEach(function(e){return e(r,o)}),r.isCompiled=!0;var s=null;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),s=r.keywords.$pattern,delete r.keywords.$pattern),s=s||/\w+/,r.keywords&&(r.keywords=K(r.keywords,e.case_insensitive)),c.keywordPatternRe=n(s,!0),o&&(r.begin||(r.begin=/\B|\b/),c.beginRe=n(c.begin),!r.end&&!r.endsWithParent&&(r.end=/\B|\b/),r.end&&(c.endRe=n(c.end)),c.terminatorEnd=b(c.end)||"",r.endsWithParent&&o.terminatorEnd&&(c.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)),r.illegal&&(c.illegalRe=n(r.illegal)),r.contains||(r.contains=[]),r.contains=(a=[]).concat.apply(a,l(r.contains.map(function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return u(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:te(e)?u(e,{starts:e.starts?u(e.starts):null}):Object.isFrozen(e)?u(e):e}("self"===e?r:e)}))),r.contains.forEach(function(e){t(e,c)}),r.starts&&t(r.starts,o),c.matcher=function(e){var n=new i;return e.contains.forEach(function(e){return n.addRule(e.begin,{rule:e,type:"begin"})}),e.terminatorEnd&&n.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n}(c),c}(e)}function te(e){return!!e&&(e.endsWithParent||te(e.starts))}var re=function(e){r(t,e);var n=o(t);function t(e,r){var i;return g(this,t),(i=n.call(this,e)).name="HTMLInjectionError",i.html=r,i}return h(t)}(e(Error)),ie=c,oe=u,ae=Symbol("nomatch"),ce=function(e){var n=Object.create(null),r=Object.create(null),o=[],c=!0,u="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:p};function f(e){return s.noHighlightRe.test(e)}function g(e,n,t){var r="",i="";"object"==typeof n?(r=e,t=n.ignoreIllegals,i=n.language):(q("10.7.0","highlight(lang, code, ...args) has been deprecated."),q("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=n),void 0===t&&(t=!0);var o={code:r,language:i};j("before:highlight",o);var a=o.result?o.result:d(o.language,o.code,t);return a.code=o.code,j("after:highlight",a),a}function d(e,r,i,o){var l=Object.create(null);function f(e,n){return e.keywords[n]}function g(){if(A.keywords){var e=0;A.keywordPatternRe.lastIndex=0;for(var n=A.keywordPatternRe.exec(R),r="";n;){r+=R.substring(e,n.index);var i=O.case_insensitive?n[0].toLowerCase():n[0],o=f(A,i);if(o){var a=t(o,2),c=a[0],u=a[1];N.addText(r),r="",l[i]=(l[i]||0)+1,l[i]<=7&&(I+=u),c.startsWith("_")?r+=n[0]:b(n[0],O.classNameAliases[c]||c)}else r+=n[0];e=A.keywordPatternRe.lastIndex,n=A.keywordPatternRe.exec(R)}r+=R.substring(e),N.addText(r)}else N.addText(R)}function p(){null!=A.subLanguage?function(){if(""!==R){var e=null;if("string"==typeof A.subLanguage){if(!n[A.subLanguage])return void N.addText(R);e=d(A.subLanguage,R,!0,M[A.subLanguage]),M[A.subLanguage]=e._top}else e=h(R,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(I+=e.relevance),N.__addSublanguage(e._emitter,e.language)}}():g(),R=""}function b(e,n){""!==e&&(N.startScope(n),N.addText(e),N.endScope())}function v(e,n){for(var t=1,r=n.length-1;t<=r;)if(e._emit[t]){var i=O.classNameAliases[e[t]]||e[t],o=n[t];i?b(o,i):(R=o,g(),R=""),t++}else t++}function y(e,n){return e.scope&&"string"==typeof e.scope&&N.openNode(O.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(b(R,O.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),R=""):e.beginScope._multi&&(v(e.beginScope,n),R="")),A=Object.create(e,{parent:{value:A}})}function m(e,n,t){var r=function(e,n){var t=e&&e.exec(n);return t&&0===t.index}(e.endRe,t);if(r){if(e["on:end"]){var i=new a(e);e["on:end"](n,i),i.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return m(e.parent,n,t)}function w(e){return 0===A.matcher.regexIndex?(R+=e[0],1):(B=!0,0)}function E(e){var n=e[0],t=r.substring(e.index),i=m(A,e,t);if(!i)return ae;var o=A;A.endScope&&A.endScope._wrap?(p(),b(n,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),v(A.endScope,e)):o.skip?R+=n:(o.returnEnd||o.excludeEnd||(R+=n),p(),o.excludeEnd&&(R=n));do{A.scope&&N.closeNode(),!A.skip&&!A.subLanguage&&(I+=A.relevance),A=A.parent}while(A!==i.parent);return i.starts&&y(i.starts,e),o.returnEnd?0:n.length}var x={};function _(n,t){var o=t&&t[0];if(R+=n,null==o)return p(),0;if("begin"===x.type&&"end"===t.type&&x.index===t.index&&""===o){if(R+=r.slice(t.index,t.index+1),!c){var u=new Error("0 width match regex (".concat(e,")"));throw u.languageName=e,u.badRule=x.rule,u}return 1}if(x=t,"begin"===t.type)return function(e){for(var n=e[0],t=e.rule,r=new a(t),i=0,o=[t.__beforeBegin,t["on:begin"]];i")+'"');throw l.mode=A,l}if("end"===t.type){var s=E(t);if(s!==ae)return s}if("illegal"===t.type&&""===o)return 1;if(L>1e5&&L>3*t.index)throw new Error("potential infinite loop, way more iterations than matches");return R+=o,o.length}var O=k(e);if(!O)throw J(u.replace("{}",e)),new Error('Unknown language: "'+e+'"');var S=ne(O),j="",A=o||S,M={},N=new s.__emitter(s);!function(){for(var e=[],n=A;n!==O;n=n.parent)n.scope&&e.unshift(n.scope);e.forEach(function(e){return N.openNode(e)})}();var R="",I=0,T=0,L=0,B=!1;try{if(O.__emitTokens)O.__emitTokens(r,N);else{for(A.matcher.considerAll();;){L++,B?B=!1:A.matcher.considerAll(),A.matcher.lastIndex=T;var P=A.matcher.exec(r);if(!P)break;var C=_(r.substring(T,P.index),P);T=P.index+C}_(r.substring(T))}return N.finalize(),j=N.toHTML(),{language:e,value:j,relevance:I,illegal:!1,_emitter:N,_top:A}}catch(P){if(P.message&&P.message.includes("Illegal"))return{language:e,value:ie(r),illegal:!0,relevance:0,_illegalBy:{message:P.message,index:T,context:r.slice(T-100,T+100),mode:P.mode,resultSoFar:j},_emitter:N};if(c)return{language:e,value:ie(r),illegal:!1,relevance:0,errorRaised:P,_emitter:N,_top:A};throw P}}function h(e,r){r=r||s.languages||Object.keys(n);var i=function(e){var n={value:ie(e),illegal:!1,relevance:0,_top:l,_emitter:new s.__emitter(s)};return n._emitter.addText(e),n}(e),o=r.filter(k).filter(S).map(function(n){return d(n,e,!1)});o.unshift(i);var a=t(o.sort(function(e,n){if(e.relevance!==n.relevance)return n.relevance-e.relevance;if(e.language&&n.language){if(k(e.language).supersetOf===n.language)return 1;if(k(n.language).supersetOf===e.language)return-1}return 0}),2),c=a[0],u=a[1],f=c;return f.secondBest=u,f}function b(e){var n=function(e){var n=e.className+" ";n+=e.parentNode?e.parentNode.className:"";var t=s.languageDetectRe.exec(n);if(t){var r=k(t[1]);return r||(V(u.replace("{}",t[1])),V("Falling back to no-highlight mode for this block.",e)),r?t[1]:"no-highlight"}return n.split(/\s+/).find(function(e){return f(e)||k(e)})}(e);if(!f(n)){if(j("before:highlightElement",{el:e,language:n}),e.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),s.throwUnescapedHTML))throw new re("One of your code blocks includes unescaped HTML.",e.innerHTML);var t=e.textContent,i=n?g(t,{language:n,ignoreIllegals:!0}):h(t);e.innerHTML=i.value,function(e,n,t){var i=n&&r[n]||t;e.classList.add("hljs"),e.classList.add("language-".concat(i))}(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),j("after:highlightElement",{el:e,result:i,text:t})}}var x=!1;function _(){"loading"!==document.readyState?document.querySelectorAll(s.cssSelector).forEach(b):x=!0}function k(e){return e=(e||"").toLowerCase(),n[e]||n[r[e]]}function O(e,n){var t=n.languageName;"string"==typeof e&&(e=[e]),e.forEach(function(e){r[e.toLowerCase()]=t})}function S(e){var n=k(e);return n&&!n.disableAutodetect}function j(e,n){var t=e;o.forEach(function(e){e[t]&&e[t](n)})}for(var A in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){x&&_()},!1),Object.assign(e,{highlight:g,highlightAuto:h,highlightAll:_,highlightElement:b,highlightBlock:function(e){return q("10.7.0","highlightBlock will be removed entirely in v12.0"),q("10.7.0","Please use highlightElement now."),b(e)},configure:function(e){s=oe(s,e)},initHighlighting:function(){_(),q("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){_(),q("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,r){var i=null;try{i=r(e)}catch(o){if(J("Language definition for '{}' could not be registered.".replace("{}",t)),!c)throw o;J(o),i=l}i.name||(i.name=t),n[t]=i,i.rawDefinition=r.bind(null,e),i.aliases&&O(i.aliases,{languageName:t})},unregisterLanguage:function(e){delete n[e];for(var t=0,i=Object.keys(r);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t/g,">").replace(/"/g,""").replace(/'/g,"'")}function u(e){var n=Object.create(null);for(var t in e)n[t]=e[t];for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o')}}]),e}(),d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n={children:[]};return Object.assign(n,e),n},p=function(e){r(t,e);var n=o(t);function t(e){var r;return g(this,t),(r=n.call(this)).options=e,r}return h(t,[{key:"addText",value:function(e){""!==e&&this.add(e)}},{key:"startScope",value:function(e){this.openNode(e)}},{key:"endScope",value:function(){this.closeNode()}},{key:"__addSublanguage",value:function(e,n){var t=e.root;n&&(t.scope="language:".concat(n)),this.add(t)}},{key:"toHTML",value:function(){return new f(this,this.options).value()}},{key:"finalize",value:function(){return this.closeAllNodes(),!0}}]),t}(function(){function e(){g(this,e),this.rootNode=d(),this.stack=[this.rootNode]}return h(e,[{key:"top",get:function(){return this.stack[this.stack.length-1]}},{key:"root",get:function(){return this.rootNode}},{key:"add",value:function(e){this.top.children.push(e)}},{key:"openNode",value:function(e){var n=d({scope:e});this.add(n),this.stack.push(n)}},{key:"closeNode",value:function(){if(this.stack.length>1)return this.stack.pop()}},{key:"closeAllNodes",value:function(){for(;this.closeNode(););}},{key:"toJSON",value:function(){return JSON.stringify(this.rootNode,null,4)}},{key:"walk",value:function(e){return this.constructor._walk(e,this.rootNode)}}],[{key:"_walk",value:function(e,n){var t=this;return"string"==typeof n?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(function(n){return t._walk(e,n)}),e.closeNode(n)),e}},{key:"_collapse",value:function(n){"string"!=typeof n&&(!n.children||(n.children.every(function(e){return"string"==typeof e})?n.children=[n.children.join("")]:n.children.forEach(function(n){e._collapse(n)})))}}]),e}());function b(e){return e?"string"==typeof e?e:e.source:null}function v(e){return w("(?=",e,")")}function y(e){return w("(?:",e,")*")}function m(e){return w("(?:",e,")?")}function w(){for(var e=arguments.length,n=new Array(e),t=0;t0;){var o=_.exec(t);if(!o){i+=t;break}i+=t.substring(0,o.index),t=t.substring(o.index+o[0].length),"\\"===o[0][0]&&o[1]?i+="\\"+String(Number(o[1])+n):(i+=o[0],"("===o[0]&&r++)}return i}).map(function(e){return"(".concat(e,")")}).join(t)}var O="[a-zA-Z]\\w*",S="[a-zA-Z_]\\w*",j="\\b\\d+(\\.\\d+)?",A="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",M="\\b(0b[01]+)",N={begin:"\\\\[\\s\\S]",relevance:0},R={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[N]},I={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[N]},T=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=u({scope:"comment",begin:e,end:n,contains:[]},t);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});var i=E("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:w(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},L=T("//","$"),B=T("/\\*","\\*/"),P=T("#","$"),C=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:O,UNDERSCORE_IDENT_RE:S,NUMBER_RE:j,C_NUMBER_RE:A,BINARY_NUMBER_RE:M,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=/^#![ ]*\//;return e.binary&&(e.begin=w(n,/.*\b/,e.binary,/\b.*/)),u({scope:"meta",begin:n,end:/$/,relevance:0,"on:begin":function(e,n){0!==e.index&&n.ignoreMatch()}},e)},BACKSLASH_ESCAPE:N,APOS_STRING_MODE:R,QUOTE_STRING_MODE:I,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:T,C_LINE_COMMENT_MODE:L,C_BLOCK_COMMENT_MODE:B,HASH_COMMENT_MODE:P,NUMBER_MODE:{scope:"number",begin:j,relevance:0},C_NUMBER_MODE:{scope:"number",begin:A,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:M,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[N,{begin:/\[/,end:/\]/,relevance:0,contains:[N]}]}]},TITLE_MODE:{scope:"title",begin:O,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:S,relevance:0},METHOD_GUARD:{begin:"\\.\\s*"+S,relevance:0},END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":function(e,n){n.data._beginMatch=e[1]},"on:end":function(e,n){n.data._beginMatch!==e[1]&&n.ignoreMatch()}})}});function H(e,n){"."===e.input[e.index-1]&&n.ignoreMatch()}function D(e,n){void 0!==e.className&&(e.scope=e.className,delete e.className)}function U(e,n){!n||!e.beginKeywords||(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=H,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function z(e,n){!Array.isArray(e.illegal)||(e.illegal=E.apply(void 0,l(e.illegal)))}function W(e,n){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function X(e,n){void 0===e.relevance&&(e.relevance=1)}var F=function(e,n){if(e.beforeMatch){if(e.starts)throw new Error("beforeMatch cannot be used with starts");var t=Object.assign({},e);Object.keys(e).forEach(function(n){delete e[n]}),e.keywords=t.keywords,e.begin=w(t.beforeMatch,v(t.begin)),e.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},e.relevance=0,delete t.beforeMatch}},G=["of","and","for","in","not","or","if","then","parent","list","value"];function K(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"keyword",r=Object.create(null);return"string"==typeof e?i(t,e.split(" ")):Array.isArray(e)?i(t,e):Object.keys(e).forEach(function(t){Object.assign(r,K(e[t],n,t))}),r;function i(e,t){n&&(t=t.map(function(e){return e.toLowerCase()})),t.forEach(function(n){var t=n.split("|");r[t[0]]=[e,$(t[0],t[1])]})}}function $(e,n){return n?Number(n):function(e){return G.includes(e.toLowerCase())}(e)?0:1}var Z={},J=function(e){console.error(e)},V=function(e){for(var n,t=arguments.length,r=new Array(t>1?t-1:0),i=1;i0&&void 0!==e}),r=this.matchIndexes[t];return n.splice(0,t),Object.assign(n,r)}}]),e}(),i=function(){function e(){g(this,e),this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}return h(e,[{key:"getMatcher",value:function(e){if(this.multiRegexes[e])return this.multiRegexes[e];var n=new r;return this.rules.slice(e).forEach(function(e){var r=t(e,2),i=r[0],o=r[1];return n.addRule(i,o)}),n.compile(),this.multiRegexes[e]=n,n}},{key:"resumingScanAtSamePosition",value:function(){return 0!==this.regexIndex}},{key:"considerAll",value:function(){this.regexIndex=0}},{key:"addRule",value:function(e,n){this.rules.push([e,n]),"begin"===n.type&&this.count++}},{key:"exec",value:function(e){var n=this.getMatcher(this.regexIndex);n.lastIndex=this.lastIndex;var t=n.exec(e);if(this.resumingScanAtSamePosition()&&(!t||t.index!==this.lastIndex)){var r=this.getMatcher(0);r.lastIndex=this.lastIndex+1,t=r.exec(e)}return t&&(this.regexIndex+=t.position+1,this.regexIndex===this.count&&this.considerAll()),t}}]),e}();if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=u(e.classNameAliases||{}),function t(r,o,a){var c=r;if(r.isCompiled)return c;[D,W,ee,F].forEach(function(e){return e(r,o)}),e.compilerExtensions.forEach(function(e){return e(r,o)}),r.__beforeBegin=null,[U,z,X].forEach(function(e){return e(r,o)}),r.isCompiled=!0;var s=null;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),s=r.keywords.$pattern,delete r.keywords.$pattern),s=s||/\w+/,r.keywords&&(r.keywords=K(r.keywords,e.case_insensitive)),c.keywordPatternRe=n(s,!0),o&&(r.begin||(r.begin=/\B|\b/),c.beginRe=n(c.begin),!r.end&&!r.endsWithParent&&(r.end=/\B|\b/),r.end&&(c.endRe=n(c.end)),c.terminatorEnd=b(c.end)||"",r.endsWithParent&&o.terminatorEnd&&(c.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)),r.illegal&&(c.illegalRe=n(r.illegal)),r.contains||(r.contains=[]),r.contains=(a=[]).concat.apply(a,l(r.contains.map(function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(n){return u(e,{variants:null},n)})),e.cachedVariants?e.cachedVariants:te(e)?u(e,{starts:e.starts?u(e.starts):null}):Object.isFrozen(e)?u(e):e}("self"===e?r:e)}))),r.contains.forEach(function(e){t(e,c)}),r.starts&&t(r.starts,o),c.matcher=function(e){var n=new i;return e.contains.forEach(function(e){return n.addRule(e.begin,{rule:e,type:"begin"})}),e.terminatorEnd&&n.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&n.addRule(e.illegal,{type:"illegal"}),n}(c),c}(e)}function te(e){return!!e&&(e.endsWithParent||te(e.starts))}var re=function(e){r(t,e);var n=o(t);function t(e,r){var i;return g(this,t),(i=n.call(this,e)).name="HTMLInjectionError",i.html=r,i}return h(t)}(e(Error)),ie=c,oe=u,ae=Symbol("nomatch"),ce=function(e){var n=Object.create(null),r=Object.create(null),o=[],c=!0,u="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]},s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:p};function f(e){return s.noHighlightRe.test(e)}function g(e,n,t){var r="",i="";"object"==typeof n?(r=e,t=n.ignoreIllegals,i=n.language):(q("10.7.0","highlight(lang, code, ...args) has been deprecated."),q("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=n),void 0===t&&(t=!0);var o={code:r,language:i};j("before:highlight",o);var a=o.result?o.result:d(o.language,o.code,t);return a.code=o.code,j("after:highlight",a),a}function d(e,r,i,o){var l=Object.create(null);function f(e,n){return e.keywords[n]}function g(){if(A.keywords){var e=0;A.keywordPatternRe.lastIndex=0;for(var n=A.keywordPatternRe.exec(R),r="";n;){r+=R.substring(e,n.index);var i=O.case_insensitive?n[0].toLowerCase():n[0],o=f(A,i);if(o){var a=t(o,2),c=a[0],u=a[1];N.addText(r),r="",l[i]=(l[i]||0)+1,l[i]<=7&&(I+=u),c.startsWith("_")?r+=n[0]:b(n[0],O.classNameAliases[c]||c)}else r+=n[0];e=A.keywordPatternRe.lastIndex,n=A.keywordPatternRe.exec(R)}r+=R.substring(e),N.addText(r)}else N.addText(R)}function p(){null!=A.subLanguage?function(){if(""!==R){var e=null;if("string"==typeof A.subLanguage){if(!n[A.subLanguage])return void N.addText(R);e=d(A.subLanguage,R,!0,M[A.subLanguage]),M[A.subLanguage]=e._top}else e=h(R,A.subLanguage.length?A.subLanguage:null);A.relevance>0&&(I+=e.relevance),N.__addSublanguage(e._emitter,e.language)}}():g(),R=""}function b(e,n){""!==e&&(N.startScope(n),N.addText(e),N.endScope())}function v(e,n){for(var t=1,r=n.length-1;t<=r;)if(e._emit[t]){var i=O.classNameAliases[e[t]]||e[t],o=n[t];i?b(o,i):(R=o,g(),R=""),t++}else t++}function y(e,n){return e.scope&&"string"==typeof e.scope&&N.openNode(O.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(b(R,O.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),R=""):e.beginScope._multi&&(v(e.beginScope,n),R="")),A=Object.create(e,{parent:{value:A}})}function m(e,n,t){var r=function(e,n){var t=e&&e.exec(n);return t&&0===t.index}(e.endRe,t);if(r){if(e["on:end"]){var i=new a(e);e["on:end"](n,i),i.isMatchIgnored&&(r=!1)}if(r){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return m(e.parent,n,t)}function w(e){return 0===A.matcher.regexIndex?(R+=e[0],1):(B=!0,0)}function E(e){var n=e[0],t=r.substring(e.index),i=m(A,e,t);if(!i)return ae;var o=A;A.endScope&&A.endScope._wrap?(p(),b(n,A.endScope._wrap)):A.endScope&&A.endScope._multi?(p(),v(A.endScope,e)):o.skip?R+=n:(o.returnEnd||o.excludeEnd||(R+=n),p(),o.excludeEnd&&(R=n));do{A.scope&&N.closeNode(),!A.skip&&!A.subLanguage&&(I+=A.relevance),A=A.parent}while(A!==i.parent);return i.starts&&y(i.starts,e),o.returnEnd?0:n.length}var x={};function _(n,t){var o=t&&t[0];if(R+=n,null==o)return p(),0;if("begin"===x.type&&"end"===t.type&&x.index===t.index&&""===o){if(R+=r.slice(t.index,t.index+1),!c){var u=new Error("0 width match regex (".concat(e,")"));throw u.languageName=e,u.badRule=x.rule,u}return 1}if(x=t,"begin"===t.type)return function(e){for(var n=e[0],t=e.rule,r=new a(t),i=0,o=[t.__beforeBegin,t["on:begin"]];i")+'"');throw l.mode=A,l}if("end"===t.type){var s=E(t);if(s!==ae)return s}if("illegal"===t.type&&""===o)return 1;if(L>1e5&&L>3*t.index)throw new Error("potential infinite loop, way more iterations than matches");return R+=o,o.length}var O=k(e);if(!O)throw J(u.replace("{}",e)),new Error('Unknown language: "'+e+'"');var S=ne(O),j="",A=o||S,M={},N=new s.__emitter(s);!function(){for(var e=[],n=A;n!==O;n=n.parent)n.scope&&e.unshift(n.scope);e.forEach(function(e){return N.openNode(e)})}();var R="",I=0,T=0,L=0,B=!1;try{if(O.__emitTokens)O.__emitTokens(r,N);else{for(A.matcher.considerAll();;){L++,B?B=!1:A.matcher.considerAll(),A.matcher.lastIndex=T;var P=A.matcher.exec(r);if(!P)break;var C=_(r.substring(T,P.index),P);T=P.index+C}_(r.substring(T))}return N.finalize(),j=N.toHTML(),{language:e,value:j,relevance:I,illegal:!1,_emitter:N,_top:A}}catch(P){if(P.message&&P.message.includes("Illegal"))return{language:e,value:ie(r),illegal:!0,relevance:0,_illegalBy:{message:P.message,index:T,context:r.slice(T-100,T+100),mode:P.mode,resultSoFar:j},_emitter:N};if(c)return{language:e,value:ie(r),illegal:!1,relevance:0,errorRaised:P,_emitter:N,_top:A};throw P}}function h(e,r){r=r||s.languages||Object.keys(n);var i=function(e){var n={value:ie(e),illegal:!1,relevance:0,_top:l,_emitter:new s.__emitter(s)};return n._emitter.addText(e),n}(e),o=r.filter(k).filter(S).map(function(n){return d(n,e,!1)});o.unshift(i);var a=t(o.sort(function(e,n){if(e.relevance!==n.relevance)return n.relevance-e.relevance;if(e.language&&n.language){if(k(e.language).supersetOf===n.language)return 1;if(k(n.language).supersetOf===e.language)return-1}return 0}),2),c=a[0],u=a[1],f=c;return f.secondBest=u,f}function b(e){var n=function(e){var n=e.className+" ";n+=e.parentNode?e.parentNode.className:"";var t=s.languageDetectRe.exec(n);if(t){var r=k(t[1]);return r||(V(u.replace("{}",t[1])),V("Falling back to no-highlight mode for this block.",e)),r?t[1]:"no-highlight"}return n.split(/\s+/).find(function(e){return f(e)||k(e)})}(e);if(!f(n)){if(j("before:highlightElement",{el:e,language:n}),e.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),s.throwUnescapedHTML))throw new re("One of your code blocks includes unescaped HTML.",e.innerHTML);var t=e.textContent,i=n?g(t,{language:n,ignoreIllegals:!0}):h(t);e.innerHTML=i.value,function(e,n,t){var i=n&&r[n]||t;e.classList.add("hljs"),e.classList.add("language-".concat(i))}(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),j("after:highlightElement",{el:e,result:i,text:t})}}var x=!1;function _(){"loading"!==document.readyState?document.querySelectorAll(s.cssSelector).forEach(b):x=!0}function k(e){return e=(e||"").toLowerCase(),n[e]||n[r[e]]}function O(e,n){var t=n.languageName;"string"==typeof e&&(e=[e]),e.forEach(function(e){r[e.toLowerCase()]=t})}function S(e){var n=k(e);return n&&!n.disableAutodetect}function j(e,n){var t=e;o.forEach(function(e){e[t]&&e[t](n)})}for(var A in"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",function(){x&&_()},!1),Object.assign(e,{highlight:g,highlightAuto:h,highlightAll:_,highlightElement:b,highlightBlock:function(e){return q("10.7.0","highlightBlock will be removed entirely in v12.0"),q("10.7.0","Please use highlightElement now."),b(e)},configure:function(e){s=oe(s,e)},initHighlighting:function(){_(),q("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){_(),q("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,r){var i=null;try{i=r(e)}catch(o){if(J("Language definition for '{}' could not be registered.".replace("{}",t)),!c)throw o;J(o),i=l}i.name||(i.name=t),n[t]=i,i.rawDefinition=r.bind(null,e),i.aliases&&O(i.aliases,{languageName:t})},unregisterLanguage:function(e){delete n[e];for(var t=0,i=Object.keys(r);te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function l(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:null;if(v(e.value,t))return e;var r=Array.isArray(t)?function(e,t,n){var r=null,i=null,o=Array.from(e.value).reduce(function(o,a,u){var s=o+h(t,o,a,n),c=t[s.length];return l(c)?s+c:a.match(c)?(null===r&&u>=e.selection[0]&&(r=s.length),null===i&&u>=e.selection[1]&&(i=s.length),s+a):s},""),a=h(t,o,"",n);return{value:v(o+a,t)?o+a:o,selection:[null!=r?r:o.length,null!=i?i:o.length]}}(e,t,n):function(e,t){var n=e.value,r=o(e.selection,2),i=r[0],a=r[1],u=i,s=a;return{value:Array.from(n).reduce(function(e,n,r){var o=e+n;return i===r&&(u=e.length),a===r&&(s=e.length),o.match(t)?o:e},""),selection:[u,s]}}(e,t),i=r.value,a=r.selection;return{selection:a,value:Array.isArray(t)?i.slice(0,t.length):i}}function d(e,t){if(!Array.isArray(t))return e;var n=o(e.selection,2),r=n[0],a=n[1],u=[],s=Array.from(e.value).reduce(function(e,n,i){var o=t[i];return i===r&&u.push(e.length),i===a&&u.push(e.length),l(o)&&o===n?e:e+n},"");return u.length<2&&u.push.apply(u,i(Array(2-u.length).fill(s.length))),{value:s,selection:[u[0],u[1]]}}var y=function(){function e(t,n){f(this,e),this.initialElementState=t,this.maskOptions=n,this.value="",this.selection=[0,0];var r=p(t,this.getMaskExpression(t)),i=r.value,o=r.selection;this.value=i,this.selection=o}return c(e,[{key:"addCharacters",value:function(e,t){var n=o(e,2),r=n[0],i=n[1],a=this.value,u=this.getMaskExpression({value:a.slice(0,r)+t+a.slice(i),selection:[r+t.length,r+t.length]}),s={value:a,selection:[r,i]},l=d(s,u),c=o(function(e,t,n){var r=e.value,i=e.selection,a=o(i,2),u=a[0],s=a[1];return{value:r,selection:"replace"===("function"==typeof n?n({value:r,selection:i}):n)?[u,u+t.length]:[u,s]}}(l,t,this.maskOptions.overwriteMode).selection,2),f=c[0],h=c[1],v=l.value.slice(0,f)+t,y=v.length,m=p({value:v+l.value.slice(h),selection:[y,y]},u,s);if(a.slice(0,f)===p({value:v,selection:[y,y]},u,s).value||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:[];return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{inputType:"insertText",data:null},i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(n),i!==t&&this.dispatchInputEvent(r)}},{key:"updateSelectionRange",value:function(e){var t,n,r=o(e,2),i=r[0],a=r[1];(this.element.selectionStart!==i||this.element.selectionEnd!==a)&&(null===(n=(t=this.element).setSelectionRange)||void 0===n||n.call(t,i,a))}},{key:"updateValue",value:function(e){this.element.value=e}},{key:"ensureValueFitsMask",value:function(){this.updateElementState(L(this.elementState,this.options))}},{key:"dispatchInputEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inputType:"insertText",data:null},t="undefined"!=typeof window?window:globalThis;(null==t?void 0:t.InputEvent)&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},e),{bubbles:!0,cancelable:!1})))}},{key:"handleKeydown",value:function(e){var t=e.key,n="Delete"===t;switch(t){case"Backspace":case"Delete":return this.handleDelete({event:e,isForward:n,selection:b(this.elementState,n)});case"Enter":return this.handleEnter(e)}!function(e){var t=e.key,n=e.ctrlKey,r=e.metaKey,i=e.altKey,o=n||r||i,a=/^(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])$/.test(t);return!o&&"Backspace"!==t&&a}(e)||this.handleInsert(e,t)}},{key:"handleDelete",value:function(e){var t=e.event,n=e.selection,r=e.isForward,i=e.force,a=void 0!==i&&i,u={value:this.elementState.value,selection:n},s=o(u.selection,2),l=s[0],c=s[1],f=this.preprocessor({elementState:u,data:""},r?"deleteForward":"deleteBackward").elementState,h=new y(f,this.options),v=o(f.selection,2),p=v[0],d=v[1];h.deleteCharacters([p,d]);var m=this.postprocessor(h,u);if(u.value.slice(0,l)+u.value.slice(c)!==m.value||a)return t.preventDefault(),function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rthis.maxLength)return e.preventDefault();h!==v.value&&(e.preventDefault(),this.updateElementState(v,{data:t,inputType:"inputType"in e?e.inputType:"insertText"}),this.updateHistory(v))}},{key:"handleEnter",value:function(e){this.isTextArea&&this.handleInsert(e,"\n")}}]),i}(function(){function e(){f(this,e),this.now=null,this.past=[],this.future=[]}return c(e,[{key:"undo",value:function(){var e=this.past.pop();e&&this.now&&(this.future.push(this.now),this.updateElement(e,"historyUndo"))}},{key:"redo",value:function(){var e=this.future.pop();e&&this.now&&(this.past.push(this.now),this.updateElement(e,"historyRedo"))}},{key:"updateHistory",value:function(e){if(this.now){var t=this.now.value!==e.value,n=this.now.selection.some(function(t,n){return t!==e.selection[n]});!t&&!n||(t&&(this.past.push(this.now),this.future=[]),this.now=e)}else this.now=e}},{key:"updateElement",value:function(e,t){this.now=e,this.updateElementState(e,{inputType:t,data:null})}}]),e}())}}])}(); \ No newline at end of file +!function(){"use strict";function e(t,n){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e(t,n)}function t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var i,o=r(e);if(t){var a=r(this).constructor;i=Reflect.construct(o,arguments,a)}else i=o.apply(this,arguments);return n(this,i)}}function n(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function i(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,u=[],s=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(c){l=!0,i=c}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return u}}(e,t)||a(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=n.call(o,"catchLoc"),s=n.call(o,"finallyLoc");if(u&&s){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function l(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:null;if(v(e.value,t))return e;var r=Array.isArray(t)?function(e,t,n){var r=null,i=null,o=Array.from(e.value).reduce(function(o,a,u){var s=o+h(t,o,a,n),c=t[s.length];return l(c)?s+c:a.match(c)?(null===r&&u>=e.selection[0]&&(r=s.length),null===i&&u>=e.selection[1]&&(i=s.length),s+a):s},""),a=h(t,o,"",n);return{value:v(o+a,t)?o+a:o,selection:[null!=r?r:o.length,null!=i?i:o.length]}}(e,t,n):function(e,t){var n=e.value,r=o(e.selection,2),i=r[0],a=r[1],u=i,s=a;return{value:Array.from(n).reduce(function(e,n,r){var o=e+n;return i===r&&(u=e.length),a===r&&(s=e.length),o.match(t)?o:e},""),selection:[u,s]}}(e,t),i=r.value,a=r.selection;return{selection:a,value:Array.isArray(t)?i.slice(0,t.length):i}}function d(e,t){if(!Array.isArray(t))return e;var n=o(e.selection,2),r=n[0],a=n[1],u=[],s=Array.from(e.value).reduce(function(e,n,i){var o=t[i];return i===r&&u.push(e.length),i===a&&u.push(e.length),l(o)&&o===n?e:e+n},"");return u.length<2&&u.push.apply(u,i(Array(2-u.length).fill(s.length))),{value:s,selection:[u[0],u[1]]}}var y=function(){function e(t,n){f(this,e),this.initialElementState=t,this.maskOptions=n,this.value="",this.selection=[0,0];var r=p(t,this.getMaskExpression(t)),i=r.value,o=r.selection;this.value=i,this.selection=o}return c(e,[{key:"addCharacters",value:function(e,t){var n=o(e,2),r=n[0],i=n[1],a=this.value,u=this.getMaskExpression({value:a.slice(0,r)+t+a.slice(i),selection:[r+t.length,r+t.length]}),s={value:a,selection:[r,i]},l=d(s,u),c=o(function(e,t,n){var r=e.value,i=e.selection,a=o(i,2),u=a[0],s=a[1];return{value:r,selection:"replace"===("function"==typeof n?n({value:r,selection:i}):n)?[u,u+t.length]:[u,s]}}(l,t,this.maskOptions.overwriteMode).selection,2),f=c[0],h=c[1],v=l.value.slice(0,f)+t,y=v.length,m=p({value:v+l.value.slice(h),selection:[y,y]},u,s);if(a.slice(0,f)===p({value:v,selection:[y,y]},u,s).value||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:[];return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{inputType:"insertText",data:null},i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(n),i!==t&&this.dispatchInputEvent(r)}},{key:"updateSelectionRange",value:function(e){var t,n,r=o(e,2),i=r[0],a=r[1];(this.element.selectionStart!==i||this.element.selectionEnd!==a)&&(null===(n=(t=this.element).setSelectionRange)||void 0===n||n.call(t,i,a))}},{key:"updateValue",value:function(e){this.element.value=e}},{key:"ensureValueFitsMask",value:function(){this.updateElementState(L(this.elementState,this.options))}},{key:"dispatchInputEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inputType:"insertText",data:null},t="undefined"!=typeof window?window:globalThis;(null==t?void 0:t.InputEvent)&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},e),{bubbles:!0,cancelable:!1})))}},{key:"handleKeydown",value:function(e){var t=e.key,n="Delete"===t;switch(t){case"Backspace":case"Delete":return this.handleDelete({event:e,isForward:n,selection:b(this.elementState,n)});case"Enter":return this.handleEnter(e)}!function(e){var t=e.key,n=e.ctrlKey,r=e.metaKey,i=e.altKey,o=n||r||i,a=/^(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])$/.test(t);return!o&&"Backspace"!==t&&a}(e)||this.handleInsert(e,t)}},{key:"handleDelete",value:function(e){var t=e.event,n=e.selection,r=e.isForward,i=e.force,a=void 0!==i&&i,u={value:this.elementState.value,selection:n},s=o(u.selection,2),l=s[0],c=s[1],f=this.preprocessor({elementState:u,data:""},r?"deleteForward":"deleteBackward").elementState,h=new y(f,this.options),v=o(f.selection,2),p=v[0],d=v[1];h.deleteCharacters([p,d]);var m=this.postprocessor(h,u);if(u.value.slice(0,l)+u.value.slice(c)!==m.value||a)return t.preventDefault(),function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;rthis.maxLength)return e.preventDefault();h!==v.value&&(e.preventDefault(),this.updateElementState(v,{data:t,inputType:"inputType"in e?e.inputType:"insertText"}),this.updateHistory(v))}},{key:"handleEnter",value:function(e){this.isTextArea&&this.handleInsert(e,"\n")}}]),i}(function(){function e(){f(this,e),this.now=null,this.past=[],this.future=[]}return c(e,[{key:"undo",value:function(){var e=this.past.pop();e&&this.now&&(this.future.push(this.now),this.updateElement(e,"historyUndo"))}},{key:"redo",value:function(){var e=this.future.pop();e&&this.now&&(this.past.push(this.now),this.updateElement(e,"historyRedo"))}},{key:"updateHistory",value:function(e){if(this.now){var t=this.now.value!==e.value,n=this.now.selection.some(function(t,n){return t!==e.selection[n]});!t&&!n||(t&&(this.past.push(this.now),this.future=[]),this.now=e)}else this.now=e}},{key:"updateElement",value:function(e,t){this.now=e,this.updateElementState(e,{inputType:t,data:null})}}]),e}())}}])}(); \ No newline at end of file diff --git a/browser-support/index.html b/browser-support/index.html index d0a5e330c..4fc5dfdfc 100644 --- a/browser-support/index.html +++ b/browser-support/index.html @@ -22,8 +22,8 @@ -

Browser support

Desktop

BrowserVersion
Google Chrome 74+
Mozilla Firefox 55+
Safari 12.1+
Opera 62+
Edge (Chromium) 74+
Microsoft Internet ExplorerNot supported
Edge (EdgeHTML)Not supported

Mobile

BrowserVersion
Google Chrome90+
Mozilla Firefox99+
Safari12.2+
Opera64+
- +

Browser support

Desktop

BrowserVersion
Google Chrome 74+
Mozilla Firefox 55+
Safari 12.1+
Opera 62+
Edge (Chromium) 74+
Microsoft Internet ExplorerNot supported
Edge (EdgeHTML)Not supported

Mobile

BrowserVersion
Google Chrome90+
Mozilla Firefox99+
Safari12.2+
Opera64+
+ \ No newline at end of file diff --git a/changelog/index.html b/changelog/index.html index 809923721..9bece7514 100644 --- a/changelog/index.html +++ b/changelog/index.html @@ -23,7 +23,7 @@ -

Changelog

Changelog

+

Changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.4.0 (2023-07-27)

@@ -398,7 +398,7 @@

0.1.0 (2023-02-14)

- + \ No newline at end of file diff --git a/core-concepts/element-state/index.html b/core-concepts/element-state/index.html index 9b1401184..c25df1431 100644 --- a/core-concepts/element-state/index.html +++ b/core-concepts/element-state/index.html @@ -22,8 +22,8 @@ -

Element state

Element state is a concept which describes the main properties of the masked element at the certain period of time.

It is an object which implements the following interface:

This concept is actively used throughout Maskito libraries, and you can find its usage in the following topics:

- +

Element state

Element state is a concept which describes the main properties of the masked element at the certain period of time.

It is an object which implements the following interface:

This concept is actively used throughout Maskito libraries, and you can find its usage in the following topics:

+ \ No newline at end of file diff --git a/core-concepts/mask-expression/index.html b/core-concepts/mask-expression/index.html index cad360756..ca02aa6ac 100644 --- a/core-concepts/mask-expression/index.html +++ b/core-concepts/mask-expression/index.html @@ -22,8 +22,8 @@ -

Mask expression

Mask expression is the the main concept of Maskito core library. It provides the developer with opportunity to predefine format of user's input. For example, you can set mask expression to accept only digits, only Latin letters or you can configure more complex patterns like a date string.

You can set mask expression using mask parameter of MaskitoOptions .

Types of mask expression

  • RegExp mask expression

    The most basic and comprehensible type. The only required knowledge is understanding of native JavaScript Regular expression .

    See the following example:

    Make sure that mask expression works with any of intermediate states, not just the final value.

    For example, imagine that you have to create mask for 4-digits PIN code.

    /^\d{4}$/ is a wrong mask expression. It does not match intermediate states (you cannot complete 4-digit string without possibility to type 1-, 2- or 3-digit string).

    /^\d{0,4}$/ is the right solution for our example.

  • Pattern mask expression

    It is a good choice for more complex masks that are fixed in size. This type of mask expression is presented as array. Each element in the array has to be either a string or a regular expression. Each string is a fixed character and each regular expression is validator of character at the same index.

    Fixed character — a predefined character at a certain position (the same as its index inside mask expression array). It is automatically added when user forgets to type it. It cannot be erased or replaced with another character.

    For example, imagine that you have to create mask for a time-string with HH:MM format. It consists of 4 digits and 1 fixed-character separator : .

    This mask expression forbids anything excepts digits and limits length of the value to 5 characters.

    Also, it manages user interactions with fixed character.

    For example, user can just type four digits 1159 and the value becomes 11:59

    Another example, if caret position is after the colon and user presses Backspace , the input's value will not change but caret will be moved to the left of the colon.

  • Dynamic mask expression

    mask parameter can also accepts function which generates mask expression. This function will be called every time before input changes to generate a new version of mask expression.

    An "Element state" object with raw value and current selection is passed as an argument to the function.
    Be careful! It can be not performance-friendly to generate new mask expression on every input change.

    Think about optimization and memoization of the such function.

Next steps

The following sections are recommended to explore core concepts further:

- +

Mask expression

Mask expression is the the main concept of Maskito core library. It provides the developer with opportunity to predefine format of user's input. For example, you can set mask expression to accept only digits, only Latin letters or you can configure more complex patterns like a date string.

You can set mask expression using mask parameter of MaskitoOptions .

Types of mask expression

  • RegExp mask expression

    The most basic and comprehensible type. The only required knowledge is understanding of native JavaScript Regular expression .

    See the following example:

    Make sure that mask expression works with any of intermediate states, not just the final value.

    For example, imagine that you have to create mask for 4-digits PIN code.

    /^\d{4}$/ is a wrong mask expression. It does not match intermediate states (you cannot complete 4-digit string without possibility to type 1-, 2- or 3-digit string).

    /^\d{0,4}$/ is the right solution for our example.

  • Pattern mask expression

    It is a good choice for more complex masks that are fixed in size. This type of mask expression is presented as array. Each element in the array has to be either a string or a regular expression. Each string is a fixed character and each regular expression is validator of character at the same index.

    Fixed character — a predefined character at a certain position (the same as its index inside mask expression array). It is automatically added when user forgets to type it. It cannot be erased or replaced with another character.

    For example, imagine that you have to create mask for a time-string with HH:MM format. It consists of 4 digits and 1 fixed-character separator : .

    This mask expression forbids anything excepts digits and limits length of the value to 5 characters.

    Also, it manages user interactions with fixed character.

    For example, user can just type four digits 1159 and the value becomes 11:59

    Another example, if caret position is after the colon and user presses Backspace , the input's value will not change but caret will be moved to the left of the colon.

  • Dynamic mask expression

    mask parameter can also accepts function which generates mask expression. This function will be called every time before input changes to generate a new version of mask expression.

    An "Element state" object with raw value and current selection is passed as an argument to the function.
    Be careful! It can be not performance-friendly to generate new mask expression on every input change.

    Think about optimization and memoization of the such function.

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/overview/index.html b/core-concepts/overview/index.html index b1a2207a8..87561ca42 100644 --- a/core-concepts/overview/index.html +++ b/core-concepts/overview/index.html @@ -22,8 +22,8 @@ -

Core concepts

The main entity of Maskito core library is Maskito class which accepts 2 arguments in constructor:

  1. native HTMLInputElement or HTMLTextAreaElement
  2. set of configurable MaskitoOptions
Avoid wasting computation power or memory resources!

The only available public method destroy removes all created event listeners. Call it to clean everything up when the work is finished.

To understand the capabilities of the Maskito library, you need to learn about the following features and concepts:

- +

Core concepts

The main entity of Maskito core library is Maskito class which accepts 2 arguments in constructor:

  1. native HTMLInputElement or HTMLTextAreaElement
  2. set of configurable MaskitoOptions
Avoid wasting computation power or memory resources!

The only available public method destroy removes all created event listeners. Call it to clean everything up when the work is finished.

To understand the capabilities of the Maskito library, you need to learn about the following features and concepts:

+ \ No newline at end of file diff --git a/core-concepts/overwrite-mode/index.html b/core-concepts/overwrite-mode/index.html index 970c90702..786539a69 100644 --- a/core-concepts/overwrite-mode/index.html +++ b/core-concepts/overwrite-mode/index.html @@ -22,8 +22,8 @@ -

Overwrite mode

Overwrite mode regulates behaviour of the mask when user inserts a new character somewhere in the middle of text field, overwriting the character at the current index.

overwriteMode can be of a following type:

  • shift (default)
  • replace
  • function that receives element state as an argument and returns shift or replace

Shift mode

The classic mode that everyone is used to. Inserting a new character in the middle of the text field value shifts all following characters to the right.

Replace mode

All new inserted characters replace the old characters at the same position. No character shifts. The length of the value remains the same after inserting new character somewhere in middle of the text field.

Dynamically detected mode

Parameter overwriteMode also accepts function that will called before each insertion of new characters. This function has one argument — current element state (read more about it in the "Element state" section). And this function should return one of two possible values: shift or replace .

Next steps

The following sections are recommended to explore core concepts further:

- +

Overwrite mode

Overwrite mode regulates behaviour of the mask when user inserts a new character somewhere in the middle of text field, overwriting the character at the current index.

overwriteMode can be of a following type:

  • shift (default)
  • replace
  • function that receives element state as an argument and returns shift or replace

Shift mode

The classic mode that everyone is used to. Inserting a new character in the middle of the text field value shifts all following characters to the right.

Replace mode

All new inserted characters replace the old characters at the same position. No character shifts. The length of the value remains the same after inserting new character somewhere in middle of the text field.

Dynamically detected mode

Parameter overwriteMode also accepts function that will called before each insertion of new characters. This function has one argument — current element state (read more about it in the "Element state" section). And this function should return one of two possible values: shift or replace .

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/plugins/index.html b/core-concepts/plugins/index.html index f5c2731c9..64d96c463 100644 --- a/core-concepts/plugins/index.html +++ b/core-concepts/plugins/index.html @@ -22,8 +22,8 @@ -

Plugins

Plugins are functions that are called with input/textarea element and mask options as arguments upon mask initialization. They can optionally return cleanup logic and allow you to extend mask with arbitrary additional behavior.

Visualize rejected characters

This plugin is available as maskitoRejectEvent in @maskito/kit

Next steps

The following sections are recommended to explore core concepts further:

- +

Plugins

Plugins are functions that are called with input/textarea element and mask options as arguments upon mask initialization. They can optionally return cleanup logic and allow you to extend mask with arbitrary additional behavior.

Visualize rejected characters

This plugin is available as maskitoRejectEvent in @maskito/kit

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/processors/index.html b/core-concepts/processors/index.html index 6822467eb..0d030d333 100644 --- a/core-concepts/processors/index.html +++ b/core-concepts/processors/index.html @@ -22,8 +22,8 @@ -

Processors

MaskitoOptions have optional parameters preprocessors and postprocessors . Both accept array of pure functions. These functions are triggered on every user's input ( beforeinput and input events). They provide an opportunity to modify value before / after the mask is applied.

Preprocessors and postprocessors accept different types of arguments but they have two important similarities:

  • The first argument always contains object with information that you can change. Object with the same properties and updated values can be returned from the processor. It means that you can keep all properties untouched or you can change any or all of these properties.
  • The rest arguments contain information that can be useful to build some complex logic, but you cannot change it.
Before you learn more about processors, you should learn a single prerequisite — meaning of the term "Element state" .

Preprocessors

Each preprocessor is a function that is called before mask is applied.

For example, if user types a new character, all preprocessors will be called first, and only then final value that they returned will be passed into the mask, and finally the mask will accept or reject new typed character and update actual value of the text field.

Preprocessor accepts two arguments:

  1. Object with two properties: elementState and data . Object of the same interface with updated or unchanged properties can be returned from the preprocessor.
  2. Name of the action which triggers current execution. It can be one of the following possible values:

Preprocessor returns an objects of the same interface as the first argument.

Postprocessors

Each postprocessor is a function that is called after the mask is applied. When all preprocessors are already called, all mask operations happened and the input's value is about to be updated. You can change everything manually inside a postprocessor.

Postprocessor accepts two arguments:

  1. Element state after mask had been applied. Postprocessor can return updated element state which would then be reflected by the actual text field.
  2. Initial element state before preprocessors and mask execution. It is a readonly argument, the past cannot be changed...

Postprocessor returns an objects of the same interface as the first argument.

With great power comes great responsibility!

Postprocessor is the final step before input's value update which gives a lot of flexibility. Use postprocessor wisely and return a valid value!

Stacking of multiple processors

The Maskito team likes code decomposition and promotes it! Don't put all complex logic inside a single processor. Both parameters preprocessors and postprocessors accepts array of same type processors. Break your code into the several independent processors so that each processor implements only a single task.

Next steps

The following sections are recommended to explore core concepts further:

- +

Processors

MaskitoOptions have optional parameters preprocessors and postprocessors . Both accept array of pure functions. These functions are triggered on every user's input ( beforeinput and input events). They provide an opportunity to modify value before / after the mask is applied.

Preprocessors and postprocessors accept different types of arguments but they have two important similarities:

  • The first argument always contains object with information that you can change. Object with the same properties and updated values can be returned from the processor. It means that you can keep all properties untouched or you can change any or all of these properties.
  • The rest arguments contain information that can be useful to build some complex logic, but you cannot change it.
Before you learn more about processors, you should learn a single prerequisite — meaning of the term "Element state" .

Preprocessors

Each preprocessor is a function that is called before mask is applied.

For example, if user types a new character, all preprocessors will be called first, and only then final value that they returned will be passed into the mask, and finally the mask will accept or reject new typed character and update actual value of the text field.

Preprocessor accepts two arguments:

  1. Object with two properties: elementState and data . Object of the same interface with updated or unchanged properties can be returned from the preprocessor.
  2. Name of the action which triggers current execution. It can be one of the following possible values:

Preprocessor returns an objects of the same interface as the first argument.

Postprocessors

Each postprocessor is a function that is called after the mask is applied. When all preprocessors are already called, all mask operations happened and the input's value is about to be updated. You can change everything manually inside a postprocessor.

Postprocessor accepts two arguments:

  1. Element state after mask had been applied. Postprocessor can return updated element state which would then be reflected by the actual text field.
  2. Initial element state before preprocessors and mask execution. It is a readonly argument, the past cannot be changed...

Postprocessor returns an objects of the same interface as the first argument.

With great power comes great responsibility!

Postprocessor is the final step before input's value update which gives a lot of flexibility. Use postprocessor wisely and return a valid value!

Stacking of multiple processors

The Maskito team likes code decomposition and promotes it! Don't put all complex logic inside a single processor. Both parameters preprocessors and postprocessors accepts array of same type processors. Break your code into the several independent processors so that each processor implements only a single task.

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/core-concepts/transformer/index.html b/core-concepts/transformer/index.html index ab7878f47..b9e3cd4e0 100644 --- a/core-concepts/transformer/index.html +++ b/core-concepts/transformer/index.html @@ -22,8 +22,8 @@ -

Transformer
CORE

Maskito libraries were created to prevent user from typing invalid value.
Maskito listens beforeinput and input events. Programatic (by developer) changes of input's value don't trigger these events!

Maskito is based on the assumption that developer is capable to programatically patch input with valid value!

If you need to programatically patch input's value but you are not sure that your value is valid (for example, you get it from the server), you should use maskitoTransform utility .

Next steps

The following sections are recommended to explore core concepts further:

- +

Transformer
CORE

Maskito libraries were created to prevent user from typing invalid value.
Maskito listens beforeinput and input events. Programatic (by developer) changes of input's value don't trigger these events!

Maskito is based on the assumption that developer is capable to programatically patch input with valid value!

If you need to programatically patch input's value but you are not sure that your value is valid (for example, you get it from the server), you should use maskitoTransform utility .

Next steps

The following sections are recommended to explore core concepts further:

+ \ No newline at end of file diff --git a/cypress/index.html b/cypress/index.html index b01567486..14af003c9 100644 --- a/cypress/index.html +++ b/cypress/index.html @@ -22,8 +22,8 @@ -

Cypress

- +

Cypress

+ \ No newline at end of file diff --git a/frameworks/angular/Setup/index.html b/frameworks/angular/Setup/index.html index 0d0e0268e..252db60f6 100644 --- a/frameworks/angular/Setup/index.html +++ b/frameworks/angular/Setup/index.html @@ -22,10 +22,10 @@ -

Angular

  1. Install libraries

    /your/project/path> +

    Angular

    1. Install libraries

      /your/project/path>

    2. Import MaskitoModule to your module

      your.module.ts

    - + \ No newline at end of file diff --git a/frameworks/angular/index.html b/frameworks/angular/index.html index 94598b1f1..fddcc693f 100644 --- a/frameworks/angular/index.html +++ b/frameworks/angular/index.html @@ -22,14 +22,14 @@ -

    Angular

    @maskito/angular is a light-weighted library to use Maskito in an Angular-way.
    Prerequisites

    To get the most out of this guide, you should review the topic "Core Concepts" first.

    Write less code

    • No need to query element from DOM. Just pass all required options to [maskito] directive.
    • No need to worry about clean-ups. All created event listeners are automatically removed after element is detached from DOM.

    Basic directive approach

    Use it when you have direct access to native input element.

    your.component.ts +

    Angular

    @maskito/angular is a light-weighted library to use Maskito in an Angular-way.
    Prerequisites

    To get the most out of this guide, you should review the topic "Core Concepts" first.

    Write less code

    • No need to query element from DOM. Just pass all required options to [maskito] directive.
    • No need to worry about clean-ups. All created event listeners are automatically removed after element is detached from DOM.

    Basic directive approach

    Use it when you have direct access to native input element.

    your.component.ts

    Nested input element

    Pass a predicate to maskito to find input element for you, if you do not have a direct access to it.

    By default maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.

    your.component.ts -

    Custom input

    See querying nested input in action

    Default behavior is enough for Taiga UI inputs
    Custom predicate is required if target input is not the first on in the DOM

    Custom input

    See querying nested input in action

    Default behavior is enough for Taiga UI inputs
    Custom predicate is required if target input is not the first on in the DOM

    Form controls

    When directly on native input/textarea tag, maskito directive formats value set programmatically with Angular forms.

    Pipe

    Format arbitrary value with the same options

    Balance: $12 345.67
    - + \ No newline at end of file diff --git a/frameworks/react/index.html b/frameworks/react/index.html index 7d5628407..7b6710b27 100644 --- a/frameworks/react/index.html +++ b/frameworks/react/index.html @@ -22,8 +22,8 @@ -

    React

    @maskito/react is a light-weighted library to use Maskito in an React-way.

    Prerequisites

    To get the most out of this guide, you should review the topic "Core Concepts" first.

    Getting Started

    Install libraries

    and use Maskito

    Query nested input element

    Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

    By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.

    Controlled masked input

    Maskito core is developed as framework-agnostic library. It does not depend on any JS-framework's peculiarities. It uses only native browser API. That is why you should use native onInput instead of React-specific onChange event. Do not worry, both events works similarly! Read more about it in the official React documentation.

    Best practices & Anti-Patterns

    Pass named variables to avoid unnecessary hook runs with Maskito recreation:

    - +

    React

    @maskito/react is a light-weighted library to use Maskito in an React-way.

    Prerequisites

    To get the most out of this guide, you should review the topic "Core Concepts" first.

    Getting Started

    Install libraries

    and use Maskito

    Query nested input element

    Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

    By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.

    Controlled masked input

    Maskito core is developed as framework-agnostic library. It does not depend on any JS-framework's peculiarities. It uses only native browser API. That is why you should use native onInput instead of React-specific onChange event. Do not worry, both events works similarly! Read more about it in the official React documentation.

    Best practices & Anti-Patterns

    Pass named variables to avoid unnecessary hook runs with Maskito recreation:

    + \ No newline at end of file diff --git a/frameworks/vue/index.html b/frameworks/vue/index.html index 7c6c7a0e5..669702fd4 100644 --- a/frameworks/vue/index.html +++ b/frameworks/vue/index.html @@ -22,8 +22,8 @@ -

    Vue

    @maskito/vue is a light-weighted library to use Maskito in as a Vue directive.

    Prerequisites

    To get the most out of this guide, you should review the topic "Core Concepts" first.

    Getting Started

    Install libraries

    and use Maskito

    Above code example in practice

    Query nested input element

    Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

    By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.

    Best practices & Anti-Patterns

    Avoid inlining options object, otherwise Maskito will be recreated on every update:

    - +

    Vue

    @maskito/vue is a light-weighted library to use Maskito in as a Vue directive.

    Prerequisites

    To get the most out of this guide, you should review the topic "Core Concepts" first.

    Getting Started

    Install libraries

    and use Maskito

    Above code example in practice

    Query nested input element

    Pass a predicate to elementPredicate to find input element for you, if you do not have a direct access to it. For example, you use component from some UI Kit library.

    By default Maskito will try to find input/textarea by querying its host: host.querySelector('input,textarea') so that might be sufficient. Use custom predicate if you need custom logic.

    Best practices & Anti-Patterns

    Avoid inlining options object, otherwise Maskito will be recreated on every update:

    + \ No newline at end of file diff --git a/getting-started/maskito-libraries/index.html b/getting-started/maskito-libraries/index.html index 211e20895..7f4455a84 100644 --- a/getting-started/maskito-libraries/index.html +++ b/getting-started/maskito-libraries/index.html @@ -22,13 +22,13 @@ -

    Maskito libraries

    Maskito is a collection of libraries. Explore them and learn how to install and use them.

    • @maskito/core

      It is the main zero-dependency and framework-agnostic package. It can be used alone in vanilla JavaScript project. It listens to beforeinput and input events to validate and calibrate text field value.

      All other Maskito's packages require @maskito/core as peer-dependency.

      /your/project/path> +

      Maskito libraries

      Maskito is a collection of libraries. Explore them and learn how to install and use them.

      • @maskito/core

        It is the main zero-dependency and framework-agnostic package. It can be used alone in vanilla JavaScript project. It listens to beforeinput and input events to validate and calibrate text field value.

        All other Maskito's packages require @maskito/core as peer-dependency.

        /your/project/path>

        Learn more about this library in "Core Concepts" section.

      • @maskito/kit

        The optional framework-agnostic package. It contains ready-to-use masks with configurable parameters.

        /your/project/path>

        See examples: Number or Time .

      • @maskito/angular

        The Angular-specific library. It provides a convenient way to use Maskito as a directive.

        /your/project/path>

        Learn more about this library in "Angular" section.

      • @maskito/react

        The React-specific library. It provides a convenient way to use Maskito as a hook.

        /your/project/path>

        Learn more about this library in "React" section.

      • @maskito/vue

        The Vue-specific library. It provides a convenient way to use Maskito as a directive.

        /your/project/path>

        Learn more about this library in "Vue" section.

      - + \ No newline at end of file diff --git a/getting-started/what-is-maskito/index.html b/getting-started/what-is-maskito/index.html index 4ea53424b..c7a643e61 100644 --- a/getting-started/what-is-maskito/index.html +++ b/getting-started/what-is-maskito/index.html @@ -22,8 +22,8 @@ -

      What is Maskito?

      Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

      Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

      Why Maskito?

      • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
      • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
      • Server Side Rendering and Shadow DOM support.
      • You can use it with HTMLInputElement and HTMLTextAreaElement .
      • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
      • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

      No textfield with invalid value! Use Maskito. Mask it!

      Learn about Maskito

      - +

      What is Maskito?

      Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

      Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

      Why Maskito?

      • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
      • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
      • Server Side Rendering and Shadow DOM support.
      • You can use it with HTMLInputElement and HTMLTextAreaElement .
      • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
      • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

      No textfield with invalid value! Use Maskito. Mask it!

      Learn about Maskito

      + \ No newline at end of file diff --git a/index.html b/index.html index 1f39896a2..d726c0efe 100644 --- a/index.html +++ b/index.html @@ -22,8 +22,8 @@ -

      What is Maskito?

      Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

      Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

      Why Maskito?

      • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
      • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
      • Server Side Rendering and Shadow DOM support.
      • You can use it with HTMLInputElement and HTMLTextAreaElement .
      • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
      • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

      No textfield with invalid value! Use Maskito. Mask it!

      Learn about Maskito

      - +

      What is Maskito?

      Maskito is a collection of libraries, built with TypeScript. It helps you to create an input mask which ensures that users type values according to predefined format.

      Core concepts of the libraries are simple but they provide flexible API to set any format you wish: numbers, phone, date, credit card number etc.

      Why Maskito?

      • Maskito supports all user’s interactions with text fields: basic typing and deleting via keyboard, pasting, dropping text inside with a pointer, browser autofill, predictive text from mobile native keyboard.
      • Maskito is robust. The whole project is developed with strict TypeScript mode. Our code is covered by hundreds of Cypress tests.
      • Server Side Rendering and Shadow DOM support.
      • You can use it with HTMLInputElement and HTMLTextAreaElement .
      • Maskito core is zero-dependency package. You can mask input in your vanilla JavaScript project. However, we have separate packages for Angular , React and Vue as well.
      • Maskito includes optional framework-agnostic package with configurable ready-to-use masks.

      No textfield with invalid value! Use Maskito. Mask it!

      Learn about Maskito

      + \ No newline at end of file diff --git a/index.original.html b/index.original.html index b38f2480a..d2bbf0e8b 100644 --- a/index.original.html +++ b/index.original.html @@ -18,6 +18,6 @@ Loading... - + \ No newline at end of file diff --git a/kit/date-range/API/index.html b/kit/date-range/API/index.html index 4bbf2ec51..1d3df40be 100644 --- a/kit/date-range/API/index.html +++ b/kit/date-range/API/index.html @@ -22,8 +22,8 @@ -

      DateRange
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [mode]
      Date format mode
      MaskitoDateMode
      'dd/mm/yyyy'
      [dateSeparator]
      Separator between date segments (days, months and years).

      Default:. (dot).

      string
      [rangeSeparator]
      Separator between dates of the date range.

      Default: â€“ 

      string
      [min]
      Earliest date
      Date
      '0001-01-01'
      [max]
      Latest date
      Date
      '9999-12-31'
      [minLength]
      Minimal length of the range
      MaskitoDateSegments<number>
      {}
      [maxLength]
      Maximal length of the range
      MaskitoDateSegments<number>
      {}
      [separator]
      deprecated Use dateSeparator instead.

      Default:. (dot).

      - +

      DateRange
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [mode]
      Date format mode
      MaskitoDateMode
      'dd/mm/yyyy'
      [dateSeparator]
      Separator between date segments (days, months and years).

      Default:. (dot).

      string
      [rangeSeparator]
      Separator between dates of the date range.

      Default: â€“ 

      string
      [min]
      Earliest date
      Date
      '0001-01-01'
      [max]
      Latest date
      Date
      '9999-12-31'
      [minLength]
      Minimal length of the range
      MaskitoDateSegments<number>
      {}
      [maxLength]
      Maximal length of the range
      MaskitoDateSegments<number>
      {}
      [separator]
      deprecated Use dateSeparator instead.

      Default:. (dot).

      + \ No newline at end of file diff --git a/kit/date-range/index.html b/kit/date-range/index.html index fc6d31e30..55c70b3d7 100644 --- a/kit/date-range/index.html +++ b/kit/date-range/index.html @@ -22,8 +22,8 @@ -

      DateRange
      KIT

      Use maskitoDateRangeOptionsGenerator to create a mask to input a range of dates.

      Date localization

      Use mode and separator parameters to get a mask with a locale specific representation of dates.

      Min and max dates

      Parameters min and max allow you to set the earliest and the latest available dates. They accept native Date .

      Min and max length of range

      Use minLength and maxLength parameters to set minimal and maximal length of the date range.

      Custom range separator

      Use rangeSeparator parameter to customize separator between dates of the date range.

      - +

      DateRange
      KIT

      Use maskitoDateRangeOptionsGenerator to create a mask to input a range of dates.

      Date localization

      Use mode and separator parameters to get a mask with a locale specific representation of dates.

      Min and max dates

      Parameters min and max allow you to set the earliest and the latest available dates. They accept native Date .

      Min and max length of range

      Use minLength and maxLength parameters to set minimal and maximal length of the date range.

      Custom range separator

      Use rangeSeparator parameter to customize separator between dates of the date range.

      + \ No newline at end of file diff --git a/kit/date-time/API/index.html b/kit/date-time/API/index.html index c74025258..9c56234cb 100644 --- a/kit/date-time/API/index.html +++ b/kit/date-time/API/index.html @@ -22,8 +22,8 @@ -

      DateTime
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [dateMode]
      Date format mode
      MaskitoDateMode
      'dd/mm/yyyy'
      [timeMode]
      Time format mode
      MaskitoTimeMode
      'HH:MM'
      [dateSeparator]
      Date separator

      Default:. (dot).

      string
      [min]
      Earliest date
      Date
      '0001-01-01T00:00:00'
      [max]
      Latest date
      Date
      '9999-12-31T23:59:59'
      - +

      DateTime
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [dateMode]
      Date format mode
      MaskitoDateMode
      'dd/mm/yyyy'
      [timeMode]
      Time format mode
      MaskitoTimeMode
      'HH:MM'
      [dateSeparator]
      Date separator

      Default:. (dot).

      string
      [min]
      Earliest date
      Date
      '0001-01-01T00:00:00'
      [max]
      Latest date
      Date
      '9999-12-31T23:59:59'
      + \ No newline at end of file diff --git a/kit/date-time/index.html b/kit/date-time/index.html index aface4e4d..840487e26 100644 --- a/kit/date-time/index.html +++ b/kit/date-time/index.html @@ -22,8 +22,8 @@ -

      DateTime
      KIT

      Use maskitoDateTimeOptionsGenerator to create a mask to input both date and time.

      Localization

      Use dateMode , timeMode and dateSeparator parameters to get a mask with a locale specific representation of dates.

      Min and max

      Parameters min and max allow to set the earliest and the latest available dates. They accept native Date .

      - +

      DateTime
      KIT

      Use maskitoDateTimeOptionsGenerator to create a mask to input both date and time.

      Localization

      Use dateMode , timeMode and dateSeparator parameters to get a mask with a locale specific representation of dates.

      Min and max

      Parameters min and max allow to set the earliest and the latest available dates. They accept native Date .

      + \ No newline at end of file diff --git a/kit/date/API/index.html b/kit/date/API/index.html index 3936662ae..6f3aaf9b8 100644 --- a/kit/date/API/index.html +++ b/kit/date/API/index.html @@ -22,8 +22,8 @@ -

      Date
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [mode]
      Date format mode
      MaskitoDateMode
      'dd/mm/yyyy'
      [separator]
      Symbol for separating date-segments (days, months, years)

      Default:. (dot)

      string
      '.'
      [min]
      Earliest date

      Default:new Date('0001-01-01')

      Date
      '0001-01-01'
      [max]
      Latest date

      Default:new Date('9999-12-31')

      Date
      '9999-12-31'
      - +

      Date
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [mode]
      Date format mode
      MaskitoDateMode
      'dd/mm/yyyy'
      [separator]
      Symbol for separating date-segments (days, months, years)

      Default:. (dot)

      string
      '.'
      [min]
      Earliest date

      Default:new Date('0001-01-01')

      Date
      '0001-01-01'
      [max]
      Latest date

      Default:new Date('9999-12-31')

      Date
      '9999-12-31'
      + \ No newline at end of file diff --git a/kit/date/index.html b/kit/date/index.html index 567d8b394..5f4877e14 100644 --- a/kit/date/index.html +++ b/kit/date/index.html @@ -22,8 +22,8 @@ -

      Date
      KIT

      Use maskitoDateOptionsGenerator to create a mask for date input.

      Date localization

      Use mode and separator properties to get a mask with a locale specific representation of dates.

      Min/Max

      Properties min and max allow you to set the earliest and the latest available dates. They accept native Date .

      - +

      Date
      KIT

      Use maskitoDateOptionsGenerator to create a mask for date input.

      Date localization

      Use mode and separator properties to get a mask with a locale specific representation of dates.

      Min/Max

      Properties min and max allow you to set the earliest and the latest available dates. They accept native Date .

      + \ No newline at end of file diff --git a/kit/number/API/index.html b/kit/number/API/index.html index ca9e621fb..cf8472032 100644 --- a/kit/number/API/index.html +++ b/kit/number/API/index.html @@ -22,8 +22,8 @@ -

      Number
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [precision]
      A number of digits after decimalSeparator .

      Use Infinity for an untouched decimal part.

      Default:0 (decimal part is forbidden).

      number
      0
      [decimalSeparator]
      Symbol for separating fraction.

      Default: dot.

      string
      [decimalPseudoSeparators]
      Symbols to be replaced with decimalSeparator .

      Default:['.', 'ю', 'б'] .

      string[]
      ['.', ',', 'б', 'ю']
      [decimalZeroPadding]
      If number of digits after decimalSeparator is always equal to the precision .

      Default:false (number of digits can be less than precision) .

      boolean
      [thousandSeparator]
      Symbol for separating thousands.

      Default: non-breaking space.

      string
      [min]
      The lowest permitted value.

      Default:Number.MIN_SAFE_INTEGER .

      number
      [max]
      The greatest permitted value.

      Default:Number.MAX_SAFE_INTEGER .

      number
      [prefix]
      A prefix symbol, like currency.

      Default: empty string (no prefix).

      string
      [postfix]
      A postfix symbol, like currency.

      Default: empty string (no postfix).

      string
      - +

      Number
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [precision]
      A number of digits after decimalSeparator .

      Use Infinity for an untouched decimal part.

      Default:0 (decimal part is forbidden).

      number
      0
      [decimalSeparator]
      Symbol for separating fraction.

      Default: dot.

      string
      [decimalPseudoSeparators]
      Symbols to be replaced with decimalSeparator .

      Default:['.', 'ю', 'б'] .

      string[]
      ['.', ',', 'б', 'ю']
      [decimalZeroPadding]
      If number of digits after decimalSeparator is always equal to the precision .

      Default:false (number of digits can be less than precision) .

      boolean
      [thousandSeparator]
      Symbol for separating thousands.

      Default: non-breaking space.

      string
      [min]
      The lowest permitted value.

      Default:Number.MIN_SAFE_INTEGER .

      number
      [max]
      The greatest permitted value.

      Default:Number.MAX_SAFE_INTEGER .

      number
      [prefix]
      A prefix symbol, like currency.

      Default: empty string (no prefix).

      string
      [postfix]
      A postfix symbol, like currency.

      Default: empty string (no postfix).

      string
      + \ No newline at end of file diff --git a/kit/number/index.html b/kit/number/index.html index eb7645662..db19ee62d 100644 --- a/kit/number/index.html +++ b/kit/number/index.html @@ -22,8 +22,8 @@ -

      Number
      KIT

      Use maskitoNumberOptionsGenerator to create a mask for entering a formatted number.
      Despite the name of the mask, element's raw value is still string.

      Use maskitoParseNumber to get number-type value.

      High precision

      Use precision parameter to configure the number of digits after decimal separator.

      Separators

      Use decimalSeparator and thousandSeparator to get mask with locale specific representation of numbers.

      In Germany people use comma as decimal separator and dot for thousands

      Postfix

      Use postfix parameter to set non-removable text after the number.
      Additionally you can use maskitoCaretGuard to clamp caret inside allowable range.
      This example also shows how to restrict the greatest permitted value via max parameter.

      Decimal zero padding

      Set decimalZeroPadding: true to always show trailing zeroes.

      Non removable dollar sign is achieved by using prefix parameter.

      Dynamic decimal zero padding

      You can change options on the fly to build complex logic.
      This example shows how to initially disable decimalZeroPadding and enable it only after user inserts decimal separator.

      - +

      Number
      KIT

      Use maskitoNumberOptionsGenerator to create a mask for entering a formatted number.
      Despite the name of the mask, element's raw value is still string.

      Use maskitoParseNumber to get number-type value.

      High precision

      Use precision parameter to configure the number of digits after decimal separator.

      Separators

      Use decimalSeparator and thousandSeparator to get mask with locale specific representation of numbers.

      In Germany people use comma as decimal separator and dot for thousands

      Postfix

      Use postfix parameter to set non-removable text after the number.
      Additionally you can use maskitoCaretGuard to clamp caret inside allowable range.
      This example also shows how to restrict the greatest permitted value via max parameter.

      Decimal zero padding

      Set decimalZeroPadding: true to always show trailing zeroes.

      Non removable dollar sign is achieved by using prefix parameter.

      Dynamic decimal zero padding

      You can change options on the fly to build complex logic.
      This example shows how to initially disable decimalZeroPadding and enable it only after user inserts decimal separator.

      + \ No newline at end of file diff --git a/kit/time/API/index.html b/kit/time/API/index.html index 92d4bcb70..a16dcb1d9 100644 --- a/kit/time/API/index.html +++ b/kit/time/API/index.html @@ -22,8 +22,8 @@ -

      Time
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [mode]
      Time format mode
      MaskitoTimeMode
      'HH:MM'
      [timeSegmentMaxValues]
      Max value for every time segment
      MaskitoTimeSegments<number>
      {hours: 23, minutes: 59, seconds: 59, milliseconds: 999}
      - +

      Time
      KIT

      tuiMode:
      -
      Name and descriptionType Value
      [mode]
      Time format mode
      MaskitoTimeMode
      'HH:MM'
      [timeSegmentMaxValues]
      Max value for every time segment
      MaskitoTimeSegments<number>
      {hours: 23, minutes: 59, seconds: 59, milliseconds: 999}
      + \ No newline at end of file diff --git a/kit/time/index.html b/kit/time/index.html index e4afa723f..aabdd23f3 100644 --- a/kit/time/index.html +++ b/kit/time/index.html @@ -22,8 +22,8 @@ -

      Time
      KIT

      Use maskitoTimeOptionsGenerator to create a mask for time input.

      Mode

      Use mode property to set time format.

      Available options : HH:MM , HH:MM:SS or HH:MM:SS.MSS .

      12-hours format

      Property timeSegmentMaxValues allows you to set max value for every time segment.

      Time segments are units of the time which form time string. For example, HH:MM consists of two time segments: hours and minutes.

      - +

      Time
      KIT

      Use maskitoTimeOptionsGenerator to create a mask for time input.

      Mode

      Use mode property to set time format.

      Available options : HH:MM , HH:MM:SS or HH:MM:SS.MSS .

      12-hours format

      Property timeSegmentMaxValues allows you to set max value for every time segment.

      Time segments are units of the time which form time string. For example, HH:MM consists of two time segments: hours and minutes.

      + \ No newline at end of file diff --git a/main-es2015.015d4e8f245a97f54390.js b/main-es2015.1588f7840705f13d8e63.js similarity index 70% rename from main-es2015.015d4e8f245a97f54390.js rename to main-es2015.1588f7840705f13d8e63.js index d5168681e..1338e6c39 100644 --- a/main-es2015.015d4e8f245a97f54390.js +++ b/main-es2015.1588f7840705f13d8e63.js @@ -1 +1 @@ -var Lw=Object.defineProperty,Bw=Object.defineProperties,Uw=Object.getOwnPropertyDescriptors,C0=Object.getOwnPropertySymbols,Vw=Object.prototype.hasOwnProperty,Hw=Object.prototype.propertyIsEnumerable,b0=(t,e,n)=>e in t?Lw(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Tp=(t,e)=>{for(var n in e||(e={}))Vw.call(e,n)&&b0(t,n,e[n]);if(C0)for(var n of C0(e))Hw.call(e,n)&&b0(t,n,e[n]);return t},T0=(t,e)=>Bw(t,Uw(e));(self.webpackChunkmaskito=self.webpackChunkmaskito||[]).push([[179,6429],{56083:function(t,e,n){"use strict";n.d(e,{l3:function(){return o},_j:function(){return r},LC:function(){return i},ZN:function(){return g},jt:function(){return a},pV:function(){return h},IO:function(){return d},vP:function(){return l},EY:function(){return p},oB:function(){return c},eR:function(){return u},X$:function(){return s},ZE:function(){return m},k1:function(){return v}});class r{}class i{}const o="*";function s(t,e){return{type:7,name:t,definitions:e,options:{}}}function a(t,e=null){return{type:4,styles:e,timings:t}}function l(t,e=null){return{type:2,steps:t,options:e}}function c(t){return{type:6,styles:t,offset:null}}function u(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}function h(t=null){return{type:9,options:t}}function d(t,e,n=null){return{type:11,selector:t,animation:e,options:n}}function p(t,e){return{type:12,timings:t,animation:e}}function f(t){Promise.resolve(null).then(t)}class g{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){f(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(t){this._position=this.totalTime?t*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class m{constructor(t){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;let e=0,n=0,r=0;const i=this.players.length;0==i?f(()=>this._onFinish()):this.players.forEach(t=>{t.onDone(()=>{++e==i&&this._onFinish()}),t.onDestroy(()=>{++n==i&&this._onDestroy()}),t.onStart(()=>{++r==i&&this._onStart()})}),this.totalTime=this.players.reduce((t,e)=>Math.max(t,e.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this.players.forEach(t=>t.init())}onStart(t){this._onStartFns.push(t)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(t=>t()),this._onStartFns=[])}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(t=>t.play())}pause(){this.players.forEach(t=>t.pause())}restart(){this.players.forEach(t=>t.restart())}finish(){this._onFinish(),this.players.forEach(t=>t.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(t=>t.destroy()),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}reset(){this.players.forEach(t=>t.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(t){const e=t*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const t=this.players.reduce((t,e)=>null===t||e.totalTime>t.totalTime?e:t,null);return null!=t?t.getPosition():0}beforeDestroy(){this.players.forEach(t=>{t.beforeDestroy&&t.beforeDestroy()})}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const v="!"},79221:function(t,e,n){"use strict";n.d(e,{Vi:function(){return P},Th:function(){return ne},NH:function(){return Ct},uL:function(){return _e},nV:function(){return k},DT:function(){return be},Ar:function(){return xt},QN:function(){return we}});var r=n(56083),i=n(74788);function o(){return"undefined"!=typeof window&&void 0!==window.document}function s(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(t){switch(t.length){case 0:return new r.ZN;case 1:return t[0];default:return new r.ZE(t)}}function l(t,e,n,i,o={},s={}){const a=[],l=[];let c=-1,u=null;if(i.forEach(t=>{const n=t.offset,i=n==c,h=i&&u||{};Object.keys(t).forEach(n=>{let i=n,l=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),l){case r.k1:l=o[n];break;case r.l3:l=s[n];break;default:l=e.normalizeStyleValue(n,i,l,a)}h[i]=l}),i||l.push(h),u=h,c=n}),a.length){const t="\n - ";throw new Error(`Unable to animate due to the following errors:${t}${a.join(t)}`)}return l}function c(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&u(n,"start",t)));break;case"done":t.onDone(()=>r(n&&u(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&u(n,"destroy",t)))}}function u(t,e,n){const r=n.totalTime,i=h(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==r?t.totalTime:r,!!n.disabled),o=t._data;return null!=o&&(i._data=o),i}function h(t,e,n,r,i="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function d(t,e,n){let r;return t instanceof Map?(r=t.get(e),r||t.set(e,r=n)):(r=t[e],r||(r=t[e]=n)),r}function p(t){const e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}let f=(t,e)=>!1,g=(t,e)=>!1,m=(t,e,n)=>[];const v=s();(v||"undefined"!=typeof Element)&&(f=o()?(t,e)=>{for(;e&&e!==document.documentElement;){if(e===t)return!0;e=e.parentNode||e.host}return!1}:(t,e)=>t.contains(e),g=(()=>{if(v||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):g}})(),m=(t,e,n)=>{let r=[];if(n){const n=t.querySelectorAll(e);for(let t=0;t{const r=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[r]=t[n]}),e}let k=(()=>{class t{validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,i,o,s=[],a){return new r.ZN(n,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),P=(()=>{class t{}return t.NOOP=new k,t})();const T="ng-enter",M="ng-leave",S="ng-trigger",E=".ng-trigger",A="ng-animating",I=".ng-animating";function D(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:L(parseFloat(e[1]),e[2])}function L(t,e){return"s"===e?1e3*t:t}function N(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){let r,i=0,o="";if("string"==typeof t){const n=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return e.push(`The provided timing value "${t}" is invalid.`),{duration:0,delay:0,easing:""};r=L(parseFloat(n[1]),n[2]);const s=n[3];null!=s&&(i=L(parseFloat(s),n[4]));const a=n[5];a&&(o=a)}else r=t;if(!n){let n=!1,o=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),n=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&e.splice(o,0,`The provided timing value "${t}" is invalid.`)}return{duration:r,delay:i,easing:o}}(t,e,n)}function F(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function z(t,e,n={}){if(e)for(let r in t)n[r]=t[r];else F(t,n);return n}function R(t,e,n){return n?e+":"+n+";":""}function j(t){let e="";for(let n=0;n{const i=G(r);n&&!n.hasOwnProperty(r)&&(n[r]=t.style[i]),t.style[i]=e[r]}),s()&&j(t))}function H(t,e){t.style&&(Object.keys(e).forEach(e=>{const n=G(e);t.style[n]=""}),s()&&j(t))}function U(t){return Array.isArray(t)?1==t.length?t[0]:(0,r.vP)(t):t}const V=new RegExp("{{\\s*(.+?)\\s*}}","g");function q(t){let e=[];if("string"==typeof t){let n;for(;n=V.exec(t);)e.push(n[1]);V.lastIndex=0}return e}function Z(t,e,n){const r=t.toString(),i=r.replace(V,(t,r)=>{let i=e[r];return e.hasOwnProperty(r)||(n.push(`Please provide a value for the animation param ${r}`),i=""),i.toString()});return i==r?t:i}function Y(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const $=/-+([a-z0-9])/g;function G(t){return t.replace($,(...t)=>t[1].toUpperCase())}function J(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Q(t,e){return 0===t||0===e}function X(t,e,n){const r=Object.keys(n);if(r.length&&e.length){let o=e[0],s=[];if(r.forEach(t=>{o.hasOwnProperty(t)||s.push(t),o[t]=n[t]}),s.length)for(var i=1;ifunction(t,e,n){if(":"==t[0]){const r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,e)=>parseFloat(e)>parseFloat(t);case":decrement":return(t,e)=>parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}const r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push(`The provided transition expression "${t}" is not supported`),e;const i=r[1],o=r[2],s=r[3];e.push(rt(i,s));"<"==o[0]&&!("*"==i&&"*"==s)&&e.push(rt(s,i))}(t,n,e)):n.push(t),n}const et=new Set(["true","1"]),nt=new Set(["false","0"]);function rt(t,e){const n=et.has(t)||nt.has(t),r=et.has(e)||nt.has(e);return(i,o)=>{let s="*"==t||t==i,a="*"==e||e==o;return!s&&n&&"boolean"==typeof i&&(s=i?et.has(t):nt.has(t)),!a&&r&&"boolean"==typeof o&&(a=o?et.has(e):nt.has(e)),s&&a}}const it=new RegExp("s*:selfs*,?","g");function ot(t,e,n){return new st(t).build(e,n)}class st{constructor(t){this._driver=t}build(t,e){const n=new at(e);return this._resetContextStyleTimingState(n),W(this,U(t),n)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,r=e.depCount=0;const i=[],o=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,r=n.name;r.toString().split(/\s*,\s*/).forEach(t=>{n.name=t,i.push(this.visitState(n,e))}),n.name=r}else if(1==t.type){const i=this.visitTransition(t,e);n+=i.queryCount,r+=i.depCount,o.push(i)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:i,transitions:o,queryCount:n,depCount:r,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){const i=new Set,o=r||{};if(n.styles.forEach(t=>{if(lt(t)){const e=t;Object.keys(e).forEach(t=>{q(e[t]).forEach(t=>{o.hasOwnProperty(t)||i.add(t)})})}}),i.size){const n=Y(i.values());e.errors.push(`state("${t.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=W(this,U(t.animation),e);return{type:1,matchers:tt(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:ct(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map(t=>W(this,t,e)),options:ct(t.options)}}visitGroup(t,e){const n=e.currentTime;let r=0;const i=t.steps.map(t=>{e.currentTime=n;const i=W(this,t,e);return r=Math.max(r,e.currentTime),i});return e.currentTime=r,{type:3,steps:i,options:ct(t.options)}}visitAnimate(t,e){const n=function(t,e){let n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return ut(N(t,e).duration,0,"");const r=t;if(r.split(/\s+/).some(t=>"{"==t.charAt(0)&&"{"==t.charAt(1))){const t=ut(0,0,"");return t.dynamic=!0,t.strValue=r,t}return n=n||N(r,e),ut(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;let i,o=t.styles?t.styles:(0,r.oB)({});if(5==o.type)i=this.visitKeyframes(o,e);else{let o=t.styles,s=!1;if(!o){s=!0;const t={};n.easing&&(t.easing=n.easing),o=(0,r.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,i=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:i,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[];Array.isArray(t.styles)?t.styles.forEach(t=>{"string"==typeof t?t==r.l3?n.push(t):e.errors.push(`The provided style string value ${t} is not allowed.`):n.push(t)}):n.push(t.styles);let i=!1,o=null;return n.forEach(t=>{if(lt(t)){const e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(let t in e)if(e[t].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let r=e.currentTime,i=e.currentTime;n&&i>0&&(i-=n.duration+n.delay),t.styles.forEach(t=>{"string"!=typeof t&&Object.keys(t).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void e.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const o=e.collectedStyles[e.currentQuerySelector],s=o[n];let a=!0;s&&(i!=r&&i>=s.startTime&&r<=s.endTime&&(e.errors.push(`The CSS property "${n}" that exists between the times of "${s.startTime}ms" and "${s.endTime}ms" is also being animated in a parallel animation between the times of "${i}ms" and "${r}ms"`),a=!1),i=s.startTime),a&&(o[n]={startTime:i,endTime:r}),e.options&&function(t,e,n){const r=e.params||{},i=q(t);i.length&&i.forEach(t=>{r.hasOwnProperty(t)||n.push(`Unable to resolve the local animation param ${t} in the given list of values`)})}(t[n],e.options,e.errors)})})}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),n;let r=0;const i=[];let o=!1,s=!1,a=0;const l=t.steps.map(t=>{const n=this._makeStyleAst(t,e);let l=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach(t=>{if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}});else if(lt(t)&&t.hasOwnProperty("offset")){const n=t;e=parseFloat(n.offset),delete n.offset}return e}(n.styles),c=0;return null!=l&&(r++,c=n.offset=l),s=s||c<0||c>1,o=o||c0&&r{const o=u>0?r==h?1:u*r:i[r],s=o*f;e.currentTime=d+p.delay+s,p.duration=s,this._validateStyleAst(t,e),t.offset=o,n.styles.push(t)}),n}visitReference(t,e){return{type:8,animation:W(this,U(t.animation),e),options:ct(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:ct(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:ct(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;const[i,o]=function(t){const e=!!t.split(/\s*,\s*/).find(t=>":self"==t);return e&&(t=t.replace(it,"")),t=t.replace(/@\*/g,E).replace(/@\w+/g,t=>E+"-"+t.substr(1)).replace(/:animating/g,I),[t,e]}(t.selector);e.currentQuerySelector=n.length?n+" "+i:i,d(e.collectedStyles,e.currentQuerySelector,{});const s=W(this,U(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:ct(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:N(t.timings,e.errors,!0);return{type:12,animation:W(this,U(t.animation),e),timings:n,options:null}}}class at{constructor(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function lt(t){return!Array.isArray(t)&&"object"==typeof t}function ct(t){return t?(t=F(t)).params&&(t.params=function(t){return t?F(t):null}(t.params)):t={},t}function ut(t,e,n){return{duration:t,delay:e,easing:n}}function ht(t,e,n,r,i,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}class dt{constructor(){this._map=new Map}consume(t){let e=this._map.get(t);return e?this._map.delete(t):e=[],e}append(t,e){let n=this._map.get(t);n||this._map.set(t,n=[]),n.push(...e)}has(t){return this._map.has(t)}clear(){this._map.clear()}}const pt=new RegExp(":enter","g"),ft=new RegExp(":leave","g");function gt(t,e,n,r,i,o={},s={},a,l,c=[]){return(new mt).buildKeyframes(t,e,n,r,i,o,s,a,l,c)}class mt{buildKeyframes(t,e,n,r,i,o,s,a,l,c=[]){l=l||new dt;const u=new _t(t,e,l,r,i,c,[]);u.options=a,u.currentTimeline.setStyles([o],null,u.errors,a),W(this,n,u);const h=u.timelines.filter(t=>t.containsAnimation());if(h.length&&Object.keys(s).length){const t=h[h.length-1];t.allowOnlyTimelineStyles()||t.setStyles([s],null,u.errors,a)}return h.length?h.map(t=>t.buildKeyframes()):[ht(e,[],[],[],0,0,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.consume(e.element);if(n){const r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_visitSubInstructions(t,e,n){let r=e.currentTimeline.currentTime;const i=null!=n.duration?D(n.duration):null,o=null!=n.delay?D(n.delay):null;return 0!==i&&t.forEach(t=>{const n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r}visitReference(t,e){e.updateOptions(t.options,!0),W(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let r=e;const i=t.options;if(i&&(i.params||i.delay)&&(r=e.createSubContext(i),r.transformIntoNewTimeline(),null!=i.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=vt);const t=D(i.delay);r.delayNextStep(t)}t.steps.length&&(t.steps.forEach(t=>W(this,t,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let r=e.currentTimeline.currentTime;const i=t.options&&t.options.delay?D(t.options.delay):0;t.steps.forEach(o=>{const s=e.createSubContext(t.options);i&&s.delayNextStep(i),W(this,o,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(t=>e.currentTimeline.mergeTimelineCollectedStyles(t)),e.transformIntoNewTimeline(r),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return N(e.params?Z(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}visitAnimate(t,e){const n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());const i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();const i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(t=>{o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,r=t.options||{},i=r.delay?D(r.delay):0;i&&(6===e.previousNode.type||0==n&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=vt);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach((n,r)=>{e.currentQueryIndex=r;const s=e.createSubContext(t.options,n);i&&s.delayNextStep(i),n===e.element&&(a=s.currentTimeline),W(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),a&&(e.currentTimeline.mergeTimelineCollectedStyles(a),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}visitStagger(t,e){const n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;W(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)}}const vt={};class _t{constructor(t,e,n,r,i,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=vt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new yt(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let r=this.options;null!=n.duration&&(r.duration=D(n.duration)),null!=n.delay&&(r.delay=D(n.delay));const i=n.params;if(i){let t=r.params;t||(t=this.options.params={}),Object.keys(i).forEach(n=>{(!e||!t.hasOwnProperty(n))&&(t[n]=Z(i[n],t,this.errors))})}}_copyOptions(){const t={};if(this.options){const e=this.options.params;if(e){const n=t.params={};Object.keys(e).forEach(t=>{n[t]=e[t]})}}return t}createSubContext(t=null,e,n){const r=e||this.element,i=new _t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}transformIntoNewTimeline(t){return this.previousNode=vt,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new bt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,r,i,o){let s=[];if(r&&s.push(this.element),t.length>0){t=(t=t.replace(pt,"."+this._enterClassName)).replace(ft,"."+this._leaveClassName);let e=this._driver.query(this.element,t,1!=n);0!==n&&(e=n<0?e.slice(e.length+n,e.length):e.slice(0,n)),s.push(...e)}return!i&&0==s.length&&o.push(`\`query("${e}")\` returned zero elements. (Use \`query("${e}", { optional: true })\` if you wish to allow this.)`),s}}class yt{constructor(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new yt(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(t=>{this._backFill[t]=this._globalTimelineStyles[t]||r.l3,this._currentKeyframe[t]=r.l3}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,i){e&&(this._previousKeyframe.easing=e);const o=i&&i.params||{},s=function(t,e){const n={};let i;return t.forEach(t=>{"*"===t?(i=i||Object.keys(e),i.forEach(t=>{n[t]=r.l3})):z(t,!1,n)}),n}(t,this._globalTimelineStyles);Object.keys(s).forEach(t=>{const e=Z(s[t],o,n);this._pendingStyles[t]=e,this._localTimelineStyles.hasOwnProperty(t)||(this._backFill[t]=this._globalTimelineStyles.hasOwnProperty(t)?this._globalTimelineStyles[t]:r.l3),this._updateStyle(t,e)})}applyStylesToKeyframe(){const t=this._pendingStyles,e=Object.keys(t);0!=e.length&&(this._pendingStyles={},e.forEach(e=>{this._currentKeyframe[e]=t[e]}),Object.keys(this._localTimelineStyles).forEach(t=>{this._currentKeyframe.hasOwnProperty(t)||(this._currentKeyframe[t]=this._localTimelineStyles[t])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(t=>{const e=this._localTimelineStyles[t];this._pendingStyles[t]=e,this._updateStyle(t,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const t=[];for(let e in this._currentKeyframe)t.push(e);return t}mergeTimelineCollectedStyles(t){Object.keys(t._styleSummary).forEach(e=>{const n=this._styleSummary[e],r=t._styleSummary[e];(!n||r.time>n.time)&&this._updateStyle(e,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let i=[];this._keyframes.forEach((o,s)=>{const a=z(o,!0);Object.keys(a).forEach(n=>{const i=a[n];i==r.k1?t.add(n):i==r.l3&&e.add(n)}),n||(a.offset=s/this.duration),i.push(a)});const o=t.size?Y(t.values()):[],s=e.size?Y(e.values()):[];if(n){const t=i[0],e=F(t);t.offset=0,e.offset=1,i=[t,e]}return ht(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}}class bt extends yt{constructor(t,e,n,r,i,o,s=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=r,this.postStyleProps=i,this._stretchStartingKeyframe=s,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:e,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const i=[],o=n+e,s=e/o,a=z(t[0],!1);a.offset=0,i.push(a);const l=z(t[0],!1);l.offset=wt(s),i.push(l);const c=t.length-1;for(let r=1;r<=c;r++){let s=z(t[r],!1);s.offset=wt((e+s.offset*n)/o),i.push(s)}n=o,e=0,r="",t=i}return ht(this.element,t,this.preStyleProps,this.postStyleProps,n,e,r,!0)}}function wt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class Ct{}class xt extends Ct{normalizePropertyName(t,e){return G(t)}normalizeStyleValue(t,e,n,r){let i="";const o=n.toString().trim();if(Ot[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{const e=n.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&r.push(`Please provide a CSS unit value for ${t}:${n}`)}return o+i}}const Ot=(()=>function(t){const e={};return t.forEach(t=>e[t]=!0),e}("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".split(",")))();function kt(t,e,n,r,i,o,s,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const Pt={};class Tt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,r){return function(t,e,n,r,i){return t.some(t=>t(e,n,r,i))}(this.ast.matchers,t,e,n,r)}buildStyles(t,e,n){const r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o}build(t,e,n,r,i,o,s,a,l,c){const u=[],h=this.ast.options&&this.ast.options.params||Pt,p=this.buildStyles(n,s&&s.params||Pt,u),f=a&&a.params||Pt,g=this.buildStyles(r,f,u),m=new Set,v=new Map,_=new Map,y="void"===r,b={params:Object.assign(Object.assign({},h),f)},w=c?[]:gt(t,e,this.ast.animation,i,o,p,g,b,l,u);let C=0;if(w.forEach(t=>{C=Math.max(t.duration+t.delay,C)}),u.length)return kt(e,this._triggerName,n,r,y,p,g,[],[],v,_,C,u);w.forEach(t=>{const n=t.element,r=d(v,n,{});t.preStyleProps.forEach(t=>r[t]=!0);const i=d(_,n,{});t.postStyleProps.forEach(t=>i[t]=!0),n!==e&&m.add(n)});const x=Y(m.values());return kt(e,this._triggerName,n,r,y,p,g,w,x,v,_,C)}}class Mt{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n={},r=F(this.defaultParams);return Object.keys(t).forEach(e=>{const n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(t=>{if("string"!=typeof t){const i=t;Object.keys(i).forEach(t=>{let o=i[t];o.length>1&&(o=Z(o,r,e));const s=this.normalizer.normalizePropertyName(t,e);o=this.normalizer.normalizeStyleValue(t,s,o,e),n[s]=o})}}),n}}class St{constructor(t,e,n){this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states={},e.states.forEach(t=>{this.states[t.name]=new Mt(t.style,t.options&&t.options.params||{},n)}),Et(this.states,"true","1"),Et(this.states,"false","0"),e.transitions.forEach(e=>{this.transitionFactories.push(new Tt(t,e,this.states))}),this.fallbackTransition=function(t,e,n){return new Tt(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},e)}(t,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,r){return this.transitionFactories.find(i=>i.match(t,e,n,r))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Et(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}const At=new dt;class It{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(t,e){const n=[],r=ot(this._driver,e,n);if(n.length)throw new Error(`Unable to build the animation due to the following errors: ${n.join("\n")}`);this._animations[t]=r}_buildPlayer(t,e,n){const r=t.element,i=l(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const i=[],o=this._animations[t];let s;const l=new Map;if(o?(s=gt(this._driver,e,o,T,M,{},{},n,At,i),s.forEach(t=>{const e=d(l,t.element,{});t.postStyleProps.forEach(t=>e[t]=null)})):(i.push("The requested animation doesn't exist or has already been destroyed"),s=[]),i.length)throw new Error(`Unable to create the animation due to the following errors: ${i.join("\n")}`);l.forEach((t,e)=>{Object.keys(t).forEach(n=>{t[n]=this._driver.computeStyle(e,n,r.l3)})});const c=a(s.map(t=>{const e=l.get(t.element);return this._buildPlayer(t,{},e)}));return this._playersById[t]=c,c.onDestroy(()=>this.destroy(t)),this.players.push(c),c}destroy(t){const e=this._getPlayer(t);e.destroy(),delete this._playersById[t];const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById[t];if(!e)throw new Error(`Unable to find the timeline player referenced by ${t}`);return e}listen(t,e,n,r){const i=h(e,"","","");return c(this._getPlayer(t),n,i,r),()=>{}}command(t,e,n,r){if("register"==n)return void this.register(t,r[0]);if("create"==n)return void this.create(t,e,r[0]||{});const i=this._getPlayer(t);switch(n){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(r[0]));break;case"destroy":this.destroy(t)}}}const Dt="ng-animate-queued",Lt="ng-animate-disabled",Nt=".ng-animate-disabled",Ft=[],zt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rt={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},jt="__ng_removed";class Bt{constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value");if(this.value=null!=(r=n?t.value:t)?r:null,n){const e=F(t);delete e.value,this.options=e}else this.options={};var r;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(t){const e=t.params;if(e){const t=this.options.params;Object.keys(e).forEach(n=>{null==t[n]&&(t[n]=e[n])})}}}const Ht="void",Ut=new Bt(Ht);class Vt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Xt(e,this._hostClassName)}listen(t,e,n,r){if(!this._triggers.hasOwnProperty(e))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${e}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${e}" because the provided event is undefined!`);if("start"!=(i=n)&&"done"!=i)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${e}" is not supported!`);var i;const o=d(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};o.push(s);const a=d(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(Xt(t,S),Xt(t,S+"-"+e),a[e]=Ut),()=>{this._engine.afterFlush(()=>{const t=o.indexOf(s);t>=0&&o.splice(t,1),this._triggers[e]||delete a[e]})}}register(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}_getTrigger(t){const e=this._triggers[t];if(!e)throw new Error(`The provided animation trigger "${t}" has not been registered!`);return e}trigger(t,e,n,r=!0){const i=this._getTrigger(e),o=new Zt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Xt(t,S),Xt(t,S+"-"+e),this._engine.statesByElement.set(t,s={}));let a=s[e];const l=new Bt(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s[e]=l,a||(a=Ut),l.value!==Ht&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i{H(t,n),B(t,r)})}return}const c=d(this._engine.playersByElement,t,[]);c.forEach(t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()});let u=i.matchTransition(a.value,l.value,t,l.params),h=!1;if(!u){if(!r)return;u=i.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:h}),h||(Xt(t,Dt),o.onStart(()=>{Wt(t,Dt)})),o.onDone(()=>{let e=this.players.indexOf(o);e>=0&&this.players.splice(e,1);const n=this._engine.playersByElement.get(t);if(n){let t=n.indexOf(o);t>=0&&n.splice(t,1)}}),this.players.push(o),c.push(o),o}deregister(t){delete this._triggers[t],this._engine.statesByElement.forEach((e,n)=>{delete e[t]}),this._elementListeners.forEach((e,n)=>{this._elementListeners.set(n,e.filter(e=>e.name!=t))})}clearElementCache(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);const e=this._engine.playersByElement.get(t);e&&(e.forEach(t=>t.destroy()),this._engine.playersByElement.delete(t))}_signalRemovalForInnerTriggers(t,e){const n=this._engine.driver.query(t,E,!0);n.forEach(t=>{if(t[jt])return;const n=this._engine.fetchNamespacesByElement(t);n.size?n.forEach(n=>n.triggerLeaveAnimation(t,e,!1,!0)):this.clearElementCache(t)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(t=>this.clearElementCache(t)))}triggerLeaveAnimation(t,e,n,r){const i=this._engine.statesByElement.get(t);if(i){const o=[];if(Object.keys(i).forEach(e=>{if(this._triggers[e]){const n=this.trigger(t,e,Ht,r);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&a(o).onDone(()=>this._engine.processLeaveNode(t)),!0}return!1}prepareLeaveAnimationListeners(t){const e=this._elementListeners.get(t),n=this._engine.statesByElement.get(t);if(e&&n){const r=new Set;e.forEach(e=>{const i=e.name;if(r.has(i))return;r.add(i);const o=this._triggers[i].fallbackTransition,s=n[i]||Ut,a=new Bt(Ht),l=new Zt(this.id,i,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:i,transition:o,fromState:s,toState:a,player:l,isFallbackTransition:!0})})}}removeNode(t,e){const n=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),this.triggerLeaveAnimation(t,e,!0))return;let r=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)r=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(t),r)n.markElementAsRemoved(this.id,t,!1,e);else{const r=t[jt];(!r||r===zt)&&(n.afterFlush(()=>this.clearElementCache(t)),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Xt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach(n=>{const r=n.player;if(r.destroyed)return;const i=n.element,o=this._elementListeners.get(i);o&&o.forEach(e=>{if(e.name==n.triggerName){const r=h(i,n.triggerName,n.fromState.value,n.toState.value);r._data=t,c(n.player,e.phase,r,e.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):e.push(n)}),this._queue=[],e.sort((t,e)=>{const n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:this._engine.driver.containsElement(t.element,e.element)?1:-1})}destroy(t){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,t)}elementContainsData(t){let e=!1;return this._elementListeners.has(t)&&(e=!0),e=!!this._queue.find(e=>e.element===t)||e,e}}class qt{constructor(t,e,n){this.bodyNode=t,this.driver=e,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(t,e)=>{}}_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}get queuedPlayers(){const t=[];return this._namespaceList.forEach(e=>{e.players.forEach(e=>{e.queued&&t.push(e)})}),t}createNamespace(t,e){const n=new Vt(t,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}_balanceNamespaceList(t,e){const n=this._namespaceList.length-1;if(n>=0){let r=!1;for(let i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}register(t,e){let n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}registerTrigger(t,e,n){let r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++}destroy(t,e){if(!t)return;const n=this._fetchNamespace(t);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[t];const e=this._namespaceList.indexOf(n);e>=0&&this._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(()=>n.destroy(e))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n){const t=Object.keys(n);for(let r=0;r=0&&this.collectedLeaveElements.splice(t,1)}if(t){const r=this._fetchNamespace(t);r&&r.insertNode(e,n)}r&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Xt(t,Lt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Wt(t,Lt))}removeNode(t,e,n,r){if(Yt(e)){const i=t?this._fetchNamespace(t):null;if(i?i.removeNode(e,r):this.markElementAsRemoved(t,e,!1,r),n){const n=this.namespacesByHostElement.get(e);n&&n.id!==t&&n.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(t,e,n,r){this.collectedLeaveElements.push(e),e[jt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}listen(t,e,n,r,i){return Yt(e)?this._fetchNamespace(t).listen(e,n,r,i):()=>{}}_buildInstruction(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)}destroyInnerAnimations(t){let e=this.driver.query(t,E,!0);e.forEach(t=>this.destroyActiveAnimationsForElement(t)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,I,!0),e.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(t){const e=this.playersByElement.get(t);e&&e.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(t){const e=this.playersByQueriedElement.get(t);e&&e.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(t=>{if(this.players.length)return a(this.players).onDone(()=>t());t()})}processLeaveNode(t){const e=t[jt];if(e&&e.setForRemoval){if(t[jt]=zt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}this.driver.matchesElement(t,Nt)&&this.markElementAsDisabled(t,!1),this.driver.query(t,Nt,!0).forEach(t=>{this.markElementAsDisabled(t,!1)})}flush(t=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,e)=>this._balanceNamespaceList(t,e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;nt()),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?a(e).onDone(()=>{t.forEach(t=>t())}):t.forEach(t=>t())}}reportError(t){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${t.join("\n")}`)}_flushAnimations(t,e){const n=new dt,i=[],o=new Map,s=[],l=new Map,c=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(t=>{h.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let n=0;n{const n=T+v++;m.set(e,n),t.forEach(t=>Xt(t,n))});const _=[],y=new Set,b=new Set;for(let r=0;ry.add(t)):b.add(t))}const w=new Map,C=Jt(f,Array.from(y));C.forEach((t,e)=>{const n=M+v++;w.set(e,n),t.forEach(t=>Xt(t,n))}),t.push(()=>{g.forEach((t,e)=>{const n=m.get(e);t.forEach(t=>Wt(t,n))}),C.forEach((t,e)=>{const n=w.get(e);t.forEach(t=>Wt(t,n))}),_.forEach(t=>{this.processLeaveNode(t)})});const x=[],O=[];for(let r=this._namespaceList.length-1;r>=0;r--)this._namespaceList[r].drainQueuedTransitions(e).forEach(t=>{const e=t.player,r=t.element;if(x.push(e),this.collectedEnterElements.length){const t=r[jt];if(t&&t.setForMove)return void e.destroy()}const o=!p||!this.driver.containsElement(p,r),a=w.get(r),h=m.get(r),f=this._buildInstruction(t,n,h,a,o);if(f.errors&&f.errors.length)O.push(f);else{if(o)return e.onStart(()=>H(r,f.fromStyles)),e.onDestroy(()=>B(r,f.toStyles)),void i.push(e);if(t.isFallbackTransition)return e.onStart(()=>H(r,f.fromStyles)),e.onDestroy(()=>B(r,f.toStyles)),void i.push(e);f.timelines.forEach(t=>t.stretchStartingKeyframe=!0),n.append(r,f.timelines),s.push({instruction:f,player:e,element:r}),f.queriedElements.forEach(t=>d(l,t,[]).push(e)),f.preStyleProps.forEach((t,e)=>{const n=Object.keys(t);if(n.length){let t=c.get(e);t||c.set(e,t=new Set),n.forEach(e=>t.add(e))}}),f.postStyleProps.forEach((t,e)=>{const n=Object.keys(t);let r=u.get(e);r||u.set(e,r=new Set),n.forEach(t=>r.add(t))})}});if(O.length){const t=[];O.forEach(e=>{t.push(`@${e.triggerName} has failed due to:\n`),e.errors.forEach(e=>t.push(`- ${e}\n`))}),x.forEach(t=>t.destroy()),this.reportError(t)}const k=new Map,P=new Map;s.forEach(t=>{const e=t.element;n.has(e)&&(P.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),i.forEach(t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(t=>{d(k,e,[]).push(t),t.destroy()})});const S=_.filter(t=>ee(t,c,u)),E=new Map;Gt(E,this.driver,b,u,r.l3).forEach(t=>{ee(t,c,u)&&S.push(t)});const A=new Map;g.forEach((t,e)=>{Gt(A,this.driver,new Set(t),c,r.k1)}),S.forEach(t=>{const e=E.get(t),n=A.get(t);E.set(t,Object.assign(Object.assign({},e),n))});const D=[],L=[],N={};s.forEach(t=>{const{element:e,player:r,instruction:s}=t;if(n.has(e)){if(h.has(e))return r.onDestroy(()=>B(e,s.toStyles)),r.disabled=!0,r.overrideTotalTime(s.totalTime),void i.push(r);let t=N;if(P.size>1){let n=e;const r=[];for(;n=n.parentNode;){const e=P.get(n);if(e){t=e;break}r.push(n)}r.forEach(e=>P.set(e,t))}const n=this._buildAnimation(r.namespaceId,s,k,o,A,E);if(r.setRealPlayer(n),t===N)D.push(r);else{const e=this.playersByElement.get(t);e&&e.length&&(r.parentPlayer=a(e)),i.push(r)}}else H(e,s.fromStyles),r.onDestroy(()=>B(e,s.toStyles)),L.push(r),h.has(e)&&i.push(r)}),L.forEach(t=>{const e=o.get(t.element);if(e&&e.length){const n=a(e);t.setRealPlayer(n)}}),i.forEach(t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(let r=0;r<_.length;r++){const t=_[r],e=t[jt];if(Wt(t,M),e&&e.hasAnimation)continue;let n=[];if(l.size){let e=l.get(t);e&&e.length&&n.push(...e);let r=this.driver.query(t,I,!0);for(let t=0;t!t.destroyed);i.length?Kt(this,t,i):this.processLeaveNode(t)}return _.length=0,D.forEach(t=>{this.players.push(t),t.onDone(()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)}),t.play()}),D}elementContainsData(t,e){let n=!1;const r=e[jt];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,r,i){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!i||i==Ht;e.forEach(e=>{e.queued||!t&&e.triggerName!=r||o.push(e)})}}return(n||r)&&(o=o.filter(t=>!(n&&n!=t.namespaceId||r&&r!=t.triggerName))),o}_beforeAnimationBuild(t,e,n){const r=e.element,i=e.isRemovalTransition?void 0:t,o=e.isRemovalTransition?void 0:e.triggerName;for(const s of e.timelines){const t=s.element,a=t!==r,l=d(n,t,[]);this._getPreviousPlayers(t,a,i,o,e.toState).forEach(t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})}H(r,e.fromStyles)}_buildAnimation(t,e,n,i,o,s){const c=e.triggerName,u=e.element,h=[],p=new Set,f=new Set,g=e.timelines.map(e=>{const a=e.element;p.add(a);const d=a[jt];if(d&&d.removedBeforeQueried)return new r.ZN(e.duration,e.delay);const g=a!==u,m=function(t){const e=[];return te(t,e),e}((n.get(a)||Ft).map(t=>t.getRealPlayer())).filter(t=>!!t.element&&t.element===a),v=o.get(a),_=s.get(a),y=l(0,this._normalizer,0,e.keyframes,v,_),b=this._buildPlayer(e,y,m);if(e.subTimeline&&i&&f.add(a),g){const e=new Zt(t,c,a);e.setRealPlayer(b),h.push(e)}return b});h.forEach(t=>{d(this.playersByQueriedElement,t.element,[]).push(t),t.onDone(()=>function(t,e,n){let r;if(t instanceof Map){if(r=t.get(e),r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&t.delete(e)}}else if(r=t[e],r){if(r.length){const t=r.indexOf(n);r.splice(t,1)}0==r.length&&delete t[e]}return r}(this.playersByQueriedElement,t.element,t))}),p.forEach(t=>Xt(t,A));const m=a(g);return m.onDestroy(()=>{p.forEach(t=>Wt(t,A)),B(u,e.toStyles)}),f.forEach(t=>{d(i,t,[]).push(m)}),m}_buildPlayer(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new r.ZN(t.duration,t.delay)}}class Zt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new r.ZN,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(n=>c(t,e,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(t){this.totalTime=t}syncPlayerEvents(t){const e=this._player;e.triggerCallback&&t.onStart(()=>e.triggerCallback("start")),t.onDone(()=>this.finish()),t.onDestroy(()=>this.destroy())}_queueEvent(t,e){d(this._queuedCallbacks,t,[]).push(e)}onDone(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}onStart(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}onDestroy(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}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(t){this.queued||this._player.setPosition(t)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(t){const e=this._player;e.triggerCallback&&e.triggerCallback(t)}}function Yt(t){return t&&1===t.nodeType}function $t(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function Gt(t,e,n,r,i){const o=[];n.forEach(t=>o.push($t(t)));const s=[];r.forEach((n,r)=>{const o={};n.forEach(t=>{const n=o[t]=e.computeStyle(r,t,i);(!n||0==n.length)&&(r[jt]=Rt,s.push(r))}),t.set(r,o)});let a=0;return n.forEach(t=>$t(t,o[a++])),s}function Jt(t,e){const n=new Map;if(t.forEach(t=>n.set(t,[])),0==e.length)return n;const r=new Set(e),i=new Map;function o(t){if(!t)return 1;let e=i.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:r.has(s)?1:o(s),i.set(t,e),e}return e.forEach(t=>{const e=o(t);1!==e&&n.get(e).push(t)}),n}const Qt="$$classes";function Xt(t,e){if(t.classList)t.classList.add(e);else{let n=t[Qt];n||(n=t[Qt]={}),n[e]=!0}}function Wt(t,e){if(t.classList)t.classList.remove(e);else{let n=t[Qt];n&&delete n[e]}}function Kt(t,e,n){a(n).onDone(()=>t.processLeaveNode(e))}function te(t,e){for(let n=0;ni.add(t)):e.set(t,r),n.delete(t),!0}class ne{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new qt(t,e,n),this._timelineEngine=new It(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,r,i){const o=t+"-"+r;let s=this._triggerCache[o];if(!s){const t=[],e=ot(this._driver,i,t);if(t.length)throw new Error(`The animation trigger "${r}" has failed to build due to the following errors:\n - ${t.join("\n - ")}`);s=function(t,e,n){return new St(t,e,n)}(r,e,this._normalizer),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)}onRemove(t,e,n,r){this._transitionEngine.removeNode(t,e,r||!1,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,r){if("@"==n.charAt(0)){const[t,i]=p(n);this._timelineEngine.command(t,e,i,r)}else this._transitionEngine.trigger(t,e,n,r)}listen(t,e,n,r,i){if("@"==n.charAt(0)){const[t,r]=p(n);return this._timelineEngine.listen(t,e,r,i)}return this._transitionEngine.listen(t,e,n,r,i)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function re(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=oe(e[0]),e.length>1&&(r=oe(e[e.length-1]))):e&&(n=oe(e)),n||r?new ie(t,n,r):null}let ie=(()=>{class t{constructor(e,n,r){this._element=e,this._startStyles=n,this._endStyles=r,this._state=0;let i=t.initialStylesByElement.get(e);i||t.initialStylesByElement.set(e,i={}),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&B(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(B(this._element,this._initialStyles),this._endStyles&&(B(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(H(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(H(this._element,this._endStyles),this._endStyles=null),B(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function oe(t){let e=null;const n=Object.keys(t);for(let r=0;rthis._handleCallback(t)}apply(){(function(t,e){const n=ge(t,"").trim();let r=0;n.length&&(function(t,e){let n=0;for(let r=0;r=this._delay&&n>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),pe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(t,e){const n=ge(t,"").split(","),r=de(n,e);r>=0&&(n.splice(r,1),fe(t,"",n.join(",")))}(this._element,this._name))}}function ue(t,e,n){fe(t,"PlayState",n,he(t,e))}function he(t,e){const n=ge(t,"");return n.indexOf(",")>0?de(n.split(","),e):de([n],e)}function de(t,e){for(let n=0;n=0)return n;return-1}function pe(t,e,n){n?t.removeEventListener(le,e):t.addEventListener(le,e)}function fe(t,e,n,r){const i=ae+e;if(null!=r){const e=t.style[i];if(e.length){const t=e.split(",");t[r]=n,n=t.join(",")}}t.style[i]=n}function ge(t,e){return t.style[ae+e]||""}class me{constructor(t,e,n,r,i,o,s,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+i,this._buildStyler()}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(t=>t()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(t=>t()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(t){this._styler.setPosition(t)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new ce(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}beforeDestroy(){this.init();const t={};if(this.hasStarted()){const e=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(t[n]=e?this._finalStyles[n]:K(this.element,n))})}this.currentSnapshot=t}}class ve extends r.ZN{constructor(t,e){super(),this.element=t,this._startingStyles={},this.__initialized=!1,this._styles=O(e)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(t=>{this._startingStyles[t]=this.element.style[t]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(t=>this.element.style.setProperty(t,this._styles[t])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(t=>{const e=this._startingStyles[t];e?this.element.style.setProperty(t,e):this.element.style.removeProperty(t)}),this._startingStyles=null,super.destroy())}}class _e{constructor(){this._count=0}validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}buildKeyframeElement(t,e,n){n=n.map(t=>O(t));let r=`@keyframes ${e} {\n`,i="";n.forEach(t=>{i=" ";const e=parseFloat(t.offset);r+=`${i}${100*e}% {\n`,i+=" ",Object.keys(t).forEach(e=>{const n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=`${i}animation-timing-function: ${n};\n`));default:return void(r+=`${i}${e}: ${n};\n`)}}),r+=`${i}}\n`}),r+="}\n";const o=document.createElement("style");return o.textContent=r,o}animate(t,e,n,r,i,o=[],s){const a=o.filter(t=>t instanceof me),l={};Q(n,r)&&a.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const c=function(t){let e={};return t&&(Array.isArray(t)?t:[t]).forEach(t=>{Object.keys(t).forEach(n=>{"offset"==n||"easing"==n||(e[n]=t[n])})}),e}(e=X(t,e,l));if(0==n)return new ve(t,c);const u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,u,e);(function(t){var e;const n=null===(e=t.getRootNode)||void 0===e?void 0:e.call(t);return"undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot?n:document.head})(t).appendChild(h);const d=re(t,e),p=new me(t,e,u,n,r,i,c,d);return p.onDestroy(()=>{var t;(t=h).parentNode.removeChild(t)}),p}}class ye{constructor(t,e,n,r){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(t=>t()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(t,e,n){return t.animate(e,n)}onStart(t){this._onStartFns.push(t)}onDone(t){this._onDoneFns.push(t)}onDestroy(t){this._onDestroyFns.push(t)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(t=>t()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(t=>t()),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(e=>{"offset"!=e&&(t[e]=this._finished?this._finalKeyframe[e]:K(this.element,e))}),this.currentSnapshot=t}triggerCallback(t){const e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class be{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ce().toString()),this._cssKeyframesDriver=new _e}validateStyleProperty(t){return b(t)}matchesElement(t,e){return w(t,e)}containsElement(t,e){return C(t,e)}query(t,e,n){return x(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}overrideWebAnimationsSupport(t){this._isNativeImpl=t}animate(t,e,n,r,i,o=[],s){if(!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);const a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);const l={},c=o.filter(t=>t instanceof ye);Q(n,r)&&c.forEach(t=>{let e=t.currentSnapshot;Object.keys(e).forEach(t=>l[t]=e[t])});const u=re(t,e=X(t,e=e.map(t=>z(t,!1)),l));return new ye(t,e,a,u)}}function we(){return"function"==typeof Ce()}function Ce(){return o()&&Element.prototype.animate||{}}},12057:function(t,e,n){"use strict";n.d(e,{mr:function(){return b},Ov:function(){return $},ez:function(){return X},K0:function(){return l},Do:function(){return C},Gx:function(){return J},Ts:function(){return Q},V_:function(){return h},Ye:function(){return x},S$:function(){return _},$G:function(){return A},sg:function(){return D},O5:function(){return N},RF:function(){return j},n9:function(){return B},tP:function(){return H},b0:function(){return w},lw:function(){return c},EM:function(){return et},JF:function(){return it},NF:function(){return K},PM:function(){return tt},w_:function(){return a},bD:function(){return W},q:function(){return o},Mx:function(){return E},HT:function(){return s}});var r=n(74788);let i=null;function o(){return i}function s(t){i||(i=t)}class a{}const l=new r.OlP("DocumentToken");let c=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return(0,r.LFG)(d)}const h=new r.OlP("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("popstate",t,!1),()=>e.removeEventListener("popstate",t)}onHashChange(t){const e=o().getGlobalEventTarget(this._doc,"window");return e.addEventListener("hashchange",t,!1),()=>e.removeEventListener("hashchange",t)}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(t){this.location.pathname=t}pushState(t,e,n){p()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){p()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(l))},t.\u0275prov=(0,r.Yz7)({factory:f,token:t,providedIn:"platform"}),t})();function p(){return!!window.history.pushState}function f(){return new d((0,r.LFG)(l))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function v(t){return t&&"?"!==t[0]?"?"+t:t}let _=(()=>{class t{historyGo(t){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,r.Yz7)({factory:y,token:t,providedIn:"root"}),t})();function y(t){const e=(0,r.LFG)(l).location;return new w((0,r.LFG)(c),e&&e.origin||"")}const b=new r.OlP("appBaseHref");let w=(()=>{class t extends _{constructor(t,e){if(super(),this._platformLocation=t,this._removeListenerFns=[],null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(c),r.LFG(b,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),C=(()=>{class t extends _{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=e&&(this._baseHref=e)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformLocation).historyGo)||void 0===n||n.call(e,t)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(c),r.LFG(b,8))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t{constructor(t,e){this._subject=new r.vpe,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(k(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+v(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,k(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(t=0){var e,n;null===(n=(e=this._platformStrategy).historyGo)||void 0===n||n.call(e,t)}onUrlChange(t){this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)}))}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(_),r.LFG(c))},t.normalizeQueryParams=v,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=(0,r.Yz7)({factory:O,token:t,providedIn:"root"}),t})();function O(){return new x((0,r.LFG)(_),(0,r.LFG)(c))}function k(t){return t.replace(/\/index.html$/,"")}var P=(()=>((P=P||{})[P.Zero=0]="Zero",P[P.One=1]="One",P[P.Two=2]="Two",P[P.Few=3]="Few",P[P.Many=4]="Many",P[P.Other=5]="Other",P))();const T=r.kL8;class M{}let S=(()=>{class t extends M{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(T(e||this.locale)(t)){case P.Zero:return"zero";case P.One:return"one";case P.Two:return"two";case P.Few:return"few";case P.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.soG))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();function E(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}let A=(()=>{class t{constructor(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}ngOnChanges(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const t=e.get(r.h0i);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(t.injector)}else this._moduleRef=null;const n=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(r._Vd)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(n,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[r.TTD]}),t})();class I{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let D=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${e}' of type '${function(t){return t.name||typeof t}(e)}'. NgFor only supports binding to Iterables such as Arrays.`)}}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new I(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new L(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new L(t,i);e.push(o)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(r.ZZ4))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class L{constructor(t,e){this.record=t,this.view=e}}let N=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new F,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){z("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){z("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class F{constructor(){this.$implicit=null,this.ngIf=null}}function z(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,r.AaK)(e)}'.`)}class R{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let j=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new R(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc),r.Y36(j,9))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),H=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(t.ngTemplateOutlet){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.TTD]}),t})();function U(t,e){return Error(`InvalidPipeArgument: '${e}' for pipe '${(0,r.AaK)(t)}'`)}class V{createSubscription(t,e){return t.subscribe({next:e,error:t=>{throw t}})}dispose(t){t.unsubscribe()}onDestroy(t){t.unsubscribe()}}class q{createSubscription(t,e){return t.then(e,t=>{throw t})}dispose(t){}onDestroy(t){}}const Z=new q,Y=new V;let $=(()=>{class t{constructor(t){this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue:(t&&this._subscribe(t),this._latestValue)}_subscribe(t){this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,e=>this._updateLatestValue(t,e))}_selectStrategy(e){if((0,r.QGY)(e))return Z;if((0,r.F4k)(e))return Y;throw U(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO,16))},t.\u0275pipe=r.Yjl({name:"async",type:t,pure:!1}),t})();const G=/#/g;let J=(()=>{class t{constructor(t){this._localization=t}transform(e,n,r){if(null==e)return"";if("object"!=typeof n||null===n)throw U(t,n);return n[function(t,e,n,r){let i=`=${t}`;if(e.indexOf(i)>-1||(i=n.getPluralCategory(t,r),e.indexOf(i)>-1))return i;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}(e,Object.keys(n),this._localization,r)].replace(G,e.toString())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(M,16))},t.\u0275pipe=r.Yjl({name:"i18nPlural",type:t,pure:!0}),t})(),Q=(()=>{class t{transform(t){return JSON.stringify(t,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"json",type:t,pure:!1}),t})(),X=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[{provide:M,useClass:S}]}),t})();const W="browser";function K(t){return t===W}function tt(t){return"server"===t}let et=(()=>{class t{}return t.\u0275prov=(0,r.Yz7)({token:t,providedIn:"root",factory:()=>new nt((0,r.LFG)(l),window)}),t})();class nt{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const e=function(t,e){const n=t.getElementById(e)||t.getElementsByName(e)[0];if(n)return n;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=n.currentNode;for(;r;){const t=r.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}r=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),this.attemptFocus(e))}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}attemptFocus(t){return t.focus(),this.document.activeElement===t}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=rt(this.window.history)||rt(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(t){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}function rt(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class it{}},58497:function(t,e,n){"use strict";n.d(e,{eN:function(){return E},JF:function(){return V}});var r=n(12057),i=n(74788),o=n(25917),s=n(29856),a=n(94612),l=n(45435),c=n(88002);class u{}class h{}class d{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(t=>{const e=t.indexOf(":");if(e>0){const n=t.slice(0,e),r=n.toLowerCase(),i=t.slice(e+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(i):this.headers.set(r,[i])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(e=>{let n=t[e];const r=e.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(r,n),this.maybeSetNormalizedName(e,r))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,e){return this.clone({name:t,value:e,op:"a"})}set(t,e){return this.clone({name:t,value:e,op:"s"})}delete(t,e){return this.clone({name:t,value:e,op:"d"})}maybeSetNormalizedName(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(e=>{this.headers.set(e,t.headers.get(e)),this.normalizedNames.set(e,t.normalizedNames.get(e))})}clone(t){const e=new d;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e}applyUpdate(t){const e=t.name.toLowerCase();switch(t.op){case"a":case"s":let n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);const r=("a"===t.op?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":const i=t.value;if(i){let t=this.headers.get(e);if(!t)return;t=t.filter(t=>-1===i.indexOf(t)),0===t.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,t)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>t(this.normalizedNames.get(e),this.headers.get(e)))}}class p{encodeKey(t){return m(t)}encodeValue(t){return m(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const f=/%(\d[a-f0-9])/gi,g={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function m(t){return encodeURIComponent(t).replace(f,(t,e)=>{var n;return null!==(n=g[e])&&void 0!==n?n:t})}function v(t){return`${t}`}class _{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new p,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(t=>{const r=t.indexOf("="),[i,o]=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],s=n.get(i)||[];s.push(o),n.set(i,s)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(e=>{const n=t.fromObject[e];this.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const e=this.map.get(t);return e?e[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,e){return this.clone({param:t,value:e,op:"a"})}appendAll(t){const e=[];return Object.keys(t).forEach(n=>{const r=t[n];Array.isArray(r)?r.forEach(t=>{e.push({param:n,value:t,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(t,e){return this.clone({param:t,value:e,op:"s"})}delete(t,e){return this.clone({param:t,value:e,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const e=this.encoder.encodeKey(t);return this.map.get(t).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const e=new _({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(t),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const e=("a"===t.op?this.map.get(t.param):void 0)||[];e.push(v(t.value)),this.map.set(t.param,e);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let e=this.map.get(t.param)||[];const n=e.indexOf(v(t.value));-1!==n&&e.splice(n,1),e.length>0?this.map.set(t.param,e):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class y{constructor(){this.map=new Map}set(t,e){return this.map.set(t,e),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}keys(){return this.map.keys()}}function b(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function w(t){return"undefined"!=typeof Blob&&t instanceof Blob}function C(t){return"undefined"!=typeof FormData&&t instanceof FormData}class x{constructor(t,e,n,r){let i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new d),this.context||(this.context=new y),this.params){const t=this.params.toString();if(0===t.length)this.urlWithParams=e;else{const n=e.indexOf("?");this.urlWithParams=e+(-1===n?"?":ne.set(n,t.setHeaders[n]),l)),t.setParams&&(c=Object.keys(t.setParams).reduce((e,n)=>e.set(n,t.setParams[n]),c)),new x(n,r,o,{params:c,headers:l,context:u,reportProgress:a,responseType:i,withCredentials:s})}}var O=(()=>((O=O||{})[O.Sent=0]="Sent",O[O.UploadProgress=1]="UploadProgress",O[O.ResponseHeader=2]="ResponseHeader",O[O.DownloadProgress=3]="DownloadProgress",O[O.Response=4]="Response",O[O.User=5]="User",O))();class k{constructor(t,e=200,n="OK"){this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class P extends k{constructor(t={}){super(t),this.type=O.ResponseHeader}clone(t={}){return new P({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})}}class T extends k{constructor(t={}){super(t),this.type=O.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new T({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})}}class M extends k{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function S(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let E=(()=>{class t{constructor(t){this.handler=t}request(t,e,n={}){let r;if(t instanceof x)r=t;else{let i,o;i=n.headers instanceof d?n.headers:new d(n.headers),n.params&&(o=n.params instanceof _?n.params:new _({fromObject:n.params})),r=new x(t,e,void 0!==n.body?n.body:null,{headers:i,context:n.context,params:o,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const i=(0,o.of)(r).pipe((0,a.b)(t=>this.handler.handle(t)));if(t instanceof x||"events"===n.observe)return i;const s=i.pipe((0,l.h)(t=>t instanceof T));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe((0,c.U)(t=>{if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe((0,c.U)(t=>{if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));default:return s.pipe((0,c.U)(t=>t.body))}case"response":return s;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(t,e={}){return this.request("DELETE",t,e)}get(t,e={}){return this.request("GET",t,e)}head(t,e={}){return this.request("HEAD",t,e)}jsonp(t,e){return this.request("JSONP",t,{params:(new _).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,e={}){return this.request("OPTIONS",t,e)}patch(t,e,n={}){return this.request("PATCH",t,S(n,e))}post(t,e,n={}){return this.request("POST",t,S(n,e))}put(t,e,n={}){return this.request("PUT",t,S(n,e))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(u))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class A{constructor(t,e){this.next=t,this.interceptor=e}handle(t){return this.interceptor.intercept(t,this.next)}}const I=new i.OlP("HTTP_INTERCEPTORS");let D=(()=>{class t{intercept(t,e){return e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const L=/^\)\]\}',?\n/;let N=(()=>{class t{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new s.y(e=>{const n=this.xhrFactory.build();if(n.open(t.method,t.urlWithParams),t.withCredentials&&(n.withCredentials=!0),t.headers.forEach((t,e)=>n.setRequestHeader(t,e.join(","))),t.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const e=t.detectContentTypeHeader();null!==e&&n.setRequestHeader("Content-Type",e)}if(t.responseType){const e=t.responseType.toLowerCase();n.responseType="json"!==e?e:"text"}const r=t.serializeBody();let i=null;const o=()=>{if(null!==i)return i;const e=1223===n.status?204:n.status,r=n.statusText||"OK",o=new d(n.getAllResponseHeaders()),s=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(n)||t.url;return i=new P({headers:o,status:e,statusText:r,url:s}),i},s=()=>{let{headers:r,status:i,statusText:s,url:a}=o(),l=null;204!==i&&(l=void 0===n.response?n.responseText:n.response),0===i&&(i=l?200:0);let c=i>=200&&i<300;if("json"===t.responseType&&"string"==typeof l){const t=l;l=l.replace(L,"");try{l=""!==l?JSON.parse(l):null}catch(u){l=t,c&&(c=!1,l={error:u,text:l})}}c?(e.next(new T({body:l,headers:r,status:i,statusText:s,url:a||void 0})),e.complete()):e.error(new M({error:l,headers:r,status:i,statusText:s,url:a||void 0}))},a=t=>{const{url:r}=o(),i=new M({error:t,status:n.status||0,statusText:n.statusText||"Unknown Error",url:r||void 0});e.error(i)};let l=!1;const c=r=>{l||(e.next(o()),l=!0);let i={type:O.DownloadProgress,loaded:r.loaded};r.lengthComputable&&(i.total=r.total),"text"===t.responseType&&!!n.responseText&&(i.partialText=n.responseText),e.next(i)},u=t=>{let n={type:O.UploadProgress,loaded:t.loaded};t.lengthComputable&&(n.total=t.total),e.next(n)};return n.addEventListener("load",s),n.addEventListener("error",a),n.addEventListener("timeout",a),n.addEventListener("abort",a),t.reportProgress&&(n.addEventListener("progress",c),null!==r&&n.upload&&n.upload.addEventListener("progress",u)),n.send(r),e.next({type:O.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("abort",a),n.removeEventListener("load",s),n.removeEventListener("timeout",a),t.reportProgress&&(n.removeEventListener("progress",c),null!==r&&n.upload&&n.upload.removeEventListener("progress",u)),n.readyState!==n.DONE&&n.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.JF))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const F=new i.OlP("XSRF_COOKIE_NAME"),z=new i.OlP("XSRF_HEADER_NAME");class R{}let j=(()=>{class t{constructor(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,r.Mx)(t,this.cookieName),this.lastCookieString=t),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(F))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t{constructor(t,e){this.tokenService=t,this.headerName=e}intercept(t,e){const n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);const r=this.tokenService.getToken();return null!==r&&!t.headers.has(this.headerName)&&(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(R),i.LFG(z))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t{constructor(t,e){this.backend=t,this.injector=e,this.chain=null}handle(t){if(null===this.chain){const t=this.injector.get(I,[]);this.chain=t.reduceRight((t,e)=>new A(t,e),this.backend)}return this.chain.handle(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(h),i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),U=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:B,useClass:D}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:F,useValue:e.cookieName}:[],e.headerName?{provide:z,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[B,{provide:I,useExisting:B,multi:!0},{provide:R,useClass:j},{provide:F,useValue:"XSRF-TOKEN"},{provide:z,useValue:"X-XSRF-TOKEN"}]}),t})(),V=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:[E,{provide:u,useClass:H},N,{provide:h,useExisting:N}],imports:[[U.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})()},74788:function(t,e,n){"use strict";n.d(e,{deG:function(){return ln},tb:function(){return ac},AFp:function(){return nc},ip1:function(){return tc},CZH:function(){return ec},hGG:function(){return Wc},z2F:function(){return Uc},sBO:function(){return Za},Sil:function(){return _c},_Vd:function(){return ga},EJc:function(){return uc},SBq:function(){return ya},qLn:function(){return si},vpe:function(){return Ll},gxx:function(){return Co},tBr:function(){return Dn},XFs:function(){return A},OlP:function(){return an},zs3:function(){return zo},ZZ4:function(){return Ra},aQg:function(){return Ba},soG:function(){return cc},YKP:function(){return el},v3s:function(){return qc},h0i:function(){return tl},PXZ:function(){return zc},R0b:function(){return wc},FiY:function(){return Ln},Lbi:function(){return sc},g9A:function(){return oc},n_E:function(){return Fl},Qsj:function(){return Ca},FYo:function(){return wa},JOm:function(){return zn},Tiy:function(){return Oa},q3G:function(){return ti},PiD:function(){return Nn},tp0:function(){return Fn},EAV:function(){return $c},Rgc:function(){return Qa},dDg:function(){return Mc},DyG:function(){return cn},GfV:function(){return ka},s_b:function(){return rl},ifc:function(){return z},eFA:function(){return Rc},Ez6:function(){return C},Gpc:function(){return p},f3M:function(){return Mn},X6Q:function(){return Lc},_c5:function(){return Qc},VLi:function(){return Ac},c2e:function(){return lc},zSh:function(){return Oo},wAp:function(){return ta},vHH:function(){return m},EiD:function(){return Wr},mCW:function(){return Fr},qzn:function(){return kr},JVY:function(){return Tr},pB0:function(){return Ar},eBb:function(){return Sr},L6k:function(){return Mr},LAX:function(){return Er},cg1:function(){return Xs},Tjo:function(){return Jc},kL8:function(){return Ws},yhl:function(){return Pr},dqk:function(){return H},sIi:function(){return $o},CqO:function(){return gs},QGY:function(){return ps},F4k:function(){return fs},RDi:function(){return Pt},AaK:function(){return u},z3N:function(){return Or},qOj:function(){return jo},TTD:function(){return _t},_Bn:function(){return ha},xp6:function(){return Oi},uIk:function(){return Ko},Tol:function(){return As},ekj:function(){return Es},Suo:function(){return Gl},Xpm:function(){return W},lG2:function(){return ot},Yz7:function(){return w},cJS:function(){return x},oAB:function(){return nt},Yjl:function(){return st},Y36:function(){return ns},_UZ:function(){return ls},GkF:function(){return hs},BQk:function(){return us},ynx:function(){return cs},qZA:function(){return as},TgZ:function(){return ss},EpF:function(){return ds},n5z:function(){return en},Ikx:function(){return Ys},LFG:function(){return Tn},$8M:function(){return rn},$Z:function(){return rs},NdJ:function(){return ms},CRH:function(){return Jl},kcU:function(){return be},O4$:function(){return ye},oxw:function(){return ys},ALo:function(){return Pl},lcZ:function(){return Tl},xi3:function(){return Ml},Dn7:function(){return Sl},G7q:function(){return El},Hsn:function(){return Cs},F$t:function(){return ws},Q6J:function(){return is},DdM:function(){return _l},VKq:function(){return yl},WLB:function(){return bl},qbA:function(){return wl},iGM:function(){return Yl},MAs:function(){return es},evT:function(){return ci},Jf7:function(){return li},CHM:function(){return Zt},oJD:function(){return ei},LSH:function(){return ni},kYT:function(){return rt},Udp:function(){return Ss},d8E:function(){return $s},YNc:function(){return ts},W1O:function(){return Kl},_uU:function(){return Us},Oqu:function(){return Vs},hij:function(){return qs},AsE:function(){return Zs},Gf:function(){return $l}});var r=n(79765),i=n(59178),o=n(29856),s=n(66682),a=n(9945);function l(t){for(let e in t)if(t[e]===l)return e;throw Error("Could not find renamed property on target object.")}function c(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(u).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function h(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const d=l({__forward_ref__:l});function p(t){return t.__forward_ref__=p,t.toString=function(){return u(this())},t}function f(t){return g(t)?t():t}function g(t){return"function"==typeof t&&t.hasOwnProperty(d)&&t.__forward_ref__===p}class m extends Error{constructor(t,e){super(function(t,e){return`${t?`NG0${t}: `:""}${e}`}(t,e)),this.code=t}}function v(t){return"string"==typeof t?t:null==t?"":String(t)}function _(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():v(t)}function y(t,e){const n=e?` in ${e}`:"";throw new m("201",`No provider for ${_(t)} found${n}`)}function b(t,e){null==t&&function(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(null==r?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}(e,t,null,"!=")}function w(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}const C=w;function x(t){return{providers:t.providers||[],imports:t.imports||[]}}function O(t){return k(t,T)||k(t,S)}function k(t,e){return t.hasOwnProperty(e)?t[e]:null}function P(t){return t&&(t.hasOwnProperty(M)||t.hasOwnProperty(E))?t[M]:null}const T=l({"\u0275prov":l}),M=l({"\u0275inj":l}),S=l({ngInjectableDef:l}),E=l({ngInjectorDef:l});var A=(()=>((A=A||{})[A.Default=0]="Default",A[A.Host=1]="Host",A[A.Self=2]="Self",A[A.SkipSelf=4]="SkipSelf",A[A.Optional=8]="Optional",A))();let I;function D(t){const e=I;return I=t,e}function L(t,e,n){const r=O(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&A.Optional?null:void 0!==e?e:void y(u(t),"Injector")}function N(t){return{toString:t}.toString()}var F=(()=>((F=F||{})[F.OnPush=0]="OnPush",F[F.Default=1]="Default",F))(),z=(()=>((z=z||{})[z.Emulated=0]="Emulated",z[z.None=2]="None",z[z.ShadowDom=3]="ShadowDom",z))();const R="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,B="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,H=R||"undefined"!=typeof global&&global||j||B,U={},V=[],q=l({"\u0275cmp":l}),Z=l({"\u0275dir":l}),Y=l({"\u0275pipe":l}),$=l({"\u0275mod":l}),G=l({"\u0275loc":l}),J=l({"\u0275fac":l}),Q=l({__NG_ELEMENT_ID__:l});let X=0;function W(t){return N(()=>{const e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===F.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||V,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||z.Emulated,id:"c",styles:t.styles||V,_:null,setInput:null,schemas:t.schemas||null,tView:null},r=t.directives,i=t.features,o=t.pipes;return n.id+=X++,n.inputs=it(t.inputs,e),n.outputs=it(t.outputs),i&&i.forEach(t=>t(n)),n.directiveDefs=r?()=>("function"==typeof r?r():r).map(K):null,n.pipeDefs=o?()=>("function"==typeof o?o():o).map(tt):null,n})}function K(t){return at(t)||function(t){return t[Z]||null}(t)}function tt(t){return function(t){return t[Y]||null}(t)}const et={};function nt(t){return N(()=>{const e={type:t.type,bootstrap:t.bootstrap||V,declarations:t.declarations||V,imports:t.imports||V,exports:t.exports||V,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(et[t.id]=t.type),e})}function rt(t,e){return N(()=>{const n=lt(t,!0);n.declarations=e.declarations||V,n.imports=e.imports||V,n.exports=e.exports||V})}function it(t,e){if(null==t)return U;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const ot=W;function st(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function at(t){return t[q]||null}function lt(t,e){const n=t[$]||null;if(!n&&!0===e)throw new Error(`Type ${u(t)} does not have '\u0275mod' property.`);return n}function ct(t){return Array.isArray(t)&&"object"==typeof t[1]}function ut(t){return Array.isArray(t)&&!0===t[1]}function ht(t){return 0!=(8&t.flags)}function dt(t){return 2==(2&t.flags)}function pt(t){return 1==(1&t.flags)}function ft(t){return null!==t.template}function gt(t){return 0!=(512&t[2])}function mt(t,e){return t.hasOwnProperty(J)?t[J]:null}class vt{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function _t(){return yt}function yt(t){return t.type.prototype.ngOnChanges&&(t.setInput=wt),bt}function bt(){const t=xt(this),e=null==t?void 0:t.current;if(e){const n=t.previous;if(n===U)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function wt(t,e,n,r){const i=xt(t)||function(t,e){return t[Ct]=e}(t,{previous:U,current:null}),o=i.current||(i.current={}),s=i.previous,a=this.declaredInputs[n],l=s[a];o[a]=new vt(l&&l.currentValue,e,s===U),t[r]=e}_t.ngInherit=!0;const Ct="__ngSimpleChanges__";function xt(t){return t[Ct]||null}const Ot="http://www.w3.org/2000/svg";let kt;function Pt(t){kt=t}function Tt(){return void 0!==kt?kt:"undefined"!=typeof document?document:void 0}function Mt(t){return!!t.listen}const St={createRenderer:(t,e)=>Tt()};function Et(t){for(;Array.isArray(t);)t=t[0];return t}function At(t,e){return Et(e[t])}function It(t,e){return Et(e[t.index])}function Dt(t,e){return t.data[e]}function Lt(t,e){return t[e]}function Nt(t,e){const n=e[t];return ct(n)?n:n[0]}function Ft(t){return 4==(4&t[2])}function zt(t){return 128==(128&t[2])}function Rt(t,e){return null==e?null:t[e]}function jt(t){t[18]=0}function Bt(t,e){t[5]+=e;let n=t,r=t[3];for(;null!==r&&(1===e&&1===n[5]||-1===e&&0===n[5]);)r[5]+=e,n=r,r=r[3]}const Ht={lFrame:de(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Ut(){return Ht.bindingsEnabled}function Vt(){return Ht.lFrame.lView}function qt(){return Ht.lFrame.tView}function Zt(t){return Ht.lFrame.contextLView=t,t[8]}function Yt(){let t=$t();for(;null!==t&&64===t.type;)t=t.parent;return t}function $t(){return Ht.lFrame.currentTNode}function Gt(t,e){const n=Ht.lFrame;n.currentTNode=t,n.isParent=e}function Jt(){return Ht.lFrame.isParent}function Qt(){Ht.lFrame.isParent=!1}function Xt(){return Ht.isInCheckNoChangesMode}function Wt(t){Ht.isInCheckNoChangesMode=t}function Kt(){const t=Ht.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function te(){return Ht.lFrame.bindingIndex}function ee(){return Ht.lFrame.bindingIndex++}function ne(t){const e=Ht.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function re(t,e){const n=Ht.lFrame;n.bindingIndex=n.bindingRootIndex=t,ie(e)}function ie(t){Ht.lFrame.currentDirectiveIndex=t}function oe(t){const e=Ht.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function se(){return Ht.lFrame.currentQueryIndex}function ae(t){Ht.lFrame.currentQueryIndex=t}function le(t){const e=t[1];return 2===e.type?e.declTNode:1===e.type?t[6]:null}function ce(t,e,n){if(n&A.SkipSelf){let r=e,i=t;for(;!(r=r.parent,null!==r||n&A.Host||(r=le(i),null===r||(i=i[15],10&r.type))););if(null===r)return!1;e=r,t=i}const r=Ht.lFrame=he();return r.currentTNode=e,r.lView=t,!0}function ue(t){const e=he(),n=t[1];Ht.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function he(){const t=Ht.lFrame,e=null===t?null:t.child;return null===e?de(t):e}function de(t){const e={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:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function pe(){const t=Ht.lFrame;return Ht.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const fe=pe;function ge(){const t=pe();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function me(){return Ht.lFrame.selectedIndex}function ve(t){Ht.lFrame.selectedIndex=t}function _e(){const t=Ht.lFrame;return Dt(t.tView,t.selectedIndex)}function ye(){Ht.lFrame.currentNamespace=Ot}function be(){Ht.lFrame.currentNamespace=null}function we(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(s>11>16&&(3&t[2])===e){t[2]+=2048;try{o.call(s)}finally{}}}else try{o.call(s)}finally{}}class Te{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Me(t,e,n){const r=Mt(t);let i=0;for(;ie){s=o-1;break}}}for(;o>16}(t),r=e;for(;n>0;)r=r[15],n--;return r}let Fe=!0;function ze(t){const e=Fe;return Fe=t,e}let Re=0;function je(t,e){const n=He(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,Be(r.data,t),Be(e,null),Be(r.blueprint,null));const i=Ue(t,e),o=t.injectorIndex;if(De(i)){const t=Le(i),n=Ne(i,e),r=n[1].data;for(let i=0;i<8;i++)e[o+i]=n[t+i]|r[t+i]}return e[o+8]=i,o}function Be(t,e){t.push(0,0,0,0,0,0,0,0,e)}function He(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ue(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;null!==i;){const t=i[1],e=t.type;if(r=2===e?t.declTNode:1===e?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Ve(t,e,n){!function(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Q)&&(r=n[Q]),null==r&&(r=n[Q]=Re++);const i=255&r;e.data[t+(i>>5)]|=1<=0?255&e:Ge:e}(n);if("function"==typeof o){if(!ce(e,t,r))return r&A.Host?qe(i,n,r):Ze(e,n,r,i);try{const t=o(r);if(null!=t||r&A.Optional)return t;y(n)}finally{fe()}}else if("number"==typeof o){let i=null,s=He(t,e),a=-1,l=r&A.Host?e[16][6]:null;for((-1===s||r&A.SkipSelf)&&(a=-1===s?Ue(t,e):e[s+8],-1!==a&&Ke(r,!1)?(i=e[1],s=Le(a),e=Ne(a,e)):s=-1);-1!==s;){const t=e[1];if(We(o,s,t.data)){const t=Je(s,e,n,i,r,l);if(t!==$e)return t}a=e[s+8],-1!==a&&Ke(r,e[1].data[s+8]===l)&&We(o,s,e)?(i=t,s=Le(a),e=Ne(a,e)):s=-1}}}return Ze(e,n,r,i)}const $e={};function Ge(){return new tn(Yt(),Vt())}function Je(t,e,n,r,i,o){const s=e[1],a=s.data[t+8],l=Qe(a,s,n,null==r?dt(a)&&Fe:r!=s&&0!=(3&a.type),i&A.Host&&o===a);return null!==l?Xe(e,s,l,a):$e}function Qe(t,e,n,r,i){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=o>>20,u=i?a+c:t.directiveEnd;for(let h=r?a:a+c;h=l&&t.type===n)return h}if(i){const t=s[l];if(t&&ft(t)&&t.type===n)return l}return null}function Xe(t,e,n,r){let i=t[n];const o=e.data;if(function(t){return t instanceof Te}(i)){const s=i;s.resolving&&function(t,e){throw new m("200",`Circular dependency in DI detected for ${t}`)}(_(o[n]));const a=ze(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?D(s.injectImpl):null;ce(t,r,A.Default);try{i=t[n]=s.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){const r=yt(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&D(l),ze(a),s.resolving=!1,fe()}}return i}function We(t,e,n){return!!(n[e+(t>>5)]&1<{const e=t.prototype.constructor,n=e[J]||nn(e),r=Object.prototype;let i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){const t=i[J]||nn(i);if(t&&t!==n)return t;i=Object.getPrototypeOf(i)}return t=>new t})}function nn(t){return g(t)?()=>{const e=nn(f(t));return e&&e()}:mt(t)}function rn(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;const n=t.attrs;if(n){const t=n.length;let r=0;for(;r{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty(on)?t[on]:Object.defineProperty(t,on,{value:[]})[on];for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}class an{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=w({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const ln=new an("AnalyzeForEntryComponents"),cn=Function;function un(t,e){void 0===e&&(e=t);for(let n=0;nArray.isArray(t)?hn(t,e):e(t))}function dn(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function pn(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function fn(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function mn(t,e){const n=vn(t,e);if(n>=0)return t[1|n]}function vn(t,e){return function(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){const o=r+(i-r>>1),s=t[o<e?i=o:r=o+1}return~(i< ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):u(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(wn,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t[bn]=null,t}const Dn=En(sn("Inject",t=>({token:t})),-1),Ln=En(sn("Optional"),8),Nn=En(sn("Self"),2),Fn=En(sn("SkipSelf"),4);var zn=(()=>((zn=zn||{})[zn.Important=1]="Important",zn[zn.DashCase=2]="DashCase",zn))();const Rn="__ngContext__";function jn(t,e){t[Rn]=e}function Bn(t){const e=function(t){return t[Rn]||null}(t);return e?Array.isArray(e)?e:e.lView:null}function Hn(t,e){return undefined(t,e)}function Un(t){const e=t[3];return ut(e)?e[3]:e}function Vn(t){return Zn(t[13])}function qn(t){return Zn(t[4])}function Zn(t){for(;null!==t&&!ut(t);)t=t[4];return t}function Yn(t,e,n,r,i){if(null!=r){let o,s=!1;ut(r)?o=r:ct(r)&&(s=!0,r=r[0]);const a=Et(r);0===t&&null!==n?null==i?tr(e,n,a):Kn(e,n,a,i||null,!0):1===t&&null!==n?Kn(e,n,a,i||null,!0):2===t?function(t,e,n){const r=nr(t,e);r&&function(t,e,n,r){Mt(t)?t.removeChild(e,n,r):e.removeChild(n)}(t,r,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,r,i){const o=n[7];o!==Et(n)&&Yn(e,t,r,o,i);for(let s=10;s0&&(t[n-1][4]=r[4]);const o=pn(t,10+e);!function(t,e){dr(t,e,e[11],2,null,null),e[0]=null,e[6]=null}(r[1],r);const s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function Qn(t,e){if(!(256&e[2])){const n=e[11];Mt(n)&&n.destroyNode&&dr(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Xn(t[1],t);for(;e;){let n=null;if(ct(e))n=e[13];else{const t=e[10];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)ct(e)&&Xn(e[1],e),e=e[3];null===e&&(e=t),ct(e)&&Xn(e[1],e),n=e&&e[4]}e=n}}(e)}}function Xn(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[i=l]():r[i=-l].unsubscribe(),o+=2}else{const t=r[i=n[o+1]];n[o].call(t)}if(null!==r){for(let t=i+1;tt,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return ir}())||void 0===e?void 0:e.createHTML(t))||t}function vr(t){var e;return(null===(e=function(){if(void 0===or&&(or=null,H.trustedTypes))try{or=H.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return or}())||void 0===e?void 0:e.createHTML(t))||t}class _r{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class yr extends _r{getTypeName(){return"HTML"}}class br extends _r{getTypeName(){return"Style"}}class wr extends _r{getTypeName(){return"Script"}}class Cr extends _r{getTypeName(){return"URL"}}class xr extends _r{getTypeName(){return"ResourceURL"}}function Or(t){return t instanceof _r?t.changingThisBreaksApplicationSecurity:t}function kr(t,e){const n=Pr(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===e}function Pr(t){return t instanceof _r&&t.getTypeName()||null}function Tr(t){return new yr(t)}function Mr(t){return new br(t)}function Sr(t){return new wr(t)}function Er(t){return new Cr(t)}function Ar(t){return new xr(t)}class Ir{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(mr(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class Dr{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);const e=this.inertDocument.createElement("body");t.appendChild(e)}}getInertBodyElement(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=mr(t),e;const n=this.inertDocument.createElement("body");return n.innerHTML=mr(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0Fr(t.trim())).join(", ")),this.buf.push(" ",e,'="',Qr(s),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();Ur.hasOwnProperty(e)&&!jr.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Qr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return e}}const Gr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Jr=/([^\#-~ |!])/g;function Qr(t){return t.replace(/&/g,"&").replace(Gr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Jr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}let Xr;function Wr(t,e){let n=null;try{Xr=Xr||function(t){const e=new Dr(t);return function(){try{return!!(new window.DOMParser).parseFromString(mr(""),"text/html")}catch(t){return!1}}()?new Ir(e):e}(t);let r=e?String(e):"";n=Xr.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Xr.getInertBodyElement(r)}while(r!==o);return mr((new $r).sanitizeChildren(Kr(n)||n))}finally{if(n){const t=Kr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Kr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ti=(()=>((ti=ti||{})[ti.NONE=0]="NONE",ti[ti.HTML=1]="HTML",ti[ti.STYLE=2]="STYLE",ti[ti.SCRIPT=3]="SCRIPT",ti[ti.URL=4]="URL",ti[ti.RESOURCE_URL=5]="RESOURCE_URL",ti))();function ei(t){const e=ri();return e?vr(e.sanitize(ti.HTML,t)||""):kr(t,"HTML")?vr(Or(t)):Wr(Tt(),v(t))}function ni(t){const e=ri();return e?e.sanitize(ti.URL,t)||"":kr(t,"URL")?Or(t):Fr(v(t))}function ri(){const t=Vt();return t&&t[12]}function ii(t){return t.ngOriginalError}function oi(t,...e){t.error(...e)}class si{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=(i=t)&&i.ngErrorLogger||oi;var i;r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?t.ngDebugContext||this._findContext(ii(t)):null}_findOriginalError(t){let e=t&&ii(t);for(;e&&ii(e);)e=ii(e);return e||null}}const ai=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(H))();function li(t){return t.ownerDocument.defaultView}function ci(t){return t.ownerDocument}function ui(t){return t instanceof Function?t():t}function hi(t,e,n){let r=t.length;for(;;){const i=t.indexOf(e,n);if(-1===i)return i;if(0===i||t.charCodeAt(i-1)<=32){const n=e.length;if(i+n===r||t.charCodeAt(i+n)<=32)return i}n=i+1}}const di="ng-template";function pi(t,e,n){let r=0;for(;ro?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==hi(e,c,0)||2&r&&c!==t){if(vi(r))return!1;s=!0}}}}else{if(!s&&!vi(r)&&!vi(l))return!1;if(s&&vi(l))continue;s=!1,r=l|1&r}}return vi(r)||s}function vi(t){return 0==(1&t)}function _i(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?i+="."+s:4&r&&(i+=" "+s);else""!==i&&!vi(s)&&(e+=wi(o,i),i=""),r=s,o=o||!vi(r);n++}return""!==i&&(e+=wi(o,i)),e}const xi={};function Oi(t){ki(qt(),Vt(),me()+t,Xt())}function ki(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Ce(e,r,n)}else{const r=t.preOrderHooks;null!==r&&xe(e,r,0,n)}ve(n)}function Pi(t,e){return t<<17|e<<2}function Ti(t){return t>>17&32767}function Mi(t){return 2|t}function Si(t){return(131068&t)>>2}function Ei(t,e){return-131069&t|e<<2}function Ai(t){return 1|t}function Ii(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r20&&ki(t,e,20,Xt()),n(r,i)}finally{ve(o)}}function Bi(t,e,n){if(ht(e)){const r=e.directiveEnd;for(let i=e.directiveStart;i0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(n)!=o&&n.push(o),n.push(r,i,s)}}function Qi(t,e){null!==t.hostBindings&&t.hostBindings(1,e)}function Xi(t,e){e.flags|=2,(t.components||(t.components=[])).push(e.index)}function Wi(t,e,n){if(n){if(e.exportAs)for(let r=0;r0&&ao(n)}}function ao(t){for(let n=Vn(t);null!==n;n=qn(n))for(let t=10;t0&&ao(e)}const e=t[1].components;if(null!==e)for(let n=0;n0&&ao(r)}}function lo(t,e){const n=Nt(e,t),r=n[1];(function(t,e){for(let n=e.length;nPromise.resolve(null))();function mo(t){return t[7]||(t[7]=[])}function vo(t){return t.cleanup||(t.cleanup=[])}function _o(t,e){const n=t[9],r=n?n.get(si,null):null;r&&r.handleError(e)}function yo(t,e,n,r,i){for(let o=0;othis.processProvider(n,t,e)),hn([t],t=>this.processInjectorType(t,[],i)),this.records.set(Co,Do(void 0,this));const o=this.records.get(Oo);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:u(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=_n,n=A.Default){this.assertNotDestroyed();const r=kn(this),i=D(void 0);try{if(!(n&A.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof an)&&O(t);e=n&&this.injectableDefInScope(n)?Do(Ao(t),ko):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&A.Self?Mo():this.parent).get(t,e=n&A.Optional&&e===_n?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[bn]=s[bn]||[]).unshift(u(t)),r)throw s;return In(s,t,"R3InjectorError",this.source)}throw s}finally{D(i),kn(r)}var o}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(u(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=f(t)))return!1;let r=P(t);const i=null==r&&t.ngModule||void 0,o=void 0===i?t:i,s=-1!==n.indexOf(o);if(void 0!==i&&(r=P(i)),null==r)return!1;if(null!=r.imports&&!s){let t;n.push(o);try{hn(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||V))}}this.injectorDefTypes.add(o);const a=mt(o)||(()=>new o);this.records.set(o,Do(a,ko));const l=r.providers;if(null!=l&&!s){const e=t;hn(l,t=>this.processProvider(t,e,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=No(t=f(t))?t:f(t&&t.provide);const i=(o=t,Lo(o)?Do(void 0,o.useValue):Do(Io(o),ko));var o;if(No(t)||!0!==t.multi)this.records.get(r);else{let e=this.records.get(r);e||(e=Do(void 0,ko,!0),e.factory=()=>Sn(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){return e.value===ko&&(e.value=Po,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value;var n}injectableDefInScope(t){if(!t.providedIn)return!1;const e=f(t.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function Ao(t){const e=O(t),n=null!==e?e.factory:mt(t);if(null!==n)return n;if(t instanceof an)throw new Error(`Token ${u(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=fn(e,"?");throw new Error(`Can't resolve all parameters for ${u(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[T]||t[S]);if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function Io(t,e,n){let r;if(No(t)){const e=f(t);return mt(e)||Ao(e)}if(Lo(t))r=()=>f(t.useValue);else if(function(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Sn(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>Tn(f(t.useExisting));else{const e=f(t&&(t.useClass||t.provide));if(!function(t){return!!t.deps}(t))return mt(e)||Ao(e);r=()=>new e(...Sn(t.deps))}return r}function Do(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function Lo(t){return null!==t&&"object"==typeof t&&xn in t}function No(t){return"function"==typeof t}const Fo=function(t,e,n){return function(t,e=null,n=null,r){const i=So(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let zo=(()=>{class t{static create(t,e){return Array.isArray(t)?Fo(t,e,""):Fo(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=_n,t.NULL=new xo,t.\u0275prov=w({token:t,providedIn:"any",factory:()=>Tn(Co)}),t.__NG_ELEMENT_ID__=-1,t})();function Ro(t,e){we(Bn(t)[1],Yt())}function jo(t){let e=function(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let i;if(ft(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Bo(t.inputs),e.declaredInputs=Bo(t.declaredInputs),e.outputs=Bo(t.outputs);const n=i.hostBindings;n&&Vo(t,n);const o=i.viewQuery,s=i.contentQueries;if(o&&Ho(t,o),s&&Uo(t,s),c(t.inputs,i.inputs),c(t.declaredInputs,i.declaredInputs),c(t.outputs,i.outputs),ft(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}}const e=i.features;if(e)for(let r=0;r=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Ae(i.hostAttrs,n=Ae(n,i.hostAttrs))}}(r)}function Bo(t){return t===U?{}:t===V?[]:t}function Ho(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Uo(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Vo(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}let qo=null;function Zo(){if(!qo){const t=H.Symbol;if(t&&t.iterator)qo=t.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Et(t[r.index])):r.index;if(Mt(n)){let s=null;if(!a&&l&&(s=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let o=0;on?t[n]:null}"string"==typeof t&&(o+=2)}return null}(t,e,i,r.index)),null!==s)(s.__ngLastListenerFn__||s).__ngNextListenerFn__=o,s.__ngLastListenerFn__=o,d=!1;else{o=_s(r,e,u,o,!1);const t=n.listen(f,i,o);h.push(o,t),c&&c.push(i,m,g,g+1)}}else o=_s(r,e,u,o,!0),f.addEventListener(i,o,s),h.push(o),c&&c.push(i,m,g,s)}else o=_s(r,e,u,o,!1);const p=r.outputs;let f;if(d&&null!==p&&(f=p[i])){const t=f.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,Ht.lFrame.contextLView))[8]}(t)}function bs(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i=0}const ks={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ps(t){return t.substring(ks.key,ks.keyEnd)}function Ts(t,e){const n=ks.textEnd;return n===e?-1:(e=ks.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,ks.key=e,n),Ms(t,e,n))}function Ms(t,e,n){for(;e=0;n=Ts(e,n))gn(t,Ps(e),!0)}function Ds(t,e,n,r){const i=Vt(),o=qt(),s=ne(2);o.firstUpdatePass&&Ns(o,t,s,r),e!==xi&&Xo(i,s,e)&&Rs(o,o.data[me()],i,i[11],t,i[s+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=u(Or(t)))),t}(e,n),r,s)}function Ls(t,e){return e>=t.expandoStartIndex}function Ns(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[me()],s=Ls(t,n);Hs(o,r)&&null===e&&!s&&(e=!1),e=function(t,e,n,r){const i=oe(t);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=zs(n=Fs(null,t,e,n,r),e.attrs,r),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==i)if(n=Fs(i,t,e,n,r),null===o){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Si(r))return t[Ti(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=Fs(null,t,e,n[1],r),n=zs(n,e.attrs,r),function(t,e,n,r){t[Ti(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else o=function(t,e,n){let r;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=Ti(t[a+1]);t[r+1]=Pi(e,a),0!==e&&(t[e+1]=Ei(t[e+1],r)),t[a+1]=function(t,e){return 131071&t|e<<17}(t[a+1],r)}else t[r+1]=Pi(a,0),0!==a&&(t[a+1]=Ei(t[a+1],r)),a=r;else t[r+1]=Pi(l,0),0===a?a=r:t[l+1]=Ei(t[l+1],r),l=r;u&&(t[r+1]=Mi(t[r+1])),xs(t,c,r,!0),xs(t,c,r,!1),function(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&vn(o,e)>=0&&(n[r+1]=Ai(n[r+1]))}(e,c,t,r,o),s=Pi(a,l),o?e.classBindings=s:e.styleBindings=s}(i,o,e,n,s,r)}}function Fs(t,e,n,r,i){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[i],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[i+1];u===xi&&(u=c?V:void 0);let h=c?mn(u,r):l===r?u:void 0;if(o&&!Bs(h)&&(h=mn(e,r)),Bs(h)&&(a=h,s))return a;const d=t[i+1];i=s?Ti(d):Si(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=mn(t,r))}return a}function Bs(t){return void 0!==t}function Hs(t,e){return 0!=(t.flags&(e?16:32))}function Us(t,e=""){const n=Vt(),r=qt(),i=t+20,o=r.firstCreatePass?Li(r,i,1,e,null):r.data[i],s=n[i]=function(t,e){return Mt(t)?t.createText(e):t.createTextNode(e)}(n[11],e);ar(r,n,s,o),Gt(o,!1)}function Vs(t){return qs("",t,""),Vs}function qs(t,e,n){const r=Vt(),i=function(t,e,n,r){return Xo(t,ee(),n)?e+v(n)+r:xi}(r,t,e,n);return i!==xi&&bo(r,me(),i),qs}function Zs(t,e,n,r,i){const o=Vt(),s=function(t,e,n,r,i,o){const s=Wo(t,te(),n,i);return ne(2),s?e+v(n)+r+v(i)+o:xi}(o,t,e,n,r,i);return s!==xi&&bo(o,me(),s),Zs}function Ys(t,e,n){const r=Vt();return Xo(r,ee(),e)&&$i(qt(),_e(),r,t,e,r[11],n,!0),Ys}function $s(t,e,n){const r=Vt();if(Xo(r,ee(),e)){const i=qt(),o=_e();$i(i,o,r,t,e,function(t,e,n){return(null===t||ft(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(n[e.index])),n[11]}(oe(i.data),o,r),n,!0)}return $s}const Gs=void 0;var Js=["en",[["a","p"],["AM","PM"],Gs],[["AM","PM"],Gs,Gs],[["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"]],Gs,[["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"]],Gs,[["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}",Gs,"{1} 'at' {0}",Gs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(t){const e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Qs={};function Xs(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Ks(e);if(n)return n;const r=e.split("-")[0];if(n=Ks(r),n)return n;if("en"===r)return Js;throw new Error(`Missing locale data for the locale "${t}".`)}function Ws(t){return Xs(t)[ta.PluralCase]}function Ks(t){return t in Qs||(Qs[t]=H.ng&&H.ng.common&&H.ng.common.locales&&H.ng.common.locales[t]),Qs[t]}var ta=(()=>((ta=ta||{})[ta.LocaleId=0]="LocaleId",ta[ta.DayPeriodsFormat=1]="DayPeriodsFormat",ta[ta.DayPeriodsStandalone=2]="DayPeriodsStandalone",ta[ta.DaysFormat=3]="DaysFormat",ta[ta.DaysStandalone=4]="DaysStandalone",ta[ta.MonthsFormat=5]="MonthsFormat",ta[ta.MonthsStandalone=6]="MonthsStandalone",ta[ta.Eras=7]="Eras",ta[ta.FirstDayOfWeek=8]="FirstDayOfWeek",ta[ta.WeekendRange=9]="WeekendRange",ta[ta.DateFormat=10]="DateFormat",ta[ta.TimeFormat=11]="TimeFormat",ta[ta.DateTimeFormat=12]="DateTimeFormat",ta[ta.NumberSymbols=13]="NumberSymbols",ta[ta.NumberFormats=14]="NumberFormats",ta[ta.CurrencyCode=15]="CurrencyCode",ta[ta.CurrencySymbol=16]="CurrencySymbol",ta[ta.CurrencyName=17]="CurrencyName",ta[ta.Currencies=18]="Currencies",ta[ta.Directionality=19]="Directionality",ta[ta.PluralCase=20]="PluralCase",ta[ta.ExtraData=21]="ExtraData",ta))();const ea="en-US";let na=ea;function ra(t){b(t,"Expected localeId to be defined"),"string"==typeof t&&(na=t.toLowerCase().replace(/_/g,"-"))}function ia(t,e,n,r,i){if(t=f(t),Array.isArray(t))for(let o=0;o>20;if(No(t)||!t.multi){const r=new Te(l,i,ns),p=aa(a,e,i?u:u+d,h);-1===p?(Ve(je(c,s),o,a),oa(o,t,e.length),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(r),s.push(r)):(n[p]=r,s[p]=r)}else{const p=aa(a,e,u+d,h),f=aa(a,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(i&&!m||!i&&!g){Ve(je(c,s),o,a);const u=function(t,e,n,r,i){const o=new Te(t,n,ns);return o.multi=[],o.index=e,o.componentProviders=0,sa(o,i,r&&!n),o}(i?ca:la,n.length,i,r,l);!i&&m&&(n[f].providerFactory=u),oa(o,t,e.length,0),e.push(a),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=1048576),n.push(u),s.push(u)}else oa(o,t,p>-1?p:f,sa(n[i?f:p],l,!i&&r));!i&&r&&m&&n[f].componentProviders++}}}function oa(t,e,n,r){const i=No(e);if(i||function(t){return!!t.useClass}(e)){const o=(e.useClass||e).prototype.ngOnDestroy;if(o){const s=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){const t=s.indexOf(n);-1===t?s.push(n,[r,o]):s[t+1].push(r,o)}else s.push(n,o)}}}function sa(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function aa(t,e,n,r){for(let i=n;i{n.providersResolver=(n,r)=>function(t,e,n){const r=qt();if(r.firstCreatePass){const i=ft(t);ia(n,r.data,r.blueprint,i,!0),ia(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}class da{}const pa="ngComponent";class fa{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${u(t)}. Did you add it to @NgModule.entryComponents?`);return e[pa]=t,e}(t)}}let ga=(()=>{class t{}return t.NULL=new fa,t})();function ma(...t){}function va(t,e){return new ya(It(t,e))}const _a=function(){return va(Yt(),Vt())};let ya=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=_a,t})();function ba(t){return t instanceof ya?t.nativeElement:t}class wa{}let Ca=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>xa(),t})();const xa=function(){const t=Vt(),e=Nt(Yt().index,t);return function(t){return t[11]}(ct(e)?e:t)};let Oa=(()=>{class t{}return t.\u0275prov=w({token:t,providedIn:"root",factory:()=>null}),t})();class ka{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Pa=new ka("12.2.17");class Ta{constructor(){}supports(t){return $o(t)}create(t){return new Sa(t)}}const Ma=(t,e)=>e;class Sa{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Ma}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const o=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==i&&Object.is(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,t,r,e)),Object.is(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),o=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):t=this._addAfter(new Ea(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Ia),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ia),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class Ea{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Aa{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Object.is(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class Ia{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new Aa,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Da(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new Fa(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Object.is(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Fa{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function za(){return new Ra([new Ta])}let Ra=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||za()),deps:[[t,new Fn,new Ln]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${function(t){return t.name||typeof t}(t)}'`)}}return t.\u0275prov=w({token:t,providedIn:"root",factory:za}),t})();function ja(){return new Ba([new La])}let Ba=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>t.create(e,n||ja()),deps:[[t,new Fn,new Ln]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=w({token:t,providedIn:"root",factory:ja}),t})();function Ha(t,e,n,r,i=!1){for(;null!==n;){const o=e[n.index];if(null!==o&&r.push(Et(o)),ut(o))for(let t=10;t-1&&(Jn(t,n),pn(e,n))}this._attachedToViewContainer=!1}Qn(this._lView[1],this._lView)}onDestroy(t){Zi(this._lView[1],this._lView,null,t)}markForCheck(){uo(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){ho(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){Wt(!0);try{ho(t,e,n)}finally{Wt(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,dr(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class Va extends Ua{constructor(t){super(t),this._view=t}detectChanges(){po(this._view)}checkNoChanges(){!function(t){Wt(!0);try{po(t)}finally{Wt(!1)}}(this._view)}get context(){return null}}const qa=function(t){return function(t,e,n){if(dt(t)&&!n){const n=Nt(t.index,e);return new Ua(n,n)}return 47&t.type?new Ua(e[16],e):null}(Yt(),Vt(),16==(16&t))};let Za=(()=>{class t{}return t.__NG_ELEMENT_ID__=qa,t})();const Ya=[new La],$a=new Ra([new Ta]),Ga=new Ba(Ya),Ja=function(){return Ka(Yt(),Vt())};let Qa=(()=>{class t{}return t.__NG_ELEMENT_ID__=Ja,t})();const Xa=Qa,Wa=class extends Xa{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Di(this._declarationLView,e,t,16,null,e.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];const r=this._declarationLView[19];return null!==r&&(n[19]=r.createEmbeddedView(e)),Fi(e,n,t),new Ua(n)}};function Ka(t,e){return 4&t.type?new Wa(e,t,va(t,e)):null}class tl{}class el{}const nl=function(){return ll(Yt(),Vt())};let rl=(()=>{class t{}return t.__NG_ELEMENT_ID__=nl,t})();const il=rl,ol=class extends il{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return va(this._hostTNode,this._hostLView)}get injector(){return new tn(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ue(this._hostTNode,this._hostLView);if(De(t)){const e=Ne(t,this._hostLView),n=Le(t);return new tn(e[1].data[n+8],e)}return new tn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=sl(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){const t=o.get(tl,null);t&&(i=t)}const s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s}insert(t,e){const n=t._lView,r=n[1];if(ut(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new ol(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e),o=this._lContainer;!function(t,e,n,r){const i=10+r,o=n.length;r>0&&(n[i-1][4]=e),rai});class pl extends da{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Ci).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return hl(this.componentDef.inputs)}get outputs(){return hl(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const o=t.get(n,cl,i);return o!==cl||r===cl?o:e.get(n,r,i)}}}(t,r.injector):t,o=i.get(wa,St),s=i.get(Oa,null),a=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Mt(t))return t.selectRootElement(e,n===z.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(a,n,this.componentDef.encapsulation):$n(o.createRenderer(null,this.componentDef),l,function(t){const e=t.toLowerCase();return"svg"===e?Ot:"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h=function(t,e){return{components:[],scheduler:t||ai,clean:go,playerHandler:e||null,flags:0}}(),d=qi(0,null,null,1,0,null,null,null,null,null),p=Di(null,d,h,u,null,null,o,a,s,i);let f,g;ue(p);try{const t=function(t,e,n,r,i,o){const s=n[1];n[20]=t;const a=Li(s,20,2,"#host",null),l=a.mergedAttrs=e.hostAttrs;null!==l&&(wo(a,l,!0),null!==t&&(Me(i,t,l),null!==a.classes&&gr(i,t,a.classes),null!==a.styles&&fr(i,t,a.styles)));const c=r.createRenderer(t,e),u=Di(n,Vi(e),null,e.onPush?64:16,n[20],a,r,c,o||null,null);return s.firstCreatePass&&(Ve(je(a,n),s,e.type),Xi(s,a),Ki(a,n.length,1)),co(n,u),n[20]=u}(c,this.componentDef,p,o,a);if(c)if(n)Me(a,c,["ng-version",Pa.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r0&&gr(a,c,e.join(" "))}if(g=Dt(d,20),void 0!==e){const t=g.projection=[];for(let n=0;nt(s,e)),e.contentQueries){const t=Yt();e.contentQueries(1,s,t.directiveStart)}const a=Yt();return!o.firstCreatePass||null===e.hostBindings&&null===e.hostAttrs||(ve(a.index),Ji(n[1],a,0,a.directiveStart,a.directiveEnd,e),Qi(e,s)),s}(t,this.componentDef,p,h,[Ro]),Fi(d,p,null)}finally{ge()}return new fl(this.componentType,f,va(g,p),p,g)}}class fl extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.instance=e,this.hostView=this.changeDetectorRef=new Va(r),this.componentType=t}get injector(){return new tn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const gl=new Map;class ml extends tl{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new ul(this);const n=lt(t),r=t[G]||null;r&&ra(r),this._bootstrapComponents=ui(n.bootstrap),this._r3Injector=So(t,e,[{provide:tl,useValue:this},{provide:ga,useValue:this.componentFactoryResolver}],u(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=zo.THROW_IF_NOT_FOUND,n=A.Default){return t===zo||t===tl||t===Co?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class vl extends el{constructor(t){super(),this.moduleType=t,null!==lt(t)&&function(t){const e=new Set;!function t(n){const r=lt(n,!0),i=r.id;null!==i&&(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${u(e)} vs ${u(e.name)}`)}(i,gl.get(i),n),gl.set(i,n));const o=ui(r.imports);for(const s of o)e.has(s)||(e.add(s),t(s))}(t)}(t)}create(t){return new ml(this.moduleType,t)}}function _l(t,e,n){const r=Kt()+t,i=Vt();return i[r]===xi?Jo(i,r,n?e.call(n):e()):Qo(i,r)}function yl(t,e,n,r){return xl(Vt(),Kt(),t,e,n,r)}function bl(t,e,n,r,i){return Ol(Vt(),Kt(),t,e,n,r,i)}function wl(t,e,n,r,i,o,s,a){const l=Kt()+t,c=Vt(),u=function(t,e,n,r,i,o){const s=Wo(t,e,n,r);return Wo(t,e+2,i,o)||s}(c,l,n,r,i,o);return Xo(c,l+4,s)||u?Jo(c,l+5,a?e.call(a,n,r,i,o,s):e(n,r,i,o,s)):Qo(c,l+5)}function Cl(t,e){const n=t[e];return n===xi?void 0:n}function xl(t,e,n,r,i,o){const s=e+n;return Xo(t,s,i)?Jo(t,s+1,o?r.call(o,i):r(i)):Cl(t,s+1)}function Ol(t,e,n,r,i,o,s){const a=e+n;return Wo(t,a,i,o)?Jo(t,a+2,s?r.call(s,i,o):r(i,o)):Cl(t,a+2)}function kl(t,e,n,r,i,o,s,a){const l=e+n;return function(t,e,n,r,i){const o=Wo(t,e,n,r);return Xo(t,e+2,i)||o}(t,l,i,o,s)?Jo(t,l+3,a?r.call(a,i,o,s):r(i,o,s)):Cl(t,l+3)}function Pl(t,e){const n=qt();let r;const i=t+20;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new m("302",`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=mt(r.type)),s=D(ns);try{const t=ze(!1),e=o();return ze(t),function(t,e,n,r){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=r}(n,Vt(),i,e),e}finally{D(s)}}function Tl(t,e,n){const r=t+20,i=Vt(),o=Lt(i,r);return Il(i,Al(i,r)?xl(i,Kt(),e,o.transform,n,o):o.transform(n))}function Ml(t,e,n,r){const i=t+20,o=Vt(),s=Lt(o,i);return Il(o,Al(o,i)?Ol(o,Kt(),e,s.transform,n,r,s):s.transform(n,r))}function Sl(t,e,n,r,i){const o=t+20,s=Vt(),a=Lt(s,o);return Il(s,Al(s,o)?kl(s,Kt(),e,a.transform,n,r,i,a):a.transform(n,r,i))}function El(t,e,n){const r=t+20,i=Vt(),o=Lt(i,r);return Il(i,Al(i,r)?function(t,e,n,r,i,o){let s=e+n,a=!1;for(let l=0;l{setTimeout(t,void 0,e)}}const Ll=class extends r.xQ{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){var r,o,s;let a=t,l=e||(()=>null),c=n;if(t&&"object"==typeof t){const e=t;a=null===(r=e.next)||void 0===r?void 0:r.bind(e),l=null===(o=e.error)||void 0===o?void 0:o.bind(e),c=null===(s=e.complete)||void 0===s?void 0:s.bind(e)}this.__isAsync&&(l=Dl(l),a&&(a=Dl(a)),c&&(c=Dl(c)));const u=super.subscribe({next:a,error:l,complete:c});return t instanceof i.w&&t.add(u),u}};function Nl(){return this._results[Zo()]()}class Fl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=Zo(),n=Fl.prototype;n[e]||(n[e]=Nl)}get changes(){return this._changes||(this._changes=new Ll)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,e){const n=this;n.dirty=!1;const r=un(t);(this._changesDetected=!function(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r0)r.push(s[t/2]);else{const i=o[t+1],s=e[-n];for(let t=10;t{class t{constructor(t){this.appInits=t,this.resolve=ma,this.reject=ma,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e.subscribe({complete:t,error:n})});t.push(n)}}Promise.all(t).then(()=>{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(Tn(tc,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const nc=new an("AppId"),rc={provide:nc,useFactory:function(){return`${ic()}${ic()}${ic()}`},deps:[]};function ic(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const oc=new an("Platform Initializer"),sc=new an("Platform ID"),ac=new an("appBootstrapListener");let lc=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const cc=new an("LocaleId"),uc=new an("DefaultCurrencyCode");class hc{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const dc=function(t){return new vl(t)},pc=dc,fc=function(t){return Promise.resolve(dc(t))},gc=function(t){const e=dc(t),n=ui(lt(t).declarations).reduce((t,e)=>{const n=at(e);return n&&t.push(new pl(n)),t},[]);return new hc(e,n)},mc=gc,vc=function(t){return Promise.resolve(gc(t))};let _c=(()=>{class t{constructor(){this.compileModuleSync=pc,this.compileModuleAsync=fc,this.compileModuleAndAllComponentsSync=mc,this.compileModuleAndAllComponentsAsync=vc}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();const yc=(()=>Promise.resolve(0))();function bc(t){"undefined"==typeof Zone?yc.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class wc{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ll(!1),this.onMicrotaskEmpty=new Ll(!1),this.onStable=new Ll(!1),this.onError=new Ll(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const r=this;r._nesting=0,r._outer=r._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(r._inner=r._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!n&&e,r.shouldCoalesceRunChangeDetection=n,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function(){let t=H.requestAnimationFrame,e=H.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(H,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Oc(t),t.isCheckStableRunning=!0,xc(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Oc(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,s,a)=>{try{return kc(t),n.invokeTask(i,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),Pc(t)}},onInvoke:(n,r,i,o,s,a,l)=>{try{return kc(t),n.invoke(i,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),Pc(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,Oc(t),xc(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(r)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!wc.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(wc.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Cc,ma,ma);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Cc={};function xc(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Oc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function kc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Pc(t){t._nesting--,xc(t)}class Tc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ll,this.onMicrotaskEmpty=new Ll,this.onStable=new Ll,this.onError=new Ll}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let Mc=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{wc.assertNotInAngularZone(),bc(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())bc(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(Tn(wc))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})(),Sc=(()=>{class t{constructor(){this._applications=new Map,Ic.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return Ic.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();class Ec{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function Ac(t){Ic=t}let Ic=new Ec,Dc=!1;function Lc(){return Dc=!0,true}let Nc;const Fc=new an("AllowMultipleToken");class zc{constructor(t,e){this.name=t,this.token=e}}function Rc(t,e,n=[]){const r=`Platform: ${e}`,i=new an(r);return(e=[])=>{let o=jc();if(!o||o.injector.get(Fc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:Oo,useValue:"platform"});!function(t){if(Nc&&!Nc.destroyed&&!Nc.injector.get(Fc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Nc=t.get(Bc);const e=t.get(oc,null);e&&e.forEach(t=>t())}(zo.create({providers:t,name:r}))}return function(t){const e=jc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function jc(){return Nc&&!Nc.destroyed?Nc:null}let Bc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new Tc:("zone.js"===t?void 0:t)||new wc({enableLongStackTrace:Lc(),shouldCoalesceEventChangeDetection:!!(null==e?void 0:e.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==e?void 0:e.ngZoneRunCoalescing)}),n}(e?e.ngZone:void 0,{ngZoneEventCoalescing:e&&e.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:e&&e.ngZoneRunCoalescing||!1}),r=[{provide:wc,useValue:n}];return n.run(()=>{const i=zo.create({providers:r,parent:this.injector,name:t.moduleType.name}),o=t.create(i),s=o.injector.get(si,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.runOutsideAngular(()=>{const t=n.onError.subscribe({next:t=>{s.handleError(t)}});o.onDestroy(()=>{Vc(this._modules,o),t.unsubscribe()})}),function(t,n,r){try{const e=r();return ps(e)?e.catch(e=>{throw n.runOutsideAngular(()=>t.handleError(e)),e}):e}catch(e){throw n.runOutsideAngular(()=>t.handleError(e)),e}}(s,n,()=>{const t=o.injector.get(ec);return t.runInitializers(),t.donePromise.then(()=>(ra(o.injector.get(cc,ea)||ea),this._moduleDoBootstrap(o),o))})})}bootstrapModule(t,e=[]){const n=Hc({},e);return function(t,e,n){const r=new vl(n);return Promise.resolve(r)}(0,0,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(Uc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${u(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(Tn(zo))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Hc(t,e){return Array.isArray(e)?e.reduce(Hc,t):Object.assign(Object.assign({},t),e)}let Uc=(()=>{class t{constructor(t,e,n,r,i){this._zone=t,this._injector=e,this._exceptionHandler=n,this._componentFactoryResolver=r,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const l=new o.y(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),c=new o.y(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{wc.assertNotInAngularZone(),bc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{wc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=(0,s.T)(l,c.pipe((0,a.B)()))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof da?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=function(t){return t.isBoundToModule}(n)?void 0:this._injector.get(tl),i=n.create(zo.NULL,[],e||n.selector,r),o=i.location.nativeElement,s=i.injector.get(Mc,null),a=s&&i.injector.get(Sc);return s&&a&&a.registerApplication(o,s),i.onDestroy(()=>{this.detachView(i.hostView),Vc(this.components,i),a&&a.unregisterApplication(o)}),this._loadComponent(i),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Vc(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(ac,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(Tn(wc),Tn(zo),Tn(si),Tn(ga),Tn(ec))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Vc(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class qc{}class Zc{}const Yc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let $c=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Yc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n(69153)(e).then(t=>t[r]).then(t=>Gc(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n(69153)(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>Gc(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(Tn(_c),Tn(Zc,8))},t.\u0275prov=w({token:t,factory:t.\u0275fac}),t})();function Gc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Jc=function(t){return null},Qc=Rc(null,"core",[{provide:sc,useValue:"unknown"},{provide:Bc,deps:[zo]},{provide:Sc,deps:[]},{provide:lc,deps:[]}]),Xc=[{provide:Uc,useClass:Uc,deps:[wc,zo,si,ga,ec]},{provide:dl,deps:[wc],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:ec,useClass:ec,deps:[[new Ln,tc]]},{provide:_c,useClass:_c,deps:[]},rc,{provide:Ra,useFactory:function(){return $a},deps:[]},{provide:Ba,useFactory:function(){return Ga},deps:[]},{provide:cc,useFactory:function(t){return ra(t=t||"undefined"!=typeof $localize&&$localize.locale||ea),t},deps:[[new Dn(cc),new Ln,new Fn]]},{provide:uc,useValue:"USD"}];let Wc=(()=>{class t{constructor(t){}}return t.\u0275fac=function(e){return new(e||t)(Tn(Uc))},t.\u0275mod=nt({type:t}),t.\u0275inj=x({providers:Xc}),t})()},87862:function(t,e,n){"use strict";n.d(e,{ve:function(){return g},Fj:function(){return m},NI:function(){return ot},oH:function(){return gt},u:function(){return yt},cw:function(){return st},sg:function(){return vt},u5:function(){return wt},JU:function(){return p},a5:function(){return N},JJ:function(){return z},JL:function(){return R},On:function(){return ut},UX:function(){return Ct},_Y:function(){return ht}});var r=n(74788),i=n(12057),o=n(29856),s=n(59796),a=n(88002),l=n(81555),c=n(97968);function u(t,e){return new o.y(n=>{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let o=0,s=0;for(let a=0;a{u||(u=!0,s++),i[a]=t},error:t=>n.error(t),complete:()=>{o++,(o===r||!u)&&(s===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}let h=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}setProperty(t,e){this._renderer.setProperty(this._elementRef.nativeElement,t,e)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Qsj),r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t}),t})(),d=(()=>{class t extends h{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t})();const p=new r.OlP("NgValueAccessor"),f={provide:p,useExisting:(0,r.Gpc)(()=>m),multi:!0},g=new r.OlP("CompositionEventMode");let m=(()=>{class t extends h{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,i.q)()?(0,i.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Qsj),r.Y36(r.SBq),r.Y36(g,8))},t.\u0275dir=r.lG2({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&r.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},features:[r._Bn([f]),r.qOj]}),t})();const v=new r.OlP("NgValidators"),_=new r.OlP("NgAsyncValidators");function y(t){return null!=t}function b(t){const e=(0,r.QGY)(t)?(0,c.D)(t):t;return(0,r.CqO)(e),e}function w(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function C(t,e){return e.map(e=>e(t))}function x(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}function O(t){return null!=t?function(t){if(!t)return null;const e=t.filter(y);return 0==e.length?null:function(t){return w(C(t,e))}}(x(t)):null}function k(t){return null!=t?function(t){if(!t)return null;const e=t.filter(y);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if((0,s.k)(e))return u(e,null);if((0,l.K)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&(0,s.k)(t[0])?t[0]:t,null).pipe((0,a.U)(t=>e(...t)))}return u(t,null)}(C(t,e).map(b)).pipe((0,a.U)(w))}}(x(t)):null}function P(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function T(t){return t._rawValidators}function M(t){return t._rawAsyncValidators}function S(t){return t?Array.isArray(t)?t:[t]:[]}function E(t,e){return Array.isArray(t)?t.includes(e):t===e}function A(t,e){const n=S(e);return S(t).forEach(t=>{E(n,t)||n.push(t)}),n}function I(t,e){return S(e).filter(e=>!E(t,e))}let D=(()=>{class t{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=O(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=k(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t}),t})(),L=(()=>{class t extends D{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t})();class N extends D{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class F{constructor(t){this._cd=t}is(t){var e,n,r;return"submitted"===t?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(r=null===(n=this._cd)||void 0===n?void 0:n.control)||void 0===r?void 0:r[t])}}let z=(()=>{class t extends F{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(N,2))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&r.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))},features:[r.qOj]}),t})(),R=(()=>{class t extends F{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(L,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&r.ekj("ng-untouched",e.is("untouched"))("ng-touched",e.is("touched"))("ng-pristine",e.is("pristine"))("ng-dirty",e.is("dirty"))("ng-valid",e.is("valid"))("ng-invalid",e.is("invalid"))("ng-pending",e.is("pending"))("ng-submitted",e.is("submitted"))},features:[r.qOj]}),t})();function j(t,e){return[...e.path,t]}function B(t,e){V(t,e),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&Z(t,e)})}(t,e),function(t,e){const n=(t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&Z(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function(t,e){if(e.valueAccessor.setDisabledState){const n=t=>{e.valueAccessor.setDisabledState(t)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function H(t,e,n=!0){const r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),q(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function U(t,e){t.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function V(t,e){const n=T(t);null!==e.validator?t.setValidators(P(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=M(t);null!==e.asyncValidator?t.setAsyncValidators(P(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const i=()=>t.updateValueAndValidity();U(e._rawValidators,i),U(e._rawAsyncValidators,i)}function q(t,e){let n=!1;if(null!==t){if(null!==e.validator){const r=T(t);if(Array.isArray(r)&&r.length>0){const i=r.filter(t=>t!==e.validator);i.length!==r.length&&(n=!0,t.setValidators(i))}}if(null!==e.asyncValidator){const r=M(t);if(Array.isArray(r)&&r.length>0){const i=r.filter(t=>t!==e.asyncValidator);i.length!==r.length&&(n=!0,t.setAsyncValidators(i))}}}const r=()=>{};return U(e._rawValidators,r),U(e._rawAsyncValidators,r),n}function Z(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Y(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function $(t,e){if(!e)return null;let n,r,i;return Array.isArray(e),e.forEach(t=>{t.constructor===m?n=t:function(t){return Object.getPrototypeOf(t.constructor)===d}(t)?r=t:i=t}),i||r||n||null}function G(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const J="VALID",Q="INVALID",X="PENDING",W="DISABLED";function K(t){return(rt(t)?t.validators:t)||null}function tt(t){return Array.isArray(t)?O(t):t||null}function et(t,e){return(rt(e)?e.asyncValidators:t)||null}function nt(t){return Array.isArray(t)?k(t):t||null}function rt(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class it{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=tt(this._rawValidators),this._composedAsyncValidatorFn=nt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===J}get invalid(){return this.status===Q}get pending(){return this.status==X}get disabled(){return this.status===W}get enabled(){return this.status!==W}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=tt(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=nt(t)}addValidators(t){this.setValidators(A(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(A(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(I(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(I(t,this._rawAsyncValidators))}hasValidator(t){return E(this._rawValidators,t)}hasAsyncValidator(t){return E(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=X,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=W,this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=J,this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===J||this.status===X)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?W:J}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=X,this._hasOwnPendingAsyncValidator=!0;const e=b(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e||(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length))return null;let r=t;return e.forEach(t=>{r=r instanceof st?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof at&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new r.vpe,this.statusChanges=new r.vpe}_calculateStatus(){return this._allControlsDisabled()?W:this.errors?Q:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(X)?X:this._anyControlsHaveStatus(Q)?Q:J}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){rt(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class ot extends it{constructor(t=null,e,n){super(K(e),et(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){G(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){G(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class st extends it{constructor(t,e,n){super(K(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e,n={}){this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof ot?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>{const n=this.controls[e];n&&t(n,e)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const n=this.controls[e];if(this.contains(e)&&t(n))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class at extends it{constructor(t,e,n){super(K(e),et(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[t]}push(t,e={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(t,e,n={}){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(t,e={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(t,e,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){null!=t&&(t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof ot?t.value:t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error(`Cannot find form control at index ${t}`)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const lt={provide:N,useExisting:(0,r.Gpc)(()=>ut)},ct=(()=>Promise.resolve(null))();let ut=(()=>{class t extends N{constructor(t,e,n,i){super(),this.control=new ot,this._registered=!1,this.update=new r.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=$(0,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Y(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?j(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){B(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){ct.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;ct.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(L,9),r.Y36(v,10),r.Y36(_,10),r.Y36(p,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r._Bn([lt]),r.qOj,r.TTD]}),t})(),ht=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})(),dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();const pt=new r.OlP("NgModelWithFormControlWarning"),ft={provide:N,useExisting:(0,r.Gpc)(()=>gt)};let gt=(()=>{class t extends N{constructor(t,e,n,i){super(),this._ngModelWarningConfig=i,this.update=new r.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=$(0,n)}set isDisabled(t){}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&H(e,this,!1),B(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}Y(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&H(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(v,10),r.Y36(_,10),r.Y36(p,10),r.Y36(pt,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[r._Bn([ft]),r.qOj,r.TTD]}),t._ngModelWarningSentOnce=!1,t})();const mt={provide:L,useExisting:(0,r.Gpc)(()=>vt)};let vt=(()=>{class t extends L{constructor(t,e){super(),this.validators=t,this.asyncValidators=e,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new r.vpe,this._setValidators(t),this._setAsyncValidators(e)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(q(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return B(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){H(t.control||null,t,!1),G(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,function(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(H(e||null,t),n instanceof ot&&(B(n,t),t.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){V(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);e&&function(t,e){return q(t,e)}(e,t)&&e.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){V(this.form,this),this._oldForm&&q(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(v,10),r.Y36(_,10))},t.\u0275dir=r.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&r.NdJ("submit",function(t){return e.onSubmit(t)})("reset",function(){return e.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r._Bn([mt]),r.qOj,r.TTD]}),t})();const _t={provide:N,useExisting:(0,r.Gpc)(()=>yt)};let yt=(()=>{class t extends N{constructor(t,e,n,i,o){super(),this._ngModelWarningConfig=o,this._added=!1,this.update=new r.vpe,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=$(0,i)}set isDisabled(t){}ngOnChanges(t){this._added||this._setUpControl(),Y(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return j(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(L,13),r.Y36(v,10),r.Y36(_,10),r.Y36(p,10),r.Y36(pt,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[r._Bn([_t]),r.qOj,r.TTD]}),t._ngModelWarningSentOnce=!1,t})(),bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[dt]]}),t})(),wt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[bt]}),t})(),Ct=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:pt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[bt]}),t})()},91211:function(t,e,n){"use strict";n.d(e,{b2:function(){return z},H7:function(){return D},s3:function(){return p},Dx:function(){return j},q6:function(){return N},se:function(){return x}});var r=n(12057),i=n(74788);class o extends r.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class s extends o{static makeCurrent(){(0,r.HT)(new s)}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getBaseHref(t){const e=(l=l||document.querySelector("base"),l?l.getAttribute("href"):null);return null==e?null:function(t){a=a||document.createElement("a"),a.setAttribute("href",t);const e=a.pathname;return"/"===e.charAt(0)?e:`/${e}`}(e)}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return(0,r.Mx)(document.cookie,t)}}let a,l=null;const c=new i.OlP("TRANSITION_ID"),u=[{provide:i.ip1,useFactory:function(t,e,n){return()=>{n.get(i.CZH).donePromise.then(()=>{const n=(0,r.q)(),i=e.querySelectorAll(`style[ng-transition="${t}"]`);for(let t=0;t{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.dqk.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.dqk.getAllAngularRootElements=()=>t.getAllRootElements(),i.dqk.frameworkStabilizers||(i.dqk.frameworkStabilizers=[]),i.dqk.frameworkStabilizers.push(t=>{const e=i.dqk.getAllAngularTestabilities();let n=e.length,r=!1;const o=function(e){r=r||e,n--,0==n&&t(r)};e.forEach(function(t){t.whenStable(o)})})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?(0,r.q)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}let d=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const p=new i.OlP("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends m{constructor(t){super(),this._doc=t,this._hostNodes=new Map,this._hostNodes.set(t.head,[])}_addStylesToHost(t,e,n){t.forEach(t=>{const r=this._doc.createElement("style");r.textContent=t,n.push(e.appendChild(r))})}addHost(t){const e=[];this._addStylesToHost(this._stylesSet,t,e),this._hostNodes.set(t,e)}removeHost(t){const e=this._hostNodes.get(t);e&&e.forEach(_),this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach((e,n)=>{this._addStylesToHost(t,n,e)})}ngOnDestroy(){this._hostNodes.forEach(t=>t.forEach(_))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function _(t){(0,r.q)().remove(t)}const y={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/"},b=/%COMP%/g;function w(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new O(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.ifc.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new k(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case 1:case i.ifc.ShadowDom:return new P(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=w(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(f),i.LFG(v),i.LFG(i.AFp))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();class O{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(y[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=y[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=y[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&(i.JOm.DashCase|i.JOm.Important)?t.style.setProperty(e,n,r&i.JOm.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.JOm.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,C(n)):this.eventManager.addEventListener(t,e,C(n))}}class k extends O{constructor(t,e,n,r){super(t),this.component=n;const i=w(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(b,r+"-"+n.id),this.hostAttr="_nghost-%COMP%".replace(b,r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class P extends O{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=w(r.id,r.styles,[]);for(let o=0;o{class t extends g{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const M=["alt","control","meta","shift"],S={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},E={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},A={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{class t extends g{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const o=t.parseEventName(n),s=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,r.q)().onAndCancel(e,o.domEventName,s))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let o="";if(M.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;const s={};return s.domEventName=r,s.fullKey=o,s}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&E.hasOwnProperty(e)&&(e=E[e]))}return S[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),M.forEach(r=>{r!=n&&A[r](t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=(0,i.Yz7)({factory:function(){return(0,i.LFG)(L)},token:t,providedIn:"root"}),t})(),L=(()=>{class t extends D{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.q3G.NONE:return e;case i.q3G.HTML:return(0,i.qzn)(e,"HTML")?(0,i.z3N)(e):(0,i.EiD)(this._doc,String(e)).toString();case i.q3G.STYLE:return(0,i.qzn)(e,"Style")?(0,i.z3N)(e):e;case i.q3G.SCRIPT:if((0,i.qzn)(e,"Script"))return(0,i.z3N)(e);throw new Error("unsafe value used in a script context");case i.q3G.URL:return(0,i.yhl)(e),(0,i.qzn)(e,"URL")?(0,i.z3N)(e):(0,i.mCW)(String(e));case i.q3G.RESOURCE_URL:if((0,i.qzn)(e,"ResourceURL"))return(0,i.z3N)(e);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return(0,i.JVY)(t)}bypassSecurityTrustStyle(t){return(0,i.L6k)(t)}bypassSecurityTrustScript(t){return(0,i.eBb)(t)}bypassSecurityTrustUrl(t){return(0,i.LAX)(t)}bypassSecurityTrustResourceUrl(t){return(0,i.pB0)(t)}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=(0,i.Yz7)({factory:function(){return function(t){return new L(t.get(r.K0))}((0,i.LFG)(i.gxx))},token:t,providedIn:"root"}),t})();const N=(0,i.eFA)(i._c5,"browser",[{provide:i.Lbi,useValue:r.bD},{provide:i.g9A,useValue:function(){s.makeCurrent(),h.init()},multi:!0},{provide:r.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}]),F=[[],{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:p,useClass:T,multi:!0,deps:[r.K0,i.R0b,i.Lbi]},{provide:p,useClass:I,multi:!0,deps:[r.K0]},[],{provide:x,useClass:x,deps:[f,v,i.AFp]},{provide:i.FYo,useExisting:x},{provide:m,useExisting:v},{provide:v,useClass:v,deps:[r.K0]},{provide:i.dDg,useClass:i.dDg,deps:[i.R0b]},{provide:f,useClass:f,deps:[p,i.R0b]},{provide:r.JF,useClass:d,deps:[]},[]];let z=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:i.AFp,useValue:e.appId},{provide:c,useExisting:i.AFp},u]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(t,12))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:F,imports:[r.ez,i.hGG]}),t})();function R(){return new j((0,i.LFG)(r.K0))}let j=(()=>{class t{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(r.K0))},t.\u0275prov=(0,i.Yz7)({factory:R,token:t,providedIn:"root"}),t})();"undefined"!=typeof window&&window},2586:function(t,e,n){"use strict";n.d(e,{gz:function(){return Qt},m2:function(){return q},F0:function(){return yn},Od:function(){return On},yS:function(){return Cn},Bz:function(){return Nn},lC:function(){return kn},Hx:function(){return Tt}});var r=n(12057),i=n(74788),o=n(97968),s=n(25917),a=n(26215),l=n(9112),c=n(29856),u=n(13410),h=n(22416),d=n(41439),p=n(59193),f=n(52441),g=n(79765),m=n(77393);function v(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new _(t,e,n))}}class _{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new y(t,this.accumulator,this.seed,this.hasSeed))}}class y extends m.L{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}var b=n(45435),w=n(7108);function C(t){return function(e){return 0===t?(0,p.c)():e.lift(new x(t))}}class x{constructor(t){if(this.total=t,this.total<0)throw new w.W}call(t,e){return e.subscribe(new O(t,this.total))}}class O extends m.L{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;it.length||"full"===n.pathMatch&&(e.hasChildren()||r.lengthr[e]===t)}return t===e}function pt(t){return Array.prototype.concat.apply([],t)}function ft(t){return t.length>0?t[t.length-1]:null}function gt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function mt(t){return(0,i.CqO)(t)?t:(0,i.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,s.of)(t)}const vt={exact:function t(e,n,r){if(!Pt(e.segments,n.segments)||!Ct(e.segments,n.segments,r)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!e.children[i]||!t(e.children[i],n.children[i],r))return!1;return!0},subset:bt},_t={exact:function(t,e){return ht(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>dt(t[n],e[n]))},ignored:()=>!0};function yt(t,e,n){return vt[n.paths](t.root,e.root,n.matrixParams)&&_t[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function bt(t,e,n){return wt(t,e,e.segments,n)}function wt(t,e,n,r){if(t.segments.length>n.length){const i=t.segments.slice(0,n.length);return!(!Pt(i,n)||e.hasChildren()||!Ct(i,n,r))}if(t.segments.length===n.length){if(!Pt(t.segments,n)||!Ct(t.segments,n,r))return!1;for(const n in e.children)if(!t.children[n]||!bt(t.children[n],e.children[n],r))return!1;return!0}{const i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!(Pt(t.segments,i)&&Ct(t.segments,i,r)&&t.children[ot])&&wt(t.children[ot],e,o,r)}}function Ct(t,e,n){return e.every((e,r)=>_t[n](t[r].parameters,e.parameters))}class xt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=at(this.queryParams)),this._queryParamMap}toString(){return St.serialize(this)}}class Ot{constructor(t,e){this.segments=t,this.children=e,this.parent=null,gt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Et(this)}}class kt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=at(this.parameters)),this._parameterMap}toString(){return zt(this)}}function Pt(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}class Tt{}class Mt{parse(t){const e=new Ut(t);return new xt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${At(t.root,!0)}`,n=function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Dt(e)}=${Dt(t)}`).join("&"):`${Dt(e)}=${Dt(n)}`}).filter(t=>!!t);return e.length?`?${e.join("&")}`:""}(t.queryParams);var r;return`${e}${n}${"string"==typeof t.fragment?`#${r=t.fragment,encodeURI(r)}`:""}`}}const St=new Mt;function Et(t){return t.segments.map(t=>zt(t)).join("/")}function At(t,e){if(!t.hasChildren())return Et(t);if(e){const e=t.children[ot]?At(t.children[ot],!1):"",n=[];return gt(t.children,(t,e)=>{e!==ot&&n.push(`${e}:${At(t,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return gt(t.children,(t,r)=>{r===ot&&(n=n.concat(e(t,r)))}),gt(t.children,(t,r)=>{r!==ot&&(n=n.concat(e(t,r)))}),n}(t,(e,n)=>n===ot?[At(t.children[ot],!1)]:[`${n}:${At(e,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[ot]?`${Et(t)}/${e[0]}`:`${Et(t)}/(${e.join("//")})`}}function It(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dt(t){return It(t).replace(/%3B/gi,";")}function Lt(t){return It(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nt(t){return decodeURIComponent(t)}function Ft(t){return Nt(t.replace(/\+/g,"%20"))}function zt(t){return`${Lt(t.path)}${function(t){return Object.keys(t).map(e=>`;${Lt(e)}=${Lt(t[e])}`).join("")}(t.parameters)}`}const Rt=/^[^\/()?;=#]+/;function jt(t){const e=t.match(Rt);return e?e[0]:""}const Bt=/^[^=?&#]+/,Ht=/^[^?&#]+/;class Ut{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ot([],{}):new Ot([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[ot]=new Ot(t,e)),n}parseSegment(){const t=jt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new kt(Nt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=jt(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=jt(this.remaining);t&&(n=t,this.capture(n))}t[Nt(e)]=Nt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Bt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(Ht);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Ft(e),i=Ft(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=jt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=ot);const o=this.parseChildren();e[i]=1===Object.keys(o).length?o[ot]:new Ot([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class Vt{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=qt(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=qt(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=Zt(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return Zt(t,this._root).map(t=>t.value)}}function qt(t,e){if(t===e.value)return e;for(const n of e.children){const e=qt(t,n);if(e)return e}return null}function Zt(t,e){if(t===e.value)return[e];for(const n of e.children){const r=Zt(t,n);if(r.length)return r.unshift(e),r}return[]}class Yt{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function $t(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class Gt extends Vt{constructor(t,e){super(t),this.snapshot=e,te(this,t)}toString(){return this.snapshot.toString()}}function Jt(t,e){const n=function(t,e){const n=new Wt([],{},{},"",{},ot,e,null,t.root,-1,{});return new Kt("",new Yt(n,[]))}(t,e),r=new a.X([new kt("",{})]),i=new a.X({}),o=new a.X({}),s=new a.X({}),l=new a.X(""),c=new Qt(r,i,s,l,o,ot,e,n.root);return c.snapshot=n.root,new Gt(new Yt(c,[]),n)}class Qt{constructor(t,e,n,r,i,o,s,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,A.U)(t=>at(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,A.U)(t=>at(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Xt(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Wt{constructor(t,e,n,r,i,o,s,a,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=at(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=at(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Kt extends Vt{constructor(t,e){super(e),this.url=t,te(this,e)}toString(){return ee(this._root)}}function te(t,e){e.value._routerState=t,e.children.forEach(e=>te(t,e))}function ee(t){const e=t.children.length>0?` { ${t.children.map(ee).join(", ")} } `:"";return`${t.value}${e}`}function ne(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,ht(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),ht(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nht(t.parameters,e[n].parameters))}(t.url,e.url);return n&&!(!t.parent!=!e.parent)&&(!t.parent||re(t.parent,e.parent))}function ie(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=e.value;const i=function(t,e,n){return e.children.map(e=>{for(const r of n.children)if(t.shouldReuseRoute(e.value,r.value.snapshot))return ie(t,e,r);return ie(t,e)})}(t,e,n);return new Yt(r,i)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const t=n.route;return oe(e,t),t}}const n=function(t){return new Qt(new a.X(t.url),new a.X(t.params),new a.X(t.queryParams),new a.X(t.fragment),new a.X(t.data),t.outlet,t.component,t)}(e.value),r=e.children.map(e=>ie(t,e));return new Yt(n,r)}}function oe(t,e){if(t.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=t.value;for(let n=0;n{o[e]=Array.isArray(t)?t.map(t=>`${t}`):`${t}`}),new xt(n.root===t?e:ce(n.root,t,e),o,i)}function ce(t,e,n){const r={};return gt(t.children,(t,i)=>{r[i]=t===e?n:ce(t,e,n)}),new Ot(t.segments,r)}class ue{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&se(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(ae);if(r&&r!==ft(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class he{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function de(t,e,n){if(t||(t=new Ot([],{})),0===t.segments.length&&t.hasChildren())return pe(t,e,n);const r=function(t,e,n){let r=0,i=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;const e=t.segments[i],s=n[r];if(ae(s))break;const a=`${s}`,l=r0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!ve(a,l,e))return o;r+=2}else{if(!ve(a,{},e))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof n&&(n=[n]),null!==n&&(i[r]=de(t.children[r],e,n))}),gt(t.children,(t,e)=>{void 0===r[e]&&(i[e]=t)}),new Ot(t.segments,i)}}function fe(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i{"string"==typeof t&&(t=[t]),null!==t&&(e[n]=fe(new Ot([],{}),0,t))}),e}function me(t){const e={};return gt(t,(t,n)=>e[n]=`${t}`),e}function ve(t,e,n){return t==n.path&&ht(e,n.parameters)}class _e{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),ne(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=$t(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),gt(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),r=n&&t.value.component?n.children:e,i=$t(t);for(const o of Object.keys(i))this.deactivateRouteAndItsChildren(i[o],r);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}activateChildRoutes(t,e,n){const r=$t(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new rt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new et(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(ne(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),ye(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function ye(t){ne(t.value),t.children.forEach(ye)}class be{constructor(t,e){this.routes=t,this.module=e}}function we(t){return"function"==typeof t}function Ce(t){return t instanceof xt}const xe=Symbol("INITIAL_VALUE");function Oe(){return(0,I.w)(t=>(0,l.aj)(t.map(t=>t.pipe((0,D.q)(1),(0,L.O)(xe)))).pipe(v((t,e)=>{let n=!1;return e.reduce((t,r,i)=>t!==xe?t:(r===xe&&(n=!0),n||!1!==r&&i!==e.length-1&&!Ce(r)?t:r),t)},xe),(0,b.h)(t=>t!==xe),(0,A.U)(t=>Ce(t)?t:!0===t),(0,D.q)(1)))}let ke=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},directives:function(){return[kn]},encapsulation:2}),t})();function Pe(t,e=""){for(let n=0;nEe(t)===e);return n.push(...t.filter(t=>Ee(t)!==e)),n}const Ie={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function De(t,e,n){var r;if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?Object.assign({},Ie):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};const i=(e.matcher||ut)(n,t,e);if(!i)return Object.assign({},Ie);const o={};gt(i.posParams,(t,e)=>{o[e]=t.path});const s=i.consumed.length>0?Object.assign(Object.assign({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:s,positionalParamSegments:null!==(r=i.posParams)&&void 0!==r?r:{}}}function Le(t,e,n,r,i="corrected"){if(n.length>0&&function(t,e,n){return n.some(n=>Ne(t,e,n)&&Ee(n)!==ot)}(t,n,r)){const i=new Ot(e,function(t,e,n,r){const i={};i[ot]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const o of n)if(""===o.path&&Ee(o)!==ot){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[Ee(o)]=n}return i}(t,e,r,new Ot(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>Ne(t,e,n))}(t,n,r)){const o=new Ot(t.segments,function(t,e,n,r,i,o){const s={};for(const a of r)if(Ne(t,n,a)&&!i[Ee(a)]){const n=new Ot([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===o?t.segments.length:e.length,s[Ee(a)]=n}return Object.assign(Object.assign({},i),s)}(t,e,n,r,t.children,i));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}const o=new Ot(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}function Ne(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}function Fe(t,e,n,r){return!!(Ee(t)===r||r!==ot&&Ne(e,n,t))&&("**"===t.path||De(e,t,n).matched)}function ze(t,e,n){return 0===e.length&&!t.children[n]}class Re{constructor(t){this.segmentGroup=t||null}}class je{constructor(t){this.urlTree=t}}function Be(t){return new c.y(e=>e.error(new Re(t)))}function He(t){return new c.y(e=>e.error(new je(t)))}function Ue(t){return new c.y(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class Ve{constructor(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(i.h0i)}apply(){const t=Le(this.urlTree.root,[],[],this.config).segmentGroup,e=new Ot(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,e,ot).pipe((0,A.U)(t=>this.createUrlTree(qe(t),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,N.K)(t=>{if(t instanceof je)return this.allowRedirects=!1,this.match(t.urlTree);throw t instanceof Re?this.noMatchError(t):t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,ot).pipe((0,A.U)(e=>this.createUrlTree(qe(e),t.queryParams,t.fragment))).pipe((0,N.K)(t=>{throw t instanceof Re?this.noMatchError(t):t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new Ot([],{[ot]:t}):t;return new xt(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe((0,A.U)(t=>new Ot([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){const r=[];for(const i of Object.keys(n.children))"primary"===i?r.unshift(i):r.push(i);return(0,o.D)(r).pipe((0,F.b)(r=>{const i=n.children[r],o=Ae(e,r);return this.expandSegmentGroup(t,o,i,r).pipe((0,A.U)(t=>({segment:t,outlet:r})))}),v((t,e)=>(t[e.outlet]=e.segment,t),{}),function(t,e){const n=arguments.length>=2;return r=>r.pipe(t?(0,b.h)((e,n)=>t(e,n,r)):T.y,C(1),n?(0,P.d)(e):(0,k.T)(()=>new u.K))}())}expandSegment(t,e,n,r,i,a){return(0,o.D)(n).pipe((0,F.b)(o=>this.expandSegmentAgainstRoute(t,e,n,o,r,i,a).pipe((0,N.K)(t=>{if(t instanceof Re)return(0,s.of)(null);throw t}))),(0,z.P)(t=>!!t),(0,N.K)((t,n)=>{if(t instanceof u.K||"EmptyError"===t.name){if(ze(e,r,i))return(0,s.of)(new Ot([],{}));throw new Re(e)}throw t}))}expandSegmentAgainstRoute(t,e,n,r,i,o,s){return Fe(r,e,i,o)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i,o):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Be(e):Be(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?He(i):this.lineralizeSegments(n,i).pipe((0,R.zg)(n=>{const i=new Ot(n,{});return this.expandSegment(t,i,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o){const{matched:s,consumedSegments:a,lastChild:l,positionalParamSegments:c}=De(e,r,i);if(!s)return Be(e);const u=this.applyRedirectCommands(a,r.redirectTo,c);return r.redirectTo.startsWith("/")?He(u):this.lineralizeSegments(r,u).pipe((0,R.zg)(r=>this.expandSegment(t,e,n,r.concat(i.slice(l)),o,!1)))}matchSegmentAgainstRoute(t,e,n,r,i){if("**"===n.path)return n.loadChildren?(n._loadedConfig?(0,s.of)(n._loadedConfig):this.configLoader.load(t.injector,n)).pipe((0,A.U)(t=>(n._loadedConfig=t,new Ot(r,{})))):(0,s.of)(new Ot(r,{}));const{matched:o,consumedSegments:a,lastChild:l}=De(e,n,r);if(!o)return Be(e);const c=r.slice(l);return this.getChildConfig(t,n,r).pipe((0,R.zg)(t=>{const r=t.module,o=t.routes,{segmentGroup:l,slicedSegments:u}=Le(e,a,c,o),h=new Ot(l.segments,l.children);if(0===u.length&&h.hasChildren())return this.expandChildren(r,o,h).pipe((0,A.U)(t=>new Ot(a,t)));if(0===o.length&&0===u.length)return(0,s.of)(new Ot(a,{}));const d=Ee(n)===i;return this.expandSegment(r,h,o,u,d?ot:i,!0).pipe((0,A.U)(t=>new Ot(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?(0,s.of)(new be(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?(0,s.of)(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe((0,R.zg)(n=>{return n?this.configLoader.load(t.injector,e).pipe((0,A.U)(t=>(e._loadedConfig=t,t))):(r=e,new c.y(t=>t.error(ct(`Cannot load children because the guard of the route "path: '${r.path}'" returned false`))));var r})):(0,s.of)(new be([],t))}runCanLoadGuards(t,e,n){const r=e.canLoad;if(!r||0===r.length)return(0,s.of)(!0);const i=r.map(r=>{const i=t.get(r);let o;if((s=i)&&we(s.canLoad))o=i.canLoad(e,n);else{if(!we(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}var s;return mt(o)});return(0,s.of)(i).pipe(Oe(),(0,j.b)(t=>{if(!Ce(t))return;const e=ct(`Redirecting to "${this.urlSerializer.serialize(t)}"`);throw e.url=t,e}),(0,A.U)(t=>!0===t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return(0,s.of)(n);if(r.numberOfChildren>1||!r.children[ot])return Ue(t.redirectTo);r=r.children[ot]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new xt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return gt(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let o={};return gt(e.children,(e,i)=>{o[i]=this.createSegmentGroup(t,e,n,r)}),new Ot(i,o)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function qe(t){const e={};for(const n of Object.keys(t.children)){const r=qe(t.children[n]);(r.segments.length>0||r.hasChildren())&&(e[n]=r)}return function(t){if(1===t.numberOfChildren&&t.children[ot]){const e=t.children[ot];return new Ot(t.segments.concat(e.segments),e.children)}return t}(new Ot(t.segments,e))}class Ze{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Ye{constructor(t,e){this.component=t,this.route=e}}function $e(t,e,n){const r=t._root;return Je(r,e?e._root:null,n,[r.value])}function Ge(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Je(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=$t(e);return t.children.forEach(t=>{(function(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Pt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Pt(t.url,e.url)||!ht(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!re(t,e)||!ht(t.queryParams,e.queryParams);default:return!re(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Ze(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Je(t,e,o.component?a?a.children:null:n,r,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new Ye(a.outlet.component,s))}else s&&Qe(e,a,i),i.canActivateChecks.push(new Ze(r)),Je(t,null,o.component?a?a.children:null:n,r,i)})(t,o[t.value.outlet],n,r.concat([t.value]),i),delete o[t.value.outlet]}),gt(o,(t,e)=>Qe(t,n.getContext(e),i)),i}function Qe(t,e,n){const r=$t(t),i=t.value;gt(r,(t,r)=>{Qe(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new Ye(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}class Xe{}function We(t){return new c.y(e=>e.error(t))}class Ke{constructor(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}recognize(){const t=Le(this.urlTree.root,[],[],this.config.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,ot);if(null===e)return null;const n=new Wt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ot,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Yt(n,e),i=new Kt(this.url,r);return this.inheritParamsAndData(i._root),i}inheritParamsAndData(t){const e=t.value,n=Xt(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=[];for(const i of Object.keys(e.children)){const r=e.children[i],o=Ae(t,i),s=this.processSegmentGroup(o,r,i);if(null===s)return null;n.push(...s)}const r=en(n);return r.sort((t,e)=>t.value.outlet===ot?-1:e.value.outlet===ot?1:t.value.outlet.localeCompare(e.value.outlet)),r}processSegment(t,e,n,r){for(const i of t){const t=this.processSegmentAgainstRoute(i,e,n,r);if(null!==t)return t}return ze(e,n,r)?[]:null}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo||!Fe(t,e,n,r))return null;let i,o=[],s=[];if("**"===t.path){const r=n.length>0?ft(n).parameters:{};i=new Wt(n,r,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,on(t),Ee(t),t.component,t,nn(e),rn(e)+n.length,sn(t))}else{const r=De(e,t,n);if(!r.matched)return null;o=r.consumedSegments,s=n.slice(r.lastChild),i=new Wt(o,r.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,on(t),Ee(t),t.component,t,nn(e),rn(e)+o.length,sn(t))}const a=(u=t).children?u.children:u.loadChildren?u._loadedConfig.routes:[],{segmentGroup:l,slicedSegments:c}=Le(e,o,s,a.filter(t=>void 0===t.redirectTo),this.relativeLinkResolution);var u;if(0===c.length&&l.hasChildren()){const t=this.processChildren(a,l);return null===t?null:[new Yt(i,t)]}if(0===a.length&&0===c.length)return[new Yt(i,[])];const h=Ee(t)===r,d=this.processSegment(a,l,c,h?ot:r);return null===d?null:[new Yt(i,d)]}}function tn(t){const e=t.value.routeConfig;return e&&""===e.path&&void 0===e.redirectTo}function en(t){const e=[],n=new Set;for(const r of t){if(!tn(r)){e.push(r);continue}const t=e.find(t=>r.value.routeConfig===t.value.routeConfig);void 0!==t?(t.children.push(...r.children),n.add(t)):e.push(r)}for(const r of n){const t=en(r.children);e.push(new Yt(r.value,t))}return e.filter(t=>!n.has(t))}function nn(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function rn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function on(t){return t.data||{}}function sn(t){return t.resolve||{}}function an(t){return(0,I.w)(e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,A.U)(()=>e)):(0,s.of)(e)})}class ln extends class{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}{}const cn=new i.OlP("ROUTES");class un{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const n=this.loadModuleFactory(e.loadChildren).pipe((0,A.U)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new be(pt(r.injector.get(cn,void 0,i.XFs.Self|i.XFs.Optional)).map(Se),r)}),(0,N.K)(t=>{throw e._loader$=void 0,t}));return e._loader$=new f.c(n,()=>new g.xQ).pipe((0,B.x)()),e._loader$}loadModuleFactory(t){return"string"==typeof t?(0,o.D)(this.loader.load(t)):mt(t()).pipe((0,R.zg)(t=>t instanceof i.YKP?(0,s.of)(t):(0,o.D)(this.compiler.compileModuleAsync(t))))}}class hn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new dn,this.attachRef=null}}class dn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new hn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}class pn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function fn(t){throw t}function gn(t,e,n){return e.parse("/")}function mn(t,e){return(0,s.of)(null)}const vn={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},_n={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let yn=(()=>{class t{constructor(t,e,n,r,o,s,l,c){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new g.xQ,this.errorHandler=fn,this.malformedUriErrorHandler=gn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:mn,afterPreactivation:mn},this.urlHandlingStrategy=new pn,this.routeReuseStrategy=new ln,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=o.get(i.h0i),this.console=o.get(i.c2e);const u=o.get(i.R0b);this.isNgZoneEnabled=u instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(c),this.currentUrlTree=new xt(new Ot([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new un(s,l,t=>this.triggerEvent(new W(t)),t=>this.triggerEvent(new K(t))),this.routerState=Jt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var t;return null===(t=this.location.getState())||void 0===t?void 0:t.\u0275routerPageId}setupNavigations(t){const e=this.events;return t.pipe((0,b.h)(t=>0!==t.id),(0,A.U)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),(0,I.w)(t=>{let n=!1,r=!1;return(0,s.of)(t).pipe((0,j.b)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),(0,I.w)(t=>{const n=this.browserUrlTree.toString(),i=!this.navigated||t.extractedUrl.toString()!==n||n!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||i)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return bn(t.source)&&(this.browserUrlTree=t.extractedUrl),(0,s.of)(t).pipe((0,I.w)(t=>{const n=this.transitions.getValue();return e.next(new V(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?p.E:Promise.resolve(t)}),function(t,e,n,r){return(0,I.w)(i=>function(t,e,n,r,i){return new Ve(t,e,n,r,i).apply()}(t,e,n,i.extractedUrl,r).pipe((0,A.U)(t=>Object.assign(Object.assign({},i),{urlAfterRedirects:t}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,j.b)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,i,o){return(0,R.zg)(a=>function(t,e,n,i,o="emptyOnly",a="legacy"){try{const r=new Ke(t,e,n,i,o,a).recognize();return null===r?We(new Xe):(0,s.of)(r)}catch(r){return We(r)}}(t,e,a.urlAfterRedirects,n(a.urlAfterRedirects),i,o).pipe((0,A.U)(t=>Object.assign(Object.assign({},a),{targetSnapshot:t}))))}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,j.b)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,t),this.browserUrlTree=t.urlAfterRedirects);const n=new $(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));if(i&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:o,extras:a}=t,l=new V(n,this.serializeUrl(r),i,o);e.next(l);const c=Jt(r,this.rootComponentType).snapshot;return(0,s.of)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),p.E}),an(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})}),(0,j.b)(t=>{const e=new G(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,A.U)(t=>Object.assign(Object.assign({},t),{guards:$e(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return(0,R.zg)(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,s.of)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return(0,o.D)(t).pipe((0,R.zg)(t=>function(t,e,n,r,i){const o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return(0,s.of)(!0);const a=o.map(o=>{const s=Ge(o,e,i);let a;if(function(t){return t&&we(t.canDeactivate)}(s))a=mt(s.canDeactivate(t,e,n,r));else{if(!we(s))throw new Error("Invalid CanDeactivate guard");a=mt(s(t,e,n,r))}return a.pipe((0,z.P)())});return(0,s.of)(a).pipe(Oe())}(t.component,t.route,n,e,r)),(0,z.P)(t=>!0!==t,!0))}(l,r,i,t).pipe((0,R.zg)(n=>n&&function(t){return"boolean"==typeof t}(n)?function(t,e,n,r){return(0,o.D)(e).pipe((0,F.b)(e=>(0,h.z)(function(t,e){return null!==t&&e&&e(new tt(t)),(0,s.of)(!0)}(e.route.parent,r),function(t,e){return null!==t&&e&&e(new nt(t)),(0,s.of)(!0)}(e.route,r),function(t,e,n){const r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>(0,d.P)(()=>{const i=e.guards.map(i=>{const o=Ge(i,e.node,n);let s;if(function(t){return t&&we(t.canActivateChild)}(o))s=mt(o.canActivateChild(r,t));else{if(!we(o))throw new Error("Invalid CanActivateChild guard");s=mt(o(r,t))}return s.pipe((0,z.P)())});return(0,s.of)(i).pipe(Oe())}));return(0,s.of)(i).pipe(Oe())}(t,e.path,n),function(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return(0,s.of)(!0);const i=r.map(r=>(0,d.P)(()=>{const i=Ge(r,e,n);let o;if(function(t){return t&&we(t.canActivate)}(i))o=mt(i.canActivate(e,t));else{if(!we(i))throw new Error("Invalid CanActivate guard");o=mt(i(e,t))}return o.pipe((0,z.P)())}));return(0,s.of)(i).pipe(Oe())}(t,e.route,n))),(0,z.P)(t=>!0!==t,!0))}(r,a,t,e):(0,s.of)(n)),(0,A.U)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))})}(this.ngModule.injector,t=>this.triggerEvent(t)),(0,j.b)(t=>{if(Ce(t.guardsResult)){const e=ct(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}const e=new J(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),(0,b.h)(t=>!!t.guardsResult||(this.restoreHistory(t),this.cancelNavigationTransition(t,""),!1)),an(t=>{if(t.guards.canActivateChecks.length)return(0,s.of)(t).pipe((0,j.b)(t=>{const e=new Q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(0,I.w)(t=>{let e=!1;return(0,s.of)(t).pipe(function(t,e){return(0,R.zg)(n=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return(0,s.of)(n);let a=0;return(0,o.D)(i).pipe((0,F.b)(n=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return(0,s.of)({});const a={};return(0,o.D)(i).pipe((0,R.zg)(i=>function(t,e,n,r){const i=Ge(t,e,r);return mt(i.resolve?i.resolve(e,n):i(e,n))}(t[i],e,n,r).pipe((0,j.b)(t=>{a[i]=t}))),C(1),(0,R.zg)(()=>Object.keys(a).length===i.length?(0,s.of)(a):p.E))}(t._resolve,t,e,r).pipe((0,A.U)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),Xt(t,n).resolve),null)))}(n.route,r,t,e)),(0,j.b)(()=>a++),C(1),(0,R.zg)(t=>a===i.length?(0,s.of)(n):p.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,j.b)({next:()=>e=!0,complete:()=>{e||(this.restoreHistory(t),this.cancelNavigationTransition(t,"At least one route resolver didn't emit any value."))}}))}),(0,j.b)(t=>{const e=new X(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}))}),an(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:s}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!s})}),(0,A.U)(t=>{const e=function(t,e,n){const r=ie(t,e._root,n?n._root:void 0);return new Gt(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),(0,j.b)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(t.urlAfterRedirects,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t),this.browserUrlTree=t.urlAfterRedirects)}),((t,e,n)=>(0,A.U)(r=>(new _e(e,r.targetRouterState,r.currentRouterState,n).activate(t),r)))(this.rootContexts,this.routeReuseStrategy,t=>this.triggerEvent(t)),(0,j.b)({next(){n=!0},complete(){n=!0}}),function(t){return e=>e.lift(new S(t))}(()=>{var e;if(!n&&!r){const e=`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`;"replace"===this.canceledNavigationResolution?(this.restoreHistory(t),this.cancelNavigationTransition(t,e)):this.cancelNavigationTransition(t,e)}(null===(e=this.currentNavigation)||void 0===e?void 0:e.id)===t.id&&(this.currentNavigation=null)}),(0,N.K)(n=>{if(r=!0,function(t){return t&&t[lt]}(n)){const r=Ce(n.url);r||(this.navigated=!0,this.restoreHistory(t,!0));const i=new Z(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree),r={skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||bn(t.source)};this.scheduleNavigation(e,"imperative",null,r,{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.restoreHistory(t,!0);const r=new Y(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(i){t.reject(i)}}return p.E}))}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const e=this.extractLocationChangeInfoFromEvent(t);this.shouldScheduleNavigation(this.lastLocationChangeInfo,e)&&setTimeout(()=>{const{source:t,state:n,urlTree:r}=e,i={replaceUrl:!0};if(n){const t=Object.assign({},n);delete t.navigationId,delete t.\u0275routerPageId,0!==Object.keys(t).length&&(i.state=t)}this.scheduleNavigation(r,t,n,i)},0),this.lastLocationChangeInfo=e}))}extractLocationChangeInfoFromEvent(t){var e;return{source:"popstate"===t.type?"popstate":"hashchange",urlTree:this.parseUrl(t.url),state:(null===(e=t.state)||void 0===e?void 0:e.navigationId)?t.state:null,transitionId:this.getTransition().id}}shouldScheduleNavigation(t,e){if(!t)return!0;const n=e.urlTree.toString()===t.urlTree.toString();return e.transitionId!==t.transitionId||!n||!("hashchange"===e.source&&"popstate"===t.source||"popstate"===e.source&&"hashchange"===t.source)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Pe(t),this.config=t.map(Se),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:i,queryParamsHandling:o,preserveFragment:s}=e,a=n||this.routerState.root,l=s?this.currentUrlTree.fragment:i;let c=null;switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}return null!==c&&(c=this.removeEmptyProps(c)),function(t,e,n,r,i){if(0===n.length)return le(e.root,e.root,e,r,i);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ue(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return gt(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new ue(n,e,r)}(n);if(o.toRoot())return le(e.root,new Ot([],{}),e,r,i);const s=function(t,e,n){if(t.isAbsolute)return new he(e.root,!0,0);if(-1===n.snapshot._lastPathIndex){const t=n.snapshot._urlSegment;return new he(t,t===e.root,0)}const r=se(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new he(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),a=s.processChildren?pe(s.segmentGroup,s.index,o.commands):de(s.segmentGroup,s.index,o.commands);return le(s.segmentGroup,a,e,r,i)}(a,this.currentUrlTree,t,c,null!=l?l:null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=Ce(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.currentPageId=t.targetPageId,this.events.next(new q(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,t.resolve(!0)},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})}scheduleNavigation(t,e,n,r,i){var o,s;if(this.disposed)return Promise.resolve(!1);const a=this.getTransition(),l=bn(e)&&a&&!bn(a.source),c=(this.lastSuccessfulId===a.id||this.currentNavigation?a.rawUrl:a.urlAfterRedirects).toString()===t.toString();if(l&&c)return Promise.resolve(!0);let u,h,d;i?(u=i.resolve,h=i.reject,d=i.promise):d=new Promise((t,e)=>{u=t,h=e});const p=++this.navigationId;let f;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(n=this.location.getState()),f=n&&n.\u0275routerPageId?n.\u0275routerPageId:r.replaceUrl||r.skipLocationChange?null!==(o=this.browserPageId)&&void 0!==o?o:0:(null!==(s=this.browserPageId)&&void 0!==s?s:0)+1):f=0,this.setTransition({id:p,targetPageId:f,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:u,reject:h,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(t=>Promise.reject(t))}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t),r=Object.assign(Object.assign({},e.extras.state),this.generateNgRouterState(e.id,e.targetPageId));this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl?this.location.replaceState(n,"",r):this.location.go(n,"",r)}restoreHistory(t,e=!1){var n,r;if("computed"===this.canceledNavigationResolution){const e=this.currentPageId-t.targetPageId;"popstate"!==t.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(n=this.currentNavigation)||void 0===n?void 0:n.finalUrl)||0===e?this.currentUrlTree===(null===(r=this.currentNavigation)||void 0===r?void 0:r.finalUrl)&&0===e&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(e)}else"replace"===this.canceledNavigationResolution&&(e&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(t,e){const n=new Z(t.id,this.serializeUrl(t.extractedUrl),e);this.triggerEvent(n),t.resolve(!1)}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,"\u0275routerPageId":e}:{navigationId:t}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.DyG),i.LFG(Tt),i.LFG(dn),i.LFG(r.Ye),i.LFG(i.zs3),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(void 0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function bn(t){return"imperative"!==t}let wn=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.route=e,this.commands=[],this.onChanges=new g.xQ,null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}ngOnChanges(t){this.onChanges.next(this)}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}onClick(){const t={skipLocationChange:xn(this.skipLocationChange),replaceUrl:xn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,t),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:xn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn),i.Y36(Qt),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.TTD]}),t})(),Cn=(()=>{class t{constructor(t,e,n){this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.onChanges=new g.xQ,this.subscription=t.events.subscribe(t=>{t instanceof q&&this.updateTargetUrlAndHref()})}set routerLink(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]}ngOnChanges(t){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(t,e,n,r,i){if(0!==t||e||n||r||i||"string"==typeof this.target&&"_self"!=this.target)return!0;const o={skipLocationChange:xn(this.skipLocationChange),replaceUrl:xn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:xn(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn),i.Y36(Qt),i.Y36(r.S$))},t.\u0275dir=i.lG2({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("click",function(t){return e.onClick(t.button,t.ctrlKey,t.shiftKey,t.altKey,t.metaKey)}),2&t&&(i.Ikx("href",e.href,i.LSH),i.uIk("target",e.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[i.TTD]}),t})();function xn(t){return""===t||!!t}let On=(()=>{class t{constructor(t,e,n,r,i,o){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=i,this.linkWithHref=o,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.routerEventsSubscription=t.events.subscribe(t=>{t instanceof q&&this.update()})}ngAfterContentInit(){(0,s.of)(this.links.changes,this.linksWithHrefs.changes,(0,s.of)(null)).pipe((0,H.J)()).subscribe(t=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){var t;null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe();const e=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=(0,o.D)(e).pipe((0,H.J)()).subscribe(t=>{this.isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(t){const e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(t=>!!t)}ngOnChanges(t){this.update()}ngOnDestroy(){var t;this.routerEventsSubscription.unsubscribe(),null===(t=this.linkInputChangesSubscription)||void 0===t||t.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const t=this.hasActiveLinks();this.isActive!==t&&(this.isActive=t,this.cdr.markForCheck(),this.classes.forEach(e=>{t?this.renderer.addClass(this.element.nativeElement,e):this.renderer.removeClass(this.element.nativeElement,e)}))})}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.linkWithHref&&t(this.linkWithHref)||this.links.some(t)||this.linksWithHrefs.some(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(yn),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(wn,8),i.Y36(Cn,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,wn,5),i.Suo(n,Cn,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.links=t),i.iGM(t=i.CRH())&&(e.linksWithHrefs=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[i.TTD]}),t})(),kn=(()=>{class t{constructor(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.name=r||ot,t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new Pn(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(dn),i.Y36(i.s_b),i.Y36(i._Vd),i.$8M("name"),i.Y36(i.sBO))},t.\u0275dir=i.lG2({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class Pn{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===Qt?this.route:t===dn?this.childContexts:this.parent.get(t,e)}}class Tn{}class Mn{preload(t,e){return(0,s.of)(null)}}let Sn=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new un(e,n,e=>t.triggerEvent(new W(e)),e=>t.triggerEvent(new K(e)))}setUpPreloading(){this.subscription=this.router.events.pipe((0,b.h)(t=>t instanceof q),(0,F.b)(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.h0i);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return(0,o.D)(n).pipe((0,H.J)(),(0,A.U)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>(e._loadedConfig?(0,s.of)(e._loadedConfig):this.loader.load(t.injector,e)).pipe((0,R.zg)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(yn),i.LFG(i.v3s),i.LFG(i.Sil),i.LFG(i.zs3),i.LFG(Tn))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),En=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof V?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof q&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof it&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new it(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(yn),i.LFG(r.EM),i.LFG(void 0))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const An=new i.OlP("ROUTER_CONFIGURATION"),In=new i.OlP("ROUTER_FORROOT_GUARD"),Dn=[r.Ye,{provide:Tt,useClass:Mt},{provide:yn,useFactory:function(t,e,n,r,i,o,s,a={},l,c){const u=new yn(null,t,e,n,r,i,o,pt(s));return l&&(u.urlHandlingStrategy=l),c&&(u.routeReuseStrategy=c),function(t,e){t.errorHandler&&(e.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(e.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(e.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(e.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(e.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(e.urlUpdateStrategy=t.urlUpdateStrategy)}(a,u),a.enableTracing&&u.events.subscribe(t=>{var e,n;null===(e=console.group)||void 0===e||e.call(console,`Router Event: ${t.constructor.name}`),console.log(t.toString()),console.log(t),null===(n=console.groupEnd)||void 0===n||n.call(console)}),u},deps:[Tt,dn,r.Ye,i.zs3,i.v3s,i.Sil,cn,An,[class{},new i.FiY],[class{},new i.FiY]]},dn,{provide:Qt,useFactory:function(t){return t.routerState.root},deps:[yn]},{provide:i.v3s,useClass:i.EAV},Sn,Mn,class{preload(t,e){return e().pipe((0,N.K)(()=>(0,s.of)(null)))}},{provide:An,useValue:{enableTracing:!1}}];function Ln(){return new i.PXZ("Router",yn)}let Nn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Dn,jn(e),{provide:In,useFactory:Rn,deps:[[yn,new i.FiY,new i.tp0]]},{provide:An,useValue:n||{}},{provide:r.S$,useFactory:zn,deps:[r.lw,[new i.tBr(r.mr),new i.FiY],An]},{provide:En,useFactory:Fn,deps:[yn,r.EM,An]},{provide:Tn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Mn},{provide:i.PXZ,multi:!0,useFactory:Ln},[Bn,{provide:i.ip1,multi:!0,useFactory:Hn,deps:[Bn]},{provide:Vn,useFactory:Un,deps:[Bn]},{provide:i.tb,multi:!0,useExisting:Vn}]]}}static forChild(e){return{ngModule:t,providers:[jn(e)]}}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(In,8),i.LFG(yn,8))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function Fn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new En(t,e,n)}function zn(t,e,n={}){return n.useHash?new r.Do(t,e):new r.b0(t,e)}function Rn(t){return"guarded"}function jn(t){return[{provide:i.deG,multi:!0,useValue:t},{provide:cn,multi:!0,useValue:t}]}let Bn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new g.xQ}appInitializer(){return this.injector.get(r.V_,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let t=null;const e=new Promise(e=>t=e),n=this.injector.get(yn),r=this.injector.get(An);return"disabled"===r.initialNavigation?(n.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(n.hooks.afterPreactivation=()=>this.initNavigation?(0,s.of)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()):t(!0),e})}bootstrapListener(t){const e=this.injector.get(An),n=this.injector.get(Sn),r=this.injector.get(En),o=this.injector.get(yn),s=this.injector.get(i.z2F);t===s.components[0]&&(("enabledNonBlocking"===e.initialNavigation||void 0===e.initialNavigation)&&o.initialNavigation(),n.setUpPreloading(),r.init(),o.resetRootComponentType(s.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(i.zs3))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();function Hn(t){return t.appInitializer.bind(t)}function Un(t){return t.bootstrapListener.bind(t)}const Vn=new i.OlP("Router Initializer")},62579:function(t,e,n){"use strict";n.d(e,{L1:function(){return p},ux:function(){return f},UA:function(){return g},H3:function(){return m},Ct:function(){return v},s5:function(){return _},yZ:function(){return y},m9:function(){return d}});var r=n(74788),i=n(29856),o=n(22759),s=n(9945),a=n(39761),l=n(88002),c=n(87519),u=n(47349),h=n(12057);const d=new r.OlP("An abstraction over global window object",{factory:()=>{const{defaultView:t}=(0,r.f3M)(h.K0);if(!t)throw new Error("Window is not available");return t}}),p=new r.OlP("Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:t,cancelAnimationFrame:e}=(0,r.f3M)(d);return new i.y(n=>{let r=NaN;const i=e=>{n.next(e),r=t(i)};return r=t(i),()=>{e(r)}}).pipe((0,s.B)())}}),f=(new r.OlP("An abstraction over window.caches object",{factory:()=>(0,r.f3M)(d).caches}),new r.OlP("An abstraction over window.crypto object",{factory:()=>(0,r.f3M)(d).crypto}),new r.OlP("An abstraction over window.CSS object",{factory:()=>(0,r.f3M)(d).CSS||{escape:t=>t,supports:()=>!1}})),g=new r.OlP("An abstraction over window.history object",{factory:()=>(0,r.f3M)(d).history}),m=new r.OlP("An abstraction over window.localStorage object",{factory:()=>(0,r.f3M)(d).localStorage}),v=new r.OlP("An abstraction over window.location object",{factory:()=>(0,r.f3M)(d).location}),_=new r.OlP("An abstraction over window.navigator object",{factory:()=>(0,r.f3M)(d).navigator}),y=(new r.OlP("An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,r.f3M)(_).mediaDevices}),new r.OlP("An abstraction over window.navigator.connection object",{factory:()=>(0,r.f3M)(_).connection||null}),new r.OlP("Shared Observable based on `document visibility changed`",{factory:()=>{const t=(0,r.f3M)(h.K0);return(0,o.R)(t,"visibilitychange").pipe((0,a.O)(0),(0,l.U)(()=>"hidden"!==t.visibilityState),(0,c.x)(),(0,u.d)({refCount:!1,bufferSize:1}))}}),new r.OlP("An abstraction over window.performance object",{factory:()=>(0,r.f3M)(d).performance}),new r.OlP("An abstraction over window.screen object",{factory:()=>(0,r.f3M)(d).screen}),new r.OlP("An abstraction over window.sessionStorage object",{factory:()=>(0,r.f3M)(d).sessionStorage}),new r.OlP("An abstraction over SpeechRecognition class",{factory:()=>{const t=(0,r.f3M)(d);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new r.OlP("An abstraction over window.speechSynthesis object",{factory:()=>(0,r.f3M)(d).speechSynthesis}),new r.OlP("An abstraction over window.navigator.userAgent object",{factory:()=>(0,r.f3M)(_).userAgent}))},84800:function(t,e,n){"use strict";n.d(e,{c0:function(){return Bs},JF:function(){return Hs},FU:function(){return qs},mG:function(){return Zs},zb:function(){return na},Lx:function(){return ia},B7:function(){return Ys},f2:function(){return ua},u4:function(){return ha},$5:function(){return ka},qn:function(){return Pa},qo:function(){return Ea},Lq:function(){return Aa},nj:function(){return Sa},hs:function(){return aa}});var r=n(74788),i=n(64548),o=n(44427),s=n(26215),a=n(79765),l=n(41291),c=n(66682),u=n(43190),h=n(88002),d=n(39761),p=n(46782),f=n(45435),g=n(19773),m=n(15257),v=n(87519),_=n(9945),y=n(12057),b=n(67545),w=n(64762);let C=(()=>{class t{constructor({nativeElement:t}){return new r.SBq(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"]}),t})(),x=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var O=n(89473),k=n(44358),P=n(75675);let T=(()=>{class t extends C{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiResizeable",""]],features:[r.qOj]}),t})(),M=(()=>{class t{constructor(t){this.resizeable=t,this.tuiResizer=[0,0],this.tuiSizeChange=new r.vpe,this.x=NaN,this.y=NaN,this.width=0,this.height=0}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onTouchStart({touches:t}){this.onMouseDown(t[0].clientX,t[0].clientY)}onMouseDown(t,e){this.x=t,this.y=e,this.width=this.resizeable.nativeElement.clientWidth,this.height=this.resizeable.nativeElement.clientHeight}onMouseMove({x:t,y:e,buttons:n}){n?this.onMove(t,e):this.onMouseUp()}onTouchMove({touches:t}){this.onMove(t[0].clientX,t[0].clientY)}onMouseUp(){this.x=NaN}onMove(t,e){if(Number.isNaN(this.x))return;const{style:n}=this.resizeable.nativeElement,r=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,P.O)(r[0])),this.tuiResizer[1]&&(n.height=(0,P.O)(r[1])),this.tuiSizeChange.emit(r)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(T))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("touchstart.silent.passive",function(t){return e.onTouchStart(t)})("mousedown.silent.prevent",function(t){return e.onMouseDown(t.x,t.y)})("mousemove.silent",function(t){return e.onMouseMove(t)},!1,r.evT)("touchmove.silent",function(t){return e.onTouchMove(t)},!1,r.evT)("mouseup.silent",function(){return e.onMouseUp()},!1,r.evT)("touchend.silent",function(){return e.onMouseUp()},!1,r.evT),2&t&&r.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"}}),(0,O.gn)([(0,k.TH)()],t.prototype,"tuiResizer",void 0),t})(),S=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})(),E=(()=>{class t{transform(t,e,...n){return t.filter(t=>e(t,...n))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiFilter",type:t,pure:!0}),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiItem",""]]}),t})(),D=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var L=n(62579),N=n(99434),F=n(33770),z=n(59796),R=n(56693),j=n(55197),B=n(96563);class H{call(t,e){return e.subscribe(new U(t))}}class U extends j.L{constructor(t){super(t),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(t){this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(let n=0;n{class t{constructor(t,e){this.focusable=t,this.el=e}get element(){var t;return(null===(t=this.focusable)||void 0===t?void 0:t.nativeFocusableElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea")}}return t.\u0275fac=function(t){r.$Z()},t.\u0275dir=r.lG2({type:t}),t})(),J=(()=>{class t extends G{constructor(t,e,n){super(t,e),this.animationFrame$=n}setFocus(){this.isTextFieldElement?function(...t){if(1===t.length){if(!(0,z.k)(t[0]))return t[0];t=t[0]}return(0,R.n)(t,void 0).lift(new H)}((0,l.H)(1e3),this.animationFrame$.pipe((0,V.p)(F.Yg),(0,h.U)(()=>this.element.closest(".ng-animating")),function(t){return e=>e.lift(new Z(t))}(Boolean),(0,m.q)(1))).subscribe(()=>this.element.focus()):this.element.focus()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(N.KZ,10),r.Y36(r.SBq),r.Y36(L.L1))},t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t})();const Q=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];let X=(()=>{class t extends G{constructor(t,e,n,r,i){super(t,e),this.renderer=n,this.ngZone=r,this.win=i,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.ngZone.runOutsideAngular(()=>this.iosWebkitAutofocus()):this.element.focus()}iosWebkitAutofocus(){var t;const e=this.makeFakeInput(),n=this.getDurationTimeBeforeFocus();let r=0,i=0;const o=()=>e.focus({preventScroll:!0}),s=()=>{clearTimeout(r),r=this.win.setTimeout(()=>{clearTimeout(i),e.removeEventListener("blur",o),e.removeEventListener("focus",s),i=this.win.setTimeout(()=>{this.element.focus({preventScroll:!1}),e.remove()},n)})};e.addEventListener("blur",o,{once:!0}),e.addEventListener("focus",s),this.insideDialog()?this.win.document.body.appendChild(e):null===(t=this.element.parentElement)||void 0===t||t.appendChild(e),e.focus({preventScroll:!0})}makeFakeInput(){const t=this.renderer.createElement("input"),e=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(t),t.style.height=(0,P.O)(e.height),t.style.width=(0,P.O)(e.width/2),t.style.position="fixed",t.style.zIndex="-99999999",t.style.caretColor="transparent",t.style.color="transparent",t.style.cursor="none",t.style.fontSize=(0,P.O)(16),t.style.top=(0,P.O)(e.top),t.style.left=(0,P.O)(e.left),t}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){const t=this.win.document;for(const e of[t.documentElement,t.body])e.style.setProperty("overflow","auto"),e.style.setProperty("height","100%")}patchFakeInputFromFocusableElement(t){Q.forEach(e=>{const n=this.element.getAttribute(e);(0,$.Pc)(n)&&t.setAttribute(e,n)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(N.KZ,10),r.Y36(r.SBq),r.Y36(r.Qsj),r.Y36(r.R0b),r.Y36(L.m9))},t.\u0275dir=r.lG2({type:t,features:[r.qOj]}),t})();const W=new r.OlP("[TUI_AUTOFOCUS_HANDLER]"),K=[{provide:W,useFactory:(t,e,n,r,i,o,s)=>s?new X(t,e,r,i,o):new J(t,e,n),deps:[[new r.FiY,new r.PiD,N.KZ],r.SBq,L.L1,r.Qsj,r.R0b,L.m9,N.FA]}];let tt=(()=>{class t{constructor(t){this.handler=t,this.autoFocus=!0}ngAfterViewInit(){(function(t){return null!=t&&"false"!=`${t}`})(this.autoFocus)&&this.focus()}focus(){Promise.resolve().then(()=>this.handler.setFocus())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(W))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus"]},features:[r._Bn(K)]}),t})(),et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})(),nt=(()=>{class t{transform(t,e,n){var r;return null!==(r=null==t?void 0:t.replace(e,n))&&void 0!==r?r:""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiReplace",type:t,pure:!0}),t})(),rt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var it=n(42420),ot=n(221);function st(t){const e=t.replace("#","").split("").map((t,e,n)=>3===n.length?t+t:t).join("").match(/.{2}/g);return e?e.map(t=>Number.parseInt(t,16)):[0,0,0]}var at=n(27103),lt=n(85648),ct=n(40946),ut=n(92668),ht=n(23917),dt=n(94853),pt=n(79588),ft=n(91489),gt=n(75111),mt=n(79456),vt=n(43631),_t=n(76480),yt=n(75046);let bt=(()=>{class t{constructor(t,e,n,r,i){this.host=t,this.control=e,this.el=n,this.idService=r,this.itemsHandlers=i,this.disabledItemHandler=null,this.datalist=null}get id(){return this.el.nativeElement.id||this.idService.generate()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(mt.S0),r.Y36(_t.M$),r.Y36(r.SBq),r.Y36(at.ll),r.Y36(yt.Ys))},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&r.Gf(gt.gX,7,r.Rgc),2&t){let t;r.iGM(t=r.CRH())&&(e.datalist=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&r.Ikx("id",e.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),t})();var wt=n(57179),Ct=n(40719),xt=n(89570);function Ot(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function kt(t,e){if(1&t&&(r.TgZ(0,"button",4,5),r.TgZ(2,"span",6),r.YNc(3,Ot,2,1,"ng-container",7),r.qZA(),r.qZA()),2&t){const t=e.$implicit,n=r.MAs(1),i=r.oxw(2);r.Q6J("value",t)("disabled",i.disabledItemHandler(t)),r.xp6(3),r.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function Pt(t,e){if(1&t&&(r.TgZ(0,"tui-data-list",2),r.YNc(1,kt,4,4,"button",3),r.qZA()),2&t){const t=r.oxw();r.Q6J("emptyContent",t.emptyContent)("size",t.size),r.xp6(1),r.Q6J("ngForOf",t.items)}}function Tt(t,e){1&t&&r._UZ(0,"tui-loader",8)}let Mt=(()=>{class t{constructor(t,e){this.itemsHandlers=t,this.defaultSize=e,this.optionsQuery=F.Mm,this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=this.defaultSize,this.itemContent=({$implicit:t})=>this.itemsHandlers.stringify(t)}getContext(t,{nativeElement:e}){return{$implicit:t,active:(0,wt.V8)(e)}}getOptions(t=!1){return this.optionsQuery.filter(({disabled:e})=>t||!e).map(({value:t})=>t).filter($.Pc)}}return t.\u0275fac=function(t){r.$Z()},t.\u0275dir=r.lG2({type:t,viewQuery:function(t,e){if(1&t&&r.Gf(gt.vK,5),2&t){let t;r.iGM(t=r.CRH())&&(e.optionsQuery=t)}},inputs:{disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"}}),(0,w.gn)([(0,k.TH)()],t.prototype,"disabledItemHandler",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"size",void 0),t})(),St=(()=>{class t extends Mt{constructor(t,e){super(t,(null==e?void 0:e.size)||"m"),this.items=[]}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(yt.Ys),r.Y36(pt.Cs,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],inputs:{items:"items"},features:[r._Bn([(0,mt.RB)(t),pt.Y0]),r.qOj],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["tuiElement","","tuiOption","","automation-id","tui-data-list-wrapper__option",3,"value","disabled",4,"ngFor","ngForOf"],["tuiElement","","tuiOption","","automation-id","tui-data-list-wrapper__option",3,"value","disabled"],["elementRef","elementRef"],[1,"t-content"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-data-list-wrapper__loader",1,"t-loader"]],template:function(t,e){if(1&t&&(r.YNc(0,Pt,2,3,"tui-data-list",0),r.YNc(1,Tt,1,0,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.items)("ngIfElse",t)}},directives:[y.O5,gt.qi,y.sg,gt.vK,C,xt.Li,Ct.kM],styles:["[_nghost-%COMP%]{display:block}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"items",void 0),t})(),Et=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,xt.wq,x,gt.pc,Ct.dS]]}),t})();var At=n(87862),It=n(54789),Dt=n(66640);function Lt(t,e){1&t&&r._UZ(0,"tui-svg",2),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function Nt(t,e){1&t&&r.GkF(0)}const Ft={iconSmall:"tuiIconChevronDown",iconLarge:"tuiIconChevronDownLarge"},zt=new r.OlP("[TUI_ARROW_OPTIONS]",{factory:()=>Ft}),Rt=new r.OlP("[TUI_ARROW_MODE]",{factory:()=>({interactive:jt,disabled:jt})}),jt=new xt.Al((()=>{class t{constructor(t,e,n){this.dropdown=t,this.textfieldSize=e,this.options=n}get rotated(){return this.dropdown.open}get arrowIcon(){return(0,Dt.R9)(this.textfieldSize.size)?this.options.iconLarge:this.options.iconSmall}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(ht.o1),r.Y36(pt.kI),r.Y36(zt))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_rotated",e.rotated)},decls:3,vars:4,consts:[[3,"src",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"src"]],template:function(t,e){1&t&&(r.YNc(0,Lt,1,1,"tui-svg",0),r.YNc(1,Nt,1,0,"ng-container",1),r.ALo(2,"async")),2&t&&(r.Q6J("polymorpheusOutlet",e.arrowIcon),r.xp6(1),r.Q6J("ngIf",r.lcZ(2,2,e.dropdown.openChange)))},directives:[xt.Li,y.O5,It.PN],pipes:[y.Ov],styles:["[_nghost-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;cursor:pointer;pointer-events:none}._rotated[_nghost-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),t})());let Bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,It.EI,xt.wq]]}),t})();var Ht=n(18269);let Ut=(()=>{class t{constructor(t,e){this.el=t,this.destroy$=e}set tuiScrollIntoView(t){!t||(0,l.H)(0).pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.el.nativeElement.dispatchEvent(new CustomEvent(Ht.fe,{bubbles:!0,detail:this.el.nativeElement}))})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(at.a3,2))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},features:[r._Bn([at.a3])]}),(0,w.gn)([(0,k.NH)()],t.prototype,"tuiScrollIntoView",null),t})(),Vt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var qt=n(59193);function Zt(t,e){1&t&&r._UZ(0,"tui-svg",3),2&t&&r.Q6J("tuiScrollIntoView",!0)}function Yt(t,e){1&t&&r._UZ(0,"span",4)}const $t=new xt.Al((()=>{class t{constructor(t,e,n,r,i,o,s){this.context=t,this.host=e,this.el=n,this.option=r,this.dataList=i,this.control=o,this.abstractControl=s,this.changeDetection$=new a.xQ,this.selected$=(0,c.T)(this.changeDetection$,this.control.valueChanges||qt.E,(0,ct.mL)(this.el.nativeElement,"animationstart")).pipe((0,d.O)(null),(0,h.U)(()=>this.selected),(0,v.x)())}get matcher(){return this.host.identityMatcher||F.bg}ngDoCheck(){this.changeDetection$.next()}ngOnInit(){Promise.resolve().then(()=>{(0,$.Pc)(this.option.value)&&this.host.checkOption&&this.host.checkOption(this.option.value)})}get value(){var t,e;return null!==(e=null===(t=this.abstractControl)||void 0===t?void 0:t.value)&&void 0!==e?e:this.control.value}get selected(){return(0,$.Pc)(this.option.value)&&(0,$.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(xt.yf),r.Y36(mt.N1),r.Y36(r.SBq),r.Y36(gt.vK),r.Y36(gt.qi,8),r.Y36(At.a5),r.Y36(_t.M$,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","src","tuiIconCheckLarge","class","t-checkmark",3,"tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark","src","tuiIconCheckLarge",1,"t-checkmark",3,"tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(r.GkF(0,0),r.YNc(1,Zt,1,1,"tui-svg",1),r.ALo(2,"async"),r.YNc(3,Yt,1,0,"ng-template",null,2,r.W1O)),2&t){const t=r.MAs(4);r.Q6J("ngTemplateOutlet",e.context.$implicit),r.xp6(1),r.Q6J("ngIf",r.lcZ(2,3,e.selected$))("ngIfElse",t)}},directives:[y.tP,y.O5,It.PN,Ut],pipes:[y.Ov],styles:["@keyframes retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{margin:0 -.375rem 0 auto;border-left:5px solid transparent}.t-dummy[_ngcontent-%COMP%]{width:1.5rem}"],changeDetection:0}),t})());let Gt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,It.EI,Vt]]}),t})();var Jt=n(93213);function Qt(t,e){1&t&&r.Hsn(0,2,["*ngIf","isMobile"])}function Xt(t,e){if(1&t&&r.YNc(0,Qt,1,0,"ng-content",6),2&t){const t=r.oxw();r.Q6J("ngIf",t.isMobile)}}function Wt(t,e){1&t&&r.GkF(0,7)}function Kt(t,e){1&t&&r._UZ(0,"div",10),2&t&&r.Q6J("textContent",e.polymorpheusOutlet)}const te=function(t,e){return{$implicit:t,active:e}};function ee(t,e){if(1&t&&(r.TgZ(0,"div",8),r.YNc(1,Kt,1,1,"div",9),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.computedContent)("polymorpheusOutletContext",r.WLB(2,te,t.value,t.computedFocused))}}function ne(t,e){1&t&&r.GkF(0)}function re(t,e){if(1&t&&(r.TgZ(0,"div",11),r.YNc(1,ne,1,0,"ng-container",12),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.arrow)}}const ie=["*",[["input"]],[["select"]]],oe=["*","input","select"],se={valueContent:""},ae=new r.OlP("[TUI_SELECT_OPTIONS]",{factory:()=>se});let le=(()=>{class t extends _t.F9{constructor(t,e,n,r,i,o,s){super(t,e),this.textfieldCleaner=n,this.arrowMode=r,this.itemsHandlers=i,this.options=o,this.isMobile=s,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeFocusableElement(){return this.textfield?this.textfield.nativeFocusableElement:null}get focused(){return(0,wt.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}get computedContent(){return this.valueContent||this.computedValue}onValueChange(t){this.value=t&&t||null}onActiveZone(t){this.updateFocused(t)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}handleOption(t){var e;this.focusInput(),this.value=t,null===(e=this.hostedDropdown)||void 0===e||e.updateOpen(!1)}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(At.a5,10),r.Y36(r.sBO),r.Y36(pt.Ym),r.Y36(Rt),r.Y36(yt.Ys),r.Y36(ae),r.Y36(N.fL))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,bt,7),r.Suo(n,gt.gX,5,r.Rgc)),2&t){let t;r.iGM(t=r.CRH())&&(e.nativeSelect=t.first),r.iGM(t=r.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(r.Gf(dt.yc,5),r.Gf(ht.o1,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.textfield=t.first),r.iGM(t=r.CRH())&&(e.hostedDropdown=t.first)}},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[r._Bn([(0,N.FT)(t),(0,_t.wB)(t),(0,mt.oE)(t),(0,mt.P7)($t)],[Jt.yn]),r.qOj],ngContentSelectors:oe,decls:10,vars:15,consts:[[1,"t-hosted",3,"canOpen","content","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"tuiTextfieldIcon","editable","pseudoFocus","pseudoHover","pseudoActive","invalid","nativeId","readOnly","disabled","focusable","value","valueChange","keydown.delete.prevent","keydown.backspace.prevent"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["ngProjectAs","tuiContent","automation-id","tui-select__value","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["ngProjectAs","tuiContent","automation-id","tui-select__value",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["tuiWrapper","","appearance","icon",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(r.F$t(ie),r.TgZ(0,"tui-hosted-dropdown",0),r.NdJ("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),r.TgZ(1,"tui-primitive-textfield",1),r.NdJ("valueChange",function(t){return e.onValueChange(t)})("keydown.delete.prevent",function(){return e.onKeyDownDelete()})("keydown.backspace.prevent",function(){return e.onKeyDownDelete()}),r.Hsn(2),r.Hsn(3,1,["ngProjectAs","input",5,["input"]]),r.YNc(4,Xt,1,1,"ng-template",null,2,r.W1O),r.YNc(6,Wt,1,0,"ng-container",3),r.YNc(7,ee,2,5,"div",4),r.qZA(),r.YNc(8,re,2,1,"ng-template",null,5,r.W1O),r.qZA()),2&t){const t=r.MAs(5),n=r.MAs(9);r.Q6J("canOpen",e.interactive&&!e.nativeDropdownMode)("content",e.datalist||""),r.xp6(1),r.Q6J("tuiTextfieldIcon",e.arrow?n:"")("editable",!1)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("pseudoActive",e.pseudoActive)("invalid",e.computedInvalid)("nativeId",e.nativeId)("readOnly",e.readOnly)("disabled",e.computedDisabled)("focusable",e.computedFocusable)("value",e.computedValue),r.xp6(5),r.Q6J("ngTemplateOutlet",t),r.xp6(1),r.Q6J("ngIf",null!==e.value)}},directives:[ht.o1,ot.e,dt.yc,dt.B1,pt.AW,y.tP,y.O5,xt.Li,ft.o],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}[_nghost-%COMP%]:not(._readonly) input:not(:disabled){cursor:pointer}._readonly[_nghost-%COMP%] input{cursor:default}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center}.t-primitive-value[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"stringify",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"identityMatcher",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"valueContent",void 0),t})(),ce=(()=>{class t extends vt.D1{get readOnly(){return!0}get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["tui-select"]],features:[r._Bn([(0,mt.cp)(t)]),r.qOj]}),t})(),ue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,xt.wq,ot.A,dt.KW,ht.jh,Gt,Bt,ft.W,pt.cn,Et,gt.pc]]}),t})();var he=n(75452),de=n(44541),pe=n(13633),fe=n(75059),ge=n(88491),me=n(49941);const ve=["*"];let _e=(()=>{class t{constructor(){this.name="tui-radio-group-"+t.index++}}return t.index=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-radio-group"]],inputs:{name:"name"},ngContentSelectors:ve,decls:1,vars:0,template:function(t,e){1&t&&(r.F$t(),r.Hsn(0))},encapsulation:2,changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"name",void 0),t})();const ye=["focusableElement"];function be(t,e){if(1&t&&r._UZ(0,"div",4),2&t){const t=r.oxw();r.Q6J("@tuiScaleIn",t.animation)}}const we={size:"m",appearances:{unchecked:"outline",checked:"primary"}},Ce=new r.OlP("[TUI_RADIO_OPTIONS]",{factory:()=>we});let xe=(()=>{class t extends _t.F9{constructor(t,e,n,r,i){super(t,e),this.animationOptions=n,this.options=r,this.radioGroup=i,this.identityMatcher=F.bg,this.name=null,this.size=this.options.size,this.pseudoDisabled=!1,this.animation=Object.assign({value:""},this.animationOptions)}get appearance(){return this.checked?this.options.appearances.checked:this.options.appearances.unchecked}get computedDisabled(){return this.disabled||this.pseudoDisabled}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,wt.V8)(this.nativeFocusableElement)}get checked(){return null===this.value?null===this.item:null!=this.item&&this.identityMatcher(this.value,this.item)}get computedName(){return this.name||this.radioGroupName||this.controlName||""}get isFocusable(){return!this.readOnly&&this.computedFocusable}onChecked(t){t&&(this.value=void 0!==this.item?this.item:this.fallbackValue)}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}get radioGroupName(){return null===this.radioGroup?null:this.radioGroup.name}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(At.a5,10),r.Y36(r.sBO),r.Y36(mt.Pw),r.Y36(Ce),r.Y36(_e,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-radio"]],viewQuery:function(t,e){if(1&t&&r.Gf(ye,5),2&t){let t;r.iGM(t=r.CRH())&&(e.focusableElement=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size),r.ekj("_disabled",e.computedDisabled))},inputs:{item:"item",identityMatcher:"identityMatcher",name:"name",size:"size",pseudoDisabled:"pseudoDisabled"},features:[r._Bn([(0,N.FT)(t),(0,_t.wB)(t)]),r.qOj],decls:4,vars:12,consts:[["tuiWrapper","",3,"appearance","disabled","focus","hover","active","invalid"],["class","t-mark",4,"ngIf"],["type","radio",1,"t-native",3,"id","disabled","tuiChecked","tuiFocusable","tuiFocusedChange","tuiCheckedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-mark"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,be,1,1,"div",1),r.TgZ(2,"input",2,3),r.NdJ("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiCheckedChange",function(t){return e.onChecked(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),r.qZA(),r.qZA()),2&t&&(r.Q6J("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("active",e.pseudoActive)("invalid",e.computedInvalid),r.xp6(1),r.Q6J("ngIf",e.checked),r.xp6(1),r.Q6J("id",e.id)("disabled",e.computedDisabled)("tuiChecked",e.checked)("tuiFocusable",e.isFocusable),r.uIk("name",e.computedName))},directives:[ft.o,y.O5,de.t,pe.t,fe.U,ge.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0;border-radius:100%}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%]{pointer-events:none}.t-mark[_ngcontent-%COMP%]{position:absolute;background-color:currentColor;border-radius:100%}[data-size=m][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.25rem;width:.5rem;height:.5rem}[data-size=l][_nghost-%COMP%] .t-mark[_ngcontent-%COMP%]{margin:.4375rem;width:.625rem;height:.625rem}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-native[_ngcontent-%COMP%]{cursor:default}"],data:{animation:[me.gI]},changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"identityMatcher",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"name",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"size",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"pseudoDisabled",void 0),t})(),Oe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,de.S,pe.u,fe.F,ge.c,ft.W]]}),t})();const ke=["*"];let Pe=(()=>{class t extends _t.F9{constructor(t,e,n){super(t,e),this.modeDirective=n,this.identityMatcher=F.bg,this.contentAlign="right",this.size="l",this.hideRadio=!1,this.pseudoDisabled=!1}get nativeFocusableElement(){return this.radio?this.radio.nativeFocusableElement:null}get focused(){return!!this.radio&&this.radio.focused}get computedDisabled(){return this.disabled||this.pseudoDisabled}get checked(){var t;return!!(null===(t=this.radio)||void 0===t?void 0:t.checked)&&this.hideRadio}get checkboxSize(){return"l"===this.size?"l":"m"}get appearance(){var t;return(null===(t=this.modeDirective)||void 0===t?void 0:t.mode)?this.checked?"primary":"secondary":this.checked?"whiteblock-active":"whiteblock"}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}onModelChange(t){this.value=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(At.a5,10),r.Y36(r.sBO),r.Y36(he.w,8))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-radio-block"]],viewQuery:function(t,e){if(1&t&&r.Gf(xe,5),2&t){let t;r.iGM(t=r.CRH())&&(e.radio=t.first)}},hostVars:8,hostBindings:function(t,e){2&t&&(r.uIk("data-align",e.contentAlign)("data-size",e.size),r.ekj("_hidden_input",e.hideRadio)("_disabled",e.computedDisabled)("_active",e.checked))},inputs:{item:"item",identityMatcher:"identityMatcher",contentAlign:"contentAlign",size:"size",hideRadio:"hideRadio",pseudoDisabled:"pseudoDisabled"},features:[r._Bn([(0,N.FT)(t),(0,_t.wB)(t)]),r.qOj],ngContentSelectors:ke,decls:4,vars:19,consts:[["tuiWrapper","",1,"t-wrapper",3,"appearance","disabled","focus","hover","active","invalid"],[1,"t-view",3,"focusable","identityMatcher","item","name","nativeId","readOnly","pseudoDisabled","pseudoInvalid","pseudoFocus","pseudoHover","pseudoActive","size","ngModel","ngModelChange","focusedChange","focusVisibleChange"],[1,"t-label"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"label",0),r.TgZ(1,"tui-radio",1),r.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)})("focusVisibleChange",function(t){return e.onFocusVisible(t)}),r.qZA(),r.TgZ(2,"div",2),r.Hsn(3),r.qZA(),r.qZA()),2&t&&(r.Q6J("appearance",e.appearance)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("active",e.pseudoActive)("invalid",e.computedInvalid),r.xp6(1),r.Q6J("focusable",e.focusable)("identityMatcher",e.identityMatcher)("item",e.item)("name",e.computedName||"")("nativeId",e.nativeId)("readOnly",e.readOnly)("pseudoDisabled",e.computedDisabled)("pseudoInvalid",e.computedInvalid)("pseudoFocus",!1)("pseudoHover",e.pseudoHover)("pseudoActive",e.pseudoActive)("size",e.checkboxSize)("ngModel",e.value))},directives:[ft.o,xe,At.JJ,At.On],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);display:inline-block;vertical-align:top;align-items:flex-start;border-radius:var(--tui-radius-m)}[data-size=m][_nghost-%COMP%], [data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m)}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;align-items:inherit;box-sizing:border-box;border-radius:inherit;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0 1rem 0 0}[data-align=right][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{flex-direction:row-reverse;padding:0 0 0 1rem}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:var(--tui-height-l)}[data-size=s]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1rem}[data-size=m]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 1.5rem}[data-size=l]._hidden_input[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 2.25rem}[data-size=s][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-s) / 2 - .5rem) .5rem}[data-size=m][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-m) / 2 - .5rem) .75rem}[data-size=l][_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{margin:calc(var(--tui-height-l) / 2 - .75rem) 1rem}._hidden_input[_nghost-%COMP%] .t-view[_ngcontent-%COMP%]{position:absolute;height:1px;width:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(0,0,0,0);-webkit-clip-path:inset(0);clip-path:inset(0)}.t-label[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-grow:1;align-self:center}._hidden_input[_nghost-%COMP%] .t-label[_ngcontent-%COMP%]{text-align:center}"],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"identityMatcher",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"contentAlign",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"size",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"hideRadio",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"pseudoDisabled",void 0),t})(),Te=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[At.u5,Oe,ft.W]]}),t})();var Me=n(12130);const Se=["*"];let Ee=(()=>{class t{constructor(t){this.mode$=t,this.size="m",this.status="default",this.hoverable=!1}get padding(){var t;return this.isEmpty?"none":(0,$.dt)(null===(t=this.value)||void 0===t?void 0:t.valueOf())?"m":"l"}get outputValue(){var t;const e=null===(t=this.value)||void 0===t?void 0:t.valueOf();return(0,$.dt)(e)&&e>99?"99+":(0,$.Pc)(this.value)?String(this.value):""}get isEmpty(){return!this.value&&0!==this.value}titleText({offsetWidth:t,scrollWidth:e}){return t{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez]]}),t})(),Ie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();const De=["focusableElement"];function Le(t,e){if(1&t&&r._UZ(0,"tui-loader",7),2&t){const t=r.oxw();r.Q6J("size",t.loaderSize)("inheritColor",!0)("showLoader",t.value)}}function Ne(t,e){1&t&&r._UZ(0,"tui-svg",10),2&t&&r.Q6J("src",e.polymorpheusOutlet)}const Fe=function(t){return{$implicit:t}};function ze(t,e){if(1&t&&(r.TgZ(0,"span",8),r.YNc(1,Ne,1,1,"tui-svg",9),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconOn)("polymorpheusOutletContext",r.VKq(2,Fe,t.size))}}function Re(t,e){if(1&t&&r._UZ(0,"tui-loader",7),2&t){const t=r.oxw();r.Q6J("size",t.loaderSize)("inheritColor",!0)("showLoader",!t.value)}}function je(t,e){1&t&&r._UZ(0,"tui-svg",12),2&t&&r.Q6J("src",e.polymorpheusOutlet)}function Be(t,e){if(1&t&&(r.TgZ(0,"span",8),r.YNc(1,je,1,1,"tui-svg",11),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconOff)("polymorpheusOutletContext",r.VKq(2,Fe,t.size))}}const He={icons:{toggleOff:({$implicit:t})=>"m"===t?"tuiIconToggleOff":"tuiIconToggleOffLarge",toggleOn:({$implicit:t})=>"m"===t?"tuiIconToggleOn":"tuiIconToggleOnLarge"},singleColor:!1,showIcons:!1,size:"m"},Ue=new r.OlP("[TUI_TOGGLE_OPTIONS]",{factory:()=>He});let Ve=(()=>{class t extends _t.M${constructor(t,e,n,r){super(t,e),this.modeDirective=n,this.options=r,this.singleColor=this.options.singleColor,this.showIcons=this.options.showIcons,this.showLoader=!1,this.size=this.options.size}get iconOn(){return this.options.icons.toggleOn}get iconOff(){return this.options.icons.toggleOff}get nativeFocusableElement(){return this.focusableElement?this.focusableElement.nativeElement:null}get focused(){return(0,wt.V8)(this.nativeFocusableElement)}get appearance(){return this.singleColor||this.value?"primary":"secondary"}get sizeM(){return"m"===this.size}get loaderSize(){return this.sizeM?"xs":"s"}get hostMode(){return this.modeDirective?this.modeDirective.mode:null}onChecked(t){this.value=t}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}getFallbackValue(){return!1}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(At.a5,10),r.Y36(r.sBO),r.Y36(he.w,8),r.Y36(Ue))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-toggle"]],viewQuery:function(t,e){if(1&t&&r.Gf(De,5),2&t){let t;r.iGM(t=r.CRH())&&(e.focusableElement=t.first)}},hostVars:4,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size)("data-mode",e.hostMode),r.ekj("_checked",e.value))},inputs:{singleColor:"singleColor",showIcons:"showIcons",showLoader:"showLoader",size:"size"},features:[r._Bn([(0,N.FT)(t),(0,_t.wB)(t)]),r.qOj],decls:9,vars:16,consts:[["tuiWrapper","",3,"appearance","readOnly","disabled","focus","hover","active","invalid"],[1,"t-toggle"],["class","t-loader",3,"size","inheritColor","showLoader",4,"ngIf"],["class","t-icon-wrapper",4,"ngIf"],[1,"t-circle"],["type","checkbox","role","switch","automation-id","tui-toggle__checkbox",1,"t-checkbox",3,"id","disabled","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""],[1,"t-loader",3,"size","inheritColor","showLoader"],[1,"t-icon-wrapper"],["automation-id","tui-toggle__check-icon","class","t-icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__check-icon",1,"t-icon",3,"src"],["automation-id","tui-toggle__cancel-icon","class","t-icon t-icon_off",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-toggle__cancel-icon",1,"t-icon","t-icon_off",3,"src"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.TgZ(1,"div",1),r.YNc(2,Le,1,3,"tui-loader",2),r.YNc(3,ze,2,4,"span",3),r._UZ(4,"div",4),r.YNc(5,Re,1,3,"tui-loader",2),r.YNc(6,Be,2,4,"span",3),r.qZA(),r.TgZ(7,"input",5,6),r.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),r.qZA(),r.qZA()),2&t&&(r.Q6J("appearance",e.appearance)("readOnly",e.readOnly)("disabled",e.computedDisabled)("focus",e.computedFocusVisible)("hover",e.pseudoHover)("active",e.pseudoActive)("invalid",e.computedInvalid),r.xp6(2),r.Q6J("ngIf",e.showLoader),r.xp6(1),r.Q6J("ngIf",e.showIcons&&!e.showLoader),r.xp6(2),r.Q6J("ngIf",e.showLoader),r.xp6(1),r.Q6J("ngIf",e.showIcons&&!e.showLoader),r.xp6(1),r.Q6J("id",e.id)("disabled",e.disabled)("tuiFocusable",e.focusable)("tuiChecked",e.value),r.uIk("aria-checked",e.value))},directives:[ft.o,y.O5,de.t,pe.t,fe.U,ge.q,Ct.kM,xt.Li,It.PN],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;overflow:hidden;border-radius:6.25rem}[data-size=m][_nghost-%COMP%]{width:2rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:3rem;height:1.5rem}.t-checkbox[_ngcontent-%COMP%]{padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;height:100%;width:100%;opacity:0;cursor:pointer}.t-checkbox[_ngcontent-%COMP%]:-webkit-autofill, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-checkbox[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}._disabled[_nghost-%COMP%] .t-checkbox[_ngcontent-%COMP%]{pointer-events:none;cursor:default}.t-toggle[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center}[data-size=m][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:3rem;height:1rem;transform:translate(-1rem)}[data-size=l][_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{width:4.5rem;height:1.5rem;transform:translate(-1.5rem)}._checked[_nghost-%COMP%] .t-toggle[_ngcontent-%COMP%]{transform:translate(0)}.t-circle[_ngcontent-%COMP%]{margin:.125rem 0;flex-shrink:0;border-radius:100%;background-color:var(--tui-base-01)}._disabled[_nghost-%COMP%] .t-circle_light[_ngcontent-%COMP%]{opacity:.24}[data-size=m][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:.75rem;height:.75rem}[data-size=l][_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{width:1rem;height:1rem}._disabled[_nghost-%COMP%] .t-circle[_ngcontent-%COMP%]{background-color:var(--tui-base-01)}[_nghost-%COMP%]:not(._checked) .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-06)}[_nghost-%COMP%]:not(._checked)._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-base-05)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[_nghost-%COMP%]:not(._checked)[data-mode=onDark]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight] .t-loader[_ngcontent-%COMP%]{color:var(--tui-text-03)}[_nghost-%COMP%]:not(._checked)[data-mode=onLight]._disabled .t-loader[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:.75rem;margin:0 .2rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-loader[_ngcontent-%COMP%]{width:1rem;margin:0 .25rem}.t-icon-wrapper[_ngcontent-%COMP%]{display:flex}.t-icon[_ngcontent-%COMP%]{opacity:.8}.t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-06)}._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-base-05)}[data-mode=onDark][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-inverse-active)}[data-mode=onLight][_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight]._disabled[_nghost-%COMP%] .t-icon_off[_ngcontent-%COMP%]{color:var(--tui-clear-active)}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem;transform:scale(.75)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{margin:0 .125rem;width:1.5rem;height:1.5rem}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{opacity:1}"],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"singleColor",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"showIcons",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"showLoader",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"size",void 0),t})(),qe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,fe.F,pe.u,Ie,ge.c,de.S,ft.W,It.EI,Ct.dS,xt.wq]]}),t})();var Ze=n(2586),Ye=n(64493),$e=n(87941),Ge=n(29856);const Je=new r.OlP("MutationObserver config");let Qe=(()=>{class t extends Ge.y{constructor({nativeElement:t},e){super(n=>{const r=new MutationObserver(t=>{n.next(t)});return r.observe(t,e),()=>{r.disconnect()}})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.SBq),r.LFG(Je))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();var Xe=n(54487),We=n(74235),Ke=n(25917),tn=n(54395),en=n(68307),nn=n(11557);const rn=["tuiTab",""];function on(t,e){1&t&&r.GkF(0)}const sn=["*"];function an(t,e){1&t&&r.GkF(0)}function ln(t,e){if(1&t&&r._UZ(0,"tui-underline",2),2&t){const t=r.oxw();r.Q6J("element",t.activeElement)}}function cn(t,e){1&t&&r.GkF(0)}function un(t,e){if(1&t&&r.GkF(0,12),2&t){const t=r.oxw().$implicit;r.Q6J("ngTemplateOutlet",t)}}function hn(t,e){if(1&t&&(r.TgZ(0,"div"),r.GkF(1,12),r.qZA()),2&t){const t=r.oxw(),e=t.index,n=t.$implicit,i=r.oxw();r.ekj("t-overflown",i.isOverflown(e)),r.xp6(1),r.Q6J("ngTemplateOutlet",n)}}function dn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,un,1,1,"ng-container",10),r.YNc(2,hn,2,3,"ng-template",null,11,r.W1O),r.BQk()),2&t){const t=e.index,n=r.MAs(3),i=r.oxw();r.xp6(1),r.Q6J("ngIf",t<=i.lastVisibleIndex)("ngIfElse",n)}}function pn(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function fn(t,e){if(1&t&&(r._uU(0),r.ALo(1,"async"),r._UZ(2,"tui-svg",13)),2&t){const t=r.oxw();r.hij(" ",r.lcZ(1,3,t.moreWord$)," "),r.xp6(2),r.ekj("t-icon_rotated",t.open)}}function gn(t,e){if(1&t&&r.GkF(0,12),2&t){const t=r.oxw().$implicit;r.Q6J("ngTemplateOutlet",t)}}function mn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",17),r.NdJ("tui-tab-activate",function(){const e=r.CHM(t).index;return r.oxw(2).onClick(e)}),r.YNc(1,gn,1,1,"ng-container",18),r.qZA()}if(2&t){const t=e.index,n=r.oxw(2);r.xp6(1),r.Q6J("ngIf",n.shouldShow(t))}}function vn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",14,15),r.NdJ("keydown.arrowUp.prevent",function(e){r.CHM(t);const n=r.MAs(1);return r.oxw().onWrapperArrow(e,n,!0)})("keydown.arrowDown.prevent",function(e){r.CHM(t);const n=r.MAs(1);return r.oxw().onWrapperArrow(e,n,!1)}),r.YNc(2,mn,2,1,"div",16),r.qZA()}if(2&t){const t=r.oxw();r.xp6(2),r.Q6J("ngForOf",t.items)}}function _n(t,e){if(1&t&&r._UZ(0,"tui-underline",19),2&t){const t=r.oxw();r.Q6J("element",t.activeElement)}}const yn=new r.OlP("[TUI_TAB_EVENT]"),bn=[at.a3,at.ku,$e.Ok,{provide:yn,deps:[r.SBq,$e.Ok,[new r.FiY,Qe],[new r.FiY,Ze.Od]],useFactory:({nativeElement:t},e,n,r)=>{const i=r&&n?n.pipe((0,f.h)(()=>r.isActive)):qt.E;return(0,c.T)(i,e.pipe((0,f.h)(Xe.y)),t.matches("button")?(0,ct.mL)(t,"click"):qt.E).pipe((0,h.U)(()=>t.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}},Me.CV];let wn=(()=>{class t{constructor(t,e,n,r,i,o){this.routerLinkActive=t,this.el=e,this.mode$=n,this.event$=r,this.margin=i,this.focusVisible=!1,o.subscribe(t=>{this.focusVisible=t})}get isActive(){return!!this.routerLinkActive&&this.routerLinkActive.isActive}ngOnDestroy(){(0,wt.V8)(this.el.nativeElement)&&this.el.nativeElement.blur()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Ze.Od,8),r.Y36(r.SBq),r.Y36(mt.Au),r.Y36(yn),r.Y36(yt.WO),r.Y36(at.ku))},t.\u0275cmp=r.Xpm({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],hostVars:8,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(r.Udp("cursor","pointer")("--tui-tab-margin",e.margin,"px"),r.ekj("_focus-visible",e.focusVisible)("_active",e.isActive))},features:[r._Bn(bn)],attrs:rn,ngContentSelectors:sn,decls:4,vars:3,consts:[[4,"ngIf"],[1,"t-highlight"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,on,1,0,"ng-container",0),r.ALo(1,"async"),r.TgZ(2,"span",1),r.Hsn(3),r.qZA()),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.event$))},directives:[y.O5],pipes:[y.Ov],styles:['._underline[_nghost-%COMP%]:hover, ._underline [_nghost-%COMP%]:hover{box-shadow:inset 0 -2px var(--tui-base-03)}tui-tabs > [_nghost-%COMP%]:first-child, tui-tabs > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, [tuiTabs] > [_nghost-%COMP%]:first-child, tui-tabs > :first-child[_nghost-%COMP%], tui-tabs > :first-child [_nghost-%COMP%], [tuiTabs] > :first-child[_nghost-%COMP%], [tuiTabs] > :first-child [_nghost-%COMP%]{margin-left:0}[_nghost-%COMP%]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;position:relative;display:flex;flex-shrink:0;height:100%;box-sizing:border-box;justify-content:space-between;align-items:center;white-space:nowrap;cursor:pointer;outline:none;text-decoration:none;color:inherit;transition-property:color,box-shadow,opacity;margin-left:var(--tui-tab-margin, 1.5rem)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[_nghost-%COMP%]:not([data-mode])._active{opacity:1;color:var(--tui-text-01);box-shadow:none}[data-mode=onDark][_nghost-%COMP%]{color:#ffffffb8}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark]._active[_nghost-%COMP%]{color:#fff}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-text-01);color:#fff}._focus-visible[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{background:var(--tui-selection)}._android[_nghost-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;margin:0;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._android[_nghost-%COMP%]:hover{box-shadow:none}._android._active[_nghost-%COMP%]{opacity:1;color:var(--tui-base-09)}._android[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}._ios[_nghost-%COMP%]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;margin:0;color:var(--tui-base-01);opacity:1;font-size:.8125rem;font-weight:500;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif}._ios[_nghost-%COMP%]:hover{box-shadow:none}._ios._active[_nghost-%COMP%]{font-size:.875rem;font-weight:600;color:var(--tui-link)}._ios[_nghost-%COMP%] .t-highlight[_ngcontent-%COMP%]{width:auto}@media (hover: hover){[_nghost-%COMP%]:hover{color:var(--tui-text-01)}}.t-highlight[_ngcontent-%COMP%]{display:inline-flex;width:100%;align-items:center;justify-content:inherit}.t-highlight[_ngcontent-%COMP%] >*{flex-shrink:0}tui-tabs[data-vertical][_nghost-%COMP%], tui-tabs[data-vertical] [_nghost-%COMP%], [tuiTabs][data-vertical][_nghost-%COMP%], [tuiTabs][data-vertical] [_nghost-%COMP%]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical][_nghost-%COMP%]:after, tui-tabs[data-vertical] [_nghost-%COMP%]:after, [tuiTabs][data-vertical][_nghost-%COMP%]:after, [tuiTabs][data-vertical] [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;top:0;bottom:0;right:0;width:2px;background:var(--tui-primary);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical][_nghost-%COMP%]:hover, tui-tabs[data-vertical] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical][_nghost-%COMP%]:hover, [tuiTabs][data-vertical] [_nghost-%COMP%]:hover{box-shadow:inset -2px 0 var(--tui-base-03)}tui-tabs[data-vertical]._active[_nghost-%COMP%]:after, tui-tabs[data-vertical] ._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical]._active[_nghost-%COMP%]:after, [tuiTabs][data-vertical] ._active[_nghost-%COMP%]:after{transform:none}tui-tabs[data-vertical="right"][_nghost-%COMP%], tui-tabs[data-vertical="right"] [_nghost-%COMP%], [tuiTabs][data-vertical="right"][_nghost-%COMP%], [tuiTabs][data-vertical="right"] [_nghost-%COMP%]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical="right"][_nghost-%COMP%]:after, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:after, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical="right"][_nghost-%COMP%]:hover, tui-tabs[data-vertical="right"] [_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"][_nghost-%COMP%]:hover, [tuiTabs][data-vertical="right"] [_nghost-%COMP%]:hover{box-shadow:inset 2px 0 var(--tui-base-03)}'],changeDetection:0}),t})(),Cn=(()=>{class t{constructor(t){this.el=t,this.activeItemIndex=0,this.activeItemIndexChange=new r.vpe}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}onActivate(t,e){const n=this.tabs.findIndex(t=>t===e);t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}moveFocus(t,e){const{tabs:n}=this;(0,wt.VR)(n.indexOf(t),n,e)}ngAfterViewChecked(){const{tabs:t,activeElement:e}=this;t.forEach(t=>{const n=t===e;t.classList.toggle("_active",n),t.setAttribute("tabIndex",n?"0":"-1")})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq))},t.\u0275dir=r.lG2({type:t,selectors:[["tui-tabs"],["nav","tuiTabs",""]],hostBindings:function(t,e){1&t&&r.NdJ("tui-tab-activate",function(t){return e.onActivate(t,t.target)})},inputs:{activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"}}),(0,w.gn)([(0,k.TH)()],t.prototype,"activeItemIndex",void 0),t})();const xn={underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0},On=new r.OlP("[TUI_TABS_OPTIONS]",{factory:()=>xn});let kn=(()=>{class t{constructor({nativeElement:t},e,n,r){this.ngZone=e,this.animationFrame$=n,this.mode$=r,this.el$=new We.t(1),this.refresh$=this.el$.pipe((0,u.w)(t=>t?this.animationFrame$.pipe((0,h.U)(()=>t),(0,ct.fL)(this.ngZone)):(0,Ke.of)(null)),(0,_.B)()),this.transition$=(0,nn.Gt)(this.el$.pipe((0,h.U)(t=>t&&"all"),(0,tn.b)(50))),this.transform$=(0,nn.Gt)(this.refresh$.pipe((0,h.U)(t=>t?`translate3d(${t.offsetLeft}px, 0, 0)`:null))),this.width$=(0,nn.Gt)(this.refresh$.pipe((0,h.U)(t=>(null==t?void 0:t.clientWidth)||0))),t["$.style.transitionProperty"]=this.transition$,t["$.style.transform"]=this.transform$,t["$.style.width.px"]=this.width$}set element(t){this.el$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(L.L1),r.Y36(mt.Au))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-underline"]],hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$})("$.style.transitionProperty",function(){return e.transition$()})("$.style.transform",function(){return e.transform$()})("$.style.width.px",function(){return e.width$()})},inputs:{element:"element"},features:[r._Bn([Me.CV])],decls:0,vars:0,template:function(t,e){},styles:["[_nghost-%COMP%]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:0;height:100%;color:var(--tui-primary);transform:scale(0);box-shadow:inset 0 -.1875rem 0 -.0625rem;transition-property:none;pointer-events:none}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}"],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"element",null),t})(),Pn=(()=>{class t{constructor(t,e,n,r,i){this.options=t,this.el=e,this.tabs=n,this.children=F.Mm,this.underline=this.options.underline,i.pipe((0,f.h)(()=>this.underline)).subscribe(()=>{r.detectChanges()})}get activeItemIndex(){return this.tabs.activeItemIndex}set activeItemIndex(t){this.tabs.activeItemIndex=t}get activeElement(){return this.tabs.activeElement}onKeyDownArrow(t,e){this.tabs.moveFocus(t,e)}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex)}scrollTo(t){const e=this.tabs.tabs[t];if(!e)return;const{offsetLeft:n,offsetWidth:r}=e,{nativeElement:i}=this.el;ni.scrollLeft+i.offsetWidth&&(i.scrollLeft=n+r-i.offsetWidth)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(On),r.Y36(r.SBq),r.Y36(Cn),r.Y36(r.sBO),r.Y36(at.tl))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,wn,4),2&t){let t;r.iGM(t=r.CRH())&&(e.children=t)}},hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("keydown.arrowRight.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowLeft.prevent",function(t){return e.onKeyDownArrow(t.target,-1)}),2&t&&r.ekj("_underline",e.underline)},inputs:{underline:"underline"},features:[r._Bn([at.a3,at.tl,Qe,{provide:Je,useValue:{childList:!0}}])],ngContentSelectors:sn,decls:4,vars:4,consts:[[4,"ngIf"],["class","t-underline",3,"element",4,"ngIf"],[1,"t-underline",3,"element"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,an,1,0,"ng-container",0),r.ALo(1,"async"),r.Hsn(2),r.YNc(3,ln,1,1,"tui-underline",1)),2&t&&(r.Q6J("ngIf",r.lcZ(1,2,e.children.changes)),r.xp6(3),r.Q6J("ngIf",e.underline))},directives:[y.O5,kn],pipes:[y.Ov],styles:["[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:relative;z-index:0;display:flex;font:var(--tui-font-text-m);height:var(--tui-height-l);color:var(--tui-text-02);box-shadow:inset 0 -1px var(--tui-base-03);overflow:auto}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}.t-underline[_ngcontent-%COMP%]{z-index:-1}"],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"underline",void 0),(0,w.gn)([k.UM],t.prototype,"scrollTo",null),t})();const Tn=new r.OlP("[TUI_TABS_REFRESH]"),Mn=[at.tl,at.a3,Qe,{provide:Je,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:Tn,deps:[at.tl,Qe,at.a3,y.K0,r.SBq,r.sBO],useFactory:(t,e,n,{body:r},{nativeElement:i},o)=>(0,c.T)(t,e.pipe((0,en.b)(()=>o.detectChanges()))).pipe((0,f.h)(()=>r.contains(i)),(0,tn.b)(0),(0,d.O)(null),(0,p.R)(n))}];let Sn=(()=>{class t{constructor(t,e,n,i,o,s){this.options=t,this.margin=e,this.refresh$=n,this.el=i,this.cdr=o,this.moreWord$=s,this.maxIndex=1/0,this.underline=this.options.underline,this.activeItemIndex=0,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new r.vpe,this.items=F.Mm,this.open=!1}get tabs(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiTab]"))}get activeElement(){var t;const{tabs:e}=this,n=(0,lt.Ki)(this.activeItemIndex||0,0,e.length-2);return this.options.exposeActive||this.lastVisibleIndex>=n?e[n]||null:(null===(t=this.moreButton)||void 0===t?void 0:t.nativeElement)||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=this.items.length?this.maxIndex:Math.min(this.itemsLimit-(this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2),this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,h.U)(()=>this.getMaxIndex()),(0,f.h)(t=>this.maxIndex!==t)).subscribe(t=>{this.maxIndex=t,this.cdr.detectChanges()})}onActiveItemIndexChange(t){this.updateActiveItemIndex(t)}onClick(t){this.open=!1,this.focusMore(),this.updateActiveItemIndex(t)}onArrowRight(t){(0,Ye.ve)(t.target)&&(0,wt.V8)(t.target)&&this.focusMore()}onArrowLeft(){const{tabs:t}=this;let e=t.length-2;for(;e>=0;){if(t[e].focus(),(0,wt.V8)(t[e]))return;e--}}onWrapperArrow(t,e,n){const r=(0,wt.BW)({initial:t.target,root:e,previous:n});r&&r.focus()}isOverflown(t){return t!==this.activeItemIndex||!this.options.exposeActive}shouldShow(t){return t>this.lastVisibleIndex&&this.isOverflown(t)}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:t,activeItemIndex:e,margin:n}=this;if(t.length<2)return 0;const{exposeActive:r,minMoreWidth:i}=this.options,{clientWidth:o}=this.el.nativeElement,s=t[e]?t[e].scrollWidth:0,a=Math.max(t[t.length-1].scrollWidth,i);let l=t.length-2,c=t.reduce((t,{scrollWidth:e})=>t+e,0)+l*n-t[t.length-1].scrollWidth;if(c<=o)return 1/0;for(;l;)if(c-=t[l].scrollWidth+n,l--,c+(r&&e>l?s+n:0)+a+n+(0,lt.HW)(this.maxIndex===l-1){class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,xt.wq,ht.jh,It.EI,pe.u,D]]}),t})();var An=n(59328);const In=["wrapper"];function Dn(t,e){if(1&t&&(r.TgZ(0,"tui-loader",4),r.GkF(1,5),r.qZA()),2&t){const t=r.oxw(2);r.Q6J("overlay",!0)("showLoader",t.loading),r.xp6(1),r.Q6J("ngTemplateOutlet",t.content)}}function Ln(t,e){if(1&t&&(r.ynx(0),r.Hsn(1),r.YNc(2,Dn,2,3,"tui-loader",3),r.BQk()),2&t){const t=r.oxw();r.xp6(2),r.Q6J("ngIf",t.async)("ngIfElse",t.content)}}const Nn=["*"];let Fn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiExpandContent",""]]}),t})(),zn=(()=>{class t{constructor(t){this.cdr=t,this.state=0,this.async=!1,this.content=null,this.expanded=null}set expandedSetter(t){if(null!==this.expanded)return 0!==this.state?(this.expanded=t,void(this.state=3)):(this.expanded=t,void this.retrigger(this.async&&t?1:3));this.expanded=t}get overflow(){return 0!==this.state}get loading(){return!!this.expanded&&this.async&&1===this.state}get height(){const{expanded:t,state:e,contentWrapper:n}=this;return t&&2===e||!t&&3===e?0:n&&(!t&&2===e||t&&3===e)?n.nativeElement.offsetHeight:n&&t&&1===e?Math.max(n.nativeElement.offsetHeight,48):null}get contentVisible(){return this.expanded||0!==this.state}onTransitionEnd({propertyName:t}){"opacity"===t&&3===this.state&&(this.state=0)}onExpandLoaded(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(t){this.state=2,setTimeout(()=>{2===this.state&&(this.state=t,this.cdr.markForCheck())})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Fn,5,r.Rgc),2&t){let t;r.iGM(t=r.CRH())&&(e.content=t.first)}},viewQuery:function(t,e){if(1&t&&r.Gf(In,5),2&t){let t;r.iGM(t=r.CRH())&&(e.contentWrapper=t.first)}},hostVars:9,hostBindings:function(t,e){1&t&&r.NdJ("transitionend.self",function(t){return e.onTransitionEnd(t)})("tui-expand-loaded",function(t){return e.onExpandLoaded(t)}),2&t&&(r.uIk("aria-expanded",e.expanded),r.Udp("height",e.height,"px"),r.ekj("_expanded",e.expanded)("_overflow",e.overflow)("_loading",e.loading))},inputs:{async:"async",expandedSetter:["expanded","expandedSetter"]},ngContentSelectors:Nn,decls:3,vars:3,consts:[[1,"t-wrapper"],["wrapper",""],[4,"ngIf"],["size","l",3,"overlay","showLoader",4,"ngIf","ngIfElse"],["size","l",3,"overlay","showLoader"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0,1),r.YNc(2,Ln,3,2,"ng-container",2),r.qZA()),2&t&&(r.Q6J("@tuiParentAnimation",void 0)("@.disabled",e.overflow),r.xp6(2),r.Q6J("ngIf",e.contentVisible))},directives:[y.O5,Ct.kM,y.tP],styles:['[_nghost-%COMP%]{display:block;transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);opacity:0}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translate(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[F.Kx]},changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"async",void 0),(0,w.gn)([(0,k.NH)()],t.prototype,"expandedSetter",null),t})(),Rn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,Ct.dS]]}),t})();var jn=n(95974);const Bn=["focusableElement"];function Hn(t,e){if(1&t&&r._UZ(0,"tui-svg",8),2&t){const t=r.oxw();r.ekj("t-icon_open",t.open)}}function Un(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function Vn(t,e){if(1&t&&(r.TgZ(0,"div",10),r.YNc(1,Un,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.Q6J("polymorpheusOutlet",t.lazyContent)}}function qn(t,e){if(1&t&&r.YNc(0,Vn,2,1,"div",9),2&t){const t=r.oxw();r.Q6J("ngIf",t.lazyContent)}}function Zn(t,e){1&t&&(r.TgZ(0,"div",12),r.Hsn(1,1),r.qZA())}const Yn=["*",[["","tuiAccordionItemContent",""]]],$n=["*","[tuiAccordionItemContent]"],Gn=[[["tui-accordion-item"]]],Jn=["tui-accordion-item"];let Qn=(()=>{class t extends xt.GL{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc,2),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","tuiAccordionItemContent",""]],features:[r.qOj]}),t})(),Xn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]]}),t})(),Wn=(()=>{class t extends _t.Xn{constructor(t,e){super(),this.cdr=t,this.mode$=e,this.noPadding=!1,this.showArrow=!0,this.borders="all",this.size="m",this.disabled=!1,this.disableHover=!1,this.open=!1,this.async=!1,this.openChange=new r.vpe}get nativeFocusableElement(){return this.disabled||!this.focusableElement?null:this.focusableElement.nativeElement}get focused(){return(0,wt.V8)(this.nativeFocusableElement)}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(t){!this.open||(t.stopPropagation(),this.updateOpen(!1))}close(){this.updateOpen(!1),this.cdr.markForCheck()}updateOpen(t){this.open!==t&&(this.open=t,this.openChange.emit(t))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(mt.Au))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-accordion-item"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,Xn,5),r.Suo(n,Qn,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.eagerContent=t.first),r.iGM(t=r.CRH())&&(e.lazyContent=t.first)}},viewQuery:function(t,e){if(1&t&&r.Gf(Bn,5),2&t){let t;r.iGM(t=r.CRH())&&(e.focusableElement=t.first)}},hostVars:8,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(r.uIk("data-borders",e.borders)("data-size",e.size),r.ekj("_no-padding",e.noPadding)("_has-arrow",e.showArrow)("_disabled",e.disabled))},inputs:{noPadding:"noPadding",showArrow:"showArrow",borders:"borders",size:"size",disabled:"disabled",disableHover:"disableHover",open:"open",async:"async"},outputs:{openChange:"openChange"},features:[r._Bn([(0,N.FT)(t),Me.CV]),r.qOj],ngContentSelectors:$n,decls:9,vars:10,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","tuiFocusable","tuiFocusVisibleChange","tuiFocusedChange","keydown.esc","click"],["focusableElement",""],["automation-id","tui-accordion__item-title",1,"t-title"],["automation-id","tui-accordion__item-arrow","src","tuiIconChevronDownLarge","class","t-icon",3,"t-icon_open",4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-arrow","src","tuiIconChevronDownLarge",1,"t-icon"],["automation-id","tui-accordion__item-content","class","t-content",4,"ngIf"],["automation-id","tui-accordion__item-content",1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content"]],template:function(t,e){1&t&&(r.F$t(Yn),r.TgZ(0,"div",0),r.TgZ(1,"button",1,2),r.NdJ("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)})("tuiFocusedChange",function(t){return e.onFocused(t)})("keydown.esc",function(t){return e.onItemKeyDownEsc(t)})("click",function(){return e.onRowToggle()}),r.TgZ(3,"span",3),r.Hsn(4),r.qZA(),r.YNc(5,Hn,1,2,"tui-svg",4),r.qZA(),r.TgZ(6,"tui-expand",5),r.YNc(7,qn,1,1,"ng-template",6),r.YNc(8,Zn,2,0,"div",7),r.qZA(),r.qZA()),2&t&&(r.xp6(1),r.ekj("t-header_open",e.open)("t-header_hoverable",!e.disableHover),r.Q6J("disabled",e.computedDisabled)("tuiFocusable",e.computedFocusable),r.xp6(4),r.Q6J("ngIf",e.showArrow),r.xp6(1),r.Q6J("async",e.async)("expanded",e.open),r.xp6(2),r.Q6J("ngIf",e.eagerContent))},directives:[pe.t,ge.q,fe.U,y.O5,zn,Fn,It.PN,xt.Li],styles:['[_nghost-%COMP%]{position:relative;display:block;overflow:hidden;border-radius:var(--tui-radius-l)}[data-borders=top-bottom][_nghost-%COMP%]{border-radius:0!important}.t-wrapper[_ngcontent-%COMP%]{position:relative;border-radius:inherit}.t-wrapper[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;border:1px solid var(--tui-base-04);pointer-events:none}[_nghost-%COMP%]:not([data-borders]) .t-wrapper[_ngcontent-%COMP%]:after{border-width:0}[data-borders=all][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-borders=top-bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0}[data-borders=top][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-bottom-width:0}[data-borders=bottom][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-left-width:0;border-right-width:0;border-top-width:0}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-color:var(--tui-text-01)}._focus-visible[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border:2px solid var(--tui-focus)}[_nghost-%COMP%]:not([data-mode]) .t-wrapper[_ngcontent-%COMP%]{background:var(--tui-base-01)}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:100%;font:var(--tui-font-text-l);align-items:center;box-sizing:border-box;border-bottom:1px solid var(--tui-base-04);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-01);cursor:pointer;text-align:left;outline:none}[data-mode=onDark][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{color:var(--tui-text-01-night);border-color:var(--tui-base-03)}[data-mode=onLight][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{border-color:var(--tui-text-01)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0;box-shadow:none}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[data-mode=onDark][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}[data-mode=onLight][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-clear)}[data-size=s][_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-m);min-height:var(--tui-height-m);padding:.625rem .75rem .625rem 1rem}._no-padding[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-left:0;padding-right:0}._disabled[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{cursor:default}[_nghost-%COMP%]:hover:not([data-mode]) .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-base-02)}[_nghost-%COMP%]:hover[data-mode=onDark] .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear-inverse)}[_nghost-%COMP%]:hover[data-mode=onLight] .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-clear)}.t-title[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:0;flex-grow:1}._has-arrow[_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{margin-right:.5rem}.t-icon[_ngcontent-%COMP%]{transition-property:transform,color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1.5rem;height:1.5rem;margin-left:auto;color:var(--tui-base-06)}.t-icon_open[_ngcontent-%COMP%]{transform:rotate(180deg)}[data-mode][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%]:hover[data-mode] .t-icon[_ngcontent-%COMP%]{opacity:.8}[data-mode=onDark][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onLight][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-01)}[_nghost-%COMP%]:hover:not([data-mode]) .t-icon[_ngcontent-%COMP%]{color:var(--tui-base-07)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);padding:1.25rem;word-wrap:break-word}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);padding:1rem}'],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"noPadding",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"showArrow",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"borders",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"size",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"disabled",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"disableHover",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"open",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"async",void 0),t})(),Kn=(()=>{class t{constructor(t){this.destroy$=t,this.closeOthers=!0,this.rounded=!0,this.accordionItems=F.Mm}ngAfterContentInit(){const{accordionItems:t}=this,e=(0,ct.ll)(t),n=e.pipe((0,An.G)(),(0,h.U)(([t,e])=>e.find(e=>!t.includes(e)&&e.open)),(0,f.h)($.Pc));(0,c.T)(e.pipe((0,u.w)(t=>(0,c.T)(...t.map(t=>t.openChange.pipe((0,f.h)(Xe.y),(0,h.U)(()=>t)))))),n).pipe((0,f.h)(()=>this.closeOthers),(0,p.R)(this.destroy$)).subscribe(e=>{t.forEach(t=>{e!==t&&t.close()})})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(at.a3,2))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Wn,4),2&t){let t;r.iGM(t=r.CRH())&&(e.accordionItems=t)}},inputs:{closeOthers:"closeOthers",rounded:"rounded"},features:[r._Bn([at.a3])],ngContentSelectors:Jn,decls:2,vars:2,consts:[["tuiGroup","","automation-id","tui-accordion__group","orientation","vertical","size","l",1,"t-group",3,"collapsed","rounded"]],template:function(t,e){1&t&&(r.F$t(Gn),r.TgZ(0,"div",0),r.Hsn(1),r.qZA()),2&t&&r.Q6J("collapsed",!0)("rounded",e.rounded)},directives:[jn.gZ],styles:["[_nghost-%COMP%]{display:block}.t-group[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"closeOthers",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"rounded",void 0),t})(),tr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,fe.F,ge.c,pe.u,xt.wq,It.EI,jn.n6,Rn]]}),t})();var er=n(22759);let nr=(()=>{class t{constructor(t,e,n){this.el=t,this.ngZone=e,this.destroy$=n,this.eventName=""}ngOnInit(){(0,er.R)(this.el.nativeElement,this.eventName,{passive:!1}).pipe((0,ct.fL)(this.ngZone),(0,ct.mp)(),(0,p.R)(this.destroy$)).subscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(at.a3,2))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiPreventDefault",""]],inputs:{eventName:["tuiPreventDefault","eventName"]},features:[r._Bn([at.a3])]}),t})(),rr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();const ir=["input"];function or(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function sr(t,e){if(1&t&&(r.TgZ(0,"div",6),r.YNc(1,or,2,1,"ng-container",7),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.leftContent)}}function ar(t,e){if(1&t&&r._UZ(0,"tui-loader",8),2&t){const t=r.oxw();r.Q6J("inheritColor",!0)("size",t.loaderSize)}}function lr(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-svg",10),r.NdJ("click",function(e){return r.CHM(t),r.oxw(2).remove(e)}),r.qZA()}2&t&&r.Q6J("src",e.polymorpheusOutlet)}const cr=function(t){return{$implicit:t}};function ur(t,e){if(1&t&&(r.ynx(0),r.YNc(1,lr,1,1,"tui-svg",9),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.iconCleaner)("polymorpheusOutletContext",r.VKq(2,cr,t.size))}}function hr(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"input",11,12),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().onInput(e)})("blur",function(){return r.CHM(t),r.oxw().onBlur()})("keydown",function(e){return r.CHM(t),r.oxw().onKeyDown(e)}),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("ngModel",t.editedText),r.uIk("maxLength",t.maxLength)}}const dr={size:"m",status:"default",autoColor:!1},pr=new r.OlP("[TUI_TAG_OPTIONS]",{factory:()=>dr});let fr=(()=>{class t{constructor(t,e,n,i){this.el=t,this.mode$=e,this.options=n,this.controller=i,this.value="",this.editable=!1,this.separator=",",this.maxLength=null,this.size=this.options.size,this.showLoader=!1,this.status=this.options.status,this.hoverable=!1,this.removable=!1,this.disabled=!1,this.autoColor=this.options.autoColor,this.edited=new r.vpe,this.editing=!1,this.editedText=null}set input(t){t&&t.nativeElement.focus()}get backgroundColor(){return this.autoColor?function(t){if(""===t)return"";let e=0;for(let n=0;n1?this.save(String(e)):this.editedText=t}onKeyDown(t){switch(t.stopPropagation(),t.key.toLowerCase()){case"enter":t.preventDefault(),this.save(this.editedText||"");break;case"escape":case"esc":t.preventDefault(),this.stopEditing(),this.el.nativeElement.focus()}}onBlur(){null!==this.editedText&&this.save(this.editedText)}get canEdit(){return this.editable&&!this.disabled&&!this.showLoader}stopEditing(){this.editing=!1,this.editedText=null}save(t){this.stopEditing(),this.edited.emit(t.trim())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(mt.Au),r.Y36(pr),r.Y36(pt.Cs))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-tag"],["a","tuiTag",""],["button","tuiTag",""]],viewQuery:function(t,e){if(1&t&&r.Gf(ir,5,r.SBq),2&t){let t;r.iGM(t=r.CRH())&&(e.input=t.first)}},hostVars:10,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$})("keydown.enter",function(t){return e.edit(t)})("keydown.delete",function(t){return e.remove(t)})("keydown.backspace",function(t){return e.remove(t)}),2&t&&(r.uIk("data-size",e.size)("data-status",e.status),r.ekj("_hoverable",e.hoverable)("_disabled",e.disabled)("_autocolor",e.autoColor)("_editing",e.editing))},inputs:{value:"value",editable:"editable",separator:"separator",maxLength:"maxLength",size:"size",showLoader:"showLoader",status:"status",hoverable:"hoverable",removable:"removable",disabled:"disabled",autoColor:"autoColor",leftContent:"leftContent"},outputs:{edited:"edited"},features:[r._Bn([pt.Y0,Me.CV])],decls:6,vars:7,consts:[[1,"t-tag",3,"dblclick"],["class","t-content",4,"ngIf"],["automation-id","tui-tag__text",1,"t-text",3,"textContent"],["class","t-content",3,"inheritColor","size",4,"ngIf"],[4,"ngIf"],["automation-id","tui-tag__edit","type","text","class","t-edit",3,"ngModel","ngModelChange","blur","keydown",4,"ngIf"],[1,"t-content"],[4,"polymorpheusOutlet"],[1,"t-content",3,"inheritColor","size"],["tuiPreventDefault","mousedown","automation-id","tui-tag__remove","class","t-icon",3,"src","click",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiPreventDefault","mousedown","automation-id","tui-tag__remove",1,"t-icon",3,"src","click"],["automation-id","tui-tag__edit","type","text",1,"t-edit",3,"ngModel","ngModelChange","blur","keydown"],["input",""]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.NdJ("dblclick",function(t){return e.edit(t)}),r.YNc(1,sr,2,1,"div",1),r._UZ(2,"span",2),r.YNc(3,ar,1,2,"tui-loader",3),r.YNc(4,ur,2,4,"ng-container",4),r.qZA(),r.YNc(5,hr,2,2,"input",5)),2&t&&(r.Udp("background-color",e.backgroundColor),r.xp6(1),r.Q6J("ngIf",e.leftContent),r.xp6(1),r.Q6J("textContent",e.displayText),r.xp6(1),r.Q6J("ngIf",e.showLoader),r.xp6(1),r.Q6J("ngIf",e.canRemove),r.xp6(1),r.Q6J("ngIf",e.editing))},directives:[y.O5,xt.Li,Ct.kM,It.PN,nr,At.Fj,At.JJ,At.On],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;font:var(--tui-font-text-s);line-height:1.25rem;border-radius:var(--tui-radius-s);max-width:100%;cursor:default;outline:none;text-decoration:none}[_nghost-%COMP%]:after{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;content:"";box-sizing:border-box;border-radius:inherit;pointer-events:none}._hoverable[_nghost-%COMP%]:hover[data-status=custom]:after, ._hoverable[_nghost-%COMP%]:active[data-status=custom]:after{background-color:var(--tui-clear)}[_nghost-%COMP%]:focus:after{border:2px solid var(--tui-focus)}[data-size=s][_nghost-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;border-radius:var(--tui-radius-xs)}[data-status=primary][_nghost-%COMP%]{background-color:var(--tui-primary);color:var(--tui-primary-text)}[data-status=primary]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-primary-hover)}[data-status=primary]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-primary-active)}[data-status=error][_nghost-%COMP%]{background-color:var(--tui-error-bg);color:var(--tui-text-01)}[data-status=error]._hoverable[_nghost-%COMP%]:hover, [data-status=error]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-hover)}[data-status=error][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-error-bg-night);color:var(--tui-text-01-night)}[data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=error][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-error-bg-night-hover)}[data-status=success][_nghost-%COMP%]{background-color:var(--tui-success-bg);color:var(--tui-text-01)}[data-status=success]._hoverable[_nghost-%COMP%]:hover, [data-status=success]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-hover)}[data-status=success][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-success-bg-night);color:var(--tui-text-01-night)}[data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=success][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-success-bg-night-hover)}[data-status=warning][_nghost-%COMP%]{background-color:var(--tui-warning-bg);color:var(--tui-text-01)}[data-status=warning]._hoverable[_nghost-%COMP%]:hover, [data-status=warning]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-hover)}[data-status=warning][data-mode=onDark][_nghost-%COMP%]{background-color:var(--tui-warning-bg-night);color:var(--tui-text-01-night)}[data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover, [data-status=warning][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-warning-bg-night-hover)}[data-status=default][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-base-06)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:hover{background-color:var(--tui-base-07)}[data-status=default][_nghost-%COMP%]:not([data-mode])._hoverable:active{background-color:var(--tui-base-08)}[data-status=default][data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-01-night);background-color:var(--tui-clear-inverse)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-inverse-hover)}[data-status=default][data-mode=onDark]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-inverse-active)}[data-status=default][data-mode=onDark][_nghost-%COMP%]:focus:after{border:2px solid var(--tui-base-01)}[data-status=default][data-mode=onLight][_nghost-%COMP%]{background-color:var(--tui-clear);color:var(--tui-text-01)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:hover{background-color:var(--tui-clear-hover)}[data-status=default][data-mode=onLight]._hoverable[_nghost-%COMP%]:active{background-color:var(--tui-clear-active)}._editing[_nghost-%COMP%]{background:transparent!important}._disabled[_nghost-%COMP%]{pointer-events:none;opacity:var(--tui-disabled-opacity)}._hoverable[_nghost-%COMP%]{cursor:pointer}._autocolor[_nghost-%COMP%]{color:var(--tui-text-01)}.t-text[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-right:.02em}.t-tag[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:flex;width:auto;align-items:center;grid-gap:.25rem;gap:.25rem;font:inherit;border-radius:inherit}[data-size=s][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:1.25rem;padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-xs);padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{height:var(--tui-height-s);padding:0 .75rem}._editing[_nghost-%COMP%] .t-tag[_ngcontent-%COMP%]{visibility:hidden}.t-edit[_ngcontent-%COMP%]{margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;font:inherit;color:var(--tui-text-01);width:100%;height:100%;box-sizing:border-box;padding:0 .5rem}.t-edit[_ngcontent-%COMP%]:-webkit-autofill, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-edit[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-size=s][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .375rem}[data-size=m][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .5rem}[data-size=l][_nghost-%COMP%] .t-edit[_ngcontent-%COMP%]{padding:0 .75rem}.t-icon[_ngcontent-%COMP%]{width:1rem;height:100%;cursor:pointer;pointer-events:all;opacity:var(--tui-disabled-opacity)}.t-icon[_ngcontent-%COMP%]:hover{opacity:1}.t-content[_ngcontent-%COMP%]{width:1rem;height:1rem}'],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"value",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"editable",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"separator",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"maxLength",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"size",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"showLoader",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"status",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"hoverable",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"removable",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"disabled",void 0),(0,w.gn)([(0,k.TH)()],t.prototype,"autoColor",void 0),t})(),gr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,At.u5,rr,It.EI,Ct.dS,xt.wq]]}),t})();var mr=n(44711),vr=n(15160),_r=n(21673),yr=n(75122),br=n(91211),wr=n(9112);let Cr=(()=>{class t{constructor(t,e,n){this.doc=t,this.el=e,this.renderer=n,this.activeElement=(0,wt.ie)(this.doc),Promise.resolve().then(()=>{this.el.nativeElement.focus()})}onBlur(){this.renderer.removeAttribute(this.el.nativeElement,"tabIndex")}onFocusIn(t){const{nativeElement:e}=this.el;if((0,Ye.PP)(e,t))return;const n=(0,wt.BW)({initial:e,root:e});n&&n.focus()}ngOnDestroy(){(0,wt.hp)(this.doc),Promise.resolve().then(()=>{(0,Ye.dW)(this.activeElement)&&this.activeElement.focus()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(y.K0),r.Y36(r.SBq),r.Y36(r.Qsj))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiFocusTrap",""]],hostAttrs:["tabIndex","0"],hostBindings:function(t,e){1&t&&r.NdJ("blur",function(){return e.onBlur()})("focusin.silent",function(t){return e.onFocusIn(t.target)},!1,r.Jf7)}}),t})(),xr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var Or=n(71486);function kr(t,e){1&t&&r.GkF(0)}function Pr(t,e){if(1&t&&(r.TgZ(0,"section",3),r.YNc(1,kr,1,0,"ng-container",4),r.qZA()),2&t){const t=e.$implicit;r.Q6J("@tuiParentAnimation",void 0),r.uIk("aria-labelledby",t.id),r.xp6(1),r.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",t)}}function Tr(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",5),r.NdJ("popstate",function(){const e=r.CHM(t).tuiLet,n=r.oxw().ngIf;return r.oxw().closeLast(n,!!e)},!1,r.Jf7)("transitionend",function(e){const n=r.CHM(t).tuiLet,i=r.oxw().ngIf;return r.oxw().onDialog(e,!!i.length,!!n)}),r.qZA()}if(2&t){const t=r.oxw().ngIf;r.ekj("t-overlay_visible",t.length)}}function Mr(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Pr,2,4,"section",1),r.YNc(2,Tr,1,2,"div",2),r.ALo(3,"async"),r.BQk()),2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Q6J("tuiLet",r.lcZ(3,2,n.isDialogClosesOnBack$))}}const Sr=new r.OlP("[TUI_DIALOG_CLOSES_ON_BACK]",{factory:()=>(0,Ke.of)(!1)}),Er={label:"ignoreMe"};let Ar=(()=>{class t{constructor(t,e,n,r){this.isDialogClosesOnBack$=t,this.dialogsByType=e,this.historyRef=n,this.titleService=r,this.dialogs$=(0,wr.aj)(this.dialogsByType).pipe((0,h.U)(t=>(new Array).concat(...t).sort((t,e)=>t.createdAt-e.createdAt)))}closeLast(t,e){if(!e)return;const[n]=t.slice(-1);!n||(t.length>1&&this.historyRef.pushState(Er,this.titleService.getTitle()),n.$implicit.complete())}onDialog({propertyName:t},e,n){!n||"letter-spacing"!==t||(e?this.historyRef.pushState(Er,this.titleService.getTitle()):(t=>(null==t?void 0:t.label)===Er.label)(this.historyRef.state)&&this.historyRef.back())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Sr),r.Y36(N.qY),r.Y36(L.UA),r.Y36(br.Dx))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-dialog-host"]],decls:2,vars:3,consts:[[4,"ngIf"],["tuiFocusTrap","","tuiScrollRef","","tuiOverscroll","all","role","dialog","aria-modal","true","class","t-dialog",4,"ngFor","ngForOf"],["class","t-overlay",3,"t-overlay_visible","popstate","transitionend",4,"tuiLet"],["tuiFocusTrap","","tuiScrollRef","","tuiOverscroll","all","role","dialog","aria-modal","true",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-overlay",3,"popstate","transitionend"]],template:function(t,e){1&t&&(r.YNc(0,Mr,4,4,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.dialogs$))},directives:[y.O5,y.sg,ut.Ls,Cr,Or.W,xt.Li],pipes:[y.Ov],styles:["[_nghost-%COMP%]{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;overflow:overlay}.t-dialog[_ngcontent-%COMP%]{bottom:auto;height:100%}.t-overlay[_ngcontent-%COMP%]{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration),letter-spacing .01s;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-overlay_visible[_ngcontent-%COMP%]{opacity:1;letter-spacing:1px}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}"],data:{animation:[F.Kx]}}),t})(),Ir=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,xt.wq,Or.e,xr,ut.WD]]}),t})();function Dr(t,e){if(1&t&&(r.GkF(0,3),r.ALo(1,"tuiMapper")),2&t){const t=e.$implicit,n=r.oxw(2);r.Q6J("ngComponentOutlet",t.component.component)("ngComponentOutletInjector",r.xi3(1,2,t,n.mapper))}}function Lr(t,e){if(1&t&&(r.TgZ(0,"div",1),r.YNc(1,Dr,2,5,"ng-container",2),r.ALo(2,"async"),r.qZA()),2&t){const t=e.$implicit;r.Q6J("@tuiParentAnimation",void 0),r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,2,t))}}let Nr=(()=>{class t{constructor(t,e){this.alerts=t,this.injector=e,this.mapper=t=>r.zs3.create({providers:[{provide:xt.yf,useValue:t}],parent:this.injector})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(N.bS),r.Y36(r.gxx))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-alert-host"]],decls:1,vars:1,consts:[["class","t-wrapper",4,"ngFor","ngForOf"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(t,e){1&t&&r.YNc(0,Lr,3,4,"div",0),2&t&&r.Q6J("ngForOf",e.alerts)},directives:[y.sg,y.$G],pipes:[y.Ov,it.c],styles:["tui-alert-host>.t-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[F.Kx]}}),t})(),Fr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,it.I]]}),t})(),zr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var Rr=n(27709);function jr(t,e){1&t&&(r.O4$(),r._UZ(0,"defs",4)),2&t&&r.Q6J("innerHTML",e.$implicit,r.oJD)}function Br(t,e){if(1&t&&(r.O4$(),r.ynx(0),r.YNc(1,jr,1,1,"defs",3),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngForOf",t.items)}}function Hr(t,e){if(1&t&&(r.O4$(),r.TgZ(0,"defs"),r._UZ(1,"svg",6),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Q6J("outerHTML",t,r.oJD)}}function Ur(t,e){if(1&t&&(r.O4$(),r.YNc(0,Hr,2,1,"defs",5)),2&t){const t=r.oxw();r.Q6J("ngForOf",t.items)}}let Vr=(()=>{class t{constructor(t,e,n,r){this.svgService=t,this.cdr=e,this.destroy$=n,this.isBrowser=!0,this.isBrowser=!(0,y.PM)(r)}ngOnInit(){this.svgService.items$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.items=t.values(),this.cdr.detectChanges()})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($e.K5),r.Y36(r.sBO),r.Y36(at.a3,2),r.Y36(r.Lbi))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-svg-defs-host"]],features:[r._Bn([at.a3])],decls:4,vars:2,consts:[["version","1.1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],[4,"ngIf","ngIfElse"],["server",""],[3,"innerHTML",4,"ngFor","ngForOf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"outerHTML"]],template:function(t,e){if(1&t&&(r.O4$(),r.TgZ(0,"svg",0),r.YNc(1,Br,2,1,"ng-container",1),r.YNc(2,Ur,1,1,"ng-template",null,2,r.W1O),r.qZA()),2&t){const t=r.MAs(3);r.xp6(1),r.Q6J("ngIf",e.isBrowser)("ngIfElse",t)}},directives:[y.O5,y.sg],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0}),t})(),qr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,ut.WD]]}),t})();function Zr(t,e){1&t&&r.GkF(0)}const Yr=function(t){return{$implicit:t}};function $r(t,e){if(1&t&&(r.TgZ(0,"div",1),r.YNc(1,Zr,1,0,"ng-container",2),r.qZA()),2&t){const t=e.$implicit;r.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",t.activeZone||null),r.xp6(1),r.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",r.VKq(4,Yr,t))}}let Gr=(()=>{class t{constructor(t){this.hints$=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36($e.BN))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-hints-host"]],hostAttrs:["aria-live","polite"],decls:2,vars:3,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(r.YNc(0,$r,2,6,"div",0),r.ALo(1,"async")),2&t&&r.Q6J("ngForOf",r.lcZ(1,1,e.hints$))},directives:[y.sg,ot.e,xt.Li],pipes:[y.Ov],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:0}"],data:{animation:[F.Kx]}}),t})(),Jr=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,xt.wq,ot.A]]}),t})();function Qr(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const Xr=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Wr=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];let Kr=(()=>{class t{constructor(t,e,n,r,{body:i},o){this.duration=t,this.dialogs=e,this.isMobile=n,this.isMobileRes$=r,this.scrollbars$=this.dialogs.length&&!this.isMobile?(0,wr.aj)([...this.dialogs]).pipe((0,h.U)(t=>!t.some(({length:t})=>t))):(0,Ke.of)(!this.isMobile),i.setAttribute("data-tui-theme",o.toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(mt.dx),r.Y36(N.qY),r.Y36(N.fL),r.Y36(mt.rL),r.Y36(y.K0),r.Y36(mt.r2))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","3.26.0"],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("$.class._mobile",function(){return e.isMobileRes$}),2&t&&r.Udp("--tui-duration",e.duration,"ms")},features:[r._Bn([Me.yI])],ngContentSelectors:Wr,decls:14,vars:3,consts:[["class","t-root-scrollbar",4,"ngIf"],[1,"t-root-content"],[1,"t-root-scrollbar"]],template:function(t,e){1&t&&(r.F$t(Xr),r.YNc(0,Qr,1,0,"tui-scroll-controls",0),r.ALo(1,"async"),r._UZ(2,"tui-svg-defs-host"),r.TgZ(3,"tui-dropdown-host"),r.TgZ(4,"div",1),r.Hsn(5),r.qZA(),r.Hsn(6,1),r._UZ(7,"tui-dialog-host"),r.Hsn(8,2),r._UZ(9,"tui-alert-host"),r.Hsn(10,3),r.qZA(),r.Hsn(11,4),r._UZ(12,"tui-hints-host"),r.Hsn(13,5)),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.scrollbars$))},directives:[y.O5,Vr,yr.qY,Ar,Nr,Gr,Rr.tZ],pipes:[y.Ov],styles:['@keyframes tuiPresent{to{content:"1"}}html,.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}body{font:var(--tui-font-text-s);color:var(--tui-text-01);margin:0}tui-root{position:relative;display:block;flex:1;-webkit-tap-highlight-color:transparent}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;margin:0}.t-root-content{position:relative;z-index:0;height:100%}\n'],encapsulation:2}),t})(),ti=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,nn.X1,zr,yr.mL,qr,Jr,Ir,Fr,Rr.eI]]}),t})(),ei=(()=>{class t extends _t.GM{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-theme-night"]],features:[r.qOj],decls:0,vars:0,template:function(t,e){},styles:[":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222}tui-notification{--tui-base-01: #000}\n"],encapsulation:2,changeDetection:0}),t})(),ni=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var ri=n(12628),ii=n(82847),oi=n(90022),si=n(1515),ai=n(98952),li=n(60885),ci=n(80134),ui=n(72361);function hi(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function di(t,e){if(1&t&&(r.TgZ(0,"label",4),r.YNc(1,hi,2,1,"ng-container",5),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.item.label)("polymorpheusOutletContext",t.item)}}function pi(t,e){1&t&&r._UZ(0,"div",6),2&t&&r.Q6J("innerHTML",e.polymorpheusOutlet,r.oJD)}let fi=(()=>{class t{constructor(t,e,n,r,i){this.el=t,this.destroy$=e,this.options=n,this.animationOptions=r,this.item=i,this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.animation=Object.assign({value:""},this.animationOptions)}ngOnInit(){this.initAutoClose()}closeNotification(){this.item.$implicit.complete()}initAutoClose(){!this.autoClose||(0,l.H)((0,$.dt)(this.autoClose)?this.autoClose:this.options.defaultAutoCloseTime).pipe((0,p.R)((0,er.R)(this.el.nativeElement,"mouseenter")),(0,ui.a)(()=>(0,er.R)(this.el.nativeElement,"mouseleave")),(0,p.R)(this.destroy$)).subscribe(()=>this.closeNotification())}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(at.a3,2),r.Y36(mt.Ln),r.Y36(mt.Pw),r.Y36(xt.yf))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:3,hostBindings:function(t,e){2&t&&r.d8E("@tuiFadeIn",e.animation)("@tuiSlideInRight",e.animation)("@tuiHeightCollapse",e.animation)},features:[r._Bn([at.a3])],decls:4,vars:6,consts:[[3,"status","hasIcon","hideClose","close"],["automation-id","tui-notification-alert__heading","class","t-heading",4,"ngIf"],["automation-id","tui-notification-alert__content",1,"t-content"],[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification-alert__heading",1,"t-heading"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(r.TgZ(0,"tui-notification",0),r.NdJ("close",function(){return e.closeNotification()}),r.YNc(1,di,2,2,"label",1),r.TgZ(2,"div",2),r.YNc(3,pi,1,1,"div",3),r.qZA(),r.qZA()),2&t&&(r.Q6J("status",e.item.status)("hasIcon",e.item.hasIcon)("hideClose",!e.item.hasCloseButton),r.xp6(1),r.Q6J("ngIf",e.item.label),r.xp6(2),r.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},directives:[li.Ls,y.O5,xt.Li],styles:["[_nghost-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;display:block;border-radius:var(--tui-radius-m);width:18rem;margin:2rem 3rem 0 auto}tui-root._mobile [_nghost-%COMP%]{margin:1rem 1rem 0 auto}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:bold;margin:0}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-01);word-wrap:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[me.QF,me.hN,me.eu]},changeDetection:0}),t})(),gi=(()=>{class t extends _t.d5{constructor(t,e){super(e),this.defaultOptions=t,this.component=new xt.Al(fi)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(mt.Ln),r.LFG(at.ll))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[(0,N.XH)(gi)],imports:[[y.ez,xt.wq,li.Hi]]}),t})();var vi=n(95639),_i=n(47766);function yi(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function bi(t,e){if(1&t&&(r.TgZ(0,"header",6),r.YNc(1,yi,2,1,"ng-container",3),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.header)("polymorpheusOutletContext",t.context)}}function wi(t,e){if(1&t){const t=r.EpF();r.ynx(0),r._UZ(1,"div",7),r.TgZ(2,"div",8),r.TgZ(3,"button",9),r.NdJ("click",function(){return r.CHM(t),r.oxw().context.$implicit.complete()}),r._uU(4),r.qZA(),r.qZA(),r.BQk()}if(2&t){const t=e.polymorpheusOutlet,n=r.oxw();let i;r.xp6(1),r.Q6J("innerHTML",t,r.oJD),r.xp6(3),r.hij(" ",(null==(i=n.context.data)?null:i.button)||"OK"," ")}}function Ci(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",10),r.TgZ(1,"button",11),r.NdJ("click",function(){return r.CHM(t),r.oxw().close$.next()}),r.ALo(2,"async"),r.qZA(),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("appearance",t.fullscreen?"secondary":"")("title",r.lcZ(2,2,t.closeWord$))}}const xi={size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:""},Oi=new r.OlP("[TUI_DIALOGS_CLOSE]",{factory:()=>qt.E}),ki=new r.OlP("[TUI_DIALOG_OPTIONS]",{factory:()=>xi});let Pi=(()=>{class t extends Ge.y{constructor(t,e,n){super(t=>(0,c.T)(this.click$,this.esc$,this.mousedown$).subscribe(t)),this.win=t,this.doc=e,this.el=n,this.click$=(0,ct.mL)(this.element,"click").pipe((0,f.h)(Ye.Mq)),this.esc$=(0,ct.mL)(this.doc,"keydown").pipe((0,f.h)(t=>{const e=t.key,n=(0,Ye.mA)(t);return"Escape"===e&&(0,Ye.ve)(n)&&(this.element.contains(n)||!(0,Ye.PP)(this.element,n))})),this.mousedown$=(0,ct.mL)(this.doc,"mousedown").pipe((0,f.h)(t=>{const e=(0,Ye.mA)(t),n=t.clientX;return(0,Ye.ve)(e)&&(0,_i.ic)(this.win)-n>17&&!(0,Ye.PP)(this.element,e)}),(0,u.w)(()=>(0,ct.mL)(this.doc,"mouseup").pipe((0,m.q)(1),(0,h.U)(Ye.mA),(0,f.h)(t=>(0,Ye.ve)(t)&&!(0,Ye.PP)(this.element,t)))))}get element(){return this.el.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(L.m9),r.LFG(y.K0),r.LFG(r.SBq))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();const Ti=new Error("Required dialog was dismissed");function Mi(t){return(0,vi.b)(t)?t:(0,Ke.of)(t)}const Si=new xt.Al((()=>{class t{constructor(t,e,n,r,i,o,s){this.duration=t,this.isMobile=e,this.context=n,this.closeWord$=s,this.animation={value:"",params:{start:"40px",duration:this.duration}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:this.duration}},this.close$=new a.xQ,(0,c.T)(this.close$.pipe((0,u.w)(()=>Mi(n.closeable))),i.pipe((0,u.w)(()=>Mi(n.dismissible))),o.pipe((0,h.U)(F.Ye))).pipe((0,f.h)(Boolean),(0,p.R)(r)).subscribe(()=>{this.close()})}get size(){return this.context.size}get header(){return this.context.header}get slideInTop(){return this.fullscreen||this.isMobile?this.fullscreenAnimation:this.animation}get fullscreen(){return!this.isMobile&&("fullscreen"===this.size||"page"===this.size)}close(){this.context.required?this.context.$implicit.error(Ti):this.context.$implicit.complete()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(mt.dx),r.Y36(N.fL),r.Y36(xt.yf),r.Y36(at.a3,2),r.Y36(Pi),r.Y36(Oi),r.Y36(mt.U0))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:5,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size),r.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),r.ekj("_centered",e.header))},features:[r._Bn([at.a3,Pi])],decls:7,vars:6,consts:[["class","t-header",4,"ngIf"],[1,"t-content"],[1,"t-heading",3,"id","textContent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-filler"],["class","t-wrapper",4,"ngIf"],[1,"t-header"],[3,"innerHTML"],[1,"t-buttons"],["type","button","tuiButton","","size","m",3,"click"],[1,"t-wrapper"],["type","button","tuiIconButton","","tuiPreventDefault","mousedown","automation-id","tui-dialog__close","size","s","icon","tuiIconCloseLarge","shape","rounded",1,"t-close",3,"appearance","title","click"]],template:function(t,e){1&t&&(r.YNc(0,bi,2,2,"header",0),r.TgZ(1,"div",1),r._UZ(2,"h2",2),r.TgZ(3,"section"),r.YNc(4,wi,5,2,"ng-container",3),r.qZA(),r.qZA(),r._UZ(5,"div",4),r.YNc(6,Ci,3,4,"div",5)),2&t&&(r.Q6J("ngIf",e.header),r.xp6(2),r.Q6J("id",e.context.id)("textContent",e.context.label),r.xp6(2),r.Q6J("polymorpheusOutlet",e.context.content)("polymorpheusOutletContext",e.context),r.xp6(2),r.Q6J("ngIf",e.context.closeable))},directives:[y.O5,xt.Li,ri.v0,nr],pipes:[y.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 1.125rem 1.875rem #0000007a;content:"";border-radius:inherit;pointer-events:none}[data-size=auto][_nghost-%COMP%]{width:auto}[data-size=s][_nghost-%COMP%]{width:30rem}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[data-size=s][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}[data-size=m][_nghost-%COMP%]{width:42.5rem}[data-size=m][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.75rem;font:var(--tui-font-heading-4)}[data-size=l][_nghost-%COMP%]{width:55rem}[data-size=l][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=fullscreen][_nghost-%COMP%], [data-size=page][_nghost-%COMP%]{width:100%;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - (45rem / 2))}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}._centered[_nghost-%COMP%]{text-align:center}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1.5rem}[_nghost-%COMP%] tui-root._mobile[data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], tui-root._mobile [data-size][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading[_ngcontent-%COMP%]{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading[_ngcontent-%COMP%]:empty{display:none}.t-header[_ngcontent-%COMP%]{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}[data-size=fullscreen][_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{flex:1}.t-content[_ngcontent-%COMP%]{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;order:-1}.t-filler[_ngcontent-%COMP%]{flex-grow:1}.t-close[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;color:var(--tui-base-01)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}[_nghost-%COMP%]:not([data-size="fullscreen"]):not([data-size="page"]) .t-close[_ngcontent-%COMP%]:hover{background:rgba(159,159,159,.86)}[_nghost-%COMP%]:not([data-size="fullscreen"]).ng-animating .t-close[_ngcontent-%COMP%]{display:none}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-base-06)}tui-root._mobile[_nghost-%COMP%] .t-close[_ngcontent-%COMP%]:hover, tui-root._mobile [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]:hover{color:var(--tui-base-07)}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[me.X9,me.QF]}}),t})());let Ei=(()=>{class t extends _t.d5{constructor(){super(...arguments),this.component=Si,this.defaultOptions=Object.assign(Object.assign({},(0,r.f3M)(ki)),{data:void 0})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ai=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[(0,N.Q)(Ei)],imports:[[xt.wq,ri.fN,y.ez,rr]]}),t})();var Ii=n(12067),Di=n(56083);class Li{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),r=n.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,this._document.body.appendChild(n)}copy(){const t=this._textarea;let e=!1;try{if(t){const n=this._document.activeElement;t.select(),t.setSelectionRange(0,t.value.length),e=this._document.execCommand("copy"),n&&n.focus()}}catch(n){}return e}destroy(){const t=this._textarea;t&&(t.parentNode&&t.parentNode.removeChild(t),this._textarea=void 0)}}let Ni=(()=>{class t{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new Li(t,this._document)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(y.K0))},t.\u0275prov=r.Yz7({factory:function(){return new t(r.LFG(y.K0))},token:t,providedIn:"root"}),t})();const Fi=new r.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let zi=(()=>{class t{constructor(t,e,n){this._clipboard=t,this._ngZone=e,this.text="",this.attempts=1,this.copied=new r.vpe,this._pending=new Set,n&&null!=n.attempts&&(this.attempts=n.attempts)}copy(t=this.attempts){if(t>1){let e=t;const n=this._clipboard.beginCopy(this.text);this._pending.add(n);const r=()=>{const t=n.copy();t||!--e||this._destroyed?(this._currentTimeout=null,this._pending.delete(n),n.destroy(),this.copied.emit(t)):this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(r,1))};r()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Ni),r.Y36(r.R0b),r.Y36(Fi,8))},t.\u0275dir=r.lG2({type:t,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(t,e){1&t&&r.NdJ("click",function(){return e.copy()})},inputs:{text:["cdkCopyToClipboard","text"],attempts:["cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}}),t})(),Ri=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();const ji=["tuiSidebar",""];function Bi(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}let Hi=(()=>{class t extends xt.GL{constructor(t,e,n,r){super(t,r),this.content=t,this.injector=e,this.portalService=n,this.component=new xt.Al(Ui,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1}set tuiSidebar(t){t?this.show():this.hide()}ngOnDestroy(){this.hide()}show(){null===this.sidebarRef&&(this.sidebarRef=this.portalService.add(this.component),this.sidebarRef.changeDetectorRef.detectChanges())}hide(){null!==this.sidebarRef&&(this.portalService.remove(this.sidebarRef),this.sidebarRef=null)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.zs3),r.Y36(yr.ae),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},features:[r.qOj]}),t})(),Ui=(()=>{class t{constructor(t,e){this.options=t,this.directive=e,this.left=Object.assign({value:"left"},this.options),this.right=Object.assign({value:"right"},this.options)}get animation(){return"left"===this.direction?this.left:this.right}get directionHostClass(){return`t-${this.directive.direction}`}get direction(){return this.directive.direction}get content(){return this.directive.content}get autoWidth(){return this.directive.autoWidth}ngDoCheck(){this.directive.check()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(mt.Pw),r.Y36(Hi))},t.\u0275cmp=r.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(r.d8E("@tuiSlideIn",e.animation),r.Tol(e.directionHostClass))},attrs:ji,decls:2,vars:3,consts:[["tuiActiveZone","",1,"t-wrapper"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,Bi,2,1,"ng-container",1),r.qZA()),2&t&&(r.ekj("t-wrapper_auto-width",e.autoWidth),r.xp6(1),r.Q6J("polymorpheusOutlet",e.content))},directives:[ot.e,xt.Li],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;content:"";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}[_nghost-%COMP%]:before{left:-100%;width:200%}[_nghost-%COMP%]:after{left:100%}.ng-animating[_nghost-%COMP%]:before, .ng-animating[_nghost-%COMP%]:after{opacity:0;transition:opacity var(--tui-duration)}.t-right[_nghost-%COMP%]{justify-content:flex-end}.t-left[_nghost-%COMP%]{justify-content:flex-start}.t-wrapper[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[me.Gw]},changeDetection:0}),t})(),Vi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[ot.A,xt.wq]]}),t})(),qi=(()=>{class t{constructor(t,{nativeElement:e},n){this.readyToScroll$=n,this.scroll$=new We.t(1),this.readyToScroll$.pipe((0,f.h)(Boolean),(0,u.w)(()=>this.scroll$),(0,tn.b)(750),(0,f.h)(t=>t&&!!(0,Ye.PU)(e)),(0,p.R)(t)).subscribe(()=>{e.scrollIntoView()})}set tuiScrollIntoViewLink(t){this.scroll$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(at.a3,2),r.Y36(r.SBq),r.Y36(i.V1))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},features:[r._Bn([at.a3])]}),t})(),Zi=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();const Yi=new r.OlP("[TUI_THEME_STORAGE_KEY]",{factory:()=>"tuiTheme"}),$i="Taiga UI",Gi=new r.OlP("[TUI_THEME_NAME]",{factory:()=>$i});let Ji=(()=>{class t extends s.X{constructor(t,e,n){super(n.getItem(e)||t),this.initialTheme=t,this.key=e,this.storage=n}next(t){this.storage.setItem(this.key,t),super.next(t)}get isDefaultTheme(){return this.value===$i}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(Gi),r.LFG(Yi),r.LFG(L.H3))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Qi=new r.OlP("[TUI_THEME_NIGHT_STORAGE_KEY]",{factory:()=>"tuiNight"}),Xi=new r.OlP("[TUI_USE_DEFAULT_NIGHT_THEME]",{factory:F.Ye});let Wi=(()=>{class t extends s.X{constructor(t,e,n,r){super("true"===e.getItem(n)||null===e.getItem(n)&&t.matchMedia("(prefers-color-scheme: dark)").matches),this.win=t,this.storage=e,this.key=n,this.useDefaultNightTheme=r}next(t){this.storage.setItem(this.key,String(t)),super.next(t)}toggle(){this.next(!this.value)}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(L.m9),r.LFG(L.H3),r.LFG(Qi),r.LFG(Xi))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Ki(t,e){if(1&t&&(r.TgZ(0,"p",2),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.filename,"\n")}}function to(t,e){if(1&t&&(r.TgZ(0,"pre",3),r._UZ(1,"code",4),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Q6J("lineNumbers",!0)("highlight",t)}}function eo(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",function(){return r.CHM(t),r.oxw().onClick()}),r.TgZ(1,"span",2),r.ALo(2,"async"),r.TgZ(3,"span",3),r.Hsn(4),r.qZA(),r._uU(5),r.qZA(),r.qZA()}if(2&t){const t=e.ngIf,n=r.oxw();r.Q6J("title",t[0]),r.xp6(1),r.ekj("t-content_moved",r.lcZ(2,5,n.copied$)),r.xp6(2),r.uIk("data-text",t[0]),r.xp6(2),r.hij(" ",t[1]," ")}}const no=["*"],ro=["content"],io=["resizer"];function oo(t,e){if(1&t&&(r._uU(0),r.TgZ(1,"a",11),r.TgZ(2,"code"),r._uU(3,"tuiMode"),r.qZA(),r.qZA()),2&t){const t=r.oxw();r.hij(" ",t.texts[0]," ")}}function so(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",14),2&t){const t=r.oxw(2);r.Q6J("items",t.items)}}function ao(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"tui-select",12),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().onModeChange(e)}),r._uU(2," tuiMode "),r.YNc(3,so,1,1,"tui-data-list-wrapper",13),r.qZA(),r.BQk()}if(2&t){const t=r.oxw(),e=r.MAs(2);r.xp6(1),r.Q6J("tuiTextfieldCleaner",!0)("tuiHintContent",e)("ngModel",t.mode)}}function lo(t,e){if(1&t){const t=r.EpF();r._uU(0," tuiMode: "),r._UZ(1,"tui-tooltip",15),r.TgZ(2,"div",16),r.TgZ(3,"tui-radio-block",17),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().onModeChange(e)}),r._uU(4," null "),r.qZA(),r.TgZ(5,"tui-radio-block",18),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().onModeChange(e)}),r._uU(6," onDark "),r.qZA(),r.TgZ(7,"tui-radio-block",19),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw().onModeChange(e)}),r._uU(8," onLight "),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(),e=r.MAs(2);r.xp6(1),r.Q6J("content",e),r.xp6(1),r.Q6J("collapsed",!0),r.xp6(1),r.Q6J("item",null)("hideRadio",!0)("ngModel",t.mode),r.xp6(2),r.Q6J("hideRadio",!0)("ngModel",t.mode),r.xp6(2),r.Q6J("hideRadio",!0)("ngModel",t.mode)}}function co(t,e){if(1&t&&r._UZ(0,"tui-svg",27),2&t){const t=r.oxw(2);r.ekj("t-icon_rotated",t.expanded)}}function uo(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",14),2&t){const t=r.oxw(3);r.Q6J("items",t.updateOnVariants)}}const ho=function(){return{standalone:!0}};function po(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",28),r._uU(1),r.ALo(2,"json"),r.qZA(),r.TgZ(3,"div",29),r.TgZ(4,"tui-select",30),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw(2).updateOnChange(e)}),r._uU(5," updateOn "),r.YNc(6,uo,1,1,"tui-data-list-wrapper",13),r.qZA(),r.TgZ(7,"button",31),r._uU(8," Reset "),r.qZA(),r.TgZ(9,"button",32),r._uU(10," Submit "),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(2);r.xp6(1),r.hij("Form data: ",r.lcZ(2,3,t.testForm.value),""),r.xp6(3),r.Q6J("ngModel",t.updateOn)("ngModelOptions",r.DdM(5,ho))}}function fo(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",20),r.TgZ(1,"div",21),r.GkF(2,22),r.qZA(),r.TgZ(3,"button",23),r.NdJ("click",function(){return r.CHM(t),r.oxw().toggleDetails()}),r._uU(4),r.qZA(),r.YNc(5,co,1,2,"ng-template",null,24,r.W1O),r.TgZ(7,"tui-expand",25),r.YNc(8,po,11,6,"ng-template",26),r.qZA(),r.qZA()}if(2&t){const t=r.MAs(6),e=r.oxw();r.Q6J("formGroup",e.testForm),r.xp6(2),r.Q6J("ngTemplateOutlet",e.template),r.xp6(1),r.Q6J("iconRight",t),r.xp6(1),r.hij(" ",e.texts[2]," "),r.xp6(3),r.Q6J("expanded",e.expanded)}}const go=function(){return[1,0]};function mo(t,e){if(1&t&&(r.TgZ(0,"h1",2),r._uU(1),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.heading,"\n")}}function vo(t,e){if(1&t&&(r.TgZ(0,"th",10),r._uU(1),r.qZA()),2&t){const t=r.oxw(3);r.xp6(1),r.hij(" ",t.texts[3]," ")}}function _o(t,e){1&t&&r._UZ(0,"tui-badge",20)}function yo(t,e){1&t&&(r.TgZ(0,"span",21),r._uU(1," deprecated "),r.qZA())}function bo(t,e){if(1&t&&(r._uU(0),r.TgZ(1,"a",24),r.TgZ(2,"code"),r._uU(3,"ng-polymorpheus"),r.qZA(),r.qZA()),2&t){const t=r.oxw(5);r.hij(" ",t.texts[4]," ")}}function wo(t,e){if(1&t&&(r.TgZ(0,"tui-tooltip",22),r.YNc(1,bo,4,1,"ng-template",null,23,r.W1O),r.qZA()),2&t){const t=r.MAs(2),e=r.oxw().$implicit;r.Q6J("describeId",e.attrName)("content",t)}}function Co(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",34),2&t){r.oxw(2);const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("items",e.documentationPropertyValues)("itemContent",t)}}function xo(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-select",31),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw(3).$implicit.onValueChange(e)}),r.ALo(1,"tuiShowCleanerPipe"),r.TgZ(2,"code",32),r._uU(3,"null"),r.qZA(),r.YNc(4,Co,1,2,"tui-data-list-wrapper",33),r.qZA()}if(2&t){r.oxw();const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("tuiTextfieldCleaner",r.lcZ(1,5,e.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("nativeId",e.attrName)("valueContent",t)("ngModel",e.documentationPropertyValue)}}function Oo(t,e){if(1&t&&(r.TgZ(0,"code"),r._uU(1),r.ALo(2,"tuiInspectAny"),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.Oqu(r.lcZ(2,1,t))}}function ko(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-toggle",41),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw(4).$implicit.onValueChange(e)}),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("nativeId",t.attrName)("showIcons",!0)("ngModel",t.documentationPropertyValue)}}function Po(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-primitive-textfield",42),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw(4).$implicit.onValueChange(e)}),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("nativeId",t.attrName)("tuiTextfieldLabelOutside",!0)("tuiTextfieldCleaner",!0)("value",t.documentationPropertyValue||"")}}function To(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",43),r.TgZ(1,"tui-primitive-textfield",44),r.NdJ("valueChange",function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.oxw(3).onColorChange(n,e)}),r.ALo(2,"tuiGetOpacity"),r.ALo(3,"tuiGetColorPipe"),r._UZ(4,"input",45),r.qZA(),r.TgZ(5,"tui-input-count",46),r.NdJ("ngModelChange",function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.oxw(3).onOpacityChange(n,e)}),r.ALo(6,"tuiGetOpacity"),r._uU(7," Opacity "),r.qZA(),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.xp6(1),r.Q6J("tuiTextfieldLabelOutside",!0)("tuiInputOpacity",r.lcZ(2,6,t.documentationPropertyValue))("value",r.lcZ(3,8,t.documentationPropertyValue)),r.uIk("id",t.attrName),r.xp6(4),r.Q6J("max",100)("ngModel",r.lcZ(6,10,t.documentationPropertyValue))}}function Mo(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-input-count",47),r.NdJ("ngModelChange",function(e){return r.CHM(t),r.oxw(4).$implicit.onValueChange(e)}),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("nativeId",t.attrName)("tuiTextfieldLabelOutside",!0)("ngModel",t.documentationPropertyValue)}}function So(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-primitive-textfield",42),r.NdJ("valueChange",function(e){return r.CHM(t),r.oxw(5).$implicit.onValueChange(e)}),r._uU(1," Default content "),r.qZA()}if(2&t){const t=r.oxw(5).$implicit;r.Q6J("nativeId",t.attrName)("tuiTextfieldLabelOutside",!0)("tuiTextfieldCleaner",!0)("value",t.documentationPropertyValue.toString())}}function Eo(t,e){if(1&t&&(r.ynx(0),r.YNc(1,So,2,4,"tui-primitive-textfield",48),r.ALo(2,"tuiIsPrimitivePolymorpheusContentPipe"),r.BQk()),2&t){const t=r.oxw(4).$implicit;r.xp6(1),r.Q6J("ngIf",r.lcZ(2,1,t.documentationPropertyValue))}}function Ao(t,e){if(1&t&&(r.ynx(0,35),r.YNc(1,ko,1,3,"tui-toggle",36),r.YNc(2,Po,1,4,"tui-primitive-textfield",37),r.YNc(3,To,8,12,"div",38),r.YNc(4,Mo,1,3,"tui-input-count",39),r.YNc(5,Eo,3,3,"ng-container",40),r.BQk()),2&t){const t=r.oxw(3).$implicit;r.Q6J("ngSwitch",t.documentationPropertyType),r.xp6(1),r.Q6J("ngSwitchCase","boolean"),r.xp6(1),r.Q6J("ngSwitchCase","string"),r.xp6(1),r.Q6J("ngSwitchCase","color"),r.xp6(1),r.Q6J("ngSwitchCase","number"),r.xp6(1),r.Q6J("ngSwitchCase","PolymorpheusContent")}}function Io(t,e){if(1&t&&(r.ynx(0),r.YNc(1,xo,5,7,"tui-select",28),r.YNc(2,Oo,3,3,"ng-template",null,29,r.W1O),r.YNc(4,Ao,6,6,"ng-template",null,30,r.W1O),r.BQk()),2&t){const t=r.MAs(5),e=r.oxw(2).$implicit;r.xp6(1),r.Q6J("ngIf",e.hasItems)("ngIfElse",t)}}function Do(t,e){if(1&t&&(r.TgZ(0,"tui-notification",49),r.ALo(1,"async"),r._uU(2," Emit! "),r.qZA()),2&t){const t=r.oxw(2).$implicit;r.Q6J("@emitEvent",r.lcZ(1,1,t.emits$))}}function Lo(t,e){if(1&t&&(r.TgZ(0,"td",25),r.YNc(1,Io,6,2,"ng-container",26),r.YNc(2,Do,3,3,"ng-template",null,27,r.W1O),r.qZA()),2&t){const t=r.MAs(3),e=r.oxw().$implicit;r.xp6(1),r.Q6J("ngIf",e.shouldShowValues)("ngIfElse",t)}}function No(t,e){if(1&t&&(r.TgZ(0,"tr",11),r.TgZ(1,"td",12),r.TgZ(2,"div",13),r._uU(3),r.ALo(4,"tuiStripOptionalPipe"),r.YNc(5,_o,1,0,"tui-badge",14),r.ALo(6,"tuiIsOptionalPipe"),r.qZA(),r.YNc(7,yo,2,0,"span",15),r.GkF(8,16),r.qZA(),r.TgZ(9,"td",12),r.TgZ(10,"span",17),r._uU(11),r.YNc(12,wo,3,2,"tui-tooltip",18),r.ALo(13,"tuiShowContentTooltip"),r.qZA(),r.qZA(),r.YNc(14,Lo,4,2,"td",19),r.qZA()),2&t){const t=e.$implicit,n=r.oxw(3);r.ekj("t-deprecated",t.documentationPropertyDeprecated),r.xp6(3),r.hij(" ",r.lcZ(4,9,t.attrName)," "),r.xp6(2),r.Q6J("ngIf",r.lcZ(6,11,t.attrName)),r.xp6(2),r.Q6J("ngIf",t.documentationPropertyDeprecated),r.xp6(1),r.Q6J("ngTemplateOutlet",t.template),r.xp6(3),r.hij(" ",t.documentationPropertyType," "),r.xp6(1),r.Q6J("ngIf",r.lcZ(13,13,t.documentationPropertyType)),r.xp6(2),r.Q6J("ngIf",n.showValues)}}function Fo(t,e){if(1&t&&(r.TgZ(0,"table",4),r.TgZ(1,"tr",5),r.TgZ(2,"th",6),r._uU(3),r.qZA(),r.TgZ(4,"th",7),r._uU(5),r.qZA(),r.YNc(6,vo,2,1,"th",8),r.qZA(),r.YNc(7,No,15,15,"tr",9),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.xp6(3),r.Oqu(e.texts[2]),r.xp6(2),r.Oqu(e.type),r.xp6(1),r.Q6J("ngIf",e.showValues&&!e.isAPI),r.xp6(1),r.Q6J("ngForOf",t)}}function zo(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Fo,8,4,"table",3),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length)}}function Ro(t,e){1&t&&r._UZ(0,"span",8),2&t&&r.Q6J("textContent",e.polymorpheusOutlet)}function jo(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",9),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).copyExampleLink()}),r.ALo(1,"async"),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("title",r.lcZ(1,1,t.copy$))}}function Bo(t,e){if(1&t&&(r.TgZ(0,"h3",5),r.YNc(1,Ro,1,1,"span",6),r.ALo(2,"tuiDocExampleCapitalize"),r.YNc(3,jo,2,3,"button",7),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",r.lcZ(2,2,t.heading)),r.xp6(2),r.Q6J("ngIf",t.id)}}function Ho(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function Uo(t,e){if(1&t&&(r.TgZ(0,"h4",10),r.YNc(1,Ho,2,1,"ng-container",11),r.ALo(2,"tuiDocExampleCapitalize"),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",r.lcZ(2,1,t.description))}}function Vo(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function qo(t,e){if(1&t&&(r.TgZ(0,"button",20),r.YNc(1,Vo,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw().$implicit,e=r.oxw(3);r.xp6(1),r.Q6J("polymorpheusOutlet",e.getTabTitle(t))}}function Zo(t,e){1&t&&(r.ynx(0),r.YNc(1,qo,2,1,"button",19),r.BQk())}function Yo(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function $o(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Yo,2,1,"ng-container",11),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("polymorpheusOutlet",t)}}function Go(t,e){if(1&t&&(r.TgZ(0,"button",24),r._uU(1),r.qZA()),2&t){const t=r.oxw(4);r.xp6(1),r.hij(" Edit on ",t.codeEditor.name," ")}}function Jo(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-loader",21),r.NdJ("click",function(){r.CHM(t);const e=r.oxw(2).ngIf;return r.oxw().edit(e)}),r.ALo(1,"async"),r.YNc(2,$o,2,1,"ng-container",22),r.YNc(3,Go,2,1,"ng-template",null,23,r.W1O),r.qZA()}if(2&t){const t=r.MAs(4),e=r.oxw(3);r.Q6J("overlay",!0)("showLoader",!!r.lcZ(1,4,e.loading$)),r.xp6(2),r.Q6J("ngIf",null==e.codeEditor?null:e.codeEditor.content)("ngIfElse",t)}}function Qo(t,e){if(1&t&&r.GkF(0,28),2&t){r.oxw(4);const t=r.MAs(5);r.Q6J("ngTemplateOutlet",t)}}const Xo=function(t){return{$implicit:t}};function Wo(t,e){if(1&t&&r.GkF(0,29),2&t){const t=r.oxw(2).ngIf,e=r.oxw().ngIf,n=r.oxw(),i=r.MAs(7);r.Q6J("ngTemplateOutlet",i)("ngTemplateOutletContext",r.VKq(2,Xo,e[t[n.activeItemIndex]]||""))}}function Ko(t,e){if(1&t&&(r.TgZ(0,"div",25),r.YNc(1,Qo,1,1,"ng-container",26),r.YNc(2,Wo,1,4,"ng-template",null,27,r.W1O),r.qZA()),2&t){const t=e.index,n=r.MAs(3),i=r.oxw(3);r.ekj("t-content_animated",!i.isCypress)("t-content_visible",i.activeItemIndex===t),r.xp6(1),r.Q6J("ngIf",t===i.defaultTabIndex)("ngIfElse",n)}}function ts(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"div",14),r.TgZ(2,"tui-tabs-with-more",15),r.NdJ("activeItemIndexChange",function(e){return r.CHM(t),r.oxw(2).activeItemIndex=e}),r.YNc(3,Zo,2,0,"ng-container",16),r.qZA(),r.YNc(4,Jo,5,6,"tui-loader",17),r.ALo(5,"tuiMapper"),r.qZA(),r.YNc(6,Ko,4,6,"div",18),r.BQk()}if(2&t){const t=e.ngIf,n=r.oxw().ngIf,i=r.oxw();r.xp6(2),r.Q6J("activeItemIndex",i.activeItemIndex),r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Q6J("ngIf",r.xi3(5,4,n,i.visible)),r.xp6(2),r.Q6J("ngForOf",t)}}function es(t,e){if(1&t&&(r.TgZ(0,"div",12),r.YNc(1,ts,7,7,"ng-container",13),r.ALo(2,"tuiDocExampleGetTabs"),r.qZA()),2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.Q6J("ngIf",r.xi3(2,1,t,n.defaultTab))}}function ns(t,e){1&t&&(r.TgZ(0,"div",30),r.Hsn(1),r.qZA())}function rs(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}function is(t,e){if(1&t&&(r.ynx(0),r.YNc(1,rs,2,1,"ng-container",34),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit;r.xp6(1),r.Q6J("polymorpheusOutlet",t)("polymorpheusOutletContext",r.VKq(2,Xo,n))}}function os(t,e){if(1&t&&(r.TgZ(0,"section",31),r.YNc(1,is,2,4,"ng-container",16),r._UZ(2,"tui-doc-copy",32),r.qZA(),r._UZ(3,"tui-doc-code",33)),2&t){const t=e.$implicit,n=r.oxw();r.xp6(1),r.Q6J("ngForOf",n.codeActions),r.xp6(1),r.Q6J("cdkCopyToClipboard",t),r.xp6(1),r.Q6J("code",t)}}function ss(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",14),r.NdJ("click",function(){r.CHM(t);const e=r.oxw(4),n=r.MAs(1);return e.onClick(n)}),r._uU(1),r.qZA()}if(2&t){const t=e.$implicit;r.Q6J("routerLink",t.route),r.xp6(1),r.hij(" ",t.title," ")}}function as(t,e){if(1&t&&(r.TgZ(0,"tui-opt-group",12),r.YNc(1,ss,2,2,"a",13),r.qZA()),2&t){const t=e.$implicit,n=e.index,i=r.oxw(3);r.Q6J("label",i.labels[n]||""),r.xp6(1),r.Q6J("ngForOf",t)}}function ls(t,e){if(1&t&&(r.TgZ(0,"tui-data-list"),r.YNc(1,as,2,2,"tui-opt-group",11),r.ALo(2,"async"),r.qZA()),2&t){const t=r.oxw(2);r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,1,t.filtered$))}}function cs(t,e){1&t&&(r.ynx(0),r.YNc(1,ls,3,3,"tui-data-list",10),r.BQk())}const us=function(t,e){return{item:t,index:e}};function hs(t,e){if(1&t&&r.GkF(0,19),2&t){const t=e.$implicit,n=e.index,i=r.oxw(2).index;r.oxw();const o=r.MAs(12);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,us,t,100*i+n))}}function ds(t,e){if(1&t&&(r.TgZ(0,"div",18),r.YNc(1,hs,1,5,"ng-container",8),r.qZA()),2&t){const t=r.oxw().index,e=r.oxw();r.xp6(1),r.Q6J("ngForOf",e.items[t])}}function ps(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-accordion-item",15),r.NdJ("openChange",function(e){const n=r.CHM(t).index;return!!(r.oxw().openPagesArr[n]=e)}),r.TgZ(1,"span",16),r.TgZ(2,"strong"),r._uU(3),r.qZA(),r.qZA(),r.YNc(4,ds,2,1,"ng-template",17),r.qZA()}if(2&t){const t=e.$implicit,n=e.index,i=r.oxw();r.Q6J("borders",null)("open",!!i.openPagesArr[n]),r.xp6(3),r.Oqu(t)}}function fs(t,e){if(1&t&&r.GkF(0,19),2&t){const t=e.$implicit,n=e.index,i=r.oxw(),o=r.MAs(12);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,us,t,i.items.length-1+n))}}function gs(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",22),r.NdJ("click",function(){return r.CHM(t),r.oxw(2).closeMenu()}),r._uU(1),r.qZA()}if(2&t){const t=r.oxw().item,e=r.oxw();r.Q6J("routerLink",t.route)("tuiScrollIntoViewLink",e.isActive(t.route)),r.xp6(1),r.hij(" ",t.title," ")}}function ms(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",28),r.NdJ("click",function(){r.CHM(t);const e=r.oxw(2).index;return r.oxw().onGroupClick(e)}),r._UZ(1,"tui-svg",29),r._uU(2),r.qZA()}if(2&t){const t=r.oxw(2),e=t.index,n=t.item,i=r.oxw();r.xp6(1),r.ekj("t-chevron_active",!!i.openPagesGroupsArr[e]),r.xp6(1),r.hij(" ",n.title," ")}}function vs(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",30),r.NdJ("click",function(){return r.CHM(t),r.oxw(3).closeMenu()}),r._uU(1),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw(3);r.Q6J("routerLink",t.route)("tuiScrollIntoViewLink",n.isActive(t.route)),r.xp6(1),r.hij(" ",t.title," ")}}const _s=function(){return{exact:!1}};function ys(t,e){if(1&t&&(r.TgZ(0,"div",23),r.YNc(1,ms,3,3,"button",24),r.TgZ(2,"tui-expand",25),r.TgZ(3,"div",26),r.YNc(4,vs,2,3,"a",27),r.qZA(),r.qZA(),r.qZA()),2&t){const t=r.oxw(),e=t.item,n=t.index,i=r.oxw();r.Q6J("routerLinkActiveOptions",r.DdM(4,_s)),r.xp6(1),r.Q6J("ngIf",e.subPages),r.xp6(1),r.Q6J("expanded",!!i.openPagesGroupsArr[n]),r.xp6(2),r.Q6J("ngForOf",e.subPages)}}function bs(t,e){if(1&t&&(r.YNc(0,gs,2,3,"a",20),r.YNc(1,ys,5,5,"ng-template",null,21,r.W1O)),2&t){const t=e.item,n=r.MAs(2);r.Q6J("ngIf",!t.subPages)("ngIfElse",n)}}const ws=["tuiDocHeader",""];function Cs(t,e){1&t&&r._UZ(0,"tui-doc-navigation",4)}function xs(t,e){1&t&&r._UZ(0,"img",5),2&t&&r.Q6J("src",e.polymorpheusOutlet,r.LSH)}function Os(t,e){1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t&&(r.xp6(1),r.Oqu(", "))}function ks(t,e){if(1&t&&(r.ynx(0),r._UZ(1,"a",2),r.YNc(2,Os,2,1,"ng-container",3),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.oxw();r.xp6(1),r.Q6J("routerLink",i.getRouterLink(t))("innerText",t),r.xp6(1),r.Q6J("ngIf",!n)}}function Ps(t,e){if(1&t&&r._UZ(0,"a",1),2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.Q6J("title",n.text)("href",t,r.LSH)}}function Ts(t,e){1&t&&r._UZ(0,"tui-theme-night")}const Ms=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverPortals"]],[["tuiOverHints"]]],Ss=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverPortals","tuiOverHints"];function Es(t,e){1&t&&r._UZ(0,"tui-tag",9)}function As(t,e){if(1&t&&r._UZ(0,"tui-tag",10),2&t){const t=r.oxw();r.Q6J("value",t.package)("autoColor",!0)}}const Is=function(t){return{exact:t}};function Ds(t,e){if(1&t&&(r.TgZ(0,"a",14),r.ALo(1,"tuiReplace"),r._uU(2),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw().first,n=r.oxw(2);r.Q6J("routerLinkActiveOptions",r.VKq(7,Is,e))("routerLink",e?"./":r.Dn7(1,3,t,n.from,n.to)),r.xp6(2),r.hij(" ",t," ")}}function Ls(t,e){1&t&&(r.ynx(0),r.YNc(1,Ds,3,9,"a",13),r.BQk())}function Ns(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ls,2,0,"ng-container",12),r.BQk()),2&t){const t=e.$implicit,n=e.index,i=r.oxw(2);r.xp6(1),r.Q6J("ngIf",t.pageTab||i.defaultTabs[n])}}function Fs(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-tabs-with-more",11),r.NdJ("activeItemIndexChange",function(e){return r.CHM(t),r.oxw().activeItemIndex=e}),r.YNc(1,Ns,2,1,"ng-container",8),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("activeItemIndex",t.activeItemIndex),r.xp6(1),r.Q6J("ngForOf",t.tabConnectors)}}function zs(t,e){if(1&t&&r._UZ(0,"tui-doc-see-also",15),2&t){const t=r.oxw();r.Q6J("seeAlso",t.seeAlso)}}function Rs(t,e){if(1&t&&r.GkF(0,17),2&t){const t=r.oxw().$implicit;r.Q6J("ngTemplateOutlet",t.template)}}function js(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Rs,1,1,"ng-container",16),r.BQk()),2&t){const t=e.index,n=r.oxw();r.xp6(1),r.Q6J("ngIf",t===n.activeItemIndex)}}let Bs=(()=>{class t{constructor(t){this.markdownCodeProcessor=t,this.rawLoader$$=new s.X(""),this.filename="",this.processor$=this.rawLoader$$.pipe((0,u.w)(o.JQ),(0,h.U)(t=>this.markdownCodeProcessor(t)))}set code(t){this.rawLoader$$.next(t)}get hasFilename(){return!!this.filename}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.Es))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-code"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_has-filename",e.hasFilename)},inputs:{filename:"filename",code:"code"},decls:3,vars:4,consts:[["class","t-header",4,"ngIf"],["class","t-code",4,"ngFor","ngForOf"],[1,"t-header"],[1,"t-code"],[3,"lineNumbers","highlight"]],template:function(t,e){1&t&&(r.YNc(0,Ki,2,1,"p",0),r.YNc(1,to,2,2,"pre",1),r.ALo(2,"async")),2&t&&(r.Q6J("ngIf",e.filename),r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,2,e.processor$)))},directives:[y.O5,y.sg,b.y$],pipes:[y.Ov],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:bold}.t-code[_ngcontent-%COMP%]{margin:0}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);padding:1.5rem 2rem;font-family:monospace;background:var(--tui-clear);word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar, .hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:2.667rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}._has-filename[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){border-radius:.75rem}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}"],changeDetection:0}),t})(),Hs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,b._l]]}),t})(),Us=(()=>{class t{constructor(t){this.texts$=t,this.copy$=new a.xQ}get copied$(){return this.copy$.pipe((0,u.w)(()=>(0,l.H)(1500).pipe((0,h.U)(F.Iy),(0,d.O)(!0))))}onClick(){this.copy$.next()}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(yt.UV))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-copy"]],features:[r._Bn([at.a3])],ngContentSelectors:no,decls:2,vars:3,consts:[["tuiButton","","type","button","appearance","","size","s","class","t-copy",3,"title","click",4,"ngIf"],["tuiButton","","type","button","appearance","","size","s",1,"t-copy",3,"title","click"],[1,"t-content"],[1,"t-initial"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,eo,6,7,"button",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.texts$))},directives:[y.O5,ri.v0],pipes:[y.Ov],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle}.t-copy[_ngcontent-%COMP%]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:100%;color:var(--tui-text-01);background:var(--tui-base-01);overflow:hidden}.t-copy[_ngcontent-%COMP%]:hover{background:var(--tui-base-02)}.t-initial[_ngcontent-%COMP%]{white-space:nowrap}.t-initial[_ngcontent-%COMP%]:empty:before{content:attr(data-text)}.t-content[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;flex-direction:column;transform:translateY(1rem);text-align:center;line-height:2rem}.t-content_moved[_ngcontent-%COMP%]{transform:translateY(-1rem)}"],changeDetection:0}),(0,w.gn)([k.UM],t.prototype,"copied$",null),t})(),Vs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,ri.fN]]}),t})(),qs=(()=>{class t{constructor(t,e,n,r,i,s){var l,c;this.isMobile=t,this.el=e,this.locationRef=n,this.urlSerializer=r,this.texts=i,this.urlStateHandler=s,this.control=null,this.sticky=!0,this.template=null,this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,o.cd)(null===(l=this.params.sandboxOpaque)||void 0===l||l),this.expanded=(0,o.cd)(null!==(c=this.params.sandboxExpanded)&&void 0!==c&&c),this.mode=this.params.tuiMode||null,this.sandboxWidth=(0,lt.oY)(this.params.sandboxWidth),this.change$=new a.xQ,this.items=["onLight","onDark"]}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onModeChange(t){this.mode=t,this.updateUrl({sandboxWidth:this.sandboxWidth}),this.change$.next()}toggleDetails(){this.expanded=!this.expanded,this.updateUrl({sandboxExpanded:this.expanded})}changeOpaque(t){this.opaque=t,this.updateUrl({sandboxOpaque:this.opaque})}updateOnChange(t){this.updateOn=t,this.updateUrl({updateOn:t}),this.createForm()}updateWidth(t=NaN){if(!this.resizer||!this.resizeable||!this.content)return;const e=t||this.resizeable.nativeElement.clientWidth,n=this.el.nativeElement.clientWidth,r=Math.round((0,lt.Ki)(e,160,n))-this.delta,i=et)}])],ngContentSelectors:no,decls:16,vars:14,consts:[[1,"t-bg-toggle",3,"tuiMode"],["tooltip",""],[4,"ngIf","ngIfElse"],["desktop",""],["size","m",1,"t-checkbox",3,"ngModel","ngModelChange"],["tuiResizeable","",1,"t-wrapper"],["id","demo-content",1,"t-content"],["content",""],["class","t-form",3,"formGroup",4,"ngIf"],[1,"t-resizer",3,"tuiResizer","tuiSizeChange"],["resizer",""],["tuiLink","","tuiMode","onDark","routerLink","/directives/mode"],["tuiTextfieldSize","s",1,"t-mode",3,"tuiTextfieldCleaner","tuiHintContent","ngModel","ngModelChange"],[3,"items",4,"tuiDataList"],[3,"items"],["describeId","form",3,"content"],["tuiGroup","",1,"t-group",3,"collapsed"],["size","s","nativeId","form",1,"tui-group__auto-width-item",3,"item","hideRadio","ngModel","ngModelChange"],["item","onDark","size","s","nativeId","form",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],["item","onLight","size","s","nativeId","form",1,"tui-group__auto-width-item",3,"hideRadio","ngModel","ngModelChange"],[1,"t-form",3,"formGroup"],[1,"t-input-wrapper"],[3,"ngTemplateOutlet"],["tuiButton","","type","button","size","s","automation-id","tui-demo-button__toggle-details",1,"t-button",3,"iconRight","click"],["icon",""],[1,"t-expand",3,"expanded"],["tuiExpandContent",""],["src","tuiIconChevronDown",1,"t-icon"],[1,"t-value"],["tuiGroup","",1,"t-form-controls"],["tuiTextfieldSize","s","automation-id","tui-demo-select__expand-update-on",1,"t-select",3,"ngModel","ngModelOptions","ngModelChange"],["tuiButton","","type","reset","size","s","automation-id","tui-demo-button__reset-state",1,"tui-group__auto-width-item"],["tuiButton","","type","submit","size","s","automation-id","tui-demo-button__submit-state",1,"tui-group__auto-width-item"]],template:function(t,e){if(1&t&&(r.F$t(),r.TgZ(0,"div",0),r.YNc(1,oo,4,1,"ng-template",null,1,r.W1O),r.YNc(3,ao,4,3,"ng-container",2),r.YNc(4,lo,9,9,"ng-template",null,3,r.W1O),r.TgZ(6,"tui-checkbox-labeled",4),r.NdJ("ngModelChange",function(t){return e.changeOpaque(t)}),r._uU(7),r.qZA(),r.qZA(),r.TgZ(8,"div",5),r.TgZ(9,"div",6),r.TgZ(10,"div",null,7),r.YNc(12,fo,9,5,"form",8),r.Hsn(13),r.qZA(),r.qZA(),r.TgZ(14,"div",9,10),r.NdJ("tuiSizeChange",function(t){return e.updateWidth(t[0])}),r.qZA(),r.qZA()),2&t){const t=r.MAs(5);r.Q6J("tuiMode",null),r.xp6(3),r.Q6J("ngIf",e.isMobile)("ngIfElse",t),r.xp6(3),r.Q6J("ngModel",e.opaque),r.xp6(1),r.hij(" ",e.texts[1]," "),r.xp6(1),r.ekj("t-wrapper_dark","onDark"===e.mode)("t-wrapper_gray","onLight"===e.mode)("t-wrapper_transparent",!e.opaque),r.xp6(4),r.Q6J("ngIf",e.testForm),r.xp6(2),r.Q6J("tuiResizer",r.DdM(13,go))}},directives:[he.w,y.O5,mr.p,At.JJ,At.On,T,M,ii.V,Ze.yS,le,ce,pt.sz,pt.be,oi.bZ,gt.gX,St,si.w,jn.gZ,Pe,At._Y,At.JL,At.sg,y.tP,ri.v0,zn,Fn,It.PN],pipes:[y.Ts],styles:['[_nghost-%COMP%]{position:relative;display:block;min-width:100%;margin:1.5rem 0}.t-bg-toggle[_ngcontent-%COMP%]{position:absolute;bottom:calc(100% + .75rem);display:flex;align-items:center;justify-content:flex-end;pointer-events:none;width:100%}.t-bg-toggle[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{pointer-events:auto}.t-wrapper[_ngcontent-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;display:flex;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;background-color:var(--tui-base-01);overflow:hidden}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-02) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-02) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-02) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}.t-wrapper.t-wrapper_dark[_ngcontent-%COMP%]{background-color:#454e58;color:var(--tui-base-01)}.t-wrapper.t-wrapper_gray[_ngcontent-%COMP%]{background-color:#e5e7ea}.t-wrapper.t-wrapper_dark.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-focus) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-focus) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-focus) 75%)}.t-wrapper.t-wrapper_gray.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-base-05) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-base-05) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-base-05) 75%)}tui-root._mobile[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{min-height:auto}.t-content[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;padding:1.5rem;box-sizing:border-box;overflow:hidden}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:1rem}.t-form[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:flex-start}.t-input-wrapper[_ngcontent-%COMP%]{width:100%;margin-bottom:.5rem}.t-expand[_ngcontent-%COMP%]{width:100%}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}.t-icon_rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}.t-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-clear-inverse);padding:.75rem;border-radius:.25rem}.t-mode[_ngcontent-%COMP%]{width:12.5rem}.t-select[_ngcontent-%COMP%]{max-width:15rem}.t-resizer[_ngcontent-%COMP%]{box-shadow:0 1.5rem 1rem #00000008,0 .75rem .75rem #0000000a,0 .25rem .375rem #0000000d;position:relative;width:3.5rem;min-height:inherit;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-left:1px solid var(--tui-base-03);outline:none;background:var(--tui-base-01);color:var(--tui-text-01)}.t-resizer[_ngcontent-%COMP%]:before, .t-resizer[_ngcontent-%COMP%]:after{content:"";position:absolute;top:.75rem;left:50%;bottom:calc(50% + 1rem);width:1px;background:var(--tui-base-04);box-shadow:-.25rem 0 var(--tui-base-04);transform:translate(0)}.t-resizer[_ngcontent-%COMP%]:after{bottom:.75rem;top:calc(50% + 1rem)}tui-root._mobile[_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-resizer[_ngcontent-%COMP%]{display:none}.t-resizer-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);position:relative;z-index:1;padding:.75rem;background:var(--tui-base-01)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports ((position: -webkit-sticky) or (position: sticky)){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,w.gn)([(0,k.TH)()],t.prototype,"sticky",void 0),(0,w.gn)([k.UM],t.prototype,"updateUrl",null),t})(),Zs=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,At.UX,At.u5,Ze.Bz,ii.j,ri.fN,ue,Rn,jn.n6,si.Q,he.z,Te,mr.s,It.EI,Et,gt.pc,pt.cn,oi.go,S]]}),t})(),Ys=(()=>{class t{constructor(t,e,n,i,o){this.template=t,this.locationRef=e,this.activatedRoute=n,this.urlSerializer=i,this.urlStateHandler=o,this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new r.vpe,this.changed$=new a.xQ,this.emits$=new s.X(1)}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}get attrName(){switch(this.documentationPropertyMode){case"input":return`[${this.documentationPropertyName}]`;case"output":return`(${this.documentationPropertyName})`;case"input-output":return`[(${this.documentationPropertyName})]`;default:return this.documentationPropertyName}}get hasItems(){return!!this.documentationPropertyValues}get shouldShowValues(){return"output"!==this.documentationPropertyMode}ngOnChanges(){this.changed$.next()}onValueChange(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}emitEvent(t){console.info(this.attrName,t),this.emits$.next(this.emits$.value+1)}parseParams(t){const e=t[this.documentationPropertyName],n=t[`${this.documentationPropertyName}$`];if(!e&&!n)return;let r=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,o.p8)(e);"string"===this.documentationPropertyType&&(0,$.dt)(r)&&(r=r.toString()),this.onValueChange(r)}setQueryParam(t){const e=this.urlSerializer.parse(this.locationRef.path()),n=t instanceof Object,r=n&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,i=this.documentationPropertyName+(n?"$":"");e.queryParams=Object.assign(Object.assign({},e.queryParams),{[i]:r}),this.locationRef.go(this.urlStateHandler(e))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(y.Ye),r.Y36(Ze.gz),r.Y36(Ze.Hx),r.Y36(i.Ii))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","documentationPropertyName",""]],inputs:{documentationPropertyName:"documentationPropertyName",documentationPropertyMode:"documentationPropertyMode",documentationPropertyType:"documentationPropertyType",documentationPropertyValue:"documentationPropertyValue",documentationPropertyDeprecated:"documentationPropertyDeprecated",documentationPropertyValues:"documentationPropertyValues"},outputs:{documentationPropertyValueChange:"documentationPropertyValueChange"},exportAs:["documentationProperty"],features:[r.TTD]}),t})(),$s=(()=>{class t{transform(t){return 4===t.length?t.split("").reduce((t,e)=>[...t,e,e],[]).join("").replace("#",""):t.startsWith("#")?t:"transparent"===t?"#000000":function(t,e,n){return`#${[t,e,n].map(t=>t.toString(16).padStart(2,"0")).join("")}`}(...t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map(t=>Number.parseInt(t,10)))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiGetColorPipe",type:t,pure:!0}),t})(),Gs=(()=>{class t{transform(t){if(t.startsWith("#")||t.startsWith("rgb("))return 100;if("transparent"===t)return 0;const e=t.lastIndexOf(","),n=t.slice(e).replace(")","").replace(" ","").replace(",","");return Math.round(100*Number.parseFloat(n))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiGetOpacity",type:t,pure:!0}),t})(),Js=(()=>{class t{constructor(t,e){this.renderer=t,this.focusable=e}set tuiInputOpacity(t){const{nativeFocusableElement:e}=this.focusable;e&&this.renderer.setStyle(e,"opacity",t/100)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Qsj),r.Y36(N.KZ))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiInputOpacity",""]],inputs:{tuiInputOpacity:"tuiInputOpacity"}}),t})(),Qs=(()=>{class t{transform(t){return t.replace("?","")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0}),t})(),Xs=(()=>{class t{transform(t){return t.includes("?")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0}),t})(),Ws=(()=>{class t{transform(t){return t.includes("PolymorpheusContent")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiShowContentTooltip",type:t,pure:!0}),t})(),Ks=(()=>{class t{transform(t){return t.includes("null")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0}),t})(),ta=(()=>{class t{constructor(t){this.isCypress=t}transform(t,e=2){return this.isCypress&&"function"==typeof t?"\u03bb(x) => y":(0,o.sj)(t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(N.B4,16))},t.\u0275pipe=r.Yjl({name:"tuiInspectAny",type:t,pure:!0}),t})(),ea=(()=>{class t{transform(t){return(0,$.Aj)(t)||(0,$.dt)(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiIsPrimitivePolymorpheusContentPipe",type:t,pure:!0}),t})(),na=(()=>{class t{constructor(t,e,n,r,i,o){this.cdr=t,this.texts=e,this.excludedProperties=n,this.destroy$=r,this.getColor=i,this.getOpacity=o,this.heading="",this.showValues=!0,this.isAPI=!1,this.propertiesConnectors=F.Mm,this.activeItemIndex=0,this.matcher=(t,e)=>!e.has(t.documentationPropertyName)}ngAfterContentInit(){(0,ct.ll)(this.propertiesConnectors).pipe((0,u.w)(t=>(0,c.T)(...t.map(({changed$:t})=>t))),(0,ct.NA)(this.cdr),(0,p.R)(this.destroy$)).subscribe()}get type(){return this.isAPI?this.texts[0]:this.texts[1]}onColorChange(t,e){const n=this.getOpacity.transform(t.documentationPropertyValue||"");if(100===n)return void t.onValueChange(e);const r=`rgba(${st(e).join(", ")}, ${n/100})`;t.onValueChange(r)}onOpacityChange(t,e){const n=`rgba(${st(this.getColor.transform(t.documentationPropertyValue||""))}, ${e/100})`;t.onValueChange(n)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(i.IK),r.Y36(i.et),r.Y36(at.a3,2),r.Y36($s),r.Y36(Gs))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Ys,4),2&t){let t;r.iGM(t=r.CRH())&&(e.propertiesConnectors=t)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},features:[r._Bn([$s,Gs,at.a3])],ngContentSelectors:no,decls:4,vars:6,consts:[["class","t-heading",4,"ngIf"],[4,"ngIf"],[1,"t-heading"],["class","t-table",4,"ngIf"],[1,"t-table"],[1,"t-row","t-row_header"],[1,"t-th","t-cell","t-cell_prop"],[1,"t-th"],["class","t-th t-cell t-th_value",4,"ngIf"],["class","t-row",3,"t-deprecated",4,"ngFor","ngForOf"],[1,"t-th","t-cell","t-th_value"],[1,"t-row"],[1,"t-cell"],["automation-id","tui-documentation__property-name",1,"t-property"],["size","s","value","Optional",4,"ngIf"],["class","t-deprecated-label",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[3,"describeId","content",4,"ngIf"],["class","t-cell t-cell_value",4,"ngIf"],["size","s","value","Optional"],[1,"t-deprecated-label"],[3,"describeId","content"],["content",""],["tuiLink","","tuiMode","onDark","target","_blank","rel","noreferrer","href","https://github.com/tinkoff/ng-polymorpheus"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiTextfieldSize","m","tuiDropdownLimitWidth","min",3,"tuiTextfieldCleaner","tuiTextfieldLabelOutside","nativeId","valueContent","ngModel","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiTextfieldSize","m","tuiDropdownLimitWidth","min",3,"tuiTextfieldCleaner","tuiTextfieldLabelOutside","nativeId","valueContent","ngModel","ngModelChange"],[1,"t-exception"],[3,"items","itemContent",4,"tuiDataList"],[3,"items","itemContent"],[3,"ngSwitch"],["size","l",3,"nativeId","showIcons","ngModel","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldLabelOutside","tuiTextfieldCleaner","value","valueChange",4,"ngSwitchCase"],["tuiGroup","",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldLabelOutside","ngModel","ngModelChange",4,"ngSwitchCase"],[4,"ngSwitchCase"],["size","l",3,"nativeId","showIcons","ngModel","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldLabelOutside","tuiTextfieldCleaner","value","valueChange"],["tuiGroup",""],["tuiTextfieldSize","m",3,"tuiTextfieldLabelOutside","tuiInputOpacity","value","valueChange"],["tuiTextfield","","type","text"],["tuiTextfieldSize","m",3,"max","ngModel","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldLabelOutside","ngModel","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","tuiTextfieldLabelOutside","tuiTextfieldCleaner","value","valueChange",4,"ngIf"],[1,"t-output"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,mo,2,1,"h1",0),r.Hsn(1),r.YNc(2,zo,2,1,"ng-container",1),r.ALo(3,"tuiFilter")),2&t&&(r.Q6J("ngIf",e.heading),r.xp6(2),r.Q6J("ngIf",r.Dn7(3,2,e.propertiesConnectors,e.matcher,e.excludedProperties)))},directives:[y.O5,y.sg,y.tP,Ee,si.w,ii.V,he.w,le,ce,pt.sz,ai.Ek,pt.be,pt.xT,At.JJ,At.On,gt.gX,St,y.RF,y.n9,Ve,dt.yc,dt.B1,jn.gZ,Js,dt.MB,vr.EA,vr.aQ,li.Ls],pipes:[E,Qs,Xs,Ws,Ks,ta,Gs,$s,ea,y.Ov],styles:["[_nghost-%COMP%]{display:block;min-width:100%}.t-table[_ngcontent-%COMP%]{width:100%;table-layout:fixed}.t-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--tui-base-03)}tui-root._mobile[_nghost-%COMP%] .t-row[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}tui-root._mobile[_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-row_header[_ngcontent-%COMP%]{display:none}.t-cell[_ngcontent-%COMP%]{padding:1rem 1rem .875rem}.t-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.t-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.t-cell_prop[_ngcontent-%COMP%]{width:40%}.t-cell_value[_ngcontent-%COMP%]{text-align:right}tui-root._mobile[_nghost-%COMP%] .t-cell[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-cell[_ngcontent-%COMP%]{width:100%;height:auto;padding:.5rem 0;text-align:left}.t-th[_ngcontent-%COMP%]{padding:.5rem 1rem;color:var(--tui-text-02);font-weight:normal;text-align:left}.t-th_value[_ngcontent-%COMP%]{max-width:20rem;text-align:right}tui-root._mobile[_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-th_value[_ngcontent-%COMP%]{width:9.375rem}.t-property[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-bottom:.25rem;font-family:monospace;color:#8f75d1}tui-root._mobile[_nghost-%COMP%] .t-property[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-property[_ngcontent-%COMP%]{padding:.5rem 0}.t-type[_ngcontent-%COMP%]{font-family:monospace}.t-deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-bg);box-shadow:-1rem 0 var(--tui-error-bg),1rem 0 var(--tui-error-bg)}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-error-fill)}.t-exception[_ngcontent-%COMP%]{display:block;width:-webkit-max-content;width:max-content}.t-output[_ngcontent-%COMP%]{text-align:left;opacity:0}.t-heading[_ngcontent-%COMP%]{font:var(--tui-font-heading-4)}"],data:{animation:[(0,Di.X$)("emitEvent",[(0,Di.eR)(":increment",[(0,Di.oB)({opacity:1}),(0,Di.jt)("500ms ease-in")])])]},changeDetection:0}),t})(),ra=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})(),ia=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,At.u5,Ze.Bz,Ae,ue,qe,si.Q,ii.j,vr.$H,he.z,jn.n6,ra,dt.KW,pt.cn,ai.dp,gt.pc,Et,li.Hi,A]]}),t})();const oa={codeEditorVisibilityHandler:t=>Boolean(t.TypeScript&&t.HTML),tabTitles:new Map},sa=new r.OlP("[TUI_DOC_EXAMPLE_OPTIONS]",{factory:()=>oa});function aa(t){return{provide:sa,useValue:Object.assign(Object.assign({},oa),t)}}let la=(()=>{class t{transform(t){return(0,$.Aj)(t)?(0,Ii.ag)(t):t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiDocExampleCapitalize",type:t,pure:!0}),t})(),ca=(()=>{class t{transform(t,e){return[e,...Object.keys(t)]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0}),t})(),ua=(()=>{class t{constructor(t,e,n,r,i,l,c,d,p,f,g,m,v){this.clipboard=t,this.alerts=e,this.location=n,this.copyTexts$=r,this.texts=i,this.codeEditor=l,this.processContent=c,this.isCypress=d,this.codeActions=p,this.router=f,this.route=g,this.ngLocation=m,this.options=v,this.rawLoader$$=new s.X({}),this.id=null,this.componentName=this.location.pathname.slice(1),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,h.U)(([t])=>t)),this.processor$=this.rawLoader$$.pipe((0,u.w)(o.vP),(0,h.U)(t=>this.processContent(t))),this.loading$=new a.xQ,this.visible=t=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(t))}set content(t){this.rawLoader$$.next(t)}getTabTitle(t){return this.options.tabTitles.get(t)||t}copyExampleLink(){const t=this.location.href.indexOf("#"),e=`${t>-1?this.location.href.slice(0,Math.max(0,t)):this.location.href}#${this.id}`;this.setFragmentWithoutRedirect(this.id),this.clipboard.copy(e),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(t){var e;this.loading$.next(!0),null===(e=this.codeEditor)||void 0===e||e.edit(this.componentName,this.id||"",t).then(()=>this.loading$.next(!1)).catch(()=>this.loading$.next(!1))}setFragmentWithoutRedirect(t){const e=this.router.createUrlTree([],{relativeTo:this.route,fragment:t||""}).toString();this.ngLocation.go(e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Ni),r.Y36(gi),r.Y36(L.Ct),r.Y36(yt.UV),r.Y36(i.mv),r.Y36(i.lW,8),r.Y36(i.$_),r.Y36(N.B4),r.Y36(i.mT),r.Y36(Ze.F0),r.Y36(Ze.gz),r.Y36(y.Ye),r.Y36(sa))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-example"]],inputs:{id:"id",heading:"heading",description:"description",content:"content",componentName:"componentName"},ngContentSelectors:no,decls:8,vars:5,consts:[["class","t-title",4,"ngIf"],["class","t-description",4,"ngIf"],["class","t-example",4,"ngIf"],["preview",""],["codeSection",""],[1,"t-title"],[3,"textContent",4,"polymorpheusOutlet"],["tuiIconButton","","type","button","size","xs","icon","tuiIconLinkLarge","appearance","icon","class","t-link-icon",3,"title","click",4,"ngIf"],[3,"textContent"],["tuiIconButton","","type","button","size","xs","icon","tuiIconLinkLarge","appearance","icon",1,"t-link-icon",3,"title","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs",3,"overlay","showLoader","click",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["tuiButton","","appearance","flat","size","s","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[1,"t-code-actions"],[3,"cdkCopyToClipboard"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Bo,4,4,"h3",0),r.YNc(1,Uo,3,3,"h4",1),r.YNc(2,es,3,4,"div",2),r.ALo(3,"async"),r.YNc(4,ns,2,0,"ng-template",null,3,r.W1O),r.YNc(6,os,4,3,"ng-template",null,4,r.W1O)),2&t&&(r.Q6J("ngIf",e.heading),r.xp6(1),r.Q6J("ngIf",e.description),r.xp6(1),r.Q6J("ngIf",r.lcZ(3,3,e.processor$)))},directives:[y.O5,xt.Li,ri.v0,Sn,y.sg,I,wn,Ct.kM,y.tP,Us,zi,Bs],pipes:[y.Ov,la,ca,it.c],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{padding-top:2rem}.t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-5);margin:0 0 .5rem}tui-root._mobile[_nghost-%COMP%] .t-title[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-title[_ngcontent-%COMP%]{font:var(--tui-font-heading-6)}.t-description[_ngcontent-%COMP%]{font:var(--tui-font-text-m);font-weight:normal;margin:0}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a}tui-root._mobile[_nghost-%COMP%] .t-example[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-example[_ngcontent-%COMP%]{margin-top:.75rem}.t-tabs-wrapper[_ngcontent-%COMP%]{display:flex;padding:0 2rem;box-shadow:inset 0 -1px var(--tui-base-03);justify-content:space-between;align-items:center}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-demo[_ngcontent-%COMP%]{padding:2rem;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar, .t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:2.667rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:4.375rem;right:1rem;display:flex;justify-content:flex-end;align-items:center}.t-code-actions[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-left:.5rem}.t-link-icon[_ngcontent-%COMP%]{margin-left:.3rem;vertical-align:baseline}.t-content[_ngcontent-%COMP%]{will-change:opacity;height:0;visibility:hidden;opacity:0}.t-content_animated[_ngcontent-%COMP%]{transition:opacity .3s ease-in-out}.t-content_visible[_ngcontent-%COMP%]{height:auto;visibility:visible;opacity:1}"],changeDetection:0}),t})(),ha=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,Ri,En,ri.fN,Vs,Hs,xt.wq,it.I,Ct.dS]]}),t})();const da=new r.OlP("[NAVIGATION_TITLE]"),pa=new r.OlP("[NAVIGATION_LABELS]"),fa=new r.OlP("[NAVIGATION_ITEMS]"),ga=[at.a3,{provide:da,deps:[Ze.F0,Ze.gz,i.Yx,at.a3],useFactory:(t,e,n,r)=>t.events.pipe((0,f.h)(t=>t instanceof Ze.m2),(0,h.U)(()=>e.firstChild),(0,f.h)($.Pc),(0,g.zg)(({data:t})=>t),(0,h.U)(({title:t})=>`${n}${t}`),(0,p.R)(r))},{provide:pa,deps:[i.V5],useFactory:ma},{provide:fa,deps:[i.V5],useFactory:t=>[...ma(t).map(e=>t.filter(({section:t})=>t===e)),t.filter(t=>!t.section)]}];function ma(t){return t.map(({section:t})=>t).filter($.Pc).filter((t,e,n)=>n.indexOf(t)===e)}let va=(()=>{class t{constructor(t,e,n,r,i,o,s,a,l,c,u,p,g,m){this.doc=r,this.mode=i,this.sidebar=o,this.labels=s,this.items=a,this.searchText=l,this.router=c,this.activatedRoute=u,this.destroy$=p,this.readyToScroll$=g,this.scrollBehavior=m,this.menuOpen=!1,this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new At.NI(""),this.filtered$=(0,ct.EK)(this.search).pipe((0,f.h)(t=>t.length>2),(0,h.U)(t=>this.filterItems(this.flattenSubPages(this.items),t))),this.mode$=this.mode.change$.pipe((0,d.O)(null),(0,h.U)(()=>this.mode.mode||"onLight")),n.subscribe(n=>{t.markForCheck(),e.setTitle(n),this.openActivePageGroup(),this.handleAnchorLink(this.activatedRoute.snapshot.fragment||"")})}get canOpen(){var t,e;return(null!==(e=null===(t=this.search.value)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}isActive(t){return t===this.active}onGroupClick(t){this.openPagesGroupsArr[t]=!this.openPagesGroupsArr[t]}closeMenu(){this.menuOpen=!1}onClick(t){t.open=!1,this.menuOpen=!1,this.search.setValue(""),this.openActivePageGroup()}filterItems(t,e){return t.map(t=>(0,$.pf)(t.filter(({title:t,keywords:n=""})=>(t=t.toLowerCase(),e=e.toLowerCase(),n=n.toLowerCase(),t.includes(e)||n.includes(e)||t.includes((0,o.OO)(e))||n.includes((0,o.OO)(e))||e.replace(/-/gi,"").includes(t))),"title"))}flattenSubPages(t){return t.reduce((t,e)=>[...t,e.reduce((t,e)=>"subPages"in e?[...t,...e.subPages]:[...t,e],[])],[])}isActiveRoute(t){return this.router.isActive(t,{paths:"subset",queryParams:"subset",fragment:"ignored",matrixParams:"ignored"})}handleAnchorLink(t){this.readyToScroll$.pipe((0,f.h)(Boolean),(0,m.q)(1),(0,p.R)(this.destroy$)).subscribe(()=>this.navigateToAnchorLink(t))}openActivePageGroup(){this.items.forEach((t,e)=>{t.forEach((t,n)=>{"route"in t&&this.isActiveRoute(t.route)&&(this.openPagesArr[e]=!0,this.active=t.route),"subPages"in t&&t.subPages.forEach(t=>{this.isActiveRoute(t.route)&&(this.openPagesArr[e]=!0,this.openPagesGroupsArr[100*e+n]=!0,this.active=t.route)})})})}navigateToAnchorLink(t){const e=t?this.doc.querySelectorAll(`#${t}`):[],n=e.length&&e[e.length-1];!n||(n.classList.add("tui-doc-animated-example"),n.scrollIntoView({block:"start",inline:"nearest",behavior:this.scrollBehavior}))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.sBO),r.Y36(br.Dx),r.Y36(da),r.Y36(y.K0),r.Y36(he.w),r.Y36(Hi,8),r.Y36(pa),r.Y36(fa),r.Y36(i.EI),r.Y36(Ze.F0),r.Y36(Ze.gz),r.Y36(at.a3,2),r.Y36(i.V1),r.Y36(i.n1))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_open",e.menuOpen)},features:[r._Bn(ga)],ngContentSelectors:no,decls:14,vars:13,consts:[["tuiTextfieldSize","m","tuiTextfieldIconLeft","tuiIconSearch",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar",3,"tuiMode"],[3,"closeOthers","rounded"],["size","s",3,"borders","open","openChange",4,"ngFor","ngForOf"],[1,"t-items-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngFor","ngForOf"],["pages",""],[4,"tuiDataList"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["tuiOption","",3,"routerLink","click",4,"ngFor","ngForOf"],["tuiOption","",3,"routerLink","click"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["tuiLink","","routerLinkActive","t-sublink_active","class","t-sublink",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngIf","ngIfElse"],["subPages",""],["tuiLink","","routerLinkActive","t-sublink_active",1,"t-sublink",3,"routerLink","tuiScrollIntoViewLink","click"],["routerLinkActive","",1,"t-subsection",3,"routerLinkActiveOptions"],["tuiLink","","type","button","class","t-sublink t-sublink_subsection",3,"click",4,"ngIf"],[1,"t-expand",3,"expanded"],[1,"t-section","t-section_bordered"],["tuiLink","","routerLinkActive","t-sublink_active","class","t-sublink t-sublink_small",3,"routerLink","tuiScrollIntoViewLink","click",4,"ngFor","ngForOf"],["tuiLink","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],["src","tuiIconChevronRight",1,"t-chevron"],["tuiLink","","routerLinkActive","t-sublink_active",1,"t-sublink","t-sublink_small",3,"routerLink","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"tui-input",0,1),r._uU(2),r.YNc(3,cs,2,0,"ng-container",2),r.qZA(),r.TgZ(4,"nav",3),r.TgZ(5,"tui-scrollbar",4),r.ALo(6,"async"),r.TgZ(7,"tui-accordion",5),r.YNc(8,ps,5,3,"tui-accordion-item",6),r.qZA(),r.TgZ(9,"div",7),r.YNc(10,fs,1,5,"ng-container",8),r.qZA(),r.YNc(11,bs,3,2,"ng-template",null,9,r.W1O),r.qZA(),r.qZA(),r.Hsn(13)),2&t&&(r.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldLabelOutside",!0),r.xp6(2),r.hij(" ",e.searchText," "),r.xp6(1),r.Q6J("ngIf",e.canOpen),r.xp6(2),r.Q6J("tuiMode",r.lcZ(6,11,e.mode$)),r.xp6(2),r.Q6J("closeOthers",!1)("rounded",!1),r.xp6(1),r.Q6J("ngForOf",e.labels),r.xp6(2),r.Q6J("ngForOf",e.itemsWithoutSections))},directives:[_r.K3,_r.wU,pt.sz,pt.aR,At.JJ,At.oH,tt,pt.be,pt.xT,y.O5,ci.IB,he.w,Kn,y.sg,gt.gX,gt.qi,gt.Rs,gt.vK,Ze.yS,Wn,Qn,y.tP,ii.V,Ze.Od,qi,zn,It.PN],pipes:[y.Ov],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-base-01)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-navigation[_ngcontent-%COMP%]{display:flex;max-height:100%;min-height:0;flex:1 1 0;text-align:left}.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:smooth;width:100%}@media screen and (prefers-reduced-motion: reduce){.t-scrollbar[_ngcontent-%COMP%]{scroll-behavior:auto}}.t-items-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:0 1rem}.t-label[_ngcontent-%COMP%]{margin-left:.5rem}.t-expand[_ngcontent-%COMP%]{margin-left:.25rem}.t-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin:-1rem 0 -.5rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-base-03)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:1rem 0 0;border:0;background:none;font-size:inherit;line-height:inherit;font:var(--tui-font-text-m);margin-left:.5rem}.t-sublink_small[_ngcontent-%COMP%]{margin-left:1rem;line-height:1.5rem;padding-top:.5rem}.t-sublink_subsection[_ngcontent-%COMP%]{margin-left:0;line-height:1.6rem}.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-01)}.t-chevron[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:1rem;height:1rem;margin:-.25rem .25rem 0 -.1875rem}.t-chevron_active[_ngcontent-%COMP%]{transform:rotate(90deg)}"],changeDetection:0}),(0,w.gn)([k.UM],t.prototype,"filterItems",null),(0,w.gn)([k.UM],t.prototype,"flattenSubPages",null),t})(),_a=(()=>{class t{constructor(t,e,n,r){this.logo=t,this.menu=e,this.router=n,this.swipes$=r,this.stream$=new a.xQ,this.open$=(0,c.T)(this.router.events.pipe((0,h.U)(F.Iy)),this.stream$,this.swipes$.pipe((0,f.h)(t=>"left"===t.direction||"right"===t.direction),(0,h.U)(t=>"right"===t.direction))).pipe((0,d.O)(!1),(0,v.x)())}onClick(){this.stream$.next(!0)}onActiveZone(t){t||this.stream$.next(!1)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.Or),r.Y36(i.gG),r.Y36(Ze.F0),r.Y36(at.$D))},t.\u0275cmp=r.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],attrs:ws,ngContentSelectors:no,decls:6,vars:5,consts:[["tuiIconButton","","icon","tuiIconMenuLarge","appearance","icon","type","button",1,"t-menu",3,"title","click","tuiActiveZoneChange"],["class","t-navigation",4,"tuiSidebar"],[1,"t-logo"],["alt","Logo","class","t-img",3,"src",4,"polymorpheusOutlet"],[1,"t-navigation"],["alt","Logo",1,"t-img",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"button",0),r.NdJ("click",function(){return e.onClick()})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),r.YNc(1,Cs,1,0,"tui-doc-navigation",1),r.ALo(2,"async"),r.qZA(),r.TgZ(3,"div",2),r.YNc(4,xs,1,1,"img",3),r.qZA(),r.Hsn(5)),2&t&&(r.Q6J("title",e.menu),r.xp6(1),r.Q6J("tuiSidebar",!!r.lcZ(2,3,e.open$)),r.xp6(3),r.Q6J("polymorpheusOutlet",e.logo))},directives:[ri.v0,ot.e,Hi,xt.Li,va],pipes:[y.Ov],styles:["[_nghost-%COMP%]{box-shadow:0 .125rem 1rem #00000014;position:fixed;top:0;left:0;right:0;z-index:1;display:flex;height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-base-01);border-bottom:1px solid var(--tui-base-03)}.t-logo[_ngcontent-%COMP%]{margin-right:auto;font:var(--tui-font-heading-5)}.t-img[_ngcontent-%COMP%]{display:block}.t-menu[_ngcontent-%COMP%]{margin-left:-1.25rem}@media screen and (min-width: 48em){.t-menu[_ngcontent-%COMP%]{display:none}}.t-navigation[_ngcontent-%COMP%]{min-height:100%}"],changeDetection:0}),t})(),ya=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,At.UX,Ze.Bz,xt.wq,Zi,ri.fN,_r.Qf,pt.cn,ot.A,ut.WD,he.z,ii.j,Rn,ht.jh,ai.dp,tr,ci.Jy,It.EI,gt.pc,et]]}),t})(),ba=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,xt.wq,ri.fN,Vi,ot.A,ya]]}),t})(),wa=(()=>{class t{constructor(t,e){this.text=t,this.pages=e,this.seeAlso=[]}getRouterLink(t){var e,n;return null!==(n=null===(e=this.pages.get(t))||void 0===e?void 0:e.route)&&void 0!==n?n:""}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.VX),r.Y36(i._Z))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"routerLink","innerText"],[4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.qZA(),r.YNc(2,ks,3,3,"ng-container",1)),2&t&&(r.xp6(1),r.Oqu(e.text),r.xp6(1),r.Q6J("ngForOf",e.seeAlso))},directives:[y.sg,ii.V,Ze.yS,y.O5],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font-size:.6875rem;line-height:1rem;text-transform:uppercase;letter-spacing:.075em;color:var(--tui-text-02);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),t})(),Ca=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,Ze.Bz,ii.j]]}),t})(),xa=(()=>{class t{constructor(t,e){this.sourceCode=t,this.text=e,this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}getPathOptions(t,e,n,r){return{header:t,package:e,type:n,path:r}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.yO),r.Y36(i.as))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},decls:1,vars:2,consts:[["tuiIconButton","","type","button","icon","tuiIconCodeLarge","appearance","icon","target","_blank","size","s",3,"title","href",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiIconButton","","type","button","icon","tuiIconCodeLarge","appearance","icon","target","_blank","size","s",3,"title","href"]],template:function(t,e){1&t&&r.YNc(0,Ps,1,2,"a",0),2&t&&r.Q6J("polymorpheusOutlet",e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},directives:[xt.Li,ri.v0],encapsulation:2,changeDetection:0}),(0,w.gn)([k.UM],t.prototype,"getPathOptions",null),t})(),Oa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,xt.wq,ri.fN]]}),t})(),ka=(()=>{class t{constructor(t,e){this.theme=t,this.night=e,this.change$=this.night,this.night$=this.change$.pipe((0,d.O)(null),(0,h.U)(()=>this.night.value),(0,v.x)(),(0,_.B)())}get mode(){return this.night.value?"onDark":null}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(Ji),r.Y36(Wi))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-main"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("data-mode",e.mode)},features:[r._Bn([{provide:he.w,useExisting:(0,r.Gpc)(()=>t)},at.$D])],ngContentSelectors:Ss,decls:21,vars:4,consts:[[4,"ngIf"],[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["tuiIconButton","","tuiMode","onLight","appearance","secondary","size","s","shape","rounded","type","button",1,"tui-doc-night-mode-switch",3,"icon","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverPortals",5,["tuiOverPortals"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(r.F$t(Ms),r.YNc(0,Ts,1,0,"tui-theme-night",0),r.ALo(1,"async"),r.TgZ(2,"tui-root"),r.TgZ(3,"div",1),r.TgZ(4,"tui-doc-navigation",2),r.Hsn(5),r.qZA(),r.TgZ(6,"div",3),r._UZ(7,"router-outlet",4),r.qZA(),r.qZA(),r.TgZ(8,"header",5),r.Hsn(9,1),r.TgZ(10,"button",6),r.NdJ("click",function(){return e.night.toggle()}),r.qZA(),r.qZA(),r.ynx(11,7),r.Hsn(12,2),r.BQk(),r.ynx(13,8),r.Hsn(14,3),r.BQk(),r.ynx(15,9),r.Hsn(16,4),r.BQk(),r.ynx(17,10),r.Hsn(18,5),r.BQk(),r.ynx(19,11),r.Hsn(20,6),r.BQk(),r.qZA()),2&t&&(r.Q6J("ngIf",e.theme.isDefaultTheme&&e.night.useDefaultNightTheme&&r.lcZ(1,2,e.night$)),r.xp6(10),r.Q6J("icon",e.night.value?"tuiIconSunLarge":"tuiIconMoonLarge"))},directives:[y.O5,Kr,va,Ze.lC,_a,ri.v0,he.w,ei],pipes:[y.Ov],styles:['html{scroll-padding-top:4rem;height:auto}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}@keyframes tuiShaking{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-.3125rem)}20%,40%,60%,80%{transform:translate(.3125rem)}}body{background:var(--tui-base-01);height:auto}tui-doc-main{display:block}code:not(pre code):not(.hljs):not([class*="language-"]){transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:var(--tui-base-02);color:var(--tui-text-02);vertical-align:middle;box-shadow:inset 0 -2px var(--tui-secondary);padding:.375rem .5rem;font-size:.875rem;border-radius:.5rem}button:focus code,a:focus code{background:var(--tui-base-01)}.tui-doc-page{position:relative;z-index:0;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-base-03)}@media screen and (max-width: 47.9625em){tui-doc-navigation.tui-doc-navigation{display:none}}.tui-doc-content{margin-left:16.25rem}@media screen and (max-width: 47.9625em){.tui-doc-content{margin-left:0}}.tui-doc-outlet+*{display:block}.tui-doc-animated-example{animation:1s .3s tuiShaking}.tui-doc-night-mode-switch{margin-left:1rem}.tui-doc-night-mode-switch tui-svg{color:var(--tui-text-02)}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-01);background-color:var(--tui-clear)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:normal;color:var(--tui-text-01)}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-03);font-style:italic}tui-doc-code .hljs-meta{color:#e38162}tui-doc-code .hljs-section,tui-doc-code .hljs-name,tui-doc-code .hljs-literal,tui-doc-code .hljs-keyword,tui-doc-code .hljs-selector-tag,tui-doc-code .hljs-type,tui-doc-code .hljs-selector-id,tui-doc-code .hljs-selector-class{font-weight:bold;color:var(--tui-link)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:bold;color:var(--tui-support-06)}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:normal}tui-doc-code .hljs-string{color:var(--tui-positive);font-weight:bold}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-01);background:var(--tui-base-02);font-style:italic}tui-doc-code .hljs-doctag{text-decoration:underline}tui-doc-code .hljs-variable,tui-doc-code .hljs-template-variable{color:var(--tui-link-hover)}tui-doc-code [data-mode=onDark] .hljs-variable,tui-doc-code [data-mode=onDark] .hljs-template-variable{color:var(--tui-warning-fill)}tui-doc-code .hljs-addition{background:var(--tui-success-bg)}tui-doc-code .hljs-deletion{background:var(--tui-error-bg)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:bold}tui-doc-code .hljs .hljs-line-numbers{padding:0}tui-doc-code .hljs-ln-numbers{vertical-align:top;opacity:.3;text-align:right;padding-right:1em!important}\n'],encapsulation:2}),t})(),Pa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,Ze.Bz,ni,ba,ti,Ai,mi,ri.fN,he.z,ya]]}),t})();const Ta=new r.OlP("[PAGE_SEE_ALSO]"),Ma=[{provide:Ta,deps:[r.SBq,i.UL],useFactory:({nativeElement:t},e)=>{const n=t.getAttribute("header"),r=e.filter(t=>t.includes(n))||[],i=new Set(r.join().split(",").filter(t=>t&&t!==n));return Array.from(i)}}];let Sa=(()=>{class t{constructor(t){this.template=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","pageTab",""]],inputs:{pageTab:"pageTab"}}),(0,w.gn)([(0,k.TH)()],t.prototype,"pageTab",void 0),t})(),Ea=(()=>{class t{constructor(t,e){this.defaultTabs=t,this.seeAlso=e,this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=F.Mm,this.activeItemIndex=0,this.from=/ /g,this.to="_"}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.AC),r.Y36(Ta))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Sa,4),2&t){let t;r.iGM(t=r.CRH())&&(e.tabConnectors=t)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},features:[r._Bn(Ma)],ngContentSelectors:no,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["value","deprecated","status","custom","class","t-tag t-tag_deprecated",4,"ngIf"],["status","custom","class","t-tag t-tag_package",3,"value","autoColor",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","type","path"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["value","deprecated","status","custom",1,"t-tag","t-tag_deprecated"],["status","custom",1,"t-tag","t-tag_package",3,"value","autoColor"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["tuiTab","","routerLinkActive","",3,"routerLinkActiveOptions","routerLink",4,"tuiItem"],["tuiTab","","routerLinkActive","",3,"routerLinkActiveOptions","routerLink"],[1,"t-see-also",3,"seeAlso"],[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"header",0),r.TgZ(1,"h1",1),r._uU(2),r.YNc(3,Es,1,0,"tui-tag",2),r.YNc(4,As,1,2,"tui-tag",3),r.qZA(),r.YNc(5,Fs,2,2,"tui-tabs-with-more",4),r._UZ(6,"tui-doc-source-code",5),r.qZA(),r.TgZ(7,"div",6),r.Hsn(8),r.YNc(9,zs,1,1,"tui-doc-see-also",7),r.YNc(10,js,2,1,"ng-container",8),r.qZA()),2&t&&(r.xp6(2),r.hij(" ",e.header," "),r.xp6(1),r.Q6J("ngIf",!!e.deprecated||""===e.deprecated),r.xp6(1),r.Q6J("ngIf",e.package),r.xp6(1),r.Q6J("ngIf",e.tabConnectors.length),r.xp6(1),r.Q6J("header",e.header)("package",e.package)("type",e.type)("path",e.path),r.xp6(3),r.Q6J("ngIf",e.showSeeAlso),r.xp6(1),r.Q6J("ngForOf",e.tabConnectors))},directives:[y.O5,xa,y.sg,fr,Sn,I,wn,Ze.yS,Ze.Od,wa,y.tP],pipes:[nt],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;min-height:0;flex-basis:0;flex-grow:1}.t-header[_ngcontent-%COMP%]{display:flex;font:var(--tui-font-heading-3);flex-wrap:wrap;min-height:7.25rem;color:var(--tui-text-01);box-shadow:inset 0 -1px 0 0 var(--tui-base-03);padding:3.75rem 0 0;box-sizing:border-box;flex-shrink:0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-header[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{font:var(--tui-font-heading-4);min-height:4.5rem;padding:1.25rem 1.25rem 0;margin:0}.t-title[_ngcontent-%COMP%]{min-width:100%;font-size:inherit;margin:0}.t-tag[_ngcontent-%COMP%]{vertical-align:middle;text-transform:uppercase;margin-right:.5rem}.t-tag_deprecated[_ngcontent-%COMP%]{background-color:var(--tui-error-fill)}.t-tag.t-tag_package[_ngcontent-%COMP%]{color:#000}.t-tabs[_ngcontent-%COMP%]{flex:1;margin:1.125rem .3125rem 0 0}tui-root._mobile[_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs[_ngcontent-%COMP%]{margin-top:.25rem}.t-content[_ngcontent-%COMP%]{padding:2rem 0;margin:0 min(10vw,8.75rem)}tui-root._mobile[_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:2rem 1.25rem;margin:0}.t-see-also[_ngcontent-%COMP%]{min-width:18.75rem;width:30%;float:right;margin-left:1.5rem}tui-root._mobile[_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-see-also[_ngcontent-%COMP%]{float:none;width:100%;margin:0 0 1.5rem}.t-source-code[_ngcontent-%COMP%]{align-self:flex-end;line-height:2.75rem;margin-left:auto}"],changeDetection:0}),t})(),Aa=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[y.ez,Ze.Bz,Ca,En,gr,Oa,rt]]}),t})()},64548:function(t,e,n){"use strict";n.d(e,{mT:function(){return u},lW:function(){return h},AC:function(){return d},ru:function(){return m},IK:function(){return v},$_:function(){return p},Es:function(){return f},mv:function(){return _},et:function(){return g},Or:function(){return x},_Z:function(){return P},gG:function(){return y},V5:function(){return k},V1:function(){return O},n1:function(){return T},EI:function(){return b},UL:function(){return M},VX:function(){return w},yO:function(){return S},as:function(){return C},Yx:function(){return E},Ii:function(){return A}});var r=n(74788),i=n(44427),o=n(54487),s=n(41439),a=n(41291),l=n(25917),c=n(43190);const u=new r.OlP("[TUI_DOC_CODE_ACTIONS]",{factory:()=>""}),h=new r.OlP("[TUI_DOC_CODE_EDITOR]"),d=new r.OlP("[TUI_DOC_DEFAULT_TABS]",{factory:()=>[]}),p=new r.OlP("[TUI_DOC_EXAMPLE_CONTENT_PROCESSOR]",{factory:()=>o.y}),f=new r.OlP("[TUI_DOC_EXAMPLE_MARKDOWN_CODE_PROCESSOR]",{factory:()=>i.vi}),g=new r.OlP("[TUI_DOC_EXCLUDED_PROPERTIES]",{factory:()=>new Set([])}),m=new r.OlP("[TUI_DOC_DEMO_TEXTS]",{factory:()=>["Read more more about modes: ","Background","Form value"]}),v=new r.OlP("[TUI_DOC_DOCUMENTATION_TEXTS]",{factory:()=>["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]}),_=new r.OlP("[TUI_DOC_EXAMPLE_TEXTS]",{factory:()=>["Preview","Link to a sample was successfully copied","Done"]}),y=new r.OlP("[TUI_DOC_MENU_TEXT]",{factory:()=>"Menu"}),b=new r.OlP("[TUI_DOC_SEARCH_TEXT]",{factory:()=>"Search"}),w=new r.OlP("[TUI_DOC_SEE_ALSO_TEXT]",{factory:()=>"See also"}),C=new r.OlP("[TUI_DOC_SOURCE_CODE_TEXT]",{factory:()=>"Source code"}),x=new r.OlP("[TUI_DOC_LOGO]",{factory:()=>""}),O=new r.OlP("[TUI_DOC_PAGE_LOADED]",{factory:()=>(0,s.P)(()=>(0,a.H)(200).pipe((0,c.w)(()=>(0,l.of)(!0))))}),k=new r.OlP("[TUI_DOC_PAGES]",{factory:()=>[]}),P=new r.OlP("[TUI_DOC_MAP_PAGES]",{factory:()=>{const t=(0,r.f3M)(k);return(0,i.S4)(t)}}),T=new r.OlP("[TUI_DOC_SCROLL_BEHAVIOR]",{factory:()=>"smooth"}),M=new r.OlP("[TUI_DOC_SEE_ALSO]",{factory:()=>[]}),S=new r.OlP("[TUI_DOC_SOURCE_CODE]",{factory:()=>null}),E=new r.OlP("[TUI_DOC_TITLE]",{factory:()=>""}),A=new r.OlP("[TUI_DOC_URL_STATE_HANDLER]",{factory:()=>String})},44427:function(t,e,n){"use strict";n.d(e,{p8:function(){return a},cd:function(){return s},Ve:function(){return l},sj:function(){return c},JQ:function(){return h},vP:function(){return d},S4:function(){return p},OO:function(){return g},vi:function(){return u}});var r=n(4841),i=n.n(r),o=n(64762);function s(t){return"true"===(null==t?void 0:t.toString())}function a(t){const e=String(t).trim();if(function(t){return["undefined","null","NaN"].includes(t)}(e))return null;if(function(t){return"true"===t||"false"===t}(e))return"true"===String(e);if(function(t){return!!t.trim()&&!Number.isNaN(Number(t))&&!t.startsWith("+")}(e))return Number(e);const n=decodeURIComponent(e);try{return function(t){return t.startsWith("[")&&t.endsWith("]")}(n)||function(t){return t.startsWith("{")&&t.endsWith("}")}(n)?JSON.parse(n):n}catch(r){return n}}function l(t){return[{path:"",component:t,children:[{path:":tab",component:t}]}]}function c(t,e){if(null===t)return"null";switch(typeof t){case"string":return`'${t}'`;case"undefined":case"number":case"boolean":case"function":return String(t)}return t instanceof RegExp?String(t):Array.isArray(t)?function(t,e){if(0===e)return"[\u2026]";let n="",r=!0;for(let i=0;i"code"===t&&"fence"===e).map(({content:t})=>t);return e.length?e:[t]}function h(t){return(0,o.mG)(this,void 0,void 0,function*(){return t instanceof Promise?(yield t).default:t})}function d(t){return(0,o.mG)(this,void 0,void 0,function*(){const e={};for(const[n,r]of Object.entries(t))r&&(e[n]=yield h(r));return e})}function p(t){const e=new Map;for(const n of t)if("subPages"in n)for(const t of n.subPages)e.set(t.title,t);else e.set(n.title,n);return e}const f={"\u0430":"f","\u0431":",","\u0432":"d","\u0433":"u","\u0434":"l","\u0435":"t","\u0451":"`","\u0436":";","\u0437":"p","\u0438":"b","\u0439":"q","\u043a":"r","\u043b":"k","\u043c":"v","\u043d":"y","\u043e":"j","\u043f":"g","\u0440":"h","\u0441":"c","\u0442":"n","\u0443":"e","\u0444":"a","\u0445":"[","\u0446":"w","\u0447":"x","\u0448":"i","\u0449":"o","\u044a":"]","\u044b":"s","\u044c":"m","\u044e":".","\u044f":"z"};function g(t){let e="";for(let n=0;n{class t{constructor(){this.pseudoHover=null,this.pseudoActive=null,this.pseudoFocus=null,this.focusable=!0,this.nativeId="",this.focusedChange=new i.vpe,this.focusVisibleChange=new i.vpe,this.focusVisible=!1,this.autoIdString=`tui_interactive_${t.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}get computedFocused(){var t;return!this.computedDisabled&&(null!==(t=this.pseudoFocus)&&void 0!==t?t:this.focused)}get computedFocusVisible(){var t;return!this.computedDisabled&&(null!==(t=this.pseudoFocus)&&void 0!==t?t:this.focusVisible)}get id(){return this.nativeId||this.autoIdString}updateFocused(t){this.focusedChange.emit(t)}updateFocusVisible(t){this.focusVisible!==t&&(this.focusVisible=t,this.focusVisibleChange.emit(t))}}return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,hostVars:6,hostBindings:function(t,e){2&t&&i.ekj("_disabled",e.computedDisabled)("_focused",e.computedFocused)("_focus-visible",e.computedFocusVisible)},inputs:{pseudoHover:"pseudoHover",pseudoActive:"pseudoActive",pseudoFocus:"pseudoFocus",focusable:"focusable",nativeId:"nativeId"},outputs:{focusedChange:"focusedChange",focusVisibleChange:"focusVisibleChange"}}),(0,r.gn)([(0,a.TH)()],t.prototype,"pseudoHover",void 0),(0,r.gn)([(0,a.TH)()],t.prototype,"pseudoActive",void 0),(0,r.gn)([(0,a.TH)()],t.prototype,"pseudoFocus",void 0),(0,r.gn)([(0,a.TH)()],t.prototype,"focusable",void 0),(0,r.gn)([(0,a.TH)()],t.prototype,"nativeId",void 0),t})();class _{}let y=(()=>{class t extends v{constructor(t,e,n){super(),this.ngControl=t,this.cdr=e,this.valueTransformer=n,this.onTouched=s.iD,this.onChange=s.iD,this.fallbackValue=this.getFallbackValue(),this.destroy$=new l.xQ,this.readOnly=!1,this.pseudoInvalid=null,this.ngControl&&(this.ngControl.valueAccessor=this)}get computedInvalid(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)}get value(){var t;return null!==(t=this.previousInternalValue)&&void 0!==t?t:this.fallbackValue}set value(t){this.updateValue(t)}get safeCurrentValue(){var t;return null!==(t=this.rawValue)&&void 0!==t?t:this.fallbackValue}get invalid(){return this.safeNgControlData(({invalid:t})=>t,!1)}get valid(){return this.safeNgControlData(({valid:t})=>t,!1)}get touched(){return this.safeNgControlData(({touched:t})=>t,!1)}get disabled(){return this.safeNgControlData(({disabled:t})=>t,!1)}get interactive(){return!this.readOnly&&!this.computedDisabled}get control(){return this.safeNgControlData(({control:t})=>t,null)}get computedName(){var t,e;return null!==(e=null===(t=this.controlName)||void 0===t?void 0:t.toString())&&void 0!==e?e:null}get controlName(){var t,e,n;return null!==(n=null===(e=null===(t=this.ngControl)||void 0===t?void 0:t.name)||void 0===e?void 0:e.toString())&&void 0!==n?n:null}get rawValue(){const{ngControl:t}=this;if(null!==t)return this.fromControlValue(t instanceof o.On&&void 0===this.previousInternalValue?t.viewModel:t.value)}ngOnInit(){var t,e;!(null===(t=this.ngControl)||void 0===t?void 0:t.valueChanges)||!(null===(e=this.ngControl)||void 0===e?void 0:e.statusChanges)||(0,c.T)(this.ngControl.valueChanges,this.ngControl.statusChanges).pipe((0,d.R)(this.destroy$)).subscribe(()=>this.refreshLocalValue(this.safeCurrentValue))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(t){this.onChange=e=>{t(this.toControlValue(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(){this.checkControlUpdate()}writeValue(t){this.refreshLocalValue(this.fromControlValue(this.ngControl instanceof o.On&&void 0===this.previousInternalValue?this.ngControl.model:t))}updateFocused(t){t||this.controlMarkAsTouched(),super.updateFocused(t)}updateValue(t){this.disabled||this.valueIdenticalComparator(this.value,t)||(this.previousInternalValue=t,this.controlSetValue(t))}valueIdenticalComparator(t,e){return t===e}safeNgControlData(t,e){var n;return null!==(n=this.ngControl&&t(this.ngControl))&&void 0!==n?n:e}controlMarkAsTouched(){this.onTouched(),this.checkControlUpdate()}controlSetValue(t){this.onChange(t),this.checkControlUpdate()}refreshLocalValue(t){this.previousInternalValue=t,this.checkControlUpdate()}fromControlValue(t){return this.valueTransformer?this.valueTransformer.fromControlValue(t):t}toControlValue(t){return this.valueTransformer?this.valueTransformer.toControlValue(t):t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.a5,8),i.Y36(i.sBO),i.Y36(_,8))},t.\u0275dir=i.lG2({type:t,hostVars:4,hostBindings:function(t,e){2&t&&i.ekj("_readonly",e.readOnly)("_invalid",e.computedInvalid)},inputs:{readOnly:"readOnly",pseudoInvalid:"pseudoInvalid"},features:[i.qOj]}),(0,r.gn)([(0,a.TH)()],t.prototype,"readOnly",void 0),(0,r.gn)([(0,a.TH)()],t.prototype,"pseudoInvalid",void 0),t})();function b(t){return{provide:y,useExisting:t}}let w=(()=>{class t{constructor(){this.change$=new l.xQ}ngOnChanges(){this.change$.next()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,features:[i.TTD]}),t})(),C=(()=>{class t extends u.y{constructor(t){super(t=>this.dialogs$.subscribe(t)),this.idService=t,this.dialogs$=new h.X([])}open(t,e={}){return new u.y(n=>{const r=Object.assign(Object.assign(Object.assign({},this.defaultOptions),e),{content:t,completeWith:t=>{n.next(t),n.complete()},$implicit:n,component:this.component,createdAt:Date.now(),id:this.idService.generate()});return this.dialogs$.next([...this.dialogs$.value,r]),()=>{this.dialogs$.next(this.dialogs$.value.filter(t=>t!==r))}})}}return t.\u0275fac=function(e){return new(e||t)(i.LFG(p.ll))},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t extends y{getFallbackValue(){return null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,features:[i.qOj]}),t})(),O=(()=>{class t{get safeHost(){if(!this.host)throw new f.ZB;return this.host}attach(t){this.host=t}add(t){return this.safeHost.addComponentChild(t)}remove({hostView:t}){t.destroy()}addTemplate(t,e){return this.safeHost.addTemplateChild(t,e)}removeTemplate(t){t.destroy()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),k=(()=>{class t{constructor(t,e,n){this.injector=t,this.el=e,n.attach(this)}get clientRect(){return this.el.nativeElement.getBoundingClientRect()}addComponentChild(e){const n=e.createInjector(this.injector),r=n.get(i._Vd).resolveComponentFactory(e.component),o=i.zs3.create({parent:n,providers:[{provide:t,useValue:this}]}),s=this.vcr.createComponent(r,void 0,o);return s.changeDetectorRef.detectChanges(),s}addTemplateChild(t,e){return this.vcr.createEmbeddedView(t,e)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.gxx),i.Y36(i.SBq),i.Y36(O))},t.\u0275dir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(m,5,i.s_b),2&t){let t;i.iGM(t=i.CRH())&&(e.vcr=t.first)}}}),t})(),P=(()=>{class t{constructor(t){if(this.doc=t,null!==this.style)return void this.addTheme();const e=this.doc.head.querySelectorAll("style");this.constructor.style=e[e.length-1]}get style(){return this.constructor.style}ngOnDestroy(){this.removeTheme()}addTheme(){this.style&&this.doc.head.appendChild(this.style)}removeTheme(){this.style&&this.doc.head.contains(this.style)&&this.doc.head.removeChild(this.style)}}return t.style=null,t.\u0275fac=function(e){return new(e||t)(i.Y36(g.K0))},t.\u0275dir=i.lG2({type:t}),t})()},18939:function(t,e,n){"use strict";n.d(e,{z:function(){return i}});var r=n(33770);const i={enabled:!1,get assert(){return r.iD}}},75122:function(t,e,n){"use strict";n.d(e,{qY:function(){return a},mL:function(){return l},ae:function(){return s}});var r=n(74788),i=n(76480);const o=["*"];let s=(()=>{class t extends i.N9{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),a=(()=>{class t extends i.Er{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-dropdown-host"]],features:[r._Bn([{provide:i.N9,useExisting:s},{provide:i.Er,useExisting:t}]),r.qOj],ngContentSelectors:o,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(r.F$t(),r.Hsn(0),r.GkF(1,null,0))},styles:['[_nghost-%COMP%]{position:relative;z-index:0;display:block;height:100%}[_nghost-%COMP%]:before{content:"";display:block;overflow:hidden}.t-position-fixed-offset[_ngcontent-%COMP%]{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}'],changeDetection:0}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},33770:function(t,e,n){"use strict";n.d(e,{Iy:function(){return o},Ye:function(){return s},F:function(){return _},fv:function(){return y},f$:function(){return v},LZ:function(){return l},Jy:function(){return h},iD:function(){return c},Mm:function(){return a},Yg:function(){return g},bg:function(){return p},yZ:function(){return d},Kx:function(){return f},Ml:function(){return b},Lw:function(){return m}});var r=n(74788),i=n(56083);const o=()=>!1,s=()=>!0,a=new r.n_E,l=[],c=()=>{},u={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},h=Object.assign(Object.assign({},u),{toJSON:()=>u}),d=t=>String(t),p=(t,e)=>t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e),f=(0,i.X$)("tuiParentAnimation",[(0,i.eR)("* => void",[(0,i.oB)({overflow:"hidden"}),(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])]),g=((0,i.X$)("tuiParentStop",[(0,i.eR)(":enter",[])]),1e3/15),m=t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,v="\xa0",_="\u2013",y="-",b="3.26.0"},44358:function(t,e,n){"use strict";n.d(e,{TH:function(){return i},UM:function(){return o},NH:function(){return s}}),n(18939);var r=n(27788);function i(t,...e){return(t,e)=>{Object.defineProperty(t,e,{configurable:!0,get(){},set(t){let n=t;Object.defineProperty(this,e,{configurable:!0,get:()=>n,set(e){n=void 0!==e?e:t}})}})}}function o(t,e,{get:n,enumerable:i,value:o}){if(n)return{configurable:!0,enumerable:i,get(){const t=n.call(this);return Object.defineProperty(this,e,{enumerable:i,value:t}),t}};if("function"!=typeof o)throw new r.jw;const s=o;return{configurable:!0,enumerable:i,get(){let t,n=[],r=!1;const i=(...e)=>(r&&n.length===e.length&&e.every((t,e)=>t===n[e])||(n=e,t=s.apply(this,e),r=!0),t);return Object.defineProperty(this,e,{configurable:!0,value:i}),i}}}function s(t,...e){return(t,e,{configurable:n,enumerable:r,get:i,set:o})=>({configurable:n,enumerable:r,get:i,set(t){!o||void 0===t||o.call(this,t)}})}},221:function(t,e,n){"use strict";n.d(e,{e:function(){return p},A:function(){return f}});var r=n(89473),i=n(74788),o=n(44358),s=n(40946),a=n(99434),l=n(11927),c=n(88002),u=n(39761),h=n(87519),d=n(13653);let p=(()=>{class t{constructor(t,e,n,r){this.active$=t,this.ngZone=e,this.el=n,this.directParentActiveZone=r,this.subActiveZones=[],this.tuiActiveZoneParent=null,this.tuiActiveZoneChange=this.active$.pipe((0,c.U)(t=>!!t&&this.contains(t)),(0,u.O)(!1),(0,h.x)(),(0,d.T)(1),(0,s.Yr)(this.ngZone)),this.directParentActiveZone&&this.directParentActiveZone.addSubActiveZone(this)}set tuiActiveZoneParentSetter(t){this.setZone(t)}ngOnDestroy(){this.directParentActiveZone&&this.directParentActiveZone.removeSubActiveZone(this),this.tuiActiveZoneParent&&this.tuiActiveZoneParent.removeSubActiveZone(this)}contains(t){return this.el.nativeElement.contains(t)||this.subActiveZones.some((e,n,r)=>r.indexOf(e)===n&&e.contains(t))}setZone(t){this.tuiActiveZoneParent&&this.tuiActiveZoneParent.removeSubActiveZone(this),t&&t.addSubActiveZone(this),this.tuiActiveZoneParent=t}addSubActiveZone(t){this.subActiveZones=[...this.subActiveZones,t]}removeSubActiveZone(t){this.subActiveZones=(0,l.WX)(this.subActiveZones,this.subActiveZones.indexOf(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(a.wk),i.Y36(i.R0b),i.Y36(i.SBq),i.Y36(t,12))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"]}),(0,r.gn)([(0,o.TH)()],t.prototype,"tuiActiveZoneParentSetter",null),(0,r.gn)([o.UM],t.prototype,"setZone",null),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})()},44541:function(t,e,n){"use strict";n.d(e,{t:function(){return i},S:function(){return o}});var r=n(74788);let i=(()=>{class t{constructor(t,e){this.el=t,this.renderer=e,this.tuiCheckedChange=new r.vpe,this.updateProperty("checked",!1)}set tuiChecked(t){this.updateProperty("checked",t||!1),this.updateProperty("indeterminate",null===t)}onChange({checked:t}){this.updateProperty("indeterminate",!1),this.tuiCheckedChange.emit(t)}updateProperty(t,e){this.renderer.setProperty(this.el.nativeElement,t,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.Qsj))},t.\u0275dir=r.lG2({type:t,selectors:[["input","tuiChecked",""],["input","tuiCheckedChange",""]],hostBindings:function(t,e){1&t&&r.NdJ("change",function(t){return e.onChange(t.target)})},inputs:{tuiChecked:"tuiChecked"},outputs:{tuiCheckedChange:"tuiCheckedChange"}}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},88491:function(t,e,n){"use strict";n.d(e,{q:function(){return o},c:function(){return s}});var r=n(74788),i=n(27103);let o=(()=>{class t{constructor(t){this.tuiFocusVisibleChange=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.ku))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiFocusVisibleChange",""]],outputs:{tuiFocusVisibleChange:"tuiFocusVisibleChange"},features:[r._Bn([i.a3,i.ku])]}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},13633:function(t,e,n){"use strict";n.d(e,{t:function(){return i},u:function(){return o}});var r=n(74788);let i=(()=>{class t{constructor(){this.focusable=!0}get tabIndex(){return this.focusable?0:-1}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiFocusable",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Ikx("tabIndex",e.tabIndex)},inputs:{focusable:["tuiFocusable","focusable"]}}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},75059:function(t,e,n){"use strict";n.d(e,{U:function(){return h},F:function(){return d}});var r=n(74788),i=n(40946),o=n(57179),s=n(66682),a=n(88002),l=n(39761),c=n(87519),u=n(13653);let h=(()=>{class t{constructor({nativeElement:t},e){this.tuiFocusedChange=(0,s.T)((0,i.mL)(t,"focusin"),(0,i.mL)(t,"focusout")).pipe((0,a.U)(()=>(0,o.V8)(t)),(0,l.O)(!1),(0,c.x)(),(0,u.T)(1),(0,i.Yr)(e))}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiFocusedChange",""]],outputs:{tuiFocusedChange:"tuiFocusedChange"}}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},96111:function(t,e,n){"use strict";n.d(e,{co:function(){return f},VE:function(){return g},gs:function(){return p}});var r=n(74788),i=n(33770),o=n(40946),s=n(64493),a=n(29856),l=n(66682),c=n(88002),u=n(45435),h=n(87519);function d({currentTarget:t,relatedTarget:e}){return!(0,s.ve)(e)||!(0,s.ve)(t)||!t.contains(e)}let p=(()=>{class t extends a.y{constructor(t,e){super(t=>this.stream$.subscribe(t)),this.el=t,this.ngZone=e,this.stream$=(0,l.T)((0,o.mL)(this.el.nativeElement,"mouseenter").pipe((0,c.U)(i.Ye)),(0,o.mL)(this.el.nativeElement,"mouseleave").pipe((0,c.U)(i.Iy)),(0,o.mL)(this.el.nativeElement,"mouseout").pipe((0,u.h)(d),(0,c.U)(i.Iy))).pipe((0,h.x)(),(0,o.Yr)(this.ngZone))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.SBq),r.LFG(r.R0b))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),f=(()=>{class t{constructor(t){this.tuiHoveredChange=t}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(p))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},features:[r._Bn([p])]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},92668:function(t,e,n){"use strict";n.d(e,{Ls:function(){return o},WD:function(){return s}});var r=n(74788);class i{constructor(t){this.internalDirectiveInstance=t}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let o=(()=>{class t{constructor(t,e){t.createEmbeddedView(e,new i(this))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"}}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},71486:function(t,e,n){"use strict";n.d(e,{W:function(){return h},e:function(){return d}});var r=n(74788),i=n(40946),o=n(27103),s=n(64493),a=n(45435),l=n(46782),c=n(43190),u=n(68307);let h=(()=>{class t{constructor({nativeElement:t},e,n){this.mode="scroll",(0,i.mL)(t,"wheel",{passive:!1}).pipe((0,a.h)(()=>this.enabled),(0,i.fL)(e),(0,l.R)(n)).subscribe(t=>{this.processEvent(t,!!t.deltaY,t.deltaY?t.deltaY<0:t.deltaX<0)}),(0,i.mL)(t,"touchstart",{passive:!0}).pipe((0,c.w)(({touches:e})=>{let n,{clientX:r,clientY:o}=e[0],s=0,l=0;return(0,i.mL)(t,"touchmove",{passive:!1}).pipe((0,a.h)(()=>this.enabled),(0,u.b)(t=>{const e=t.changedTouches[0];s=r-e.clientX,l=o-e.clientY,r=e.clientX,o=e.clientY,void 0===n&&(n=Math.abs(l)>Math.abs(s)),this.processEvent(t,n,n?l<0:s<0)}))}),(0,i.fL)(e),(0,l.R)(n)).subscribe()}get enabled(){return"none"!==this.mode}get overscrollBehavior(){return this.enabled?"contain":null}processEvent(t,e,n){var r;const{target:i,currentTarget:o,cancelable:a}=t;if(a&&(0,s.ve)(i)&&"range"!==(null===(r=i)||void 0===r?void 0:r.type)){if("all"===this.mode&&(e&&!o.contains((0,s.Hs)(i))||!e&&!o.contains((0,s.Hs)(i,!1))))return void t.preventDefault();if(e&&(n&&!(0,s.ty)(i,o,!0,!1)||!n&&!(0,s.ty)(i,o,!0,!0)))return void t.preventDefault();!e&&(n&&!(0,s.ty)(i,o,!1,!1)||!n&&!(0,s.ty)(i,o,!1,!0))&&t.preventDefault()}}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(r.R0b),r.Y36(o.a3,2))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiOverscroll",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.Udp("overscroll-behavior",e.overscrollBehavior)},inputs:{mode:["tuiOverscroll","mode"]},features:[r._Bn([o.a3])]}),t})(),d=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},27788:function(t,e,n){"use strict";n.d(e,{I4:function(){return r},AM:function(){return i},JY:function(){return o},ZB:function(){return s},aq:function(){return a},jw:function(){return l},j2:function(){return c}}),Error,Error;class r extends Error{constructor(t){super("")}}class i extends Error{constructor(t){super("")}}class o extends Error{constructor(t){super("")}}class s extends Error{constructor(){super("")}}class a extends Error{constructor(){super("")}}class l extends Error{constructor(){super("")}}Error,Error;class c extends Error{constructor(){super("")}}Error,Error},40946:function(t,e,n){"use strict";n.d(e,{EK:function(){return T},ix:function(){return I},Xd:function(){return D},fw:function(){return L},mp:function(){return F},ll:function(){return N},vm:function(){return z},mL:function(){return M},NA:function(){return R},Yr:function(){return B},fL:function(){return j}});var r=n(27788),i=n(29856),o=n(22759),s=n(34022),a=n(41291),l=n(66682),c=n(22416),u=n(59193),h=n(77393);class d{call(t,e){return e.subscribe(new p(t))}}class p extends h.L{_next(t){}}var f=n(39761),g=n(43190),m=n(88002),v=n(87519),_=n(47349),y=n(15257),b=n(45435),w=n(79196),C=n(57057),x=n(68307),O=n(11927),k=n(33770),P=n(57179);function T(t){return new i.y(e=>{if(!t.valueChanges)throw new r.j2;t.valueChanges.pipe((0,f.O)(t.value)).subscribe(e)})}function M(t,e,n={}){return(0,o.R)(t,e,n)}function S(t=0){return(0,s.z)((0,g.w)(()=>(0,a.H)(t).pipe((0,m.U)(k.Iy),(0,f.O)(!0))),(0,v.x)())}let E,A;function I(t){const e=M(t,"blur"),{ownerDocument:n}=t;if(!n)throw new r.aq;return(!A||!E)&&(E=M(n,"mouseup",{capture:!0}).pipe(S(),(0,f.O)(!1),(0,_.d)({bufferSize:1,refCount:!0})),A=M(n,"mousedown",{capture:!0}).pipe(S(),(0,f.O)(!1),(0,_.d)({bufferSize:1,refCount:!0}))),(0,l.T)((0,c.z)(M(t,"focus").pipe((0,y.q)(1)),e.pipe((0,b.h)(()=>!(0,P.V8)(t)),(0,y.q)(1),function(t){return t.lift(new d)})).pipe((0,w.r)(),(0,C.M)(A,E,(t,e,n)=>e||n),(0,b.h)(O.Mv))).pipe((0,g.w)(()=>e.pipe((0,m.U)(k.Iy),(0,y.q)(1),(0,f.O)(!0))),(0,v.x)())}function D(t,e=Boolean){return(0,s.z)((0,g.w)(n=>e(n)?t(n):u.E))}function L(t){var e,n;return"observed"in t?t.observed:!!(null===(n=null===(e=t)||void 0===e?void 0:e.observers)||void 0===n?void 0:n.length)}function N(t){return t.changes.pipe((0,f.O)(null),(0,m.U)(()=>(0,O.gD)(t)))}function F(){return(0,x.b)(t=>t.preventDefault())}function z(){return(0,x.b)(t=>{t.stopPropagation()})}function R(t){return(0,x.b)(()=>{t.markForCheck()})}function j(t){return e=>new i.y(n=>t.runOutsideAngular(()=>e.subscribe(n)))}function B(t){return(0,s.z)(j(t),function(t){return e=>new i.y(n=>e.subscribe({next:e=>t.run(()=>n.next(e)),error:e=>t.run(()=>n.error(e)),complete:()=>t.run(()=>n.complete())}))}(t))}},42420:function(t,e,n){"use strict";n.d(e,{c:function(){return i},I:function(){return o}});var r=n(74788);let i=(()=>{class t{transform(t,e,...n){return e(t,...n)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=r.Yjl({name:"tuiMapper",type:t,pure:!0}),t})(),o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},27103:function(t,e,n){"use strict";n.d(e,{a3:function(){return N},gH:function(){return F},ku:function(){return z},ll:function(){return R},AQ:function(){return B},b0:function(){return j},tl:function(){return H},Fr:function(){return U},$D:function(){return V}});var r=n(74788),i=n(74235),o=n(29856),s=n(41439),a=n(66682),l=n(22759),c=n(97968),u=n(40946),h=n(46782),d=n(87874),p=n(43219),f=n(88002),g=n(39761),m=n(87519),v=n(5304),_=n(54395),y=n(9945),b=n(43190),w=n(47349),C=n(59328),x=n(45435),O=n(62579),k=n(33770),P=n(64493),T=n(12057);const M=new r.OlP("Box model to observe changes",{providedIn:"root",factory:()=>"content-box"}),S=new r.OlP("Resize Observer API support",{providedIn:"root",factory:()=>!!(0,r.f3M)(O.m9).ResizeObserver});let E=(()=>{class t extends o.y{constructor({nativeElement:t},e,n,r){let i;return super(o=>{if(n)return i=new ResizeObserver(t=>{e.run(()=>{o.next(t)})}),i.observe(t,{box:r}),()=>{i.disconnect()};o.error("ResizeObserver is not supported in your browser")}),this.pipe((0,y.B)())}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.SBq),r.LFG(r.R0b),r.LFG(S),r.LFG(M))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})();var A=n(11927),I=n(89473),D=n(59178);var L=n(99434);let N=(()=>{class t extends i.t{constructor(){super(1)}ngOnDestroy(){this.next(),this.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),F=(()=>{class t{constructor(t,e){this.resolver=t,this.injector=e,this.map=new Map}addComponent(t){this.map.has(t)||this.map.set(t,this.resolver.resolveComponentFactory(t).create(this.injector))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r._Vd),r.LFG(r.gxx))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),z=(()=>{class t extends o.y{constructor({nativeElement:t},e,n){super(t=>this.focusVisible$.subscribe(t)),this.focusVisible$=(0,u.ix)(t).pipe((0,u.NA)(e),(0,h.R)(n))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.SBq),r.LFG(r.sBO),r.LFG(N,2))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),R=(()=>{class t{generate(){return`tui_${t.autoId++}${Date.now()}`}}return t.autoId=0,t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),j=(()=>{class t extends o.y{constructor(t,e){super(t=>this.callback$.subscribe(t)),this.callback$=(0,s.P)(()=>{let{nativeElement:n}=t;const r=[e,n];for(;n.parentElement;)n=n.parentElement,r.push(n);return(0,a.T)(...r.map(t=>(0,u.mL)(t,"scroll")))})}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.SBq),r.LFG(O.m9))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),B=(()=>{class t extends o.y{constructor(t,{nativeElement:e},n,r,i,o){super(t=>this.obscured$.subscribe(t)),this.obscured$=(0,a.T)((0,a.T)(t,(0,l.R)(r,"resize")).pipe((0,d.g)(0)),o.pipe((0,p.p)(k.Yg))).pipe((0,f.U)(()=>(0,P.PU)(e)),(0,g.O)(null),(0,m.x)(),(0,u.Yr)(n),(0,h.R)(i))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(j,2),r.LFG(r.SBq),r.LFG(r.R0b),r.LFG(O.m9),r.LFG(N,2),r.LFG(O.L1))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),H=(()=>{class t extends E{constructor(t,e,n,r,i,o){return super(t,e,r,i),this.pipe((0,v.K)(()=>o.pipe((0,p.p)(k.Yg),(0,f.U)(()=>`${t.nativeElement.clientWidth} ${t.nativeElement.clientHeight}`),(0,m.x)(),(0,f.U)(()=>k.LZ))),(0,_.b)(0),(0,u.fL)(e),(0,y.B)(),(0,h.R)(n))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.SBq),r.LFG(r.R0b),r.LFG(N,2),r.LFG(S),r.LFG(M),r.LFG(O.L1))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),U=(()=>{class t{constructor(t,e){this.win=t,this.platformId=e,this.cache=new Map}request(t){const e=this.cache.get(t);if(e)return e;const n=("AbortController"in this.win||(0,T.PM)(this.platformId)?function(t,e={}){const{selector:n}=e,r=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i{const i=new AbortController,o=i.signal;let s=!0,a=!1;const l=new D.w;let u;if(l.add(()=>{a=!0,s&&i.abort()}),r){if(r.signal)if(r.signal.aborted)i.abort();else{const t=r.signal,e=()=>{o.aborted||i.abort()};t.addEventListener("abort",e),l.add(()=>t.removeEventListener("abort",e))}u=Object.assign({},r,{signal:o})}else u={signal:o};return fetch(t,u).then(t=>{n?l.add((0,c.D)(n(t)).subscribe(t=>e.next(t),t=>{s=!1,a||e.error(t)},()=>{s=!1,e.complete()})):(s=!1,e.next(t),e.complete())}).catch(t=>{s=!1,a||e.error(t)}),l})}(t):(0,s.P)(()=>(0,c.D)(fetch(t)))).pipe((0,b.w)(t=>(0,I.mG)(this,void 0,void 0,function*(){return t.text()})),(0,w.d)({bufferSize:1,refCount:!1}));return this.cache.set(t,n),n}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(O.m9),r.LFG(r.Lbi))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),V=(()=>{class t extends o.y{constructor({nativeElement:t},{timeout:e,threshold:n},r){super(i=>{(0,a.T)((0,u.mL)(t,"touchstart",{passive:!0}),(0,u.mL)(r,"touchend")).pipe((0,C.G)(),(0,x.h)(([t,e])=>!!t.touches.length&&t.touches[0].identifier===e.changedTouches[0].identifier),(0,f.U)(([t,r])=>{const i=t.touches[0].clientX-r.changedTouches[0].clientX,o=t.touches[0].clientY-r.changedTouches[0].clientY,s=r.timeStamp-t.timeStamp;return(Math.abs(i)>n||Math.abs(o)>n)&&s1}const c=/^((?!chrome|android).)*safari/i;var u=n(64493),h=n(26215),d=n(41291),p=n(66682),f=n(25917),g=n(43190),m=n(88002),v=n(39761),_=n(9945),y=n(46782),b=n(72361),w=n(57057),C=n(45435),x=n(15257),O=n(87519),k=n(47349),P=n(79221),T=n(33770);const M=new i.OlP("[TUI_REMOVED_ELEMENT]",{factory:()=>{const t={onRemovalComplete:()=>{}},e=new h.X(null),n=(0,i.f3M)(P.Th,i.XFs.Optional)||t,{onRemovalComplete:r=t.onRemovalComplete}=n;return n.onRemovalComplete=(t,n)=>{e.next(t),r(t,n)},e.pipe((0,g.w)(t=>(0,d.H)(0).pipe((0,m.U)(()=>null),(0,v.O)(t))),(0,_.B)())}}),S=new i.OlP("[TUI_ACTIVE_ELEMENT]",{factory:()=>{const t=(0,i.f3M)(M),e=(0,i.f3M)(o.m9),n=(0,i.f3M)(r.K0),a=(0,s.mL)(e,"focusout"),l=(0,s.mL)(e,"focusin"),c=(0,s.mL)(e,"blur"),h=(0,s.mL)(e,"mousedown"),k=(0,s.mL)(e,"mouseup");return(0,p.T)(a.pipe((0,y.R)(h),(0,b.a)(()=>k),(0,w.M)(t),(0,C.h)(([t,e])=>E((0,u.mA)(t),e)),(0,m.U)(([{relatedTarget:t}])=>t)),c.pipe((0,m.U)(()=>n.activeElement),(0,C.h)(t=>!!(null==t?void 0:t.matches("iframe")))),l.pipe((0,g.w)(t=>{const e=(0,u.mA)(t),r=(0,u.Wf)(e);return r===n?(0,f.of)(e):function(t){return(0,p.T)((0,s.mL)(t,"focusin").pipe((0,m.U)(({target:t})=>t)),(0,s.mL)(t,"focusout").pipe((0,C.h)(({target:t,relatedTarget:e})=>!!e&&E(t)),(0,m.U)(({relatedTarget:t})=>t)))}(r).pipe((0,v.O)(e))})),h.pipe((0,g.w)(t=>{const e=(0,u.mA)(t);return n.activeElement&&n.activeElement!==n.body?a.pipe((0,x.q)(1),(0,m.U)(()=>e),(0,y.R)((0,d.H)(0))):(0,f.of)(e)}))).pipe((0,O.x)(),(0,_.B)())}});function E(t,e=null){return(0,u.Wf)(t).activeElement!==t&&!t.disabled&&!(null==e?void 0:e.contains(t))}const A=new i.OlP("[TUI_ALERTS]",{factory:()=>[]});function I(t){return{provide:A,multi:!0,useExisting:t}}new i.OlP("[TUI_DEFAULT_RENDERER]",{factory:()=>(0,i.f3M)(i.FYo).createRenderer(null,null)});const D=new i.OlP("[TUI_DIALOGS]",{factory:()=>[]});function L(t){return{provide:D,multi:!0,useExisting:t}}new i.OlP("[TUI_ENSURE_BASE_HREF]",{factory:()=>{const t=(0,i.f3M)(r.K0).createElement("a");return t.href="",t.pathname}});const N=new i.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function F(t){return{provide:N,useExisting:t}}const z=new i.OlP("[TUI_IS_IOS]",{factory:()=>l((0,i.f3M)(o.s5))}),R=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,j=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,B=new i.OlP("[TUI_IS_MOBILE]",{factory:()=>R.test((0,i.f3M)(o.yZ).toLowerCase())||j.test((0,i.f3M)(o.yZ).slice(0,4).toLowerCase())}),H=(new i.OlP("[TUI_IS_ANDROID]",{factory:()=>(0,i.f3M)(B)&&!(0,i.f3M)(z)}),new i.OlP("[TUI_IS_APPLE]",{factory:()=>{return l(t=(0,i.f3M)(o.s5))||c.test(t.userAgent.toLowerCase());var t}}),new i.OlP("[TUI_IS_CHROMIUM]",{factory:()=>!!(0,i.f3M)(o.m9).chrome}),new i.OlP("[TUI_IS_CYPRESS]",{factory:()=>!!(0,i.f3M)(o.m9).Cypress})),U=(new i.OlP("[TUI_IS_FIREFOX]",{factory:()=>{var t;return void 0!==(null===(t=(0,i.f3M)(o.m9))||void 0===t?void 0:t.mozCancelFullScreen)}}),new i.OlP("[TUI_IS_STACKBLITZ]",{factory:()=>(0,i.f3M)(o.m9).location.host.endsWith("stackblitz.io")}),new i.OlP("[TUI_IS_WEBKIT]",{factory:()=>{var t;return!!(null===(t=(0,i.f3M)(o.m9))||void 0===t?void 0:t.webkitConvertPointFromNodeToPage)}})),V=(new i.OlP("[TUI_RANGE]",{factory:()=>(0,r.NF)((0,i.f3M)(i.Lbi))?new Range:{}}),new i.OlP("[TUI_SWIPE_OPTIONS]",{factory:()=>({timeout:500,threshold:30})}));new i.OlP("[TUI_TAKE_ONLY_TRUSTED_EVENTS]",{factory:T.Ye}),new i.OlP("[TUI_TOUCH_SUPPORTED]",{factory:()=>(0,i.f3M)(o.m9).matchMedia("(any-pointer: coarse)").matches}),new i.OlP("[TUI_WINDOW_HEIGHT]",{factory:()=>{const t=(0,i.f3M)(o.m9);return(0,s.mL)(t,"resize").pipe((0,v.O)(null),(0,m.U)(()=>t.innerHeight),(0,k.d)({bufferSize:1,refCount:!0}))}}),new i.OlP("[TUI_ZOOM_OPTIONS]",{factory:()=>({wheelSensitivity:.01})})},41213:function(t,e,n){"use strict";function r(t){return t.toLowerCase().includes("firefox")}function i({ownerDocument:t}){var e,n,r,i,o,s,a,l;const c=null==t?void 0:t.defaultView,u=void 0!==c.safari&&"[object SafariRemoteNotification]"===(null===(n=null===(e=c.safari)||void 0===e?void 0:e.pushNotification)||void 0===n?void 0:n.toString()),h=!!(null===(i=null===(r=c.navigator)||void 0===r?void 0:r.vendor)||void 0===i?void 0:i.includes("Apple"))&&!(null===(s=null===(o=c.navigator)||void 0===o?void 0:o.userAgent)||void 0===s?void 0:s.includes("CriOS"))&&!(null===(l=null===(a=c.navigator)||void 0===a?void 0:a.userAgent)||void 0===l?void 0:l.includes("FxiOS"));return u||h}n.d(e,{oK:function(){return r},Ex:function(){return i}})},64493:function(t,e,n){"use strict";n.d(e,{ty:function(){return o},PP:function(){return s},mA:function(){return c},Wf:function(){return u},PU:function(){return h},YX:function(){return d},Hs:function(){return p},Mq:function(){return f},ve:function(){return a},Hn:function(){return g},dW:function(){return l},dD:function(){return m}});var r=n(85648),i=n(11927);function o(t,e,n,r){return n?function(t,e,n){let r=t;for(;r!==e.parentElement;){if(Math.floor(r.scrollTop)>0&&!n||Math.ceil(r.scrollTop+r.clientHeight)0&&!n||Math.ceil(r.scrollLeft+r.clientWidth)!t.contains(e));return 4===m.length?m:null}function d(t,e){let{offsetTop:n,offsetLeft:r,offsetParent:i}=e;for(;l(i)&&i!==t;)n+=i.offsetTop,r+=i.offsetLeft,i=i.offsetParent;return{offsetTop:n,offsetLeft:r}}function p(t,e=!0){return null===t?null:e&&t.scrollHeight>t.clientHeight||!e&&t.scrollWidth>t.clientWidth?t:p(t.parentElement,e)}function f({target:t,currentTarget:e}){return t===e}function g(t){return function(t){return function(t){return t.matches("input")}(t)||function(t){return t.matches("textarea")}(t)}(t)&&!t.readOnly||t.isContentEditable}function m(t=0,e=0){const n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return Object.assign(Object.assign({},n),{toJSON:()=>n})}n(18939)},57179:function(t,e,n){"use strict";n.d(e,{hp:function(){return s},BW:function(){return c},ie:function(){return o},V8:function(){return u},zb:function(){return h},dT:function(){return a},VR:function(){return d},Pg:function(){return p}});var r=n(64493),i=n(33770);function o(t){var e;if(!(null===(e=t.activeElement)||void 0===e?void 0:e.shadowRoot))return t.activeElement;let n=t.activeElement.shadowRoot.activeElement;for(;null==n?void 0:n.shadowRoot;)n=n.shadowRoot.activeElement;return n}function s(t){const e=o(t);(0,r.dW)(e)&&e.blur()}function a(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,r.dW)(t)&&t.isContentEditable||"0"===t.getAttribute("tabIndex"))return!0;switch(t.tagName){case"BUTTON":case"SELECT":case"TEXTAREA":return!0;case"VIDEO":case"AUDIO":return t.hasAttribute("controls");case"INPUT":return"hidden"!==t.getAttribute("type");case"A":case"LINK":return t.hasAttribute("href");default:return!1}}function l(t){return!t.hasAttribute("disabled")&&("-1"===t.getAttribute("tabIndex")||a(t))}function c({initial:t,root:e,previous:n=!1,keyboard:o=!0}){if(!e.ownerDocument)return null;const s=o?a:l,c=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,i.Lw);for(c.currentNode=t;n?c.previousNode():c.nextNode();)if((0,r.dW)(c.currentNode)&&(t=c.currentNode),(0,r.dW)(t)&&s(t))return t;return null}function u(t){return!!(null==t?void 0:t.ownerDocument)&&o(t.ownerDocument)===t}function h(t){if(!t.ownerDocument||!t.contains)return!1;const e=o(t.ownerDocument);return null!==e&&t.contains(e)}function d(t,e,n){for(t+=n;t>=0&&t=e&&t=n?n:Math.round(t)}function s(t){return t?1:0}function a(t){return parseInt(t,10)}n.d(e,{Ki:function(){return r},wf:function(){return i},G1:function(){return o},HW:function(){return s},oY:function(){return a}}),n(18939)},11927:function(t,e,n){"use strict";function r(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function i(t){return"string"==typeof t}function o(t){return JSON.parse(JSON.stringify(t,(t,e)=>function(t){const e=i(t)?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e))}function s(t){let e=[];return t.find((t,n,r)=>(e=r,!0)),e}function a(t,e){return Math.abs(e)>Math.abs(t)?e>0?"top":"bottom":t>0?"left":"right"}function l(t){return!t}function c(t){return"number"==typeof t}function u(t){return null!=t}function h(t,e){return Array.from(t.reduce((t,n)=>t.has(n[e])?t:t.set(n[e],n),new Map).values())}n.d(e,{WX:function(){return r},xT:function(){return o},gD:function(){return s},M8:function(){return a},Mv:function(){return l},dt:function(){return c},Pc:function(){return u},Aj:function(){return i},pf:function(){return h}})},68192:function(t,e,n){"use strict";n.d(e,{N:function(){return i}});var r=n(11927);function i(t,e){return(0,r.Aj)(t)?function(t){var e;const n=(null!==(e=t.match(/url\(("?)('*)#(.*?)('*)\)/g))&&void 0!==e?e:[]).map(t=>t.slice(4,t.length-1).replace(/['"#]+/g,""));return Array.from(new Set(n))}(t).reduce((t,n)=>{const r=function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(n),i=`${n}_${e||Math.floor(Math.random()*Date.now())}`;return t.replace(new RegExp(`"${r}"`,"g"),`"${i}"`).replace(new RegExp(`'${r}'`,"g"),`'${i}'`).replace(new RegExp(`url\\('#${r}'\\)`,"g"),`url('#${i}')`).replace(new RegExp(`url\\("#${r}"\\)`,"g"),`url("#${i}")`).replace(new RegExp(`url\\(#${r}\\)`,"g"),`url(#${i})`)},t):t}},43631:function(t,e,n){"use strict";n.d(e,{FP:function(){return f},D1:function(){return g},kk:function(){return u},uG:function(){return m},O4:function(){return y},c2:function(){return d},UK:function(){return h},P7:function(){return _},Ic:function(){return C},Fe:function(){return p},Sv:function(){return w},ei:function(){return v},Wk:function(){return b}});var r=n(74788),i=n(27103),o=n(76480),s=n(29856),a=n(66682),l=n(87519),c=n(46782);class u extends s.y{}function h(t){return{provide:u,multi:!0,useExisting:t}}class d{}function p(t){return{provide:d,multi:!0,useExisting:t}}let f=(()=>{class t{constructor(t,e,n){this.destroy$=t,this.drivers=e,this.vehicles=n}ngOnInit(){const t=this.vehicles.find(({type:t})=>t===this.type);(0,a.T)(...this.drivers.filter(({type:t})=>t===this.type)).pipe((0,l.x)(),(0,c.R)(this.destroy$)).subscribe(e=>{null==t||t.toggle(e)})}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.a3,2),r.Y36(u),r.Y36(d))},t.\u0275dir=r.lG2({type:t}),t})(),g=(()=>{class t{constructor(t){this.host=t}get readOnly(){return this.host.readOnly}get disabled(){return this.host.computedDisabled}get invalid(){return this.host.computedInvalid}get focusable(){return this.host.computedFocusable}get inputMode(){return"text"}get value(){var t;return(null===(t=this.host.value)||void 0===t?void 0:t.toString())||""}process(t){}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.M$))},t.\u0275dir=r.lG2({type:t}),t})();class m{}function v(t){return{provide:m,deps:[[new r.tp0,m]],useFactory:e=>e.find(e=>e.type===t)}}function _(t){return{provide:m,multi:!0,useExisting:t}}class y{}function b(t,e){return{provide:y,deps:[[new r.tp0,y],e],useFactory:w(t)}}function w(t){return(e,n)=>e.find(e=>e!==n&&e.type===t)||n}function C(t){return{provide:y,multi:!0,useExisting:t}}},49941:function(t,e,n){"use strict";n.d(e,{i9:function(){return c},QF:function(){return l},eu:function(){return a},gI:function(){return u},Gw:function(){return h},hN:function(){return d},X9:function(){return p}});var r=n(56083);const i="{{duration}}ms ease-in-out",o={params:{duration:300}},s=300,a=(0,r.X$)("tuiHeightCollapse",[(0,r.eR)(":enter",[(0,r.oB)({height:0}),(0,r.jt)(i,(0,r.oB)({height:"*"}))],o),(0,r.eR)(":leave",[(0,r.oB)({height:"*"}),(0,r.jt)(i,(0,r.oB)({height:0}))],o)]),l=((0,r.X$)("tuiHeightCollapseList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({height:0}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({height:"*"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({height:"*"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({height:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiWidthCollapse",[(0,r.eR)(":enter",[(0,r.oB)({width:0}),(0,r.jt)(i,(0,r.oB)({width:"*"}))],o),(0,r.eR)(":leave",[(0,r.oB)({width:"*"}),(0,r.jt)(i,(0,r.oB)({width:0}))],o)]),(0,r.X$)("tuiWidthCollapseList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({width:0}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({width:"*"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({width:"*"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({width:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiFadeIn",[(0,r.eR)(":enter",[(0,r.oB)({opacity:0}),(0,r.jt)(i,(0,r.oB)({opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({opacity:1}),(0,r.jt)(i,(0,r.oB)({opacity:0}))],o)])),c=((0,r.X$)("tuiFadeInList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({opacity:0}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({opacity:1}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({opacity:1}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({opacity:0}))])],{optional:!0})],o)]),(0,r.X$)("tuiFadeInTop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,r.X$)("tuiFadeInBottom",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,r.X$)("tuiDropdownAnimation",[(0,r.eR)("* => fadeInTop",[(0,r.oB)({transform:"translateY(-10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)("* => fadeInBottom",[(0,r.oB)({transform:"translateY(10px)",opacity:0}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)",opacity:1}))],o),(0,r.eR)("fadeInBottom => *",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(10px)",opacity:0}))],o),(0,r.eR)("fadeInTop => *",[(0,r.oB)({transform:"translateY(0)",opacity:1}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),u=(0,r.X$)("tuiScaleIn",[(0,r.eR)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))],o)]),h=((0,r.X$)("tuiScaleInList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"scale(0)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"scale(1)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideIn",[(0,r.eR)("* => left",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)("left => *",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))],o),(0,r.eR)("* => right",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)("right => *",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))],o)])),d=((0,r.X$)("tuiSlideInLeft",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))],o)]),(0,r.X$)("tuiSlideInLeftList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateX(-100%)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInRight",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))],o)])),p=((0,r.X$)("tuiSlideInRightList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateX(100%)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateX(0)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInTop",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translate3d(0,{{start}},0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,r.eR)(":leave",[(0,r.oB)({transform:"translate3d(0,{{end}},0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,r.X$)("tuiSlideInTopList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateY(100%)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,r.X$)("tuiSlideInBottom",[(0,r.eR)(":enter",[(0,r.oB)({transform:"translateY(-100%)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))],o),(0,r.eR)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.jt)(i,(0,r.oB)({transform:"translateY(-100%)"}))],o)]),(0,r.X$)("tuiSlideInBottomList",[(0,r.eR)("* => *",[(0,r.IO)(":enter",[(0,r.oB)({transform:"translateY(-100%)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,r.IO)(":leave",[(0,r.oB)({transform:"translateY(0)"}),(0,r.EY)(s,[(0,r.jt)(i,(0,r.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},12628:function(t,e,n){"use strict";n.d(e,{v0:function(){return E},fN:function(){return A}});var r=n(64762),i=n(74788),o=n(76480),s=n(57179),a=n(27103),l=n(99434),c=n(44358),u=n(75452),h=n(59193),d=n(39761),p=n(88002),f=n(87519),g=n(54789),m=n(40719),v=n(12057),_=n(91489),y=n(89570);const b=["tuiButton",""];function w(t,e){1&t&&i.GkF(0)}function C(t,e){1&t&&i._UZ(0,"tui-svg",8),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function x(t,e){if(1&t&&(i.TgZ(0,"span",6),i.YNc(1,C,1,1,"tui-svg",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.icon)}}function O(t,e){1&t&&i._UZ(0,"tui-svg",8),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function k(t,e){if(1&t&&(i.TgZ(0,"span",9),i.YNc(1,O,1,1,"tui-svg",7),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconRight)}}function P(t,e){if(1&t&&i._UZ(0,"tui-loader",10),2&t){const t=i.oxw();i.Q6J("size",t.loaderSize)("inheritColor",!0)}}const T=["*"],M={size:"l",shape:null,appearance:"primary"},S=new i.OlP("[TUI_BUTTON_OPTIONS]",{factory:()=>M});let E=(()=>{class t extends o.Xn{constructor(t,e,n,r){var i;super(),this.mode=t,this.el=e,this.options=r,this.mode$=(null===(i=this.mode)||void 0===i?void 0:i.change$)||h.E,this.appearance=null,this.disabled=!1,this.shape=this.options.shape,this.showLoader=!1,this.size=this.options.size,this.appearance$=this.mode$.pipe((0,d.O)(null),(0,p.U)(()=>this.computedAppearance),(0,f.x)()),n.subscribe(t=>{this.updateFocusVisible(t)})}get nativeFocusableElement(){return this.nativeDisabled?null:this.el.nativeElement}get focused(){return!this.showLoader&&(0,s.V8)(this.el.nativeElement)}get loaderSize(){return"l"===this.size||"xl"===this.size?"m":"s"}get computedAppearance(){var t;return null!==(t=this.appearance)&&void 0!==t?t:this.options.appearance||""}get nativeDisabled(){return this.computedDisabled||this.showLoader?"":null}get tabIndex(){return this.focusable?0:-1}onFocused(t){this.updateFocused(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(u.w,8),i.Y36(i.SBq),i.Y36(a.ku),i.Y36(S))},t.\u0275cmp=i.Xpm({type:t,selectors:[["button","tuiButton",""],["button","tuiIconButton",""],["a","tuiButton",""],["a","tuiIconButton",""]],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(i.Ikx("tabIndex",e.tabIndex),i.uIk("data-shape",e.shape)("data-size",e.size)("data-appearance",e.computedAppearance)("disabled",e.nativeDisabled),i.ekj("_loading",e.showLoader))},inputs:{appearance:"appearance",disabled:"disabled",icon:"icon",iconRight:"iconRight",shape:"shape",showLoader:"showLoader",size:"size"},features:[i._Bn([(0,l.FT)(t),a.a3,a.ku]),i.qOj],attrs:b,ngContentSelectors:T,decls:8,vars:11,consts:[[4,"ngIf"],["tuiWrapper","",1,"t-wrapper",3,"appearance","hover","active","disabled","focus"],[1,"t-content"],["class","t-left",4,"ngIf"],["class","t-right",4,"ngIf"],["class","t-loader",3,"size","inheritColor",4,"ngIf"],[1,"t-left"],["class","t-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-icon",3,"src"],[1,"t-right"],[1,"t-loader",3,"size","inheritColor"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,w,1,0,"ng-container",0),i.ALo(1,"async"),i.TgZ(2,"div",1),i.TgZ(3,"span",2),i.YNc(4,x,2,1,"span",3),i.Hsn(5),i.YNc(6,k,2,1,"span",4),i.qZA(),i.YNc(7,P,1,2,"tui-loader",5),i.qZA()),2&t&&(i.Q6J("ngIf",i.lcZ(1,9,e.appearance$)),i.xp6(2),i.Q6J("appearance",e.computedAppearance)("hover",e.pseudoHover)("active",e.pseudoActive)("disabled",e.computedDisabled)("focus",e.computedFocusVisible),i.xp6(2),i.Q6J("ngIf",e.icon),i.xp6(2),i.Q6J("ngIf",e.iconRight),i.xp6(1),i.Q6J("ngIf",e.showLoader))},directives:[v.O5,_.o,y.Li,g.PN,m.kM],pipes:[v.Ov],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:inline-block;flex-shrink:0;vertical-align:top;border-radius:var(--tui-radius-m);-webkit-user-select:none;-moz-user-select:none;user-select:none;text-decoration:none;outline:none;color:inherit}[data-shape=rounded][_nghost-%COMP%]{border-radius:6.25rem}[data-size=xs][_nghost-%COMP%]{height:var(--tui-height-xs);font-weight:normal}[data-size=xs][data-shape=square][_nghost-%COMP%], [data-size=xs][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-xs)}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);font-weight:normal}[data-size=s][data-shape=square][_nghost-%COMP%], [data-size=s][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);font:var(--tui-font-text-m);font-weight:bold}[data-size=m][data-shape=square][_nghost-%COMP%], [data-size=m][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);font:var(--tui-font-text-m);font-weight:bold}[data-size=l][data-shape=square][_nghost-%COMP%], [data-size=l][tuiIconButton][_nghost-%COMP%]{width:var(--tui-height-l)}[data-size=xl][_nghost-%COMP%]{height:3.75rem;font:var(--tui-font-text-m);font-weight:bold}[data-size=xl][data-shape=square][_nghost-%COMP%], [data-size=xl][tuiIconButton][_nghost-%COMP%]{width:3.75rem}[tuiIconButton][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin:0!important}.t-loader[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;cursor:default}.t-left[_ngcontent-%COMP%]{margin-right:.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%]{margin-right:.25rem}.t-right[_ngcontent-%COMP%]{margin:0 -.25rem 0 .25rem}[data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{margin-right:0 -.125rem 0 .125rem}.t-icon[_ngcontent-%COMP%]{display:flex;max-width:100%;max-height:100%;align-items:center;justify-content:center}.t-left[_ngcontent-%COMP%], .t-right[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem}[data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [data-size=xs][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1rem;height:1rem}[tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-left[_ngcontent-%COMP%], [tuiIconButton][data-appearance=icon][data-size=s][_nghost-%COMP%] .t-right[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem}.t-wrapper[_ngcontent-%COMP%]{position:relative;z-index:0;box-sizing:border-box;cursor:pointer}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .375rem)}[data-size=xs][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]:after{border-width:1px}[data-size=s][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, .75rem)}[data-size=m][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 1.5rem)}[data-size=l][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.25rem)}[data-size=xl][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0 var(--tui-padding, 2.5rem)}[data-shape=square][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%], [tuiIconButton][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{padding:0}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;align-items:center;justify-content:center;text-align:center}._loading[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{opacity:0}"],changeDetection:0}),(0,r.gn)([(0,c.TH)()],t.prototype,"appearance",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"disabled",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"shape",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"showLoader",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"size",void 0),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[v.ez,y.wq,_.W,g.EI,m.dS]]}),t})()},75111:function(t,e,n){"use strict";n.d(e,{qi:function(){return S},gX:function(){return E},pc:function(){return I},Rs:function(){return A},vK:function(){return M}});var r=n(64762),i=n(74788),o=n(57179),s=n(44358),a=n(33770),l=n(40946),c=n(11927),u=n(64493),h=n(79588),d=n(79456),p=n(88002),f=n(98952),g=n(11557),m=n(54789),v=n(89570),_=n(12057);const y=["tuiOption",""];function b(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t,"\n")}}function w(t,e){1&t&&i._UZ(0,"tui-svg",3)}function C(t,e){if(1&t&&(i.Hsn(0),i.YNc(1,w,1,0,"tui-svg",2)),2&t){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",t.dropdown)}}const x=function(t){return{$implicit:t}},O=["*"];function k(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function P(t,e){if(1&t&&(i.TgZ(0,"div",2),i.YNc(1,k,2,1,"ng-container",3),i.ALo(2,"async"),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.emptyContent||i.lcZ(2,1,t.defaultEmptyContent$))}}function T({currentTarget:t}){return!(0,o.V8)(t)}let M=(()=>{class t{constructor(t,e,n,r,i){this.content=t,this.dataList=e,this.el=n,this.host=r,this.dropdown=i,this.size=null,this.role="option",this.disabled=!1}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove({currentTarget:t}){t.focus({preventScroll:!0})}ngOnDestroy(){this.dataList.handleFocusLossIfNecessary(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(d.IQ,8),i.Y36((0,i.Gpc)(()=>S)),i.Y36(i.SBq),i.Y36(d.N1,8),i.Y36(f.td,10))},t.\u0275cmp=i.Xpm({type:t,selectors:[["button","tuiOption",""],["a","tuiOption",""]],hostAttrs:["tabIndex","-1","type","button"],hostVars:5,hostBindings:function(t,e){1&t&&i.NdJ("click",function(){return e.onClick()})("mousemove.silent",function(t){return e.onMouseMove(t)}),2&t&&(i.uIk("disabled",e.disabled||null)("data-size",e.size)("role",e.role),i.ekj("_with-dropdown",e.active))},inputs:{size:"size",role:"role",disabled:"disabled",value:"value"},attrs:y,ngContentSelectors:O,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["base",""],["src","tuiIconChevronRight","class","t-arrow",4,"ngIf"],["src","tuiIconChevronRight",1,"t-arrow"]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,b,2,1,"ng-container",0),i.YNc(1,C,2,1,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(2);i.Q6J("polymorpheusOutlet",e.content||t)("polymorpheusOutletContext",i.VKq(2,x,t))}},directives:[v.Li,_.O5,m.PN],styles:['[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:space-between;text-align:left;box-sizing:border-box;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;text-decoration:none;cursor:pointer;background-clip:padding-box;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:.125rem 0}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[_nghost-%COMP%]:focus, ._with-dropdown[_nghost-%COMP%]{background-color:var(--tui-clear)}[_nghost-%COMP%] [data-list-size="s"][_nghost-%COMP%], [data-list-size="s"] [_nghost-%COMP%], [_nghost-%COMP%] [data-list-size="xs"][_nghost-%COMP%], [data-list-size="xs"] [_nghost-%COMP%], [data-size=s][data-size=s][_nghost-%COMP%], [data-size=xs][data-size=xs][_nghost-%COMP%]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem;margin:var(--tui-data-list-margin) 0}[_nghost-%COMP%] [data-list-size="m"][_nghost-%COMP%], [data-list-size="m"] [_nghost-%COMP%], [data-size=m][data-size=m][_nghost-%COMP%]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem;margin:var(--tui-data-list-margin) 0}[_nghost-%COMP%] [data-list-size="l"][_nghost-%COMP%], [data-list-size="l"] [_nghost-%COMP%], [data-size=l][data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem;margin:var(--tui-data-list-margin) 0}.t-arrow[_ngcontent-%COMP%]{margin:0 -.5rem 0 .75rem}'],changeDetection:0}),(0,r.gn)([(0,s.TH)()],t.prototype,"size",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"role",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"disabled",void 0),(0,r.gn)([(0,g.uX)(T)],t.prototype,"onMouseMove",null),t})(),S=(()=>{class t{constructor(t,e,n){var r;this.controller=t,this.el=e,this.defaultEmptyContent$=n,this.options=a.Mm,this.role="listbox",this.size=(null===(r=this.controller)||void 0===r?void 0:r.size)||"m"}get empty$(){return(0,l.ll)(this.options).pipe((0,p.U)(({length:t})=>!t))}onFocusIn(t,e){!e.contains(t)&&!this.origin&&(this.origin=t)}noop(){}onKeyDownArrow(t,e){const{elements:n}=this;(0,o.VR)(n.indexOf(t),n,e)}handleFocusLossIfNecessary(t=this.el.nativeElement){this.origin&&(0,o.zb)(t)&&(0,o.Pg)(this.origin,!0,!0)}getOptions(t=!1){return this.options.filter(({disabled:e})=>t||!e).map(({value:t})=>t).filter(c.Pc)}onFocus({target:t},e){if(!(0,u.ve)(t))return;const{elements:n}=this;(0,o.VR)(e?-1:n.length,n,e?1:-1),this.handleFocusLossIfNecessary(t)}get elements(){return Array.from(this.el.nativeElement.querySelectorAll("[tuiOption]"))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(h.Cs,8),i.Y36(i.SBq),i.Y36(d.PH))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,M,5),2&t){let t;i.iGM(t=i.CRH())&&(e.options=t)}},hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("focusin",function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)})("mousedown.prevent",function(){return e.noop()})("keydown.arrowDown.prevent",function(t){return e.onKeyDownArrow(t.target,1)})("keydown.arrowUp.prevent",function(t){return e.onKeyDownArrow(t.target,-1)})("wheel.silent.passive",function(){return e.handleFocusLossIfNecessary()})("mouseleave",function(t){return e.handleFocusLossIfNecessary(t.target)}),2&t&&i.uIk("role",e.role)("data-list-size",e.size)},inputs:{role:"role",emptyContent:"emptyContent",size:"size"},features:[i._Bn([(0,d.RB)(t),h.Y0])],ngContentSelectors:O,decls:5,vars:3,consts:[["tabindex","0",1,"t-trap",3,"focusin"],["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.NdJ("focusin",function(t){return e.onFocus(t,!0)}),i.qZA(),i.Hsn(1),i.YNc(2,P,3,3,"div",1),i.ALo(3,"async"),i.TgZ(4,"div",0),i.NdJ("focusin",function(t){return e.onFocus(t,!1)}),i.qZA()),2&t&&(i.xp6(2),i.Q6J("ngIf",i.lcZ(3,1,e.empty$)))},directives:[_.O5,v.Li],pipes:[_.Ov],styles:['tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list>.t-empty{margin:.75rem 1rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=""]:before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:""}tui-opt-group[data-label=""]:before{padding:0 .5rem}\n'],encapsulation:2,changeDetection:0}),(0,r.gn)([(0,s.TH)()],t.prototype,"role",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"size",void 0),(0,r.gn)([s.UM],t.prototype,"empty$",null),t})(),E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["ng-template","tuiDataList",""]]}),t})(),A=(()=>{class t{constructor(){this.label=""}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-label",e.label)},inputs:{label:"label"}}),(0,r.gn)([(0,s.TH)()],t.prototype,"label",void 0),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[_.ez,m.EI,v.wq]]}),t})()},95974:function(t,e,n){"use strict";n.d(e,{gZ:function(){return c},n6:function(){return u}});var r=n(64762),i=n(74788),o=n(27103),s=n(44358),a=n(12057);let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-group-style"]],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;z-index:0;display:flex}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:nth-child(n){border-radius:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin-right:-1px}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.tui-group_collapsed>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.tui-group_collapsed>*._invalid{z-index:2}.tui-group_collapsed>*._invalid:hover,.tui-group_collapsed>*._invalid._hovered,.tui-group_collapsed>*._invalid._pressed{z-index:4}.tui-group_collapsed>*._hosted_dropdown_focused,.tui-group_collapsed>*._focus-visible,.tui-group_collapsed>*._focused.ng-touched,.tui-group_collapsed>*._focused.ng-untouched{z-index:5}.tui-group_collapsed>*._active,.tui-group_collapsed>*[data-appearance=whiteblock-active]{z-index:6}.tui-group_collapsed>*._focus-visible._focused,.tui-group_collapsed>*._focus-visible._active,.tui-group_collapsed>*._focus-visible[data-appearance=whiteblock-active]{z-index:7}.tui-group_orientation_vertical{display:inline-flex;flex-direction:column}.tui-group_orientation_vertical>*{min-height:auto;flex:0 0 auto}.tui-group_orientation_vertical>*:not(:last-child){margin-right:0;margin-bottom:.125rem}.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-bottom-left-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_horizontal.tui-group_radius_large>*:last-child{border-top-right-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--tui-radius-m);border-top-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:first-child{border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l)}.tui-group_rounded.tui-group_orientation_vertical.tui-group_radius_large>*:last-child{border-bottom-left-radius:var(--tui-radius-l);border-bottom-right-radius:var(--tui-radius-l)}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-m)}}@media screen and (max-width: 47.9625em){.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:first-child:not(:last-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical:not(.tui-group_collapsed)>*:last-child:not(:first-child),.tui-group_rounded.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:last-child:not(:first-child){border-radius:var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_vertical{width:100%}.tui-group_adaptive.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical>*:not(:last-child){margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_vertical.tui-group_collapsed>*:not(:last-child){margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_orientation_horizontal{flex-direction:column;width:100%}.tui-group_adaptive.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal>*:not(:last-child){margin-right:0;margin-bottom:1rem}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-m) var(--tui-radius-m) 0 0}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-m) var(--tui-radius-m)}.tui-group_adaptive.tui-group_orientation_horizontal.tui-group_collapsed>*:not(:last-child){margin-right:0;margin-bottom:-1px}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_vertical.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}@media screen and (max-width: 47.9625em){.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal>*:nth-child(n):not(:only-child){border-radius:var(--tui-radius-l)}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:nth-child(n):not(:only-child){border-radius:0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:first-child:not(:last-child){border-radius:var(--tui-radius-l) var(--tui-radius-l) 0 0}.tui-group_adaptive.tui-group_radius_large.tui-group_orientation_horizontal.tui-group_collapsed>*:last-child:not(:first-child){border-radius:0 0 var(--tui-radius-l) var(--tui-radius-l)}}.tui-group__auto-width-item{min-width:auto;flex:0 0 auto}.tui-group .tui-group__inherit-item{border-radius:inherit}\n"],encapsulation:2,changeDetection:0}),t})(),c=(()=>{class t{constructor(t){this.orientation="horizontal",this.adaptive=!1,this.collapsed=!1,this.rounded=!0,this.size="m",t.addComponent(l)}get orientationHorizontal(){return"horizontal"===this.orientation}get orientationVertical(){return"vertical"===this.orientation}get sizeLarge(){return"l"===this.size}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.gH))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:12,hostBindings:function(t,e){2&t&&i.ekj("tui-group_adaptive",e.adaptive)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)("tui-group_orientation_horizontal",e.orientationHorizontal)("tui-group_orientation_vertical",e.orientationVertical)("tui-group_radius_large",e.sizeLarge)},inputs:{orientation:"orientation",adaptive:"adaptive",collapsed:"collapsed",rounded:"rounded",size:"size"}}),(0,r.gn)([(0,s.TH)()],t.prototype,"orientation",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"adaptive",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"collapsed",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"rounded",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"size",void 0),t})(),u=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[a.ez]]}),t})()},23917:function(t,e,n){"use strict";n.d(e,{o1:function(){return R},jh:function(){return j}});var r=n(74788),i=n(43631),o=n(64762),s=n(89473),a=n(44358),l=n(221),c=n(40946),u=n(27103),h=n(79765),d=n(88002);let p=(()=>{class t{constructor(t,e){this.enabled$=new h.xQ;const n=e.pipe((0,d.U)(e=>!!e&&(!t||!e.length||e.every(e=>!t.contains(e)))));this.tuiObscured=this.enabled$.pipe((0,c.Xd)(()=>n))}set tuiObscuredEnabled(t){this.enabled$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(l.e,8),r.Y36(u.AQ,2))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},features:[r._Bn([u.AQ,u.b0,u.a3])]}),(0,s.gn)([(0,a.NH)()],t.prototype,"tuiObscuredEnabled",null),t})(),f=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();var g=n(92668),m=n(57179),v=n(64493),_=n(99434),y=n(98952),b=n(66640),w=n(11557),C=n(26215),x=n(66682),O=n(59193),k=n(13653),P=n(87519),T=n(89570),M=n(12057);const S=["wrapper"];function E(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}const A=function(t,e){return{$implicit:t,close:e}};function I(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",5,6),r.NdJ("keydown",function(e){return r.CHM(t),r.oxw(2).onKeydown(e)}),r.YNc(2,E,2,1,"ng-container",7),r.qZA(),r._UZ(3,"div")}if(2&t){r.oxw();const t=r.MAs(1),e=r.oxw();r.xp6(2),r.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",r.WLB(2,A,t,e.close))}}function D(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",1,2),r.NdJ("tuiObscured",function(e){return r.CHM(t),r.oxw().onHostObscured(e)})("tuiActiveZoneChange",function(e){return r.CHM(t),r.oxw().onActiveZone(e)}),r.Hsn(2),r.YNc(3,I,4,5,"ng-template",3,4,r.W1O),r.qZA()}if(2&t){const t=e.tuiLet,n=r.MAs(4),i=r.oxw();r.Q6J("tuiDropdownSided",i.sided)("tuiDropdown",n)("tuiDropdownManual",t&&i.canOpen)("tuiObscuredEnabled",t),r.xp6(3),r.Q6J("polymorpheus",i.context)}}const L=["*"];let N=(()=>{class t extends i.uG{constructor(){super(...arguments),this.type="dummy"}getPosition(){return[0,0]}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiAccessorProxy",""]],features:[r._Bn([{provide:i.uG,multi:!0,deps:[[new r.FiY,new r.tp0,t],t],useFactory:(t,e)=>t||e}]),r.qOj]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiHostedDropdownHost",""]]}),t})();function z(t){var e;return"key"in t&&"escape"===t.key.toLowerCase()&&this.canOpen&&this.open&&!(null===(e=this.dropdown)||void 0===e?void 0:e.nextElementSibling)}let R=(()=>{class t{constructor(t,e){this.hover$=t,this.el=e,this.openChange=new C.X(!1),this.sided=!1,this.canOpen=!0,this.open$=(0,x.T)(this.openChange,this.hover$||O.E).pipe((0,k.T)(1),(0,P.x)()),this.focusedChange=new r.vpe,this.close=()=>this.updateOpen(!1)}set open(t){this.openChange.next(t)}get open(){return this.openChange.value}get host(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.el.nativeElement}get computedHost(){var t;return(null===(t=this.dropdownHost)||void 0===t?void 0:t.nativeElement)||this.nativeFocusableElement||this.el.nativeElement}get dropdown(){var t,e;return null===(e=null===(t=this.dropdownDirective)||void 0===t?void 0:t.dropdownBoxRef)||void 0===e?void 0:e.location.nativeElement}get nativeFocusableElement(){return(0,m.dT)(this.host)?this.host:(0,m.BW)({initial:this.host,root:this.el.nativeElement})}get focused(){return(0,m.zb)(this.host)||this.open&&!!this.wrapper&&(0,m.zb)(this.wrapper.nativeElement)}onFocusIn(t){this.computedHost.contains(t)||this.updateOpen(!1)}onClick(t){var e;!this.hostEditable&&this.computedHost.contains(t)&&!(null===(e=this.hover$)||void 0===e?void 0:e.hovered)&&this.updateOpen(!this.open)}onKeyDownEsc(t){t.stopPropagation(),this.closeDropdown()}onArrow(t,e){this.focusDropdown(t,e)}onKeydown({key:t,target:e,defaultPrevented:n}){!n&&(0,b.kL)(t)&&this.hostEditable&&(0,v.dW)(e)&&!(0,v.Hn)(e)&&this.focusHost()}onActiveZone(t){this.updateFocused(t),t||this.updateOpen(!1)}onHostObscured(t){t&&this.closeDropdown()}updateOpen(t){(!t||this.canOpen)&&(this.open=t)}get hostEditable(){return(0,v.Hn)(this.computedHost)}focusDropdown(t,e){const n=this.nativeFocusableElement;if(!(n&&(0,v.dW)(n)&&(0,v.ve)(t.target)&&n.contains(t.target)))return;if(!(this.wrapper&&this.open&&this.dropdown&&(0,v.dW)(this.wrapper.nativeElement.nextElementSibling)))return this.updateOpen(!0),void((0,v.Hn)(n)||t.preventDefault());const r=(0,m.BW)({initial:e?this.wrapper.nativeElement:this.wrapper.nativeElement.nextElementSibling,root:this.wrapper.nativeElement,previous:!e});!r||(r.focus(),t.preventDefault())}closeDropdown(){this.focused&&this.focusHost(),this.updateOpen(!1)}focusHost(){const t=this.nativeFocusableElement;t&&t.focus({preventScroll:!0})}updateFocused(t){this.focusedChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(y.E$,8),r.Y36(r.SBq))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-hosted-dropdown"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,F,5,r.SBq),2&t){let t;r.iGM(t=r.CRH())&&(e.dropdownHost=t.first)}},viewQuery:function(t,e){if(1&t&&(r.Gf(S,5,r.SBq),r.Gf(y.td,5),r.Gf(l.e,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.wrapper=t.first),r.iGM(t=r.CRH())&&(e.dropdownDirective=t.first),r.iGM(t=r.CRH())&&(e.activeZone=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("focusin",function(t){return e.onFocusIn(t.target)})("click",function(t){return e.onClick(t.target)})("keydown.silent",function(t){return e.onKeyDownEsc(t)},!1,r.evT)("keydown.arrowDown",function(t){return e.onArrow(t,!0)})("keydown.arrowUp",function(t){return e.onArrow(t,!1)}),2&t&&r.ekj("_hosted_dropdown_focused",e.focused)},inputs:{content:"content",sided:"sided",canOpen:"canOpen",open:"open"},outputs:{open$:"openChange",focusedChange:"focusedChange"},features:[r._Bn([(0,_.FT)(t),{provide:N,deps:[[new r.FiY,new r.PiD,i.uG]],useFactory:t=>null==t?void 0:t[0]}])],ngContentSelectors:L,decls:2,vars:3,consts:[["tuiAccessorProxy","","class","t-wrapper",3,"tuiDropdownSided","tuiDropdown","tuiDropdownManual","tuiObscuredEnabled","tuiObscured","tuiActiveZoneChange",4,"tuiLet"],["tuiAccessorProxy","",1,"t-wrapper",3,"tuiDropdownSided","tuiDropdown","tuiDropdownManual","tuiObscuredEnabled","tuiObscured","tuiActiveZoneChange"],["activeZone","tuiActiveZone"],[3,"polymorpheus"],["dropdown","polymorpheus"],[3,"keydown"],["wrapper",""],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,D,5,5,"div",0),r.ALo(1,"async")),2&t&&r.Q6J("tuiLet",!!r.lcZ(1,1,e.open$))},directives:[g.Ls,N,y.Cw,y.td,y.VC,y.Tp,p,l.e,T.GL,T.Li],pipes:[M.Ov],styles:["[_nghost-%COMP%]{display:inline-flex}.t-wrapper[_ngcontent-%COMP%]{border-radius:inherit;height:inherit;flex:1 1 auto;width:100%}"],changeDetection:0}),(0,o.gn)([(0,a.TH)()],t.prototype,"sided",void 0),(0,o.gn)([(0,a.TH)()],t.prototype,"canOpen",void 0),(0,o.gn)([(0,a.TH)()],t.prototype,"open",null),(0,o.gn)([(0,w.uX)(z)],t.prototype,"onKeyDownEsc",null),t})(),j=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[M.ez,T.wq,g.WD,f,l.A,y.dp]]}),t})()},82847:function(t,e,n){"use strict";n.d(e,{V:function(){return w},j:function(){return C}});var r=n(64762),i=n(74788),o=n(40946),s=n(33770),a=n(57179),l=n(27103),c=n(99434),u=n(44358),h=n(12130),d=n(79456),p=n(66682),f=n(88002),g=n(54789),m=n(12057);const v=["tuiLink",""];function _(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){const t=i.oxw();i.Q6J("src",t.icon||"")}}function y(t,e){if(1&t&&i._UZ(0,"tui-svg",4),2&t){const t=i.oxw();i.Q6J("src",t.icon||"")}}const b=["*"];let w=(()=>{class t{constructor(t,e,n){this.el=t,this.mode$=e,this.pseudo=!1,this.icon="",this.iconAlign="right",this.iconRotated=!1,this.mode=null,this.focusVisible=!1,this.focusedChange=(0,p.T)((0,o.mL)(this.el.nativeElement,"focusin").pipe((0,f.U)(s.Ye)),(0,o.mL)(this.el.nativeElement,"focusout").pipe((0,f.U)(s.Iy))),n.subscribe(t=>{this.focusVisible=t})}get nativeFocusableElement(){return this.el.nativeElement}get focused(){return(0,a.V8)(this.nativeFocusableElement)}get hasIcon(){return!!this.icon}get iconAlignLeft(){return this.hasIcon&&"left"===this.iconAlign}get iconAlignRight(){return this.hasIcon&&"right"===this.iconAlign}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(d.Au),i.Y36(l.ku))},t.\u0275cmp=i.Xpm({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(i.uIk("data-host-mode",e.mode),i.ekj("_pseudo",e.pseudo)("_icon-rotated",e.iconRotated)("_focus-visible",e.focusVisible))},inputs:{pseudo:"pseudo",icon:"icon",iconAlign:"iconAlign",iconRotated:"iconRotated",mode:"mode"},exportAs:["tuiLink"],features:[i._Bn([(0,c.FT)(t),l.ku,l.a3,h.CV])],attrs:v,ngContentSelectors:b,decls:4,vars:2,consts:[["class","t-icon t-icon_left",3,"src",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_right",3,"src",4,"ngIf"],[1,"t-icon","t-icon_left",3,"src"],[1,"t-icon","t-icon_right",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,_,1,1,"tui-svg",0),i.TgZ(1,"span",1),i.Hsn(2),i.qZA(),i.YNc(3,y,1,1,"tui-svg",2)),2&t&&(i.Q6J("ngIf",e.iconAlignLeft),i.xp6(3),i.Q6J("ngIf",e.iconAlignRight))},directives:[m.O5,g.PN],styles:["[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);text-decoration:none;text-align:left;text-transform:inherit;font-weight:inherit;cursor:pointer;outline:none}[_nghost-%COMP%]:hover{color:var(--tui-link-hover)}[_nghost-%COMP%]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[data-mode=onLight][_nghost-%COMP%]{color:var(--tui-text-02)}[data-mode=onLight][_nghost-%COMP%]:hover, [data-mode=onLight]._active[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01)}[data-mode=onLight]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(0,0,0,.48);text-decoration-color:#0000007a}[data-mode=onLight]._pseudo[_nghost-%COMP%]:hover, [data-mode=onLight]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative-night)}[data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:hover, [data-mode=onLight][data-host-mode=negative][_nghost-%COMP%]:active, [data-mode=onLight][data-host-mode=negative]._active[_nghost-%COMP%]{color:var(--tui-negative-night-hover)}[data-mode=onDark][_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][_nghost-%COMP%]:hover, [data-mode=onDark][_nghost-%COMP%]:active, [data-mode=onDark]._active[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(255,255,255,.48);text-decoration-color:#ffffff7a}[data-mode=onDark]._pseudo[_nghost-%COMP%]:hover, [data-mode=onDark]._pseudo[_nghost-%COMP%]:active, [data-mode=onDark]._pseudo._active[_nghost-%COMP%]{color:var(--tui-text-03-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive-night)}[data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:hover, [data-mode=onDark][data-host-mode=positive][_nghost-%COMP%]:active, [data-mode=onDark][data-host-mode=positive]._active[_nghost-%COMP%]{color:var(--tui-positive-night-hover)}[data-host-mode=negative][_nghost-%COMP%]{color:var(--tui-negative)}[data-host-mode=negative][_nghost-%COMP%]:hover{color:var(--tui-negative-hover)}[data-host-mode=negative]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(222,76,30,.48);text-decoration-color:#de4c1e7a}[data-host-mode=positive][_nghost-%COMP%]{color:var(--tui-positive)}[data-host-mode=positive][_nghost-%COMP%]:hover{color:var(--tui-positive-hover)}[data-host-mode=positive]._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{-webkit-text-decoration-color:rgba(58,169,129,.48);text-decoration-color:#3aa9817a}._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-selection)}[data-mode=onLight]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear);color:var(--tui-text-01)}[data-mode=onDark]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-clear-inverse);color:var(--tui-text-01-night)}[data-host-mode=positive]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-success-bg)}[data-host-mode=negative]._focus-visible[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{background:var(--tui-error-bg)}._pseudo[_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding-bottom:.15em;-webkit-text-decoration:underline dashed rgba(51,111,238,.48);text-decoration:underline dashed rgba(51,111,238,.48);text-underline-offset:.2em;text-decoration-thickness:.7px}.t-icon[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:var(--tui-link-icon-size, 1.5rem);height:var(--tui-link-icon-size, 1.5rem);margin-top:-.125rem}.t-icon_left[_ngcontent-%COMP%]{margin-right:.25rem}.t-icon_right[_ngcontent-%COMP%]{margin-left:.25rem}._icon-rotated[_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}"],changeDetection:0}),(0,r.gn)([(0,u.TH)()],t.prototype,"pseudo",void 0),(0,r.gn)([(0,u.TH)()],t.prototype,"icon",void 0),(0,r.gn)([(0,u.TH)()],t.prototype,"iconAlign",void 0),(0,r.gn)([(0,u.TH)()],t.prototype,"iconRotated",void 0),(0,r.gn)([(0,u.TH)()],t.prototype,"mode",void 0),t})(),C=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[m.ez,g.EI]]}),t})()},40719:function(t,e,n){"use strict";n.d(e,{kM:function(){return _},dS:function(){return y}});var r=n(64762),i=n(12057),o=n(74788),s=n(41213),a=n(57179),l=n(99434),c=n(44358),u=n(66640),h=n(89570);function d(t,e){if(1&t&&(o.ynx(0),o._uU(1),o.BQk()),2&t){const t=e.polymorpheusOutlet;o.xp6(1),o.hij(" ",t," ")}}function p(t,e){if(1&t&&(o.O4$(),o.kcU(),o.TgZ(0,"div",6),o.YNc(1,d,2,1,"ng-container",7),o.qZA()),2&t){const t=o.oxw(2);o.ekj("t-text_horizontal",t.isHorizontal),o.xp6(1),o.Q6J("polymorpheusOutlet",t.textContent)}}function f(t,e){if(1&t&&(o.TgZ(0,"div",2),o.O4$(),o.TgZ(1,"svg",3),o._UZ(2,"circle",4),o.qZA(),o.YNc(3,p,2,3,"div",5),o.qZA()),2&t){const t=o.oxw();o.ekj("t-loader_horizontal",t.isHorizontal)("t-loader_inherit-color",t.inheritColor),o.uIk("data-size",t.size),o.xp6(3),o.Q6J("ngIf",t.hasText)}}const g=["*"],m={size:"m",inheritColor:!1,overlay:!1},v=new o.OlP("[TUI_LOADER_OPTIONS]",{factory:()=>m});let _=(()=>{class t{constructor(t,e,n,r){this.doc=t,this.el=e,this.isIos=n,this.options=r,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay,this.loading=!0,this.isApple=(0,s.Ex)(this.el.nativeElement)||this.isIos}set showLoader(t){t&&this.focused&&(0,a.hp)(this.doc),this.loading=t}get hasOverlay(){return this.overlay&&this.loading}get hasText(){return!!this.textContent}get isHorizontal(){return!(0,u.R9)(this.size)}get focused(){return(0,a.zb)(this.el.nativeElement)}}return t.\u0275fac=function(e){return new(e||t)(o.Y36(i.K0),o.Y36(o.SBq),o.Y36(l.FA),o.Y36(v))},t.\u0275cmp=o.Xpm({type:t,selectors:[["tui-loader"]],hostVars:2,hostBindings:function(t,e){2&t&&o.ekj("_loading",e.loading)},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},ngContentSelectors:g,decls:3,vars:6,consts:[[1,"t-content",3,"disabled"],["class","t-loader",3,"t-loader_horizontal","t-loader_inherit-color",4,"ngIf"],[1,"t-loader"],["automation-id","tui-loader__loader","focusable","false","viewBox","0 0 100 100","xmlns","http://www.w3.org/2000/svg",1,"t-icon"],["cx","50","cy","50","r","50","stroke-dasharray","314",1,"t-circle"],["automation-id","tui-loader__text","class","t-text",3,"t-text_horizontal",4,"ngIf"],["automation-id","tui-loader__text",1,"t-text"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(o.F$t(),o.TgZ(0,"fieldset",0),o.Hsn(1),o.qZA(),o.YNc(2,f,4,6,"div",1)),2&t&&(o.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),o.Q6J("disabled",e.loading&&!e.isApple),o.xp6(2),o.Q6J("ngIf",e.loading))},directives:[i.O5,h.Li],styles:["@keyframes tuiLoaderDashOffset{0%{stroke-dashoffset:-66}50%{stroke-dashoffset:-314}to{stroke-dashoffset:-66}}@keyframes tuiLoaderRotate{0%{transform:rotate(0)}50%{transform:rotate(1turn)}to{transform:rotate(3turn)}}[_nghost-%COMP%]{position:relative;display:flex}._loading[_nghost-%COMP%]{overflow:hidden}.t-content[_ngcontent-%COMP%]{z-index:0;min-width:100%;height:100%;padding:0;margin:0;border:none}.t-content_has-overlay[_ngcontent-%COMP%]{opacity:.3}.t-content_loading[_ngcontent-%COMP%]{pointer-events:none}.t-loader[_ngcontent-%COMP%]{position:relative;left:-100%;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100%;flex-shrink:0;align-self:center;color:var(--tui-text-01);stroke:var(--tui-primary);animation:tuiFadeIn var(--tui-duration)}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-loader[data-size=xs][_ngcontent-%COMP%]{font-size:.75rem;stroke-width:38}.t-loader[data-size=s][_ngcontent-%COMP%]{font-size:1rem;stroke-width:25}.t-loader[data-size=m][_ngcontent-%COMP%]{font-size:1.5rem;stroke-width:17}.t-loader[data-size=l][_ngcontent-%COMP%]{font-size:2.5rem;stroke-width:15}.t-loader[data-size=xl][_ngcontent-%COMP%]{font-size:3.5rem;stroke-width:14}.t-loader[data-size=xxl][_ngcontent-%COMP%]{font-size:5rem;stroke-width:10}.t-text[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}.t-icon[_ngcontent-%COMP%]{display:block;min-width:1em;max-width:1em;min-height:1em;max-height:1em;margin:.25rem -.5em;border-radius:100%;overflow:hidden;transform:scaleY(-1);animation:tuiLoaderRotate 3s linear infinite}.t-circle[_ngcontent-%COMP%]{fill:none;stroke:inherit;stroke-width:inherit;animation:tuiLoaderDashOffset 3s linear infinite}"],changeDetection:0}),(0,r.gn)([(0,c.TH)()],t.prototype,"size",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"inheritColor",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"overlay",void 0),(0,r.gn)([(0,c.NH)()],t.prototype,"showLoader",null),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.ez,h.wq]]}),t})()},60885:function(t,e,n){"use strict";n.d(e,{Ls:function(){return g},Hi:function(){return m}});var r=n(64762),i=n(74788),o=n(40946),s=n(44358),a=n(79456),l=n(54789),c=n(12628),u=n(12057);function h(t,e){if(1&t&&i._UZ(0,"tui-svg",3),2&t){const t=i.oxw();i.Q6J("src",t.icon)}}function d(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",4),i.NdJ("click",function(){return i.CHM(t),i.oxw().close.emit()}),i.ALo(1,"async"),i.qZA()}if(2&t){const t=i.oxw();i.Q6J("title",i.lcZ(1,1,t.closeWord$))}}const p=["*"],f={info:"tuiIconInfo",success:"tuiIconCheckCircle",error:"tuiIconXCircle",warning:"tuiIconAlertCircle"};let g=(()=>{class t{constructor(t,e){this.closeWord$=t,this.options=e,this.hasIcon=this.options.hasIcon,this.status=this.options.status,this.hideClose=!1,this.close=new i.vpe}get icon(){return f[this.status]}get hasClose(){return!this.hideClose&&(0,o.fw)(this.close)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(a.U0),i.Y36(a.Ln))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-notification"]],hostVars:5,hostBindings:function(t,e){2&t&&(i.uIk("data-status",e.status),i.ekj("_has-icon",e.hasIcon)("_has-close-button",e.hasClose))},inputs:{hasIcon:"hasIcon",status:"status",hideClose:"hideClose"},outputs:{close:"close"},ngContentSelectors:p,decls:4,vars:2,consts:[["automation-id","tui-notification__icon","class","t-icon",3,"src",4,"ngIf"],[1,"t-content"],["tuiIconButton","","type","button","automation-id","tui-notification__close","size","xs","icon","tuiIconCloseLarge","appearance","icon","class","t-close",3,"title","click",4,"ngIf"],["automation-id","tui-notification__icon",1,"t-icon",3,"src"],["tuiIconButton","","type","button","automation-id","tui-notification__close","size","xs","icon","tuiIconCloseLarge","appearance","icon",1,"t-close",3,"title","click"]],template:function(t,e){1&t&&(i.F$t(),i.YNc(0,h,1,1,"tui-svg",0),i.TgZ(1,"div",1),i.Hsn(2),i.qZA(),i.YNc(3,d,2,3,"button",2)),2&t&&(i.Q6J("ngIf",e.hasIcon),i.xp6(3),i.Q6J("ngIf",e.hasClose))},directives:[u.O5,l.PN,c.v0],pipes:[u.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-base-01);box-sizing:border-box;overflow:hidden}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";pointer-events:none}._has-close-button[_nghost-%COMP%]{padding-right:2rem}._has-icon[_nghost-%COMP%]{padding-left:2.75rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-info-fill);background:linear-gradient(var(--tui-info-bg),var(--tui-info-bg)),var(--tui-base-01)}[data-status=success][_nghost-%COMP%]{color:var(--tui-success-fill);background:linear-gradient(var(--tui-success-bg),var(--tui-success-bg)),var(--tui-base-01)}[data-status=error][_nghost-%COMP%]{color:var(--tui-error-fill);background:linear-gradient(var(--tui-error-bg),var(--tui-error-bg)),var(--tui-base-01)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-warning-fill);background:linear-gradient(var(--tui-warning-bg),var(--tui-warning-bg)),var(--tui-base-01)}.t-content[_ngcontent-%COMP%]{word-wrap:break-word;color:var(--tui-text-01)}.t-icon[_ngcontent-%COMP%]{position:absolute;top:0;left:1rem;display:flex;width:1rem;height:100%;max-height:3rem;align-items:center}.t-close[_ngcontent-%COMP%]{position:absolute;top:.625rem;right:.5rem}'],changeDetection:0}),(0,r.gn)([(0,s.TH)()],t.prototype,"hasIcon",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"status",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"hideClose",void 0),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[u.ez,l.EI,c.fN]]}),t})()},94853:function(t,e,n){"use strict";n.d(e,{yc:function(){return tt},B1:function(){return et},KW:function(){return rt},MB:function(){return nt}});var r=n(64762),i=n(74788),o=n(27103);let s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-autofilled-style"]],decls:0,vars:0,template:function(t,e){},styles:[".tui-autofill input,input.tui-autofill{transition:box-shadow .01s}\n"],encapsulation:2,changeDetection:0}),t})(),a=(()=>{class t{constructor(t){this.autofilled=!1,this.tuiAutofilledChange=new i.vpe,t.addComponent(s)}transitionStartHandler({propertyName:t,target:e}){var n;t.includes("box-shadow")&&(null===(n=e)||void 0===n?void 0:n.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.gH))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiAutofilledChange",""]],hostAttrs:[1,"tui-autofill"],hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("transitionstart",function(t){return e.transitionStartHandler(t)}),2&t&&i.ekj("_autofilled",e.autofilled)},outputs:{tuiAutofilledChange:"tuiAutofilledChange"}}),t})(),l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var c=n(13633),u=n(99434),h=n(76480),d=n(57179),p=n(44358),f=n(90022),g=n(79588),m=n(12130),v=n(79456),_=n(66640),y=n(89570),b=n(26215),w=n(22759),C=n(87874),x=n(45435),O=n(88002),k=n(87519),P=n(54789),T=n(1515),M=n(12057),S=n(91489),E=n(87862);let A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["input","tuiMaskAccessor",""]],features:[i._Bn([{provide:E.JU,deps:[[new i.FiY,v.sE],E.Fj],multi:!0,useFactory:(t,e)=>t?t[0]:e}])]}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var D=n(43631);const L=["pre"],N=["focusableElement"];function F(t,e){1&t&&i.GkF(0)}function z(t,e){1&t&&i.GkF(0)}function R(t,e){1&t&&(i.TgZ(0,"div",16),i.Hsn(1,2),i.qZA())}function j(t,e){1&t&&i._UZ(0,"tui-svg",19),2&t&&i.Q6J("src",e.polymorpheusOutlet)}const B=function(t){return{$implicit:t}};function H(t,e){if(1&t&&(i.TgZ(0,"div",17),i.YNc(1,j,1,1,"tui-svg",18),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconLeftContent)("polymorpheusOutletContext",i.VKq(2,B,t.size))}}function U(t,e){if(1&t&&(i.TgZ(0,"label",20),i.Hsn(1,3),i.qZA()),2&t){const t=i.oxw();i.ekj("t-placeholder_raised",t.placeholderRaised),i.Q6J("for",t.computedId)}}function V(t,e){1&t&&i._UZ(0,"tui-svg",23),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function q(t,e){if(1&t&&(i.TgZ(0,"div",21),i.YNc(1,V,1,1,"tui-svg",22),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.controller.customContent)}}function Z(t,e){1&t&&i._UZ(0,"tui-svg",26),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function Y(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"span",24),i.NdJ("click.stop",function(){return i.CHM(t),i.oxw().clear()}),i.YNc(1,Z,1,1,"tui-svg",25),i.qZA()}if(2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconCleaner||t.controller.options.iconCleaner)("polymorpheusOutletContext",i.VKq(2,B,t.size))}}function $(t,e){if(1&t&&i._UZ(0,"tui-tooltip",27),2&t){const t=i.oxw();i.Q6J("describeId",t.computedId)("content",null==t.hintOptions?null:t.hintOptions.content)}}function G(t,e){1&t&&i._UZ(0,"tui-svg",19),2&t&&i.Q6J("src",e.polymorpheusOutlet)}function J(t,e){if(1&t&&(i.TgZ(0,"div",28),i.YNc(1,G,1,1,"tui-svg",18),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.iconContent)("polymorpheusOutletContext",i.VKq(2,B,t.size))}}const Q=[[["input"]],[["select"]],[["tuiContent"]],"*"],X=["input","select","tuiContent","*"],W=["tuiTextfield",""];let K=(()=>{class t{constructor(t){this.textfield=t,this.prefix$=new b.X(""),this.pre$=this.prefix$.pipe((0,C.g)(0),(0,x.h)(()=>{var t;return!!(null===(t=this.pre)||void 0===t?void 0:t.nativeElement.isConnected)}),(0,O.U)(()=>{var t;return(null===(t=this.pre)||void 0===t?void 0:t.nativeElement.offsetWidth)||0}),(0,k.x)())}get isContextTable(){return"table"===this.textfield.appearance}get value(){return this.textfield.value}get filler(){const{focused:t,placeholder:e,exampleText:n,value:r,textfield:i}=this;return e&&n?"":t?n||i.filler.slice(r.length):""}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}ngDoCheck(){this.prefix$.next(this.prefix)}get placeholder(){var t;return(null===(t=this.textfield.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||""}get exampleText(){return!this.value&&this.focused?this.placeholder:""}get decorationsVisible(){return!!this.value||this.focused&&!this.placeholder}get focused(){return this.textfield.computedFocused&&!this.textfield.readOnly}get computedPostfix(){return this.textfield.postfix&&(this.filler||this.value)?` ${this.textfield.postfix}`:this.textfield.postfix}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(u.KZ))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){if(1&t&&i.Gf(L,7,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.pre=t.first)}},hostVars:2,hostBindings:function(t,e){1&t&&i.NdJ("animationstart",function(){return e.ngDoCheck()}),2&t&&i.ekj("_table",e.isContextTable)},decls:5,vars:4,consts:[[1,"t-prefix","t-inline",3,"textContent"],["pre",""],[1,"t-ghost","t-inline",3,"textContent"],[1,"t-filler","t-inline",3,"textContent"],[1,"t-postfix","t-inline",3,"textContent"]],template:function(t,e){1&t&&(i._UZ(0,"span",0,1),i._UZ(2,"span",2),i._UZ(3,"span",3),i._UZ(4,"span",4)),2&t&&(i.Q6J("textContent",e.prefix),i.xp6(2),i.Q6J("textContent",e.value),i.xp6(1),i.Q6J("textContent",e.filler),i.xp6(1),i.Q6J("textContent",e.postfix))},styles:['[_nghost-%COMP%]{position:absolute;display:block;height:1.25rem;line-height:1;width:100%;margin:-1.25rem 0;padding:.625rem 0;box-sizing:content-box;color:var(--tui-text-01);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static}tui-textfield[data-mode="onDark"] [_nghost-%COMP%]{color:var(--tui-text-01-night)}[_nghost-%COMP%]:after{content:"";display:inline-block;vertical-align:middle;height:100%}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre}.t-filler[_ngcontent-%COMP%]{overflow:hidden;color:var(--tui-text-03);text-overflow:ellipsis;max-width:100%;white-space:nowrap}tui-textfield[data-mode="onDark"][_nghost-%COMP%] .t-filler[_ngcontent-%COMP%], tui-textfield[data-mode="onDark"] [_nghost-%COMP%] .t-filler[_ngcontent-%COMP%]{color:var(--tui-text-03-night)}.t-inline[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}']}),t})(),tt=(()=>{class t extends h.Xn{constructor(t,e,n,r,o){super(),this.mode$=t,this.controller=e,this.hintOptions=n,this.options=r,this.el=o,this.editable=!0,this.textfieldFiller="",this.iconCleaner=this.options.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.textfieldPrefix="",this.textfieldPostfix="",this.value="",this.valueChange=new i.vpe,this.autofilled=!1}get prefix(){return this.textfieldPrefix||this.controller.prefix}get postfix(){return this.textfieldPostfix||this.controller.postfix}get filler(){return this.textfieldFiller||this.controller.filler}get nativeFocusableElement(){if(this.computedDisabled||!this.focusableElement)return null;const{nativeElement:t}=this.focusableElement;return t.previousElementSibling||t}get focused(){return(0,d.zb)(this.el.nativeElement)}get appearance(){return this.controller.appearance}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){var t;return!!(null===(t=this.content)||void 0===t?void 0:t.length)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){var t;return!!(null===(t=this.hintOptions)||void 0===t?void 0:t.content)&&!this.computedDisabled}get hasCustomContent(){return!!this.controller.customContent}get showOnlyPlaceholder(){return this.focused&&this.placeholderVisible&&("s"===this.size||"m"===this.size&&!this.placeholderRaisable)}get placeholderVisible(){var t;const e=((null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.placeholder)||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!e}get hasPlaceholder(){return!this.showOnlyPlaceholder&&(this.placeholderRaisable||this.placeholderVisible)}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,_._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get name(){var t;return"cc-exp"===(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.autocomplete)?"ccexpiryyear":null}get computedId(){var t;return(null===(t=this.nativeFocusableElement)||void 0===t?void 0:t.id)||""}onFocused(t){this.updateFocused(t)}getIndent$(t){return(0,w.R)(t,"scroll").pipe((0,O.U)(()=>-1*t.scrollLeft))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(t){const{nativeFocusableElement:e}=this;!e||t.target===e||(t.preventDefault(),e.focus())}onModelChange(t){this.updateValue(t)}onAutofilled(t){this.updateAutofilled(t)}get iconPaddingLeft(){return"l"===this.size?1.75:1.625}get placeholderRaisable(){return"s"!==this.size&&!this.controller.labelOutside}updateAutofilled(t){this.autofilled!==t&&(this.autofilled=t)}updateValue(t){this.value=t,this.valueChange.emit(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v.Au),i.Y36(g.Cs),i.Y36(f.bZ,8),i.Y36(g.z1),i.Y36(i.SBq))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,y.Li,5),2&t){let t;i.iGM(t=i.CRH())&&(e.content=t)}},viewQuery:function(t,e){if(1&t&&i.Gf(N,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:15,hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$})("focusin",function(){return e.onFocused(!0)})("focusout",function(){return e.onFocused(!1)}),2&t&&(i.uIk("data-size",e.size),i.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),i.ekj("_autofilled",e.autofilled)("_label-outside",e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",textfieldFiller:["filler","textfieldFiller"],iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",textfieldPrefix:["prefix","textfieldPrefix"],textfieldPostfix:["postfix","textfieldPostfix"],value:"value"},outputs:{valueChange:"valueChange"},features:[i._Bn([(0,u.FT)(t),g.Y0,m.CV]),i.qOj],ngContentSelectors:X,decls:23,vars:37,consts:[[4,"ngIf"],["tuiWrapper","","automation-id","tui-primitive-textfield__wrapper",3,"appearance","readOnly","disabled","focus","hover","active","invalid","mousedown","click.prevent.silent","tuiAutofilledChange"],["tuiMaskAccessor","","automation-id","tui-primitive-textfield__native-input",1,"t-input",3,"id","readOnly","tuiFocusable","ngModel","ngModelChange"],["focusableElement",""],["automation-id","tui-primitive-textfield__value","class","t-input t-input_template",4,"ngIf"],[1,"t-content"],["class","t-icon t-icon_left t-textfield-icon",4,"ngIf"],[1,"t-wrapper"],["automation-id","tui-primitive-textfield__placeholder","class","t-placeholder",3,"t-placeholder_raised","for",4,"ngIf"],[1,"t-wrapper-value-decoration"],["automation-id","tui-primitive-textfield__value-decoration","aria-hidden","true",1,"t-value-decoration"],["decor",""],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["tuiWrapper","","appearance","icon","automation-id","tui-primitive-textfield__cleaner","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"describeId","content",4,"ngIf"],["class","t-icon t-textfield-icon",4,"ngIf"],["automation-id","tui-primitive-textfield__value",1,"t-input","t-input_template"],[1,"t-icon","t-icon_left","t-textfield-icon"],["tuiWrapper","","appearance","icon",3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiWrapper","","appearance","icon",3,"src"],["automation-id","tui-primitive-textfield__placeholder",1,"t-placeholder",3,"for"],["automation-id","tui-primitive-textfield__custom-content",1,"t-custom-content"],["class","t-custom-icon",3,"src",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"src"],["tuiWrapper","","appearance","icon","automation-id","tui-primitive-textfield__cleaner",1,"t-cleaner",3,"click.stop"],[3,"src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"src"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"describeId","content"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(i.F$t(Q),i.YNc(0,F,1,0,"ng-container",0),i.ALo(1,"async"),i.YNc(2,z,1,0,"ng-container",0),i.ALo(3,"async"),i.TgZ(4,"div",1),i.NdJ("mousedown",function(t){return e.onMouseDown(t)})("click.prevent.silent",function(){return 0})("tuiAutofilledChange",function(t){return e.onAutofilled(t)}),i.ALo(5,"async"),i.Hsn(6),i.Hsn(7,1),i.TgZ(8,"input",2,3),i.NdJ("ngModelChange",function(t){return e.onModelChange(t)}),i.qZA(),i.YNc(10,R,2,0,"div",4),i.TgZ(11,"div",5),i.YNc(12,H,2,4,"div",6),i.TgZ(13,"div",7),i.YNc(14,U,2,3,"label",8),i.TgZ(15,"div",9),i.TgZ(16,"tui-value-decoration",10,11),i.ALo(18,"async"),i.qZA(),i.qZA(),i.qZA(),i.YNc(19,q,2,1,"div",12),i.YNc(20,Y,2,4,"span",13),i.YNc(21,$,1,2,"tui-tooltip",14),i.YNc(22,J,2,4,"div",15),i.qZA(),i.qZA()),2&t){const t=i.MAs(9),n=i.MAs(17);i.Q6J("ngIf",i.lcZ(1,29,null==e.content?null:e.content.changes)),i.xp6(2),i.Q6J("ngIf",i.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),i.xp6(2),i.Udp("--text-indent",i.lcZ(5,33,n.pre$),"px"),i.Q6J("appearance",e.appearance)("readOnly",e.readOnly)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("active",e.pseudoActive)("invalid",e.computedInvalid),i.xp6(4),i.Q6J("id",e.id)("readOnly",e.readOnly||!e.editable)("tuiFocusable",e.computedFocusable)("ngModel",e.value),i.uIk("disabled",e.computedDisabled||null)("name",e.name)("aria-invalid",e.computedInvalid),i.xp6(2),i.Q6J("ngIf",e.inputHidden),i.xp6(2),i.Q6J("ngIf",e.iconLeftContent),i.xp6(2),i.Q6J("ngIf",e.hasPlaceholder),i.xp6(2),i.Udp("text-indent",i.lcZ(18,35,e.getIndent$(t)),"px"),i.ekj("t-has-value",e.value),i.xp6(3),i.Q6J("ngIf",e.hasCustomContent),i.xp6(1),i.Q6J("ngIf",e.hasCleaner),i.xp6(1),i.Q6J("ngIf",(null==e.hintOptions?null:e.hintOptions.content)&&!e.computedDisabled),i.xp6(1),i.Q6J("ngIf",e.iconContent)}},directives:[M.O5,S.o,a,A,E.Fj,c.t,E.JJ,E.On,K,y.Li,P.PN,T.w],pipes:[M.Ov],styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;border-radius:var(--tui-radius-m);text-align:left}[data-size=s][_nghost-%COMP%]{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{height:var(--tui-height-l);min-height:var(--tui-height-l);max-height:var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-mode=onDark][_nghost-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, .t-input tui-text-area[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, tui-text-area[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [data-mode=onDark][_nghost-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-input tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, .t-input tui-text-area[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, tui-text-area[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [data-mode=onDark][_nghost-%COMP%] .t-input[_ngcontent-%COMP%]:-webkit-autofill:focus, .t-input tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus, .t-input tui-text-area[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, tui-text-area[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[data-size=s][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=l][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], .t-input tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.125rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input.t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-content[_ngcontent-%COMP%]{display:flex;height:100%;width:100%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-s)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-content[_ngcontent-%COMP%]:after{content:"";margin-right:-.25rem}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]:after{display:none}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;padding-right:.25rem;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-wrapper[_ngcontent-%COMP%] + *[_ngcontent-%COMP%]{margin:0}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);transform:translateY(-.5rem);letter-spacing:.025rem}._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], ._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill)}[data-mode=onDark]._invalid[_nghost-%COMP%]:not(._focused) .t-placeholder_raised[_ngcontent-%COMP%], [data-mode=onDark]._invalid[_nghost-%COMP%]:not(._focused):hover .t-placeholder_raised[_ngcontent-%COMP%]{color:var(--tui-error-fill-night)}._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-03)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.9375rem}[data-size=l][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font-size:.8156rem}[data-size=m]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01)}[data-mode=onDark][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}[data-size=m][data-mode=onDark]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%], [data-size=l][data-mode=onDark]._focused[_nghost-%COMP%]:not(._label-outside) .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}[data-mode=onDark]._focused[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=m][data-mode=onDark]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], [data-size=l][data-mode=onDark]._focused._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{color:var(--tui-text-02-night)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;margin:0 0 0 .25rem;-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:0;margin-inline-end:0;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer}._readonly[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%], ._disabled[_nghost-%COMP%] .t-cleaner[_ngcontent-%COMP%]{pointer-events:none}.t-icon[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;margin:0 0 0 .25rem;-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:0;margin-inline-end:0;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}.t-icon_left[_ngcontent-%COMP%]{margin:0 .375rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}._autofilled[data-size=s][_nghost-%COMP%]:not(._focused) .t-placeholder[_ngcontent-%COMP%], ._autofilled[data-size=m][_nghost-%COMP%]:not(._focused) .t-placeholder[_ngcontent-%COMP%]{visibility:hidden}.t-custom-content[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;min-width:2rem;height:2rem;pointer-events:none}.t-custom-icon[_ngcontent-%COMP%]{width:2rem;height:100%}.t-tooltip[_ngcontent-%COMP%]{margin:0 0 0 .25rem;-webkit-margin-start:.25rem;margin-inline-start:.25rem;-webkit-margin-end:0;margin-inline-end:0}input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder, tui-text-area[data-mode="onDark"][_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder, tui-text-area[data-mode="onDark"] [_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-03-night)}tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] input[_ngcontent-%COMP%]::placeholder{opacity:1}.t-input[_ngcontent-%COMP%]:not(:first-child){display:none}[data-size][_nghost-%COMP%] .t-input_template[_ngcontent-%COMP%]{display:flex;width:calc(100% - 1rem);max-width:calc(100% - 1rem);align-items:center;pointer-events:none;-webkit-padding-end:0;padding-inline-end:0}.t-input[_ngcontent-%COMP%]:-webkit-autofill, .t-input[_ngcontent-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input[_ngcontent-%COMP%]::-webkit-caps-lock-indicator, .t-input[_ngcontent-%COMP%]::-webkit-contacts-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credit-card-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-credentials-auto-fill-button, .t-input[_ngcontent-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-text-template[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-wrapper-value-decoration[_ngcontent-%COMP%]{position:relative;pointer-events:none}'],changeDetection:0}),(0,r.gn)([(0,p.TH)()],t.prototype,"editable",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"textfieldFiller",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"iconCleaner",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"readOnly",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"invalid",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"disabled",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"textfieldPrefix",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"textfieldPostfix",void 0),(0,r.gn)([(0,p.TH)()],t.prototype,"value",void 0),(0,r.gn)([p.UM],t.prototype,"getIndent$",null),t})(),et=(()=>{class t extends D.D1{constructor(t){super(t),this.textfield=t}get readOnly(){return this.textfield.readOnly||!this.textfield.editable}onValueChange(t){this.textfield.onModelChange(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(tt))},t.\u0275dir=i.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[i._Bn([(0,v.cp)(t)]),i.qOj]}),t})(),nt=(()=>{class t{constructor(t,e,n,r,i){this.host=t,this.controller=e,this.el=n,this.idService=r,this.legacyMask=i,this.host.process(this.el.nativeElement)}get id(){return this.el.nativeElement.id||this.idService.generate()}get inputMode(){return this.el.nativeElement.inputMode||this.host.inputMode}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v.S0),i.Y36(g.Cs),i.Y36(i.SBq),i.Y36(o.ll),i.Y36(v.sf,8))},t.\u0275cmp=i.Xpm({type:t,selectors:[["input","tuiTextfield",""],["textarea","tuiTextfield",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return!e.legacyMask&&e.host.onValueChange(t.target.value)}),2&t&&(i.Ikx("tabIndex",e.host.focusable?0:-1)("readOnly",e.host.readOnly)("value",e.host.value),i.uIk("id",e.id)("inputMode",e.inputMode)("aria-invalid",e.host.invalid)("disabled",e.host.disabled||null))},features:[i._Bn([g.Y0])],attrs:W,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}[data-mode=onDark][_nghost-%COMP%] [_ngcontent-%COMP%]:-webkit-autofill, [_nghost-%COMP%] tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%] tui-text-area[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill, tui-text-area[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill, [data-mode=onDark][_nghost-%COMP%] [_ngcontent-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [_nghost-%COMP%] tui-text-area[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:hover, tui-text-area[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:hover, [data-mode=onDark][_nghost-%COMP%] [_ngcontent-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus, [_nghost-%COMP%] tui-text-area[data-mode="onDark"][_nghost-%COMP%]:-webkit-autofill:focus, tui-text-area[data-mode="onDark"] [_nghost-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[data-size=s][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="s"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="s"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-text-area[data-size="s"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="s"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-s)}[data-size=l][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-text-area[data-size="l"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="l"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-l)}._disabled[_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield._disabled[_nghost-%COMP%], tui-primitive-textfield._disabled [_nghost-%COMP%], [_nghost-%COMP%] tui-text-area._disabled[_nghost-%COMP%], tui-text-area._disabled [_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="l"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="l"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield){padding-top:1.125rem}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield[data-size="m"]:not(._label-outside)[_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%], tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]:not(tui-primitive-textfield):-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.69rem;transform:translateY(-.5rem)}._hidden[_nghost-%COMP%] input[_ngcontent-%COMP%], [_nghost-%COMP%] tui-primitive-textfield._hidden[_nghost-%COMP%], tui-primitive-textfield._hidden [_nghost-%COMP%]{opacity:0;text-indent:-10em;-webkit-user-select:none}[_nghost-%COMP%]::placeholder{color:var(--tui-text-03);opacity:0}[_nghost-%COMP%] tui-primitive-textfield[data-mode="onDark"][_nghost-%COMP%]::placeholder, tui-primitive-textfield[data-mode="onDark"] [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] tui-text-area[data-mode="onDark"][_nghost-%COMP%]::placeholder, tui-text-area[data-mode="onDark"] [_nghost-%COMP%]::placeholder{color:var(--tui-text-03-night)}[_nghost-%COMP%] tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, [_nghost-%COMP%] tui-text-area._focused:not(._readonly)[_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[_nghost-%COMP%]::-webkit-caps-lock-indicator, [_nghost-%COMP%]::-webkit-contacts-auto-fill-button, [_nghost-%COMP%]::-webkit-credit-card-auto-fill-button, [_nghost-%COMP%]::-webkit-credentials-auto-fill-button, [_nghost-%COMP%]::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),t})(),rt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[M.ez,E.u5,y.wq,I,c.u,S.W,P.EI,T.Q,l]]}),t})()},27709:function(t,e,n){"use strict";n.d(e,{tZ:function(){return P},eI:function(){return T}});var r=n(12057),i=n(74788),o=n(62579),s=n(40946),a=n(33770),l=n(27103),c=n(92668),u=n(49941),h=n(12130),d=n(79456),p=n(88002),f=n(43190),g=n(46782),m=n(43219),v=n(39761),_=n(87519),y=n(66682),b=n(22759);function w(t,e){if(1&t&&(i.TgZ(0,"div",3),i._UZ(1,"div",4),i.qZA()),2&t){const t=i.oxw().ngIf,e=i.oxw();i.ekj("t-bar_has-horizontal",t[1]),i.Q6J("@tuiFadeIn",e.animation)}}function C(t,e){if(1&t&&(i.TgZ(0,"div",5),i._UZ(1,"div",6),i.qZA()),2&t){const t=i.oxw().ngIf,e=i.oxw();i.ekj("t-bar_has-vertical",t[0]),i.Q6J("@tuiFadeIn",e.animation)}}function x(t,e){if(1&t&&(i.ynx(0),i.YNc(1,w,2,3,"div",1),i.YNc(2,C,2,3,"div",2),i.BQk()),2&t){const t=e.ngIf;i.xp6(1),i.Q6J("ngIf",t[0]),i.xp6(1),i.Q6J("ngIf",t[1])}}let O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollbarWrapper",""]],features:[i._Bn([{provide:d.zP,useExisting:i.SBq}])]}),t})(),k=(()=>{class t{constructor(t,e,n,r,i,o,l,c,u,h){this.wrapper=i,this.container=o,this.doc=l,this.win=c,this.el=u,this.viewportScroller=h,this.tuiScrollbar="vertical";const{nativeElement:d}=this.el,v=(0,s.mL)(d,"mousedown"),_=(0,s.mL)(this.doc,"mousemove"),w=(0,s.mL)(this.doc,"mouseup"),C=(0,s.mL)(i.nativeElement,"mousedown");(0,y.T)(C.pipe((0,s.mp)(),(0,p.U)(t=>this.getScrolled(t,.5,.5))),v.pipe((0,s.mp)(),(0,s.vm)(),(0,f.w)(t=>{const e=d.getBoundingClientRect(),n=function({clientY:t},{top:e,height:n}){return(t-e)/n}(t,e),r=function({clientX:t},{left:e,width:n}){return(t-e)/n}(t,e);return _.pipe((0,p.U)(t=>this.getScrolled(t,n,r)),(0,g.R)(w))}))).pipe((0,s.fL)(t),(0,g.R)(n)).subscribe(([t,n])=>{const[r,i]=this.viewportScroller.getScrollPosition();this.container?"vertical"===this.tuiScrollbar?e.setProperty(this.container.nativeElement,"scrollTop",t):e.setProperty(this.container.nativeElement,"scrollLeft",n):this.viewportScroller.scrollToPosition(["vertical"===this.tuiScrollbar?r:n,"vertical"===this.tuiScrollbar?t:i])}),(0,y.T)((0,b.R)(this.container?this.container.nativeElement:this.win,"scroll"),r.pipe((0,m.p)(a.Yg))).pipe((0,s.fL)(t),(0,g.R)(n)).subscribe(()=>{"vertical"===this.tuiScrollbar?(e.setStyle(d,"top",100*this.thumb+"%"),e.setStyle(d,"height",100*this.view+"%")):(e.setStyle(d,"left",100*this.thumb+"%"),e.setStyle(d,"width",100*this.view+"%"))})}get scrolled(){const{scrollTop:t,scrollHeight:e,clientHeight:n,scrollLeft:r,scrollWidth:i,clientWidth:o}=this.computedContainer;return"vertical"===this.tuiScrollbar?t/(e-n):r/(i-o)}get compensation(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:r}=this.computedContainer;return t*t/e>24&&"vertical"===this.tuiScrollbar||n*n/r>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/t:24/n}get thumb(){return this.scrolled*(1-(this.compensation||this.view))}get view(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:r}=this.computedContainer;return"vertical"===this.tuiScrollbar?Math.ceil(t/e*100)/100:Math.ceil(n/r*100)/100}get computedContainer(){var t;return(null===(t=this.container)||void 0===t?void 0:t.nativeElement)||this.doc.documentElement}getScrolled({clientY:t,clientX:e},n,r){const{offsetHeight:i,offsetWidth:o}=this.el.nativeElement,{top:s,left:a,width:l,height:c}=this.wrapper.nativeElement.getBoundingClientRect();return[(t-s-i*n)/(c-i)*(this.computedContainer.scrollHeight-c),(e-a-o*r)/(l-o)*(this.computedContainer.scrollWidth-l)]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.R0b),i.Y36(i.Qsj),i.Y36(l.a3,2),i.Y36(o.L1),i.Y36(d.zP),i.Y36(d.$_,8),i.Y36(r.K0),i.Y36(o.m9),i.Y36(i.SBq),i.Y36(r.EM))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},features:[i._Bn([l.a3])]}),t})(),P=(()=>{class t{constructor(t,e,n,r,i,o){this.options=t,this.ngZone=e,this.doc=n,this.scrollRef=r,this.animationFrame$=i,this.mode$=o,this.refresh$=this.animationFrame$.pipe((0,m.p)(300),(0,p.U)(()=>this.scrollbars),(0,v.O)([!1,!1]),(0,_.x)((t,e)=>t[0]===e[0]&&t[1]===e[1]),(0,s.Yr)(this.ngZone)),this.animation=Object.assign({value:""},this.options)}get scrollbars(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:r}=this.scrollRef?this.scrollRef.nativeElement:this.doc.documentElement;return[Math.ceil(t/e*100)<100,Math.ceil(n/r*100)<100]}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(d.Pw),i.Y36(i.R0b),i.Y36(r.K0),i.Y36(d.$_,8),i.Y36(o.L1),i.Y36(d.Au))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-scroll-controls"]],hostBindings:function(t,e){1&t&&i.NdJ("$.data-mode.attr",function(){return e.mode$})},features:[i._Bn([h.CV])],decls:2,vars:3,consts:[[4,"ngIf"],["tuiScrollbarWrapper","","class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["tuiScrollbarWrapper","","class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],["tuiScrollbarWrapper","",1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],["tuiScrollbarWrapper","",1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(i.YNc(0,x,3,2,"ng-container",0),i.ALo(1,"async")),2&t&&i.Q6J("ngIf",i.lcZ(1,1,e.refresh$))},directives:[r.O5,O,k],pipes:[r.Ov],styles:["[_nghost-%COMP%]{position:-webkit-sticky;position:sticky;top:0;left:0;z-index:1;min-width:calc(100% - 1px);min-height:calc(100% - 1px);max-width:calc(100% - 1px);max-height:calc(100% - 1px);float:left;margin-right:calc(-100% + 1px);-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:calc(-100% + 1px);margin-inline-end:calc(-100% + 1px);pointer-events:none}.t-bar[_ngcontent-%COMP%]{position:absolute;right:0;bottom:0;pointer-events:auto}.t-bar_vertical[_ngcontent-%COMP%]{top:0;width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%]{left:0;height:.875rem}.t-bar_has-horizontal[_ngcontent-%COMP%]{bottom:.5rem}.t-bar_has-vertical[_ngcontent-%COMP%]{right:.5rem}.t-thumb[_ngcontent-%COMP%]{transition-property:all;transition-duration:.15s;transition-timing-function:ease-in-out;position:absolute;border-radius:6.25rem;border:.25rem solid transparent;cursor:pointer;pointer-events:auto;background:var(--tui-text-01);background-clip:content-box;box-sizing:border-box;transition-property:width,height;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}[data-mode=onDark][_nghost-%COMP%] .t-thumb[_ngcontent-%COMP%]{background-color:var(--tui-text-01-night)}.t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{right:0;width:.75rem;min-height:1.25rem}.t-bar_vertical[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_vertical[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{width:.875rem}.t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]{bottom:0;height:.75rem;min-width:1.25rem}.t-bar_horizontal[_ngcontent-%COMP%]:hover .t-thumb[_ngcontent-%COMP%], .t-bar_horizontal[_ngcontent-%COMP%] .t-thumb[_ngcontent-%COMP%]:active{height:.875rem}"],data:{animation:[u.QF]},changeDetection:0}),t})(),T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.ez,c.WD]]}),t})()},80134:function(t,e,n){"use strict";n.d(e,{IB:function(){return g},Jy:function(){return m}});var r=n(74788),i=n(79456),o=n(64762),s=n(62579),a=n(41213),l=n(64493),c=n(99434),u=n(44358),h=n(27709),d=n(12057);function p(t,e){1&t&&r._UZ(0,"tui-scroll-controls")}const f=["*"];let g=(()=>{class t{constructor(t,e,n,i){this.cssRef=t,this.el=e,this.userAgent=n,this.isIos=i,this.delegated=!1,this.isLegacy=!this.cssRef.supports("position","sticky")||(0,a.oK)(this.userAgent)&&!this.cssRef.supports("scrollbar-width","none"),this.hidden=!1,this.browserScrollRef=new r.SBq(this.el.nativeElement)}get showScrollbars(){return!this.hidden&&!this.isIos&&(!this.isLegacy||this.delegated)}get showNative(){return this.isLegacy&&!this.hidden&&!this.delegated}onScrollable(t){this.delegated=!0,this.browserScrollRef.nativeElement=t}scrollIntoView(t){var e;if(this.delegated)return;const{nativeElement:n}=this.browserScrollRef,{offsetTop:r,offsetLeft:i}=(0,l.YX)(n,t),{clientHeight:o,clientWidth:s}=n,{offsetHeight:a,offsetWidth:c}=t;null===(e=n.scrollTo)||void 0===e||e.call(n,i+c/2-s/2,r+a/2-o/2)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(s.ux),r.Y36(r.SBq),r.Y36(s.yZ),r.Y36(c.FA))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-scrollbar"]],hostVars:2,hostBindings:function(t,e){1&t&&r.NdJ("tui-scrollable.stop",function(t){return e.onScrollable(t.detail)})("tui-scroll-into-view.stop",function(t){return e.scrollIntoView(t.detail)}),2&t&&r.ekj("_legacy",e.showNative)},inputs:{hidden:"hidden"},features:[r._Bn([{provide:i.$_,deps:[t],useFactory:({browserScrollRef:t})=>t}])],ngContentSelectors:f,decls:3,vars:1,consts:[[4,"ngIf"],[1,"t-content"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,p,1,0,"tui-scroll-controls",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()),2&t&&r.Q6J("ngIf",e.showScrollbars)},directives:[d.O5,h.tZ],styles:["[_nghost-%COMP%]{z-index:0;position:relative;display:flex;overflow:auto}[_nghost-%COMP%]:not(._legacy){scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar, [_nghost-%COMP%]:not(._legacy)::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}._legacy[_nghost-%COMP%]{overflow:overlay}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm){._legacy[_nghost-%COMP%]::-webkit-scrollbar, ._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{width:1rem;height:1rem;border-radius:6.25rem;background-clip:padding-box;border:2.667rem solid transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar{background-color:transparent}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-clear-hover)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-clear-active)}._legacy[_nghost-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-03)}}.t-content[_ngcontent-%COMP%]{position:relative;z-index:0;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}"],changeDetection:0}),(0,o.gn)([(0,u.TH)()],t.prototype,"hidden",void 0),t})(),m=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[d.ez,h.eI]]}),t})()},54789:function(t,e,n){"use strict";n.d(e,{$E:function(){return E},PN:function(){return A},EI:function(){return I}});var r=n(64762),i=n(12057),o=n(74788),s=n(91211),a=n(62579),l=n(92668),c=n(68192),u=n(11927),h=(n(18939),n(64493)),d=n(27103),p=n(44358),f=n(18269),g=n(87941),m=n(79456),v=n(66640),_=n(54487),y=n(74235),b=n(25917),w=n(43190),C=n(39761),x=n(5304),O=n(88002);function k(t,e){if(1&t&&o._UZ(0,"div",3),2&t){const t=o.oxw().tuiLet;o.Q6J("innerHTML",t,o.oJD)}}function P(t,e){if(1&t){const t=o.EpF();o.O4$(),o.TgZ(0,"svg",4),o.NdJ("error",function(){return o.CHM(t),o.oxw(2).onError()}),o._UZ(1,"use"),o.qZA()}if(2&t){const t=o.oxw(2);o.xp6(1),o.uIk("href",t.use,null,"xlink")}}function T(t,e){if(1&t&&(o.ynx(0),o.YNc(1,k,1,1,"div",1),o.YNc(2,P,2,1,"ng-template",null,2,o.W1O),o.BQk()),2&t){const t=o.MAs(3),e=o.oxw();o.xp6(1),o.Q6J("ngIf",e.isInnerHTML)("ngIfElse",t)}}const M={tuiIconAttach:"tuiIconPaperclip",tuiIconAttention:"tuiIconAlertCircle",tuiIconBackCircle:"tuiIconArrowLeftCircle",tuiIconCall:"tuiIconPhone",tuiIconCallIn:"tuiIconPhoneIncoming",tuiIconCallOut:"tuiIconPhoneOutgoing",tuiIconCallTransfer:"tuiIconPhoneForwarded",tuiIconCancel:"tuiIconXCircle",tuiIconCancelCircle:"tuiIconSlash",tuiIconCard:"tuiIconCreditCard",tuiIconCards:"tuiIconCreditCard",tuiIconChartBar:"tuiIconBarChart",tuiIconChart:"tuiIconBarChart",tuiIconCheckList:"tuiIconClipboard",tuiIconCloseCircle:"tuiIconXCircle",tuiIconCollapse:"tuiIconMinimize",tuiIconComment:"tuiIconMessageSquare",tuiIconCommentFw:"tuiIconMessageForward",tuiIconCompany:"tuiIconBriefcase",tuiIconDefaultDoc:"tuiIconFile",tuiIconDesktop:"tuiIconMonitor",tuiIconDesktopOff:"tuiIconMonitorOff",tuiIconDislike:"tuiIconThumbsDown",tuiIconDone:"tuiIconCheckCircle",tuiIconDraft:"tuiIconEdit2",tuiIconEyeOpen:"tuiIconEye",tuiIconEyeClosed:"tuiIconEyeOff",tuiIconExpand:"tuiIconMaximize",tuiIconExternal:"tuiIconExternalLink",tuiIconFrame:"tuiIconLayout",tuiIconGeo:"tuiIconMapPin",tuiIconHeartFilled:"tuiIconHeart",tuiIconHide:"tuiIconEyeOff",tuiIconImg:"tuiIconImage",tuiIconInfoCircle:"tuiIconInfo",tuiIconLike:"tuiIconThumbsUp",tuiIconLockOpen:"tuiIconUnlock",tuiIconMobile:"tuiIconSmartphone",tuiIconMoreHor:"tuiIconMoreHorizontal",tuiIconMoreVer:"tuiIconMoreVertical",tuiIconMoreVert:"tuiIconMoreVertical",tuiIconPicture:"tuiIconImage",tuiIconPin:"tuiIconMapPin",tuiIconPrint:"tuiIconPrinter",tuiIconRefresh:"tuiIconRefreshCw",tuiIconRemove:"tuiIconX",tuiIconShow:"tuiIconEye",tuiIconSound:"tuiIconVolume",tuiIconSoundOff:"tuiIconVolumeX",tuiIconStarFilled:"tuiIconStar",tuiIconStop:"tuiIconSquare",tuiIconStructure:"tuiIconGrid",tuiIconTime:"tuiIconClock",tuiIconTooltip:"tuiIconHelpCircle",tuiIconViewList:"tuiIconList",tuiIconWifiOn:"tuiIconWifi"},S={path:(0,v.ht)("assets/taiga-ui/icons"),srcProcessor:_.y,contentProcessor:c.N,deprecated:t=>{const e=t.replace("Large","").replace("Outline",""),n=M[e];return n?`${e}/(Large|Outline) is deprecated, use ${n}/(Large|Outline) instead`:""}},E=new o.OlP("[TUI_SVG_OPTIONS]",{factory:()=>({path:(0,o.f3M)(m.ki),deprecated:S.deprecated,srcProcessor:(0,o.f3M)(m.V5),contentProcessor:(0,o.f3M)(m.u_)})});let A=(()=>{class t{constructor(t,e,n,r,i,o,s,a){this.doc=t,this.win=e,this.options=n,this.tuiSanitizer=r,this.svgService=i,this.staticRequestService=o,this.sanitizer=s,this.el=a,this.src$=new y.t(1),this.icon="",this.innerHTML$=this.src$.pipe((0,w.w)(()=>(0,u.Aj)(this.icon)?this.isExternal?this.getExternalIcon(this.icon):(0,b.of)(this.getSafeHtml(this.icon)):(0,b.of)(this.icon)),(0,C.O)(""))}set src(t){this.options.deprecated(String(t)),this.icon=this.options.srcProcessor(t),this.src$.next()}get src(){return this.icon}get use(){return(0,u.Aj)(this.icon)?this.icon.includes(".svg#")?this.icon:this.resolveName(this.icon,this.options.path):""}get isInnerHTML(){return!(0,u.Aj)(this.icon)||this.isSrc||this.isExternal||this.isName&&this.isShadowDOM}get isShadowDOM(){return(0,h.Wf)(this.el.nativeElement)!==this.doc}get isUse(){return this.use.replace(f.uJ,"").includes(".svg#")}get isExternal(){return this.isUrl||this.isCrossDomain}get isUrl(){return(0,u.Aj)(this.icon)&&this.icon.endsWith(".svg")}get isSrc(){return(0,u.Aj)(this.icon)&&(0,v.jL)(this.icon)}get isName(){return!this.isUrl&&!this.isUse&&!this.isSrc}get isCrossDomain(){const{use:t,isUse:e,win:n}=this;return e&&t.startsWith("http")&&!!n.origin&&!t.startsWith(n.origin)}onError(t="External icon is missing on the given URL"){const{icon:e}=this,n=new CustomEvent(f.qT,{bubbles:!0,detail:{message:t,icon:e}});this.el.nativeElement.dispatchEvent(n)}resolveName(t,e){return e(t)}getSafeHtml(t){return this.isSrc?this.sanitize(t):this.process(t)}process(t){const e=this.svgService.getOriginal(t);return this.isName&&!e&&!!t&&this.onError("Attempted to use undefined named icon"),this.isShadowDOM&&this.isName?this.sanitize(e||""):""}sanitize(t){return t=this.options.contentProcessor(t),this.tuiSanitizer&&(0,u.Aj)(t)?this.sanitizer.bypassSecurityTrustHtml(this.tuiSanitizer.sanitize(o.q3G.HTML,t)||""):t}getExternalIcon(t){const e=t.includes(".svg")?t:this.use;return this.staticRequestService.request(e).pipe((0,x.K)(()=>(this.onError("Failed to load external SVG"),(0,b.of)(""))),(0,O.U)(t=>this.sanitize(t.replace("{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[i.ez,l.WD]]}),t})()},1515:function(t,e,n){"use strict";n.d(e,{w:function(){return v},Q:function(){return _}});var r=n(64762),i=n(74788),o=n(27103),s=n(99434),a=n(44358),l=n(90022),c=n(12130),u=n(79456),h=n(46782),d=n(54789),p=n(91489),f=n(89570),g=n(12057);function m(t,e){1&t&&i._UZ(0,"tui-svg",3),2&t&&i.Q6J("src",e.polymorpheusOutlet)}let v=(()=>{class t extends l.bZ{constructor(t,e,n,r){super(n),this.isMobile=r,this.mode=null,this.describeId="",e.pipe((0,h.R)(t)).subscribe(t=>{this.mode=t})}get computedAppearance(){return this.appearance||this.mode||""}stopOnMobile(t){var e;this.isMobile&&(t.preventDefault(),t.stopPropagation()),null===(e=this.driver$)||void 0===e||e.toggle()}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.a3,2),i.Y36(u.Au),i.Y36(l.H3),i.Y36(s.fL))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(t,e){if(1&t&&i.Gf(l.t6,5),2&t){let t;i.iGM(t=i.CRH())&&(e.driver$=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("mousedown",function(t){return e.stopOnMobile(t)}),2&t&&i.uIk("data-appearance",e.computedAppearance)},inputs:{content:"content",direction:"direction",appearance:"appearance",showDelay:"showDelay",hideDelay:"hideDelay",describeId:"describeId"},features:[i._Bn([o.a3,c.CV]),i.qOj],decls:4,vars:10,consts:[["automation-id","tui-tooltip__icon","tuiWrapper","","appearance","icon",1,"t-tooltip-icon",3,"hover","tuiHint","tuiHintDescribe","tuiHintDirection","tuiHintShowDelay","tuiHintHideDelay","tuiHintAppearance"],["driver","tuiHintHover"],[3,"src",4,"polymorpheusOutlet"],[3,"src"]],template:function(t,e){if(1&t&&(i.TgZ(0,"span",0,1),i.ALo(2,"async"),i.YNc(3,m,1,1,"tui-svg",2),i.qZA()),2&t){const t=i.MAs(1);i.Q6J("hover",i.lcZ(2,8,t)||null)("tuiHint",e.content)("tuiHintDescribe",e.describeId)("tuiHintDirection",e.direction)("tuiHintShowDelay",e.showDelay)("tuiHintHideDelay",e.hideDelay)("tuiHintAppearance",e.computedAppearance),i.xp6(3),i.Q6J("polymorpheusOutlet",e.icon)}},directives:[p.o,l.D,l.xn,l.t6,l.DM,l.$o,f.Li,d.PN],pipes:[g.Ov],styles:["[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;width:1.5rem;height:1.5rem;vertical-align:middle;font-size:0;line-height:0;cursor:pointer;color:var(--tui-text-01)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-error-fill)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%;color:inherit}"],changeDetection:0}),(0,r.gn)([(0,a.TH)()],t.prototype,"describeId",void 0),t})(),_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[g.ez,p.W,d.EI,l.go,f.wq]]}),t})()},18269:function(t,e,n){"use strict";n.d(e,{oA:function(){return s},v1:function(){return d},uJ:function(){return i},YZ:function(){return o},Jl:function(){return a},hW:function(){return p},Fw:function(){return h},qT:function(){return u},s9:function(){return g},R3:function(){return f},fe:function(){return c},Nq:function(){return l}});var r=n(33770);const i=`?v=${r.Ml}`,o=[",","."],s=t=>t.includes(".svg#")?t:`#${t}`,a={decimalLimit:1/0,decimalSeparator:",",thousandSeparator:r.f$,zeroPadding:!0},l=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"],c="tui-scroll-into-view",u="tui-icon-error",h=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"],d="[]",p=/\d/,f=/\D+/g,g=/^0+/},98952:function(t,e,n){"use strict";n.d(e,{td:function(){return R},VC:function(){return $},E$:function(){return H},Tp:function(){return G},dp:function(){return X},Ek:function(){return Z},Cw:function(){return Q},fx:function(){return q}});var r=n(74788),i=n(62579),o=n(221),s=n(71486),a=n(96111),l=n(75122),c=n(44358),u=n(75675),h=n(57179),d=n(27103),p=n(76480),f=n(33770),g=n(43631),m=n(49941),v=n(87941),_=n(79456),y=n(43190),b=n(87874),w=n(68307),C=n(9945),x=n(88002),O=n(46782),k=n(64762),P=n(47766),T=n(66640),M=n(89570),S=n(79765),E=n(66682),A=n(25917),I=n(26215),D=n(80134),L=n(75452);function N(t,e){if(1&t&&(r.TgZ(0,"div",5),r._uU(1),r.qZA()),2&t){const t=e.polymorpheusOutlet;r.xp6(1),r.hij(" ",t," ")}}const F=function(t){return{$implicit:t}},z=new r.OlP("[TUI_DROPDOWN_COMPONENT]",{factory:()=>Y});let R=(()=>{class t{constructor(t,e,n,r){this.el=t,this.hapica=e,this.injector=n,this.dropdownService=r,this.dropdownBoxRef=null,this.type="dropdown",this.component=new M.Al(this.hapica,this.injector)}get position(){return(0,P.qK)(this.el.nativeElement)?"fixed":"absolute"}ngAfterViewChecked(){var t,e;null===(t=this.dropdownBoxRef)||void 0===t||t.changeDetectorRef.detectChanges(),null===(e=this.dropdownBoxRef)||void 0===e||e.changeDetectorRef.markForCheck()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(t){t&&this.content&&!this.dropdownBoxRef?this.dropdownBoxRef=this.dropdownService.add(this.component):!t&&this.dropdownBoxRef&&(this.dropdownService.remove(this.dropdownBoxRef),this.dropdownBoxRef=null)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(z),r.Y36(r.gxx),r.Y36(l.ae))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdown","",5,"ng-container"]],inputs:{content:["tuiDropdown","content"]},exportAs:["tuiDropdown"],features:[r._Bn([(0,g.Ic)(t),(0,g.Fe)(t)]),r.TTD]}),(0,k.gn)([c.UM],t.prototype,"position",null),t})();const j={showDelay:200,hideDelay:500},B=new r.OlP("[TUI_DROPDOWN_HOVER_OPTIONS]",{factory:()=>j});let H=(()=>{class t extends g.kk{constructor(t,e){super(t=>this.stream$.subscribe(t)),this.hovered$=t,this.options=e,this.toggle$=new S.xQ,this.stream$=(0,E.T)(this.toggle$,this.hovered$).pipe((0,y.w)(t=>(0,A.of)(t).pipe((0,b.g)(t?this.showDelay:this.hideDelay))),(0,w.b)(t=>{this.hovered=t}),(0,C.B)()),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.hovered=!1,this.type="dropdown"}toggle(t){this.toggle$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(a.gs),r.Y36(B))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdownHover","",5,"ng-container"]],inputs:{showDelay:["tuiDropdownShowDelay","showDelay"],hideDelay:["tuiDropdownHideDelay","hideDelay"]},features:[r._Bn([(0,g.UK)(t),a.gs]),r.qOj]}),(0,k.gn)([(0,c.TH)()],t.prototype,"showDelay",void 0),(0,k.gn)([(0,c.TH)()],t.prototype,"hideDelay",void 0),t})();const U={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4},V=new r.OlP("[TUI_DROPDOWN_OPTIONS]",{factory:()=>U}),q=t=>({provide:V,deps:[[new r.FiY,Z],[new r.tp0,V]],useFactory:(0,T.lp)(t)});let Z=(()=>{class t{constructor(t){this.options=t,this.align=this.options.align,this.direction=this.options.direction,this.limitWidth=this.options.limitWidth,this.minHeight=this.options.minHeight,this.maxHeight=this.options.maxHeight,this.offset=this.options.offset}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(V,4))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},features:[r._Bn([{provide:V,useExisting:(0,r.Gpc)(()=>t)}])]}),(0,k.gn)([(0,c.TH)()],t.prototype,"align",void 0),(0,k.gn)([(0,c.TH)()],t.prototype,"direction",void 0),(0,k.gn)([(0,c.TH)()],t.prototype,"limitWidth",void 0),(0,k.gn)([(0,c.TH)()],t.prototype,"minHeight",void 0),(0,k.gn)([(0,c.TH)()],t.prototype,"maxHeight",void 0),(0,k.gn)([(0,c.TH)()],t.prototype,"offset",void 0),t})(),Y=(()=>{class t{constructor(t,e,n,r,i,o,s,a,l,c,u){this.directive=n,this.el=r,this.host=i,this.accessor=o,this.win=s,this.animationOptions=a,this.options=l,this.hoverDirective=c,this.dropdownAnimation=Object.assign({value:"fadeInTop"},this.animationOptions),t.pipe((0,x.U)(t=>"fixed"===this.directive.position?u.correct(t):t),(0,O.R)(e)).subscribe(([t,e])=>{this.update(t,e)}),this.updateWidth(this.accessor.getClientRect().width)}ngOnDestroy(){this.onHoveredChange(!1)}onHoveredChange(t){this.hoverDirective&&this.hoverDirective.toggle(t)}onTopFocus(){this.moveFocusOutside(!0)}onBottomFocus(){this.moveFocusOutside(!1)}update(t,e){const{style:n}=this.el.nativeElement,{right:r}=this.el.nativeElement.getBoundingClientRect(),{maxHeight:i,offset:o}=this.options,{innerHeight:s}=this.win,{clientRect:a}=this.host,{position:l}=this.directive,c=this.accessor.getClientRect(),h="fixed"===l?0:-a.top;t+=h;const d=(e+="fixed"===l?0:-a.left)c.left&&t{class t extends g.FP{constructor(t,e,n){super(t,e,n),this.type="dropdown"}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(d.a3,2),r.Y36(g.kk),r.Y36(g.c2))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdown",""]],features:[r._Bn([d.a3]),r.qOj]}),t})(),G=(()=>{class t extends g.kk{constructor(){super(t=>this.stream$.subscribe(t)),this.stream$=new I.X(!1),this.tuiDropdownManual=!1,this.type="dropdown"}ngOnChanges(){this.stream$.next(this.tuiDropdownManual)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdown","","tuiDropdownManual",""]],inputs:{tuiDropdownManual:"tuiDropdownManual"},features:[r._Bn([(0,g.UK)(t)]),r.qOj,r.TTD]}),t})(),J=(()=>{class t extends g.uG{constructor(t,e,n,r){super(),this.options=t,this.viewport=e,this.accessors=n,this.directive=r,this.type="dropdown"}getPosition({width:t,height:e}){var n,r;const i=null!==(r=null===(n=this.accessor)||void 0===n?void 0:n.getClientRect())&&void 0!==r?r:f.Jy,o=this.viewport.getClientRect(),{minHeight:s,align:a,direction:l,offset:c}=this.options,u=this.previous||l||"bottom",h=Math.max(i.right-t,c),d={top:i.top-2*c-o.top,bottom:o.bottom-i.bottom-2*c},p={top:i.top-c-e,bottom:i.bottom+c,right:h,center:i.left+i.width/2+t/2d.bottom?"top":"bottom";return d[u]>s&&l||d[u]>e?[p[u],p[a]]:(this.previous=g,[p[g],p[a]])}get accessor(){return(0,g.Sv)("dropdown")(this.accessors,this.directive)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(V),r.Y36(_.EO),r.Y36(g.O4),r.Y36(R))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdown","",3,"tuiDropdownCustomPosition","",3,"tuiDropdownSided",""]],features:[r._Bn([(0,g.P7)(t)]),r.qOj]}),(0,k.gn)([c.UM],t.prototype,"accessor",null),t})(),Q=(()=>{class t extends g.uG{constructor(t,e,n){super(),this.options=t,this.viewport=e,this.vertical=n,this.previous=this.options.direction||"bottom",this.tuiDropdownSided="",this.tuiDropdownSidedOffset=4,this.type="dropdown"}getPosition(t){var e,n;if(!1===this.tuiDropdownSided)return this.vertical.getPosition(t);const{height:r,width:i}=t,o=null!==(n=null===(e=this.vertical.accessor)||void 0===e?void 0:e.getClientRect())&&void 0!==n?n:f.Jy,s=this.viewport.getClientRect(),{direction:a,minHeight:l,offset:c}=this.options,u="center"===this.options.align?"left":this.options.align,h={top:o.bottom-s.top,left:o.left-c-s.left,right:s.right-o.right-c,bottom:s.bottom-o.top},d={top:o.bottom-r+this.tuiDropdownSidedOffset+1,left:o.left-i-c,right:o.right+c,bottom:o.top-this.tuiDropdownSidedOffset-1},p=h.top>h.bottom?"top":"bottom",g=h[u]>i?d[u]:h.left>h.right?d.left:d.right;return h[this.previous]>l&&a||this.previous===p?[d[this.previous],g]:(this.previous=p,[d[p],g])}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(V),r.Y36(_.EO),r.Y36(J))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiDropdownSided",""]],inputs:{tuiDropdownSided:"tuiDropdownSided",tuiDropdownSidedOffset:"tuiDropdownSidedOffset"},features:[r._Bn([J,(0,g.P7)(t)]),r.qOj]}),t})(),X=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[M.wq,o.A,s.e,D.Jy,L.z,a.VE]]}),t})()},90022:function(t,e,n){"use strict";n.d(e,{H3:function(){return q},$o:function(){return Q},D:function(){return Y},xn:function(){return X},t6:function(){return $},go:function(){return K},bZ:function(){return Z},DM:function(){return W}});var r=n(64762),i=n(74788),o=n(76480),s=n(44358),a=n(221),l=n(96111),c=n(33770),u=n(64493),h=n(75675),d=n(85648),p=n(27103),f=n(40946),g=n(57179),m=n(43631),v=n(49941),_=n(75452),y=n(87941),b=n(79456),w=n(89570),C=n(85345);class x{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new O(t,this.durationSelector))}}class O extends C.Ds{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){try{const e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(e){this.destination.error(e)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(t,e){let n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),n=(0,C.ft)(e,new C.IY(this)),n&&!n.closed&&this.add(this.durationSubscription=n)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const t=this.value,e=this.durationSubscription;e&&(this.durationSubscription=void 0,e.unsubscribe(),this.remove(e)),this.value=void 0,this.hasValue=!1,super._next(t)}}}var k=n(43190),P=n(87874),T=n(46782),M=n(79196),S=n(45435),E=n(68307),A=n(88002),I=n(39761),D=n(87519),L=n(13653),N=n(79765),F=n(66682),z=n(25917),R=n(41291),j=n(12057),B=n(18269);function H(t,e){1&t&&i._UZ(0,"span",1),2&t&&i.Q6J("innerHTML",e.polymorpheusOutlet,i.oJD)}const U=new i.OlP("[TUI_HINT_COMPONENT]",{factory:()=>J}),V={direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"tuiIconHelpCircle"},q=new i.OlP("[TUI_HINT_OPTIONS]",{factory:()=>V});let Z=(()=>{class t extends o.QJ{constructor(t){super(),this.options=t,this.direction=this.options.direction,this.appearance=this.options.appearance,this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.icon=this.options.icon}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(q,4))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},features:[i._Bn([{provide:q,useExisting:(0,i.Gpc)(()=>t)}]),i.qOj]}),(0,r.gn)([(0,s.TH)()],t.prototype,"direction",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"appearance",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"showDelay",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"hideDelay",void 0),t})(),Y=(()=>{class t{constructor(t,e,n,r,i){this.el=t,this.component=e,this.hintService=n,this.options=r,this.activeZone=i,this.tuiHintAppearance=null,this.type="hint"}get appearance(){var t;return null!==(t=this.tuiHintAppearance)&&void 0!==t?t:this.options.appearance}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.nativeElement.getBoundingClientRect()}toggle(t){t&&this.content?this.hintService.add(this):this.hintService.remove(this)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(w.Al),i.Y36(y.BN),i.Y36(q),i.Y36(a.e,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{content:["tuiHint","content"],context:["tuiHintContext","context"],tuiHintAppearance:"tuiHintAppearance"},features:[i._Bn([(0,m.Ic)(t),(0,m.Fe)(t),{provide:w.Al,deps:[U,i.gxx],useClass:w.Al}]),i.TTD]}),(0,r.gn)([(0,s.TH)()],t.prototype,"tuiHintAppearance",void 0),t})(),$=(()=>{class t extends m.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.hovered$=t,this.options=e,this.el=n,this.visible=!1,this.toggle$=new N.xQ,this.stream$=(0,F.T)(this.toggle$.pipe((0,k.w)(t=>(0,z.of)(t).pipe((0,P.g)(t?0:this.hideDelay))),(0,T.R)(this.hovered$),(0,M.r)()),this.hovered$.pipe((0,k.w)(t=>(0,z.of)(t).pipe((0,P.g)(t?this.showDelay:this.hideDelay))),(0,T.R)(this.toggle$),(0,M.r)())).pipe((0,S.h)(()=>this.enabled),(0,E.b)(t=>{this.visible=t})),this.showDelay=this.options.showDelay,this.hideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0}toggle(t=!this.visible){this.toggle$.next(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(l.gs),i.Y36(q),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container"]],inputs:{showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},exportAs:["tuiHintHover"],features:[i._Bn([(0,m.UK)(t),l.gs]),i.qOj]}),(0,r.gn)([(0,s.TH)()],t.prototype,"showDelay",void 0),(0,r.gn)([(0,s.TH)()],t.prototype,"hideDelay",void 0),t})(),G=(()=>{class t extends ${constructor(){super(...arguments),this.currentRect=c.Jy}onMove({clientX:t,clientY:e}){this.currentRect=(0,u.dD)(t,e)}getClientRect(){return this.currentRect}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&i.NdJ("mousemove.silent",function(t){return e.onMove(t)})},features:[i._Bn([(0,m.Ic)(t),(0,m.UK)(t)]),i.qOj]}),t})(),J=(()=>{class t{constructor(t,e,n,r,i,o,s,a,l,c,u){var h;this.accessor=r,this.el=i,this.options=o,this.polymorpheus=s,this.hover=a,this.pointer=l,this.mode=c,this.visualViewportService=u,this.animation=Object.assign({value:""},this.options),this.appearance=this.polymorpheus.$implicit.appearance||(null===(h=this.mode)||void 0===h?void 0:h.mode),this.untouchable=!!this.pointer,e.pipe((0,A.U)(t=>this.visualViewportService.correct(t)),(0,T.R)(n)).subscribe(([t,e])=>{this.update(t,e)}),t.pipe((0,T.R)(n)).subscribe(t=>this.hover.toggle(t))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(t){!this.el.nativeElement.contains(t)&&!this.hover.el.nativeElement.contains(t)&&this.hover.toggle(!1)}update(t,e){const{height:n,width:r}=this.el.nativeElement.getBoundingClientRect(),{style:i}=this.el.nativeElement,o=this.accessor.getClientRect(),s=Math.max(e,4),[a,l]=this.visualViewportService.correct([o.top+o.height/2-t,o.left+o.width/2-s]);i.top=(0,h.O)(t),i.left=(0,h.O)(s),i.setProperty("--top",(0,h.O)((0,d.Ki)(a,.5,n-1))),i.setProperty("--left",(0,h.O)((0,d.Ki)(l,.5,r-1)))}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(l.gs),i.Y36(y.KG),i.Y36(p.a3,2),i.Y36(m.O4),i.Y36(i.SBq),i.Y36(b.Pw),i.Y36(w.yf),i.Y36($),i.Y36(G,8),i.Y36(_.w,8),i.Y36(y.Lp))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-hint"]],hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("click",function(t){return e.onClick(t.target)},!1,i.evT),2&t&&(i.uIk("data-appearance",e.appearance),i.d8E("@tuiFadeIn",e.animation),i.ekj("_untouchable",e.untouchable))},features:[i._Bn([p.a3,y.KG,l.gs,(0,m.ei)("hint"),(0,m.Wk)("hint",Y)])],decls:1,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&i.YNc(0,H,1,1,"span",0),2&t&&i.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context)},directives:[w.Li],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}[_nghost-%COMP%]:before{content:"";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}[data-appearance=error][_nghost-%COMP%]{background:var(--tui-error-fill)}[data-appearance=onDark][_nghost-%COMP%]{background:var(--tui-elevation-01);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}[_nghost-%COMP%]:not([style*="top"]){visibility:hidden}._untouchable[_nghost-%COMP%]{pointer-events:none}'],data:{animation:[v.QF]},changeDetection:0}),(0,r.gn)([s.UM],t.prototype,"update",null),t})(),Q=(()=>{class t extends m.kk{constructor(t,e,n){super(t=>this.stream$.subscribe(t)),this.ngZone=t,this.doc=e,this.el=n,this.stream$=(0,f.mL)(this.doc,"keydown",{capture:!0}).pipe((0,k.w)(()=>this.focused?(0,z.of)(!1):(0,F.T)((0,f.mL)(this.doc,"keyup"),(0,f.mL)(this.element,"blur")).pipe((0,A.U)(()=>this.focused))),function(t){return e=>e.lift(new x(t))}(t=>t?(0,R.H)(1e3):(0,z.of)(null)),(0,I.O)(!1),(0,D.x)(),(0,L.T)(1),(0,f.Yr)(this.ngZone)),this.tuiHintDescribe="",this.type="hint"}get focused(){return(0,g.V8)(this.element)}get element(){return this.doc.getElementById(this.tuiHintDescribe)||this.el.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.R0b),i.Y36(j.K0),i.Y36(i.SBq))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},features:[i._Bn([(0,m.UK)(t)]),i.qOj]}),(0,r.gn)([s.UM],t.prototype,"element",null),t})(),X=(()=>{class t extends m.FP{constructor(t,e,n){super(t,e,n),this.type="hint"}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(p.a3,2),i.Y36(m.kk),i.Y36(m.c2))},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiHint",""]],features:[i._Bn([p.a3]),i.qOj]}),t})(),W=(()=>{class t extends m.uG{constructor(t,e,n,r){super(),this.options=t,this.viewport=e,this.directive=n,this.accessors=r,this.points=B.Fw.reduce((t,e)=>Object.assign(Object.assign({},t),{[e]:[0,0]}),{}),this.direction=this.options.direction,this.type="hint"}getPosition({width:t,height:e}){var n,r;const i=null!==(r=null===(n=this.accessor)||void 0===n?void 0:n.getClientRect())&&void 0!==r?r:c.Jy,o=i.left+i.width/2,s=i.top+i.height/2;if(this.points["top-left"][0]=i.top-e-8,this.points["top-left"][1]=o-t+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=o-t/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=o-22,this.points["bottom-left"][0]=i.bottom+8,this.points["bottom-left"][1]=this.points["top-left"][1],this.points.bottom[0]=this.points["bottom-left"][0],this.points.bottom[1]=this.points.top[1],this.points["bottom-right"][0]=this.points["bottom-left"][0],this.points["bottom-right"][1]=this.points["top-right"][1],this.points["left-top"][0]=s-e+22,this.points["left-top"][1]=i.left-t-8,this.points.left[0]=s-e/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=s-22,this.points["left-bottom"][1]=this.points["left-top"][1],this.points["right-top"][0]=this.points["left-top"][0],this.points["right-top"][1]=i.right+8,this.points.right[0]=this.points.left[0],this.points.right[1]=this.points["right-top"][1],this.points["right-bottom"][0]=this.points["left-bottom"][0],this.points["right-bottom"][1]=this.points["right-top"][1],this.checkPosition(this.points[this.direction],t,e))return this.points[this.direction];const a=B.Fw.find(n=>this.checkPosition(this.points[n],t,e));return this.points[a||this.fallback]}get accessor(){return(0,m.Sv)("hint")(this.accessors,this.directive)}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([t,e],n,r){const i=this.viewport.getClientRect();return t>8&&e>8&&t+r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[j.ez,w.wq]]}),t})()},75452:function(t,e,n){"use strict";n.d(e,{w:function(){return o},z:function(){return s}});var r=n(74788),i=n(76480);let o=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.mode=null}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiMode",""]],inputs:{mode:["tuiMode","mode"]},features:[r.qOj]}),t})(),s=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},79588:function(t,e,n){"use strict";n.d(e,{Y0:function(){return R},Ym:function(){return m},z1:function(){return F},kI:function(){return I},Cs:function(){return z},be:function(){return v},cn:function(){return L},B7:function(){return y},kD:function(){return w},AW:function(){return x},aR:function(){return k},xT:function(){return T},sz:function(){return D}});var r=n(74788),i=n(76480),o=n(27103),s=n(40946),a=n(79456),l=n(29856),c=n(98640);const u=new l.y(c.Z);var h=n(66682),d=n(46782);class p{constructor(t,e,n,r,i,o,s,a,l,c,u,h,d){this.change$=t,this.options=e,this.legacyAppearance=n,this.appearanceDirective=r,this.cleanerDirective=i,this.customContentDirective=o,this.iconDirective=s,this.iconLeftDirective=a,this.labelOutsideDirective=l,this.sizeDirective=c,this.prefixDirective=u,this.postfixDirective=h,this.fillerDirective=d}get appearance(){return this.appearanceDirective.appearance||this.legacyAppearance}get cleaner(){return this.cleanerDirective.cleaner}get customContent(){return this.customContentDirective.customContent||""}get icon(){return this.iconDirective.icon}get iconLeft(){return this.iconLeftDirective.iconLeft}get labelOutside(){return this.labelOutsideDirective.labelOutside}get size(){return this.sizeDirective.size}get prefix(){return this.prefixDirective.prefix}get postfix(){return this.postfixDirective.postfix}get filler(){return this.fillerDirective.filler}}const f=new r.OlP("[TUI_TEXTFIELD_APPEARANCE_DIRECTIVE]",{factory:()=>new g});let g=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.appearance=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[r._Bn([{provide:f,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const m=new r.OlP("[TUI_TEXTFIELD_CLEANER]",{factory:()=>new v});let v=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.cleaner=!1}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[r._Bn([{provide:m,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const _=new r.OlP("[TUI_TEXTFIELD_CUSTOM_CONTENT]",{factory:()=>new y});let y=(()=>{class t extends i.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[r._Bn([{provide:_,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const b=new r.OlP("[TUI_TEXTFIELD_FILLER]",{factory:()=>new w});let w=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.filler=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[r._Bn([{provide:b,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const C=new r.OlP("[TUI_TEXTFIELD_ICON]",{factory:function(){return new x}});let x=(()=>{class t extends i.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[r._Bn([{provide:C,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const O=new r.OlP("[TUI_TEXTFIELD_ICON_LEFT]",{factory:function(){return new k}});let k=(()=>{class t extends i.QJ{}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[r._Bn([{provide:O,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const P=new r.OlP("[TUI_TEXTFIELD_LABEL_OUTSIDE]",{factory:()=>new T});let T=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[r._Bn([{provide:P,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const M=new r.OlP("[TUI_TEXTFIELD_POSTFIX]",{factory:()=>new S});let S=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.postfix=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[r._Bn([{provide:M,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const E=new r.OlP("[TUI_TEXTFIELD_PREFIX]",{factory:()=>new A});let A=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.prefix=""}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[r._Bn([{provide:E,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})();const I=new r.OlP("[TUI_TEXTFIELD_SIZE]",{factory:()=>new D});let D=(()=>{class t extends i.QJ{constructor(){super(...arguments),this.size="l"}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[r._Bn([{provide:I,useExisting:(0,r.Gpc)(()=>t)}]),r.qOj]}),t})(),L=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})();const N={iconCleaner:"tuiIconClose"},F=new r.OlP("[TUI_TEXTFIELD_OPTIONS]",{factory:()=>N}),z=new r.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),R=[o.a3,{provide:z,deps:[r.sBO,o.a3,F,a.jt,f,m,_,C,O,P,I,E,M,b],useFactory:(t,e,n,r,...i)=>{const o=(0,h.T)(...i.map(({change$:t})=>t||u)).pipe((0,s.NA)(t),(0,d.R)(e));return o.subscribe(),new p(o,n,r,...i)}}]},91489:function(t,e,n){"use strict";n.d(e,{o:function(){return s},W:function(){return a}});var r=n(74788),i=n(12130),o=n(79456);let s=(()=>{class t{constructor(t){this.mode$=t,this.disabled=!1,this.readOnly=!1,this.hover=null,this.active=null,this.focus=!1,this.invalid=!1,this.appearance=""}get computedInvalid(){return!this.disabled&&!this.readOnly&&this.invalid}get computedFocused(){return this.focus&&!this.disabled}get interactiveState(){return this.disabled?"disabled":this.readOnly?"readonly":this.active?"active":this.hover?"hover":null}get noHover(){return this.readOnly||!1===this.hover}get noActive(){return this.readOnly||!1===this.active}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(o.Au))},t.\u0275dir=r.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(t,e){1&t&&r.NdJ("$.data-mode.attr",function(){return e.mode$}),2&t&&(r.uIk("data-appearance",e.appearance)("data-state",e.interactiveState),r.ekj("_invalid",e.computedInvalid)("_focused",e.computedFocused)("_no-hover",e.noHover)("_no-active",e.noActive))},inputs:{disabled:"disabled",readOnly:"readOnly",hover:"hover",active:"active",focus:"focus",invalid:"invalid",appearance:"appearance"},features:[r._Bn([i.CV])]}),t})(),a=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},12130:function(t,e,n){"use strict";n.d(e,{CV:function(){return u},yI:function(){return c}});var r=n(74788),i=n(79456),o=n(75452),s=n(25917),a=n(39761),l=n(88002);const c={provide:i.rL,deps:[[new r.tp0,i.rL],r.SBq],useFactory:(t,{nativeElement:e})=>(e["$.class._mobile"]=t,t)},u={provide:i.Au,deps:[[new r.FiY,o.w],r.SBq],useFactory:(t,{nativeElement:e})=>{const n=t?t.change$.pipe((0,a.O)(null),(0,l.U)(()=>t.mode)):(0,s.of)(null);return e["$.data-mode.attr"]=n,n}}},87941:function(t,e,n){"use strict";n.d(e,{BN:function(){return w},KG:function(){return C},Ok:function(){return x},K5:function(){return O},Lp:function(){return k}});var r=n(74788),i=n(62579),o=n(79456),s=n(26215),a=n(29856),l=n(66682),c=n(41291),u=n(59193),h=n(88002),d=n(87519),p=n(46782),f=n(40946),g=n(27103),m=(n(18939),n(99434)),v=n(43631),_=n(2586),y=n(91211),b=n(47766);let w=(()=>{class t extends s.X{constructor(){super([])}add(t){this.next(this.value.concat(t))}remove(t){this.value.includes(t)&&this.next(this.value.filter(e=>e!==t))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),C=(()=>{class t extends a.y{constructor({nativeElement:t},e,n,r){super(i=>e.pipe((0,h.U)(()=>t.getBoundingClientRect()),(0,h.U)(t=>r.getPosition(t)),(0,f.fL)(n)).subscribe(i))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(r.SBq),r.LFG(i.L1),r.LFG(r.R0b),r.LFG(v.uG))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),x=(()=>{class t extends a.y{constructor(t,e,n,r){const i=t?(0,l.T)((0,c.H)(0),n).pipe((0,h.U)(()=>t.isActive),(0,d.x)(),(0,f.Yr)(e),(0,p.R)(r)):u.E;super(t=>i.subscribe(t))}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(_.Od,8),r.LFG(r.R0b),r.LFG(i.L1),r.LFG(g.a3,2))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac}),t})(),O=(()=>{class t{constructor(t,e,n){this.tuiSanitizer=t,this.sanitizer=e,this.originals={},this.items$=new s.X(new Map),this.define(n)}define(t){const{value:e}=this.items$;Object.keys(t).forEach(n=>{this.defineIcon(n,t[n],e)}),this.items$.next(e)}getOriginal(t){return this.originals[t]||null}defineIcon(t,e,n){if(n.has(t))return;const r=this.parseSrc(t,e);!r||(n.set(t,r),this.originals=Object.assign(Object.assign({},this.originals),{[t]:e}))}parseSrc(t,e){return this.sanitize((0,b.NK)(e,t))}sanitize(t){return this.sanitizer.bypassSecurityTrustHtml((this.tuiSanitizer?this.tuiSanitizer.sanitize(r.q3G.HTML,t):this.sanitizer.sanitize(r.q3G.HTML,t))||"")}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(o.hm,8),r.LFG(y.H7),r.LFG(o.It))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),k=(()=>{class t{constructor(t,e){this.win=t,this.isWebkit=e}correct(t){var e,n,r,i;return this.isWebkit?[t[0]+(null!==(n=null===(e=this.win.visualViewport)||void 0===e?void 0:e.offsetTop)&&void 0!==n?n:0),t[1]+(null!==(i=null===(r=this.win.visualViewport)||void 0===r?void 0:r.offsetLeft)&&void 0!==i?i:0)]:t}}return t.\u0275fac=function(e){return new(e||t)(r.LFG(i.m9),r.LFG(m.jF))},t.\u0275prov=r.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},79456:function(t,e,n){"use strict";n.d(e,{dx:function(){return b},Pw:function(){return w},U0:function(){return S},N1:function(){return O},zP:function(){return P},It:function(){return D},ki:function(){return L},rL:function(){return F},sf:function(){return z},Au:function(){return R},$R:function(){return M},PH:function(){return E},Ln:function(){return B},HO:function(){return H},IQ:function(){return U},hm:function(){return Z},$_:function(){return Y},u_:function(){return $},V5:function(){return G},jt:function(){return J},S0:function(){return Q},r2:function(){return W},sE:function(){return K},EO:function(){return tt},RB:function(){return x},oE:function(){return k},P7:function(){return V},cp:function(){return X}});var r=n(74788),i=n(47232),o=n(47766),s=n(66640),a=n(62579),l=n(40946),c=n(68192),u=n(9945),h=n(39761),d=n(88002),p=n(87519),f=n(43190),g=n(46782),m=n(18269),v=n(12057),_=n(66682),y=n(54487);const b=new r.OlP("[TUI_ANIMATIONS_DURATION]",{factory:()=>300}),w=new r.OlP("[TUI_ANIMATION_OPTIONS]",{factory:()=>({params:{duration:(0,r.f3M)(b)}})}),C=(new r.OlP("[TUI_ASSERT_ENABLED]",{factory:()=>(0,r.X6Q)()}),new r.OlP("[TUI_DATA_LIST_ACCESSOR]"));function x(t){return{provide:C,useExisting:t}}const O=new r.OlP("[TUI_DATA_LIST_HOST]");function k(t){return{provide:O,useExisting:t}}new r.OlP("[TUI_DAY_TYPE_HANDLER]",{factory:()=>t=>t.isWeekend?"weekend":"weekday"}),new r.OlP("[TUI_DOCUMENT_OR_SHADOW_ROOT]");const P=new r.OlP("[TUI_ELEMENT_REF]"),T=new r.OlP("[TUI_FIRST_DAY_OF_WEEK]",{factory:()=>1}),M=new r.OlP("[TUI_MONTHS]",{factory:(0,i.v)("months")}),S=new r.OlP("[TUI_CLOSE_WORD]",{factory:(0,i.v)("close")}),E=new r.OlP("[TUI_NOTHING_FOUND_MESSAGE]",{factory:(0,i.v)("nothingFoundMessage")}),A=(new r.OlP("[TUI_DEFAULT_ERROR_MESSAGE]",{factory:(0,i.v)("defaultErrorMessage")}),new r.OlP("[TUI_SPIN_TEXTS]",{factory:(0,i.v)("spinTexts")}),new r.OlP("[TUI_SHORT_WEEK_DAYS]",{factory:(0,i.v)("shortWeekDays")})),I=new r.OlP("[TUI_ICONS_PLACE]",{factory:()=>"assets/taiga-ui/icons"}),D=new r.OlP("[TUI_ICONS]",{factory:()=>({})}),L=new r.OlP("[TUI_ICONS_PATH]",{factory:()=>(0,s.ht)((0,r.f3M)(I))}),N=new r.OlP("[TUI_MEDIA]",{factory:()=>({mobile:768,desktopSmall:1024,desktopLarge:1280})}),F=new r.OlP("[TUI_IS_MOBILE_RES]",{factory:()=>{const t=(0,r.f3M)(a.m9),e=(0,r.f3M)(N);return(0,l.mL)(t,"resize").pipe((0,u.B)(),(0,h.O)(null),(0,d.U)(()=>function(t,{mobile:e}){return(0,o.ic)(t)j}),H=new r.OlP("[TUI_NUMBER_FORMAT]",{factory:()=>m.Jl}),U=new r.OlP("[TUI_OPTION_CONTENT]");function V(t){return{provide:U,useValue:t}}const q=t=>{const e=t.length-1;return[t[e],...t.slice(0,e)]},Z=(new r.OlP("[TUI_ORDERED_SHORT_WEEK_DAYS]",{factory:()=>{const t=(0,r.f3M)(T);return(0,r.f3M)(A).pipe((0,d.U)(q),(0,d.U)(e=>[...e.slice(t),...e.slice(0,t)]))}}),new r.OlP("[TUI_SANITIZER]")),Y=new r.OlP("[TUI_SCROLL_REF]"),$=(new r.OlP("[TUI_SELECTION_STREAM]",{factory:()=>{const t=(0,r.f3M)(v.K0);return(0,_.T)((0,l.mL)(t,"selectionchange"),(0,l.mL)(t,"mouseup"),(0,l.mL)(t,"mousedown").pipe((0,f.w)(()=>(0,l.mL)(t,"mousemove").pipe((0,g.R)((0,l.mL)(t,"mouseup"))))),(0,l.mL)(t,"keydown"),(0,l.mL)(t,"keyup")).pipe((0,u.B)())}}),new r.OlP("[TUI_SVG_CONTENT_PROCESSOR]",{factory:()=>c.N})),G=new r.OlP("[TUI_SVG_SRC_PROCESSOR]",{factory:()=>y.y}),J=new r.OlP("[TUI_TEXTFIELD_APPEARANCE]",{factory:()=>"textfield"}),Q=new r.OlP("[TUI_TEXTFIELD_HOST]");function X(t){return{provide:Q,useExisting:t}}const W=new r.OlP("[TUI_THEME]",{factory:()=>"Taiga"}),K=new r.OlP("[TUI_VALUE_ACCESSOR]"),tt=new r.OlP("[TUI_VIEWPORT]",{factory:()=>{const t=(0,r.f3M)(a.m9);return{type:"viewport",getClientRect:()=>({top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight})}}})},47766:function(t,e,n){"use strict";function r(t){return!(!t||"undefined"==typeof getComputedStyle)&&("fixed"===getComputedStyle(t).getPropertyValue("position")||r(t.parentElement))}function i({document:t,innerWidth:e}){return Math.max(t.documentElement.clientWidth||0,e||0)}n.d(e,{qK:function(){return r},ic:function(){return i},NK:function(){return l}});const o='width="',s='height="',a="")));if(!(null==r?void 0:r.includes(o))||!r.includes(s))return`${n.replace(a,``;const i=r.indexOf(o),l=r.indexOf(s),c=i+o.length,u=l+s.length,h=r.slice(c,r.indexOf('"',c)),d=r.slice(u,r.indexOf('"',u));if(!d||!h||h.includes("%")||d.includes("%")||h.includes("em")||d.includes("em"))return n.replace(a,`${n}`}},12067:function(t,e,n){"use strict";n.d(e,{ag:function(){return s},lx:function(){return l},Lf:function(){return a},gK:function(){return c}});var r=n(11927),i=n(33770),o=n(18269);function s(t){return`${t.charAt(0).toUpperCase()}${t.slice(1)}`}function a(t,e){const[,n=""]=function(t){const e=String(t),[n,r]=e.split("e-");let i=e;if(r){const[,e]=n.split("."),o=Number(r)+((null==e?void 0:e.length)||0);i=t.toFixed(o)}return i}(t).split(".");return(0,r.dt)(e)?n.slice(0,Math.max(0,e)):n}function l(t,e={}){const{decimalLimit:n,decimalSeparator:r,thousandSeparator:s,zeroPadding:l}=Object.assign(Object.assign({},o.Jl),e),c=String(Math.floor(Math.abs(t)));let u=a(t,n);if(Number.isFinite(n))if(l){const t=Math.max(n-u.length,0);u=`${u}${"0".repeat(t)}`}else u=u.replace(/0*$/,"");const h=c.length%3;let d=(t<0?i.fv:"")+c.charAt(0);for(let i=1;i3&&(d+=s),d+=c.charAt(i);return u?d+r+u:d}function c(t){return"."===t?",":"."}},66640:function(t,e,n){"use strict";n.d(e,{_X:function(){return i},ht:function(){return o},kL:function(){return s},jL:function(){return a},lp:function(){return l},R9:function(){return u}});var r=n(18269);function i(t,e=!1,n=!1,r=!1){let i=0;return t&&(i+=1.5),e&&(i+=1.5),n&&(i+=1.5),r&&(i+=2.5),i}function o(t){const e=t.endsWith("/")?t:`${t}/`;return t=>t.startsWith("tuiIcon")?`${e}${t}.svg${r.uJ}#${t}`:(0,r.oA)(t)}function s(t){return 1===t.length||r.Nq.includes(t)}function a(t){const e=t.trim();return e.startsWith("<")&&e.endsWith(">")}function l(t){return(e,n)=>{const r=e||Object.assign({},n);return Object.keys(t).forEach(e=>{r[e]=t[e]}),r}}const c={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function u(t,e="s"){return c[t]>c[e]}},31081:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var r=(()=>{return(t=r||(r={})).AD="AD",t.AE="AE",t.AF="AF",t.AG="AG",t.AI="AI",t.AL="AL",t.AM="AM",t.AO="AO",t.AR="AR",t.AT="AT",t.AU="AU",t.AW="AW",t.AZ="AZ",t.BA="BA",t.BB="BB",t.BD="BD",t.BE="BE",t.BF="BF",t.BG="BG",t.BH="BH",t.BI="BI",t.BJ="BJ",t.BL="BL",t.BM="BM",t.BN="BN",t.BO="BO",t.BQ="BQ",t.BR="BR",t.BS="BS",t.BT="BT",t.BW="BW",t.BY="BY",t.BZ="BZ",t.CD="CD",t.CF="CF",t.CG="CG",t.CH="CH",t.CI="CI",t.CL="CL",t.CM="CM",t.CN="CN",t.CO="CO",t.CR="CR",t.CU="CU",t.CV="CV",t.CW="CW",t.CY="CY",t.CZ="CZ",t.DE="DE",t.DJ="DJ",t.DK="DK",t.DM="DM",t.DO="DO",t.DZ="DZ",t.EC="EC",t.EE="EE",t.EG="EG",t.ER="ER",t.ES="ES",t.ET="ET",t.FI="FI",t.FJ="FJ",t.FK="FK",t.FM="FM",t.FR="FR",t.GA="GA",t.GB="GB",t.GD="GD",t.GE="GE",t.GF="GF",t.GH="GH",t.GI="GI",t.GL="GL",t.GM="GM",t.GN="GN",t.GP="GP",t.GQ="GQ",t.GR="GR",t.GT="GT",t.GW="GW",t.GY="GY",t.HK="HK",t.HN="HN",t.HR="HR",t.HT="HT",t.HU="HU",t.ID="ID",t.IE="IE",t.IL="IL",t.IN="IN",t.IQ="IQ",t.IR="IR",t.IS="IS",t.IT="IT",t.JM="JM",t.JO="JO",t.JP="JP",t.KE="KE",t.KG="KG",t.KH="KH",t.KM="KM",t.KN="KN",t.KP="KP",t.KR="KR",t.KW="KW",t.KY="KY",t.KZ="KZ",t.LA="LA",t.LB="LB",t.LC="LC",t.LI="LI",t.LK="LK",t.LR="LR",t.LS="LS",t.LT="LT",t.LU="LU",t.LV="LV",t.LY="LY",t.MA="MA",t.MC="MC",t.MD="MD",t.ME="ME",t.MF="MF",t.MG="MG",t.MK="MK",t.ML="ML",t.MM="MM",t.MN="MN",t.MO="MO",t.MQ="MQ",t.MR="MR",t.MS="MS",t.MT="MT",t.MU="MU",t.MV="MV",t.MW="MW",t.MX="MX",t.MY="MY",t.MZ="MZ",t.NA="NA",t.NC="NC",t.NE="NE",t.NG="NG",t.NI="NI",t.NL="NL",t.NO="NO",t.NP="NP",t.NZ="NZ",t.OM="OM",t.PA="PA",t.PE="PE",t.PF="PF",t.PG="PG",t.PH="PH",t.PK="PK",t.PL="PL",t.PT="PT",t.PW="PW",t.PY="PY",t.QA="QA",t.RE="RE",t.RO="RO",t.RS="RS",t.RU="RU",t.RW="RW",t.SA="SA",t.SB="SB",t.SC="SC",t.SD="SD",t.SE="SE",t.SG="SG",t.SH="SH",t.SI="SI",t.SK="SK",t.SL="SL",t.SM="SM",t.SN="SN",t.SO="SO",t.SR="SR",t.ST="ST",t.SV="SV",t.SX="SX",t.SY="SY",t.SZ="SZ",t.TC="TC",t.TD="TD",t.TG="TG",t.TH="TH",t.TJ="TJ",t.TL="TL",t.TM="TM",t.TN="TN",t.TO="TO",t.TR="TR",t.TT="TT",t.TW="TW",t.TZ="TZ",t.UA="UA",t.UG="UG",t.UY="UY",t.UZ="UZ",t.VC="VC",t.VE="VE",t.VG="VG",t.VN="VN",t.VU="VU",t.WS="WS",t.XK="XK",t.YE="YE",t.YT="YT",t.ZA="ZA",t.ZM="ZM",t.ZW="ZW",t.US="US",t.CA="CA",r;var t})()},47232:function(t,e,n){"use strict";n.d(e,{v:function(){return d}});var r=n(74788),i=n(31081);const o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({name:"english"},{months:["January","February","March","April","May","June","July","August","September","October","November","December"],close:"Close",nothingFoundMessage:"Nothing found",defaultErrorMessage:"Value is invalid",spinTexts:["Previous","Next"],shortWeekDays:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],countries:{[i.X.AD]:"Andorra",[i.X.AE]:"United Arab Emirates",[i.X.AF]:"Afghanistan",[i.X.AG]:"Antigua and Barbuda",[i.X.BL]:"Saint Barth\xe9lemy",[i.X.AI]:"Anguilla",[i.X.AL]:"Albania",[i.X.AM]:"Armenia",[i.X.AO]:"Angola",[i.X.AR]:"Argentina",[i.X.AT]:"Austria",[i.X.AU]:"Australia",[i.X.AW]:"Aruba",[i.X.AZ]:"Azerbaijan",[i.X.BA]:"Bosnia and Herzegovina",[i.X.BB]:"Barbados",[i.X.BD]:"Bangladesh",[i.X.BE]:"Belgium",[i.X.BF]:"Burkina Faso",[i.X.BG]:"Bulgaria",[i.X.BH]:"Bahrain",[i.X.BI]:"Burundi",[i.X.BJ]:"Benin",[i.X.GF]:"Guyana",[i.X.BM]:"Bermuda",[i.X.BN]:"Brunei Darussalam",[i.X.BO]:"Bolivia",[i.X.BQ]:"Bonaire, Sint Eustatius and Saba",[i.X.BR]:"Brazil",[i.X.BS]:"Bahamas",[i.X.BT]:"Bhutan",[i.X.BW]:"Botswana",[i.X.BY]:"Belarus",[i.X.BZ]:"Belize",[i.X.CA]:"Canada",[i.X.CD]:"Dem. Rep. Congo (Kinshasa)",[i.X.CF]:"Central African Republic",[i.X.CG]:"Congo (Brazzaville)",[i.X.CH]:"Switzerland",[i.X.CI]:"Ivory Coast",[i.X.CL]:"Chile",[i.X.CM]:"Cameroon",[i.X.CN]:"China",[i.X.CO]:"Colombia",[i.X.CR]:"Costa Rica",[i.X.CU]:"Cuba",[i.X.CV]:"Cape Verde",[i.X.CW]:"Cura\xe7ao",[i.X.CY]:"Cyprus",[i.X.CZ]:"Czech Republic",[i.X.DE]:"Germany",[i.X.DJ]:"Djibouti",[i.X.DK]:"Denmark",[i.X.DM]:"Dominica",[i.X.DO]:"Dominican Republic",[i.X.DZ]:"Algeria",[i.X.EC]:"Ecuador",[i.X.EE]:"Estonia",[i.X.EG]:"Egypt",[i.X.ER]:"Eritrea",[i.X.ES]:"Spain",[i.X.ET]:"Ethiopia",[i.X.FI]:"Finland",[i.X.FJ]:"Fiji",[i.X.FK]:"Falkland Islands",[i.X.FM]:"F.S. of Micronesia",[i.X.FR]:"France",[i.X.GA]:"Gabon",[i.X.GB]:"United Kingdom",[i.X.GD]:"Grenada",[i.X.GE]:"Georgia",[i.X.GP]:"Guadeloupe",[i.X.GH]:"Ghana",[i.X.GI]:"Gibraltar",[i.X.GL]:"Greenland",[i.X.GM]:"Gambia",[i.X.GN]:"Guinea",[i.X.MF]:"Saint-Martin",[i.X.GQ]:"Equatorial Guinea",[i.X.GR]:"Greece",[i.X.GT]:"Guatemala",[i.X.GW]:"Guinea-Bissau",[i.X.GY]:"Guyana",[i.X.HK]:"Hong Kong",[i.X.HN]:"Honduras",[i.X.HR]:"Croatia",[i.X.HT]:"Haiti",[i.X.HU]:"Hungary",[i.X.ID]:"Indonesia",[i.X.IE]:"Ireland",[i.X.IL]:"Israel",[i.X.IN]:"India",[i.X.IQ]:"Iraq",[i.X.IR]:"Iran",[i.X.IS]:"Iceland",[i.X.IT]:"Italy",[i.X.JM]:"Jamaica",[i.X.JO]:"Jordan",[i.X.JP]:"Japan",[i.X.KE]:"Kenya",[i.X.KG]:"Kyrgyzstan",[i.X.KH]:"Cambodia",[i.X.KM]:"Comoros",[i.X.KN]:"Saint Kitts and Nevis",[i.X.KP]:"Korean PDR",[i.X.KR]:"Rep. Korea",[i.X.KW]:"Kuwait",[i.X.KY]:"Cayman Islands",[i.X.KZ]:"Kazakhstan",[i.X.LA]:"Laos",[i.X.LB]:"Lebanon",[i.X.LC]:"Saint Lucia",[i.X.LI]:"Liechtenstein",[i.X.LK]:"Sri Lanka",[i.X.LR]:"Liberia",[i.X.LS]:"Lesotho",[i.X.LT]:"Lithuania",[i.X.LU]:"Luxembourg",[i.X.LV]:"Latvia",[i.X.LY]:"Libya",[i.X.MA]:"Morocco",[i.X.MC]:"Monaco",[i.X.MD]:"Moldova",[i.X.ME]:"Montenegro",[i.X.MQ]:"Martinique",[i.X.MG]:"Madagascar",[i.X.MK]:"Rep. of North Macedonia",[i.X.ML]:"Mali",[i.X.MM]:"Burma (Myanmar)",[i.X.MN]:"Mongolia",[i.X.MO]:"Macau",[i.X.RE]:"R\xe9union",[i.X.MR]:"Mauritania",[i.X.MS]:"Montserrat",[i.X.MT]:"Malta",[i.X.MU]:"Mauritius",[i.X.MV]:"Maldives",[i.X.MW]:"Malawi",[i.X.MX]:"Mexico",[i.X.MY]:"Malaysia",[i.X.MZ]:"Mozambique",[i.X.NA]:"Namibia",[i.X.NC]:"New Caledonia",[i.X.NE]:"Niger",[i.X.NG]:"Nigeria",[i.X.NI]:"Nicaragua",[i.X.NL]:"Netherlands",[i.X.NO]:"Norway",[i.X.NP]:"Nepal",[i.X.NZ]:"New Zealand",[i.X.OM]:"Oman",[i.X.PA]:"Panama",[i.X.PE]:"Peru",[i.X.PF]:"French Polynesia (Tahiti)",[i.X.PG]:"Papua New Guinea",[i.X.PH]:"Philippines",[i.X.PK]:"Pakistan",[i.X.PL]:"Poland",[i.X.PT]:"Portugal",[i.X.PW]:"Palau",[i.X.PY]:"Paraguay",[i.X.QA]:"Qatar",[i.X.YT]:"Mayotte",[i.X.RO]:"Romania",[i.X.RS]:"Serbia",[i.X.RU]:"Russia",[i.X.RW]:"Rwanda",[i.X.SA]:"Saudi Arabia",[i.X.SB]:"Solomon Islands",[i.X.SC]:"Seychelles",[i.X.SD]:"Sudan",[i.X.SE]:"Sweden",[i.X.SG]:"Singapore",[i.X.SH]:"Saint Helena",[i.X.SI]:"Slovenia",[i.X.SK]:"Slovakia",[i.X.SL]:"Sierra Leone",[i.X.SM]:"San Marino",[i.X.SN]:"Senegal",[i.X.SO]:"Somalia",[i.X.SR]:"Suriname",[i.X.ST]:"Sao Tome and Principe",[i.X.SV]:"El Salvador",[i.X.SX]:"Sint Maarten",[i.X.SY]:"Syrian Arab Republic",[i.X.SZ]:"Swaziland",[i.X.TC]:"Turks and Caicos",[i.X.TD]:"Chad",[i.X.TG]:"Togo",[i.X.TH]:"Thailand",[i.X.TJ]:"Tajikistan",[i.X.TL]:"East Timor",[i.X.TM]:"Turkmenistan",[i.X.TN]:"Tunisia",[i.X.TO]:"Tonga",[i.X.TR]:"Turkey",[i.X.TT]:"Trinidad and Tobago",[i.X.TW]:"Taiwan",[i.X.TZ]:"Tanzania",[i.X.UA]:"Ukraine",[i.X.UG]:"Uganda",[i.X.US]:"USA",[i.X.UY]:"Uruguay",[i.X.UZ]:"Uzbekistan",[i.X.VC]:"Saint Vincent and the Grenadines",[i.X.VE]:"Venezuela",[i.X.VG]:"British Virgin Islands",[i.X.VN]:"Vietnam",[i.X.VU]:"Vanuatu",[i.X.WS]:"Samoa",[i.X.XK]:"Kosovo",[i.X.YE]:"Yemen",[i.X.ZA]:"South Africa",[i.X.ZM]:"Zambia",[i.X.ZW]:"Zimbabwe"}}),{cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range"],range:["from","to"],countTexts:["Plus","Minus"],time:{"HH:MM":"HH:MM","HH:MM:SS":"HH:MM:SS","HH:MM:SS.MSS":"HH:MM:SS.MSS"},dateTexts:{DMY:"dd.mm.yyyy",MDY:"mm.dd.yyyy",YMD:"yyyy.mm.dd"},digitalInformationUnits:["B","KB","MB"],passwordTexts:["Show password","Hide password"],copyTexts:["Copy","Copied"],shortCalendarMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],pagination:["Previous page","Next page"],fileTexts:{loadingError:"Upload failed",preview:"Preview",remove:"Remove"},inputFileTexts:{defaultLabelSingle:"or drop\xa0it\xa0here",defaultLabelMultiple:"or drop\xa0them\xa0here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is too large ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},prompt:{yes:"Yes",no:"No"}}),{showHideText:"Show/Hide",paginationTexts:{pages:"Pages",linesPerPage:"Lines per page",of:"of"}}),{cardNumber:["Number","Card number"],cardExpiry:["Expires","Valid through"]}),{colorSelectorModeNames:["Solid color","Gradient"],toolbarTools:{undo:"Undo",redo:"Redo",font:"Font",fontStyle:"Font style",fontSize:"Font size",bold:"Bold",italic:"Italic",underline:"Underline",strikeThrough:"Strike through",justify:"Justify",justifyLeft:"Justify left",justifyCenter:"Justify center",justifyRight:"Justify right",justifyFull:"Justify full",list:"List",indent:"Indent",outdent:"Outdent",unorderedList:"Unordered list",orderedList:"Ordered list",quote:"Quote",foreColor:"Color",backColor:"Background color",hiliteColor:"Highlight color",clear:"Clear",link:"Link",attach:"Attach file",tex:"Insert TeX",code:"Code",image:"Insert image",insertHorizontalRule:"Insert horizontal rule",superscript:"Superscript",subscript:"Subscript",insertTable:"Insert table",insertGroup:"Insert group",hiliteGroup:"Hilite group",removeGroup:"Remove group",insertAnchor:"Insert anchor",mergeCells:"Merge cells",splitCells:"Split cells",rowsColumnsManaging:"Managing rows and columns",cellColor:"Cell color",setDetails:"Details",removeDetails:"Remove details"},editorEditLink:{urlExample:"example.com",anchorExample:"anchor"},editorTableCommands:[["Insert column before","Insert column after"],["Insert row before","Insert row after"],["Delete column","Delete row"]],editorCodeOptions:["Code in the text","Code in block"],editorFontOptions:{small:"Small",large:"Large",normal:"Normal",title:"Title",subtitle:"Subtitle"}}),{previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"}});var s=n(25917);const a=new r.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>o}),l=new r.OlP("[TUI_LANGUAGE]",{factory:()=>(0,s.of)((0,r.f3M)(a))});new r.OlP("[TUI_LANGUAGE_LOADER]"),new r.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"});var c=n(95639),u=n(43190),h=n(88002);function d(t){return()=>(0,r.f3M)(l).pipe((0,u.w)(t=>(0,c.b)(t)?t:(0,s.of)(t)),(0,h.U)(e=>e[t]))}},44711:function(t,e,n){"use strict";n.d(e,{p:function(){return E},s:function(){return A}});var r=n(64762),i=n(74788),o=n(87862),s=n(76480),a=n(57179),l=n(99434),c=n(44358),u=n(54789),h=n(91489),d=n(89570);function p(t,e){if(1&t&&i._UZ(0,"tui-svg",2),2&t){const t=e.polymorpheusOutlet,n=i.oxw();i.ekj("t-mark_on",!n.empty),i.Q6J("src",t)}}const f=function(t){return{$implicit:t}},g=["*"],m={size:"m",appearances:{unchecked:"outline",checked:"primary",indeterminate:"primary"},icons:{checked:({$implicit:t})=>"m"===t?"tuiIconCheck":"tuiIconCheckLarge",indeterminate:({$implicit:t})=>"m"===t?"tuiIconMinus":"tuiIconMinusLarge"}},v=new i.OlP("[TUI_CHECKBOX_OPTIONS]",{factory:()=>m});let _=(()=>{class t{constructor(t){this.options=t,this.size=this.options.size,this.disabled=!1,this.focused=!1,this.hovered=!1,this.pressed=!1,this.invalid=!1,this.icon=this.options.icons.checked,this.value=!1}set valueSetter(t){!1!==t&&this.setCurrentIcon(t),this.value=t}get appearance(){switch(this.value){case!1:return this.options.appearances.unchecked;case!0:return this.options.appearances.checked;default:return this.options.appearances.indeterminate}}get empty(){return!1===this.value}setCurrentIcon(t){this.icon=null===t?this.options.icons.indeterminate:this.options.icons.checked}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(v))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-primitive-checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size",disabled:"disabled",focused:"focused",hovered:"hovered",pressed:"pressed",invalid:"invalid",valueSetter:["value","valueSetter"]},ngContentSelectors:g,decls:3,vars:10,consts:[["tuiWrapper","",3,"appearance","disabled","focus","hover","active","invalid"],["class","t-mark",3,"t-mark_on","src",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-mark",3,"src"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,p,1,3,"tui-svg",1),i.Hsn(2),i.qZA()),2&t&&(i.Q6J("appearance",e.appearance)("disabled",e.disabled)("focus",e.focused)("hover",e.hovered)("active",e.pressed)("invalid",e.invalid),i.xp6(1),i.Q6J("polymorpheusOutlet",e.icon)("polymorpheusOutletContext",i.VKq(8,f,e.size)))},directives:[h.o,d.Li,u.PN],styles:["[_nghost-%COMP%]{display:block;font-size:0;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem;border-radius:var(--tui-radius-xs)}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem;border-radius:var(--tui-radius-s)}.t-mark[_ngcontent-%COMP%]{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;width:100%;height:100%;transform:scale(0)}.t-mark_on[_ngcontent-%COMP%]{transform:scale(1)}"],changeDetection:0}),(0,r.gn)([(0,c.TH)()],t.prototype,"size",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"disabled",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"focused",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"hovered",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"pressed",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"invalid",void 0),(0,r.gn)([(0,c.TH)()],t.prototype,"valueSetter",null),t})(),y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[u.EI,h.W,d.wq]]}),t})();var b=n(75452),w=n(44541),C=n(13633),x=n(75059),O=n(88491),k=n(12057);const P=["focusableElement"];let T=(()=>{class t extends s.F9{constructor(t,e,n){super(t,n),this.options=e,this.size=this.options.size}get nativeFocusableElement(){return!this.focusableElement||this.computedDisabled?null:this.focusableElement.nativeElement}get focused(){return(0,a.V8)(this.nativeFocusableElement)}get computedFocusable(){return this.interactive&&this.focusable}onChecked(t){this.value=t}onFocused(t){this.updateFocused(t)}onFocusVisible(t){this.updateFocusVisible(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.a5,10),i.Y36(v),i.Y36(i.sBO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-checkbox"]],viewQuery:function(t,e){if(1&t&&i.Gf(P,5),2&t){let t;i.iGM(t=i.CRH())&&(e.focusableElement=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},features:[i._Bn([(0,l.FT)(t),(0,s.wB)(t)]),i.qOj],decls:3,vars:11,consts:[[3,"size","disabled","focused","hovered","pressed","invalid","value"],["type","checkbox","automation-id","tui-checkbox__native",1,"t-native",3,"disabled","id","tuiFocusable","tuiChecked","tuiCheckedChange","tuiFocusedChange","tuiFocusVisibleChange"],["focusableElement",""]],template:function(t,e){1&t&&(i.TgZ(0,"tui-primitive-checkbox",0),i.TgZ(1,"input",1,2),i.NdJ("tuiCheckedChange",function(t){return e.value=t})("tuiFocusedChange",function(t){return e.onFocused(t)})("tuiFocusVisibleChange",function(t){return e.onFocusVisible(t)}),i.qZA(),i.qZA()),2&t&&(i.Q6J("size",e.size)("disabled",e.disabled)("focused",e.computedFocusVisible)("hovered",e.pseudoHover)("pressed",e.pseudoActive)("invalid",e.computedInvalid)("value",e.value),i.xp6(1),i.Q6J("disabled",e.disabled)("id",e.id)("tuiFocusable",e.computedFocusable)("tuiChecked",e.value))},directives:[_,w.t,C.t,x.U,O.q],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;flex-shrink:0}[data-size=m][_nghost-%COMP%]{width:1rem;height:1rem}[data-size=l][_nghost-%COMP%]{width:1.5rem;height:1.5rem}._readonly[_nghost-%COMP%] tui-primitive-checkbox[_ngcontent-%COMP%]{pointer-events:none}.t-native[_ngcontent-%COMP%]{padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native[_ngcontent-%COMP%]:-webkit-autofill, .t-native[_ngcontent-%COMP%]:-webkit-autofill:hover, .t-native[_ngcontent-%COMP%]:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}"],changeDetection:0}),(0,r.gn)([(0,c.TH)()],t.prototype,"size",void 0),t})(),M=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[k.ez,w.S,C.u,x.F,O.c,y]]}),t})();const S=["*"];let E=(()=>{class t extends s.F9{constructor(t,e,n,r){super(t,e),this.modeDirective=n,this.options=r,this.size=this.options.size}get focused(){return(0,a.V8)(this.nativeFocusableElement)}get nativeFocusableElement(){return this.checkbox?this.checkbox.nativeFocusableElement:null}get hostMode(){return this.modeDirective?this.modeDirective.mode:null}onFocused(t){this.updateFocused(t)}onModelChange(t){this.value=t}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.a5,10),i.Y36(i.sBO),i.Y36(b.w,8),i.Y36(v))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-checkbox-labeled"]],viewQuery:function(t,e){if(1&t&&i.Gf(T,5),2&t){let t;i.iGM(t=i.CRH())&&(e.checkbox=t.first)}},hostVars:2,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)("data-mode",e.hostMode)},inputs:{size:"size"},features:[i._Bn([(0,l.FT)(t),(0,s.wB)(t)]),i.qOj],ngContentSelectors:S,decls:4,vars:12,consts:[[1,"t-wrapper"],[3,"disabled","readOnly","focusable","nativeId","pseudoInvalid","pseudoFocus","pseudoHover","pseudoActive","size","ngModel","ngModelChange","focusedChange"],[1,"t-content"]],template:function(t,e){1&t&&(i.F$t(),i.TgZ(0,"label",0),i.TgZ(1,"tui-checkbox",1),i.NdJ("ngModelChange",function(t){return e.value=t})("focusedChange",function(t){return e.onFocused(t)}),i.qZA(),i.TgZ(2,"div",2),i.Hsn(3),i.qZA(),i.qZA()),2&t&&(i.xp6(1),i.Q6J("disabled",e.computedDisabled)("readOnly",e.readOnly)("focusable",e.focusable)("nativeId",e.nativeId)("pseudoInvalid",e.computedInvalid)("pseudoFocus",e.pseudoFocus)("pseudoHover",e.pseudoHover)("pseudoActive",e.pseudoActive)("size",e.size)("ngModel",e.value),i.xp6(1),i.ekj("t-content_disabled",e.computedDisabled))},directives:[T,o.JJ,o.On],styles:["[_nghost-%COMP%]{position:relative;display:block;line-height:0}._disabled[_nghost-%COMP%], ._readonly[_nghost-%COMP%]{pointer-events:none}.t-wrapper[_ngcontent-%COMP%]{display:inline-flex;max-width:100%;cursor:pointer}._disabled[_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{cursor:default}[data-mode=onDark][_nghost-%COMP%] .t-wrapper[_ngcontent-%COMP%]{color:var(--tui-text-01-night)}.t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-s);line-height:1rem;word-wrap:break-word;min-width:0}.t-content_disabled[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}[data-size=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{margin-left:.5rem}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{font:var(--tui-font-text-m);margin-left:.75rem}"],changeDetection:0}),(0,r.gn)([(0,c.TH)()],t.prototype,"size",void 0),t})(),A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[k.ez,o.u5,M]]}),t})()},15160:function(t,e,n){"use strict";n.d(e,{EA:function(){return et},aQ:function(){return nt},$H:function(){return rt},iL:function(){return tt}});var r=n(64762),i=n(74788),o=n(87862),s=n(76480),a=n(57179),l=n(11927),c=n(85648),u=n(99434),h=n(44358),d=n(12628),p=n(33770),f=(n(18939),n(41213)),g=n(64493),m=n(18269),v=n(12067);function _(t=0,e=",",n=p.f$,r,i,o=!1){let s=-1;const l=!!r&&(0,f.Ex)(r)||o;return r&&l&&r.addEventListener("beforeinput",()=>{s=r.selectionStart||0}),(o,c)=>{if(!o&&c.rawValue===p.fv&&i)return p.fv;if(r&&l&&(0,a.V8)(r)){const t=function(t="",e,n,r=","){const i=new RegExp(`${r}.+`),o=t.replace(i,""),s=e.replace(i,"");return Math.abs(o.length-s.length)>2?e.length:t.length===e.length?t.indexOf(r)<=n?function(t,e){for(let n=0;n{r.setSelectionRange(t,t)})}if(r&&r.ownerDocument!==(0,g.Wf)(r)&&(0,a.V8)(r)&&c.currentCaretPosition){const t=c.currentCaretPosition+function(t="",e,n){if(Math.abs(t.length-e.length)>2)return 0;const r=t.split(n).length;return e.split(n).length-r}(c.previousConformedValue,o,n);setTimeout(()=>{r.setSelectionRange(t,t)})}if(""===o||!t||!Number.isInteger(t))return{value:o};const u=function(t,e=","){return t.includes(e)?t:t+e}(o,e),h=u.split(e)[1];return{value:u+"0".repeat(t-h.length)}}}const y=/[1-9]/;function b({allowDecimal:t=!1,decimalSymbol:e=",",thousandSymbol:n=p.f$,autoCorrectDecimalSymbol:r=!0,decimalLimit:i=2,requireDecimal:o=!1,allowNegative:s=!1,integerLimit:a=0}={}){return(l,{previousConformedValue:c})=>{c&&o&&l.split(n).join("")===c.split(n).join("").split(e).join("")&&(l=c);const u=((null==l?void 0:l.startsWith(p.fv))||(null==l?void 0:l.startsWith(p.F)))&&s;if(function(t,e,n){return n?/^[,.]$/.test(t):t===e}(l,e,r)&&t)return["0",e,m.hW];u&&(l=l.slice(1));const h=function(t,e,n){return n?Math.max(t.lastIndexOf(e),t.lastIndexOf((0,v.gK)(e))):t.lastIndexOf(e)}(l,e,r),d=-1!==h,f=d?l.slice(0,h):l,g=f.match(new RegExp(n,"g"))||[],_=(a?f.slice(0,a+g.length):f).replace(m.R3,""),[b]=_.match(m.s9)||[""],C=b.length,x=_.replace(/^0+(?!\.|$)/,"").trim(),O=function(t,e){return t.length>3?t.replace(/\B(?=(\d{3})+(?!\d))/g,e):t}(x,n),k=w(O);if(d&&t||o){const t=d?w(l.slice(h+1).replace(m.R3,"")):[],n=i?t.slice(0,i):t;l[h]!==(0,v.gK)(e)&&k.push(m.v1),k.push(e,m.v1,...n);for(let e=0;em.hW.test(t)?m.hW:t)}function C({thousandSeparator:t}){return!m.YZ.includes(t)}function x(t,e,n){return parseFloat(t.split(n).join("").split(e).join("."))}var O=n(79588),k=n(79456),P=n(43631),T=n(94853),M=n(42420),S=n(89570),E=n(93213);let A=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=i.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[i._Bn([E.E2])]}),t})(),I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();var D=n(12057),L=n(42775);let N=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.textMaskConfig={mask:[],guide:!0,placeholderChar:"_",pipe:void 0,keepCharPositions:!1},this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,D.q)()?(0,D.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}ngOnChanges(){this._setupMask(!0),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(this.inputElement.value)}writeValue(t){this._setupMask(),this._renderer.setProperty(this.inputElement,"value",null==t?"":t),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&(this._setupMask(),void 0!==this.textMaskInputElement&&(this.textMaskInputElement.update(t),this.onChange(t=this.inputElement.value)))}_setupMask(t=!1){this.inputElement||(this.inputElement="INPUT"===this._elementRef.nativeElement.tagName.toUpperCase()?this._elementRef.nativeElement:this._elementRef.nativeElement.getElementsByTagName("INPUT")[0]),this.inputElement&&t&&(this.textMaskInputElement=(0,L.createTextMaskInputElement)(Object.assign({inputElement:this.inputElement},this.textMaskConfig)))}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this._handleInput(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(o.ve,8))},t.\u0275dir=i.lG2({type:t,selectors:[["","textMask",""]],hostBindings:function(t,e){1&t&&i.NdJ("input",function(t){return e._handleInput(t.target.value)})("blur",function(){return e.onTouched()})("compositionstart",function(){return e._compositionStart()})("compositionend",function(t){return e._compositionEnd(t.target.value)})},inputs:{textMaskConfig:["textMask","textMaskConfig"]},exportAs:["textMask"],features:[i._Bn([{provide:o.JU,useExisting:(0,i.Gpc)(()=>t),multi:!0},{provide:k.sf,useExisting:(0,i.Gpc)(()=>t)}]),i.TTD]}),t})(),F=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({}),t})();function z(t,e){if(1&t&&(i.ynx(0),i._uU(1),i.BQk()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}function R(t,e){if(1&t&&(i.TgZ(0,"div",4),i.YNc(1,z,2,1,"ng-container",5),i.qZA()),2&t){i.oxw();const t=i.MAs(8);i.xp6(1),i.Q6J("polymorpheusOutlet",t)}}function j(t,e){1&t&&i.GkF(0)}function B(t,e){1&t&&i.Hsn(0,2)}const H=["*",[["input"]],[["tuiContent"]]],U=function(t,e,n,r,i){return[t,e,n,r,i]},V=["*","input","tuiContent"];let q=(()=>{class t extends s.F9{constructor(t,e,n,r){super(t,e),this.numberFormat=n,this.isIOS=r,this.unfinishedValue="",this.min=Number.MIN_SAFE_INTEGER,this.max=Number.MAX_SAFE_INTEGER,this.decimal="not-zero",this.precision=2,this.prefix="",this.postfix="",this.polymorpheusValueContent=p.Mm,this.mask=(t,e,n,r)=>({mask:b({allowNegative:t,decimalLimit:n,allowDecimal:"never"!==e,requireDecimal:"always"===e,decimalSymbol:this.numberFormat.decimalSeparator,thousandSymbol:this.numberFormat.thousandSeparator,autoCorrectDecimalSymbol:C(this.numberFormat)}),pipe:_("always"===e?n:0,this.numberFormat.decimalSeparator,this.numberFormat.thousandSeparator,r,t,this.isIOS),guide:!1})}get nativeFocusableElement(){return!this.primitiveTextfield||this.computedDisabled?null:this.primitiveTextfield.nativeFocusableElement}get focused(){return!!this.primitiveTextfield&&this.primitiveTextfield.focused}get isNegativeAllowed(){return this.min<0}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":"never"===this.decimal?"numeric":"decimal"}get calculatedMaxLength(){return 18+("never"!==this.decimal&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get formattedValue(){return this.getFormattedValue(this.value||0)}get computedValue(){return this.focused?this.nativeValue:null===this.value?"":this.formattedValue}onZero(t){const e=this.nativeValue.split(this.numberFormat.decimalSeparator)[1]||"",{nativeFocusableElement:n}=this;e.length0;let n="always"===this.decimal||e&&"never"!==this.decimal?this.precision:0;const r=e?(0,v.Lf)(t,this.precision):"";return this.focused&&"always"!==this.decimal&&(n=r.length),(0,v.lx)(t,Object.assign(Object.assign({},this.numberFormat),{decimalLimit:n}))}get isNativeValueNotFinished(){const t=this.nativeNumberValue;return t<0?t>this.max:tthis.max?null:n}setCaretAfterComma(){if(!this.nativeFocusableElement)return;const t=this.nativeValue.length-this.precision;this.nativeFocusableElement.setSelectionRange(t,t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.a5,10),i.Y36(i.sBO),i.Y36(k.HO),i.Y36(u.FA))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-input-number"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,S.Li,5),2&t){let t;i.iGM(t=i.CRH())&&(e.polymorpheusValueContent=t)}},viewQuery:function(t,e){if(1&t&&i.Gf(T.yc,5),2&t){let t;i.iGM(t=i.CRH())&&(e.primitiveTextfield=t.first)}},hostBindings:function(t,e){1&t&&i.NdJ("keydown.0",function(t){return e.onZero(t)})},inputs:{min:"min",max:"max",decimal:"decimal",precision:"precision",prefix:"prefix",postfix:"postfix"},features:[i._Bn([(0,u.FT)(t),(0,s.wB)(t)]),i.qOj],ngContentSelectors:V,decls:9,vars:27,consts:[["tuiValueAccessor","",1,"t-textfield",3,"pseudoHover","pseudoFocus","pseudoActive","invalid","readOnly","disabled","textMask","value","prefix","postfix","focusable","valueChange","focusedChange","keydown"],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(i.F$t(H),i.TgZ(0,"tui-primitive-textfield",0),i.NdJ("valueChange",function(t){return e.onValueChange(t)})("focusedChange",function(t){return e.onFocused(t)})("keydown",function(t){return e.onKeyDown(t)}),i.ALo(1,"tuiMapper"),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,R,2,1,"div",1),i.qZA(),i.YNc(5,j,1,0,"ng-container",2),i.ALo(6,"async"),i.YNc(7,B,1,0,"ng-template",null,3,i.W1O)),2&t&&(i.Q6J("pseudoHover",e.pseudoHover)("pseudoFocus",e.computedFocused)("pseudoActive",e.pseudoActive)("invalid",e.computedInvalid)("readOnly",e.readOnly)("disabled",e.computedDisabled)("textMask",i.G7q(1,13,i.qbA(21,U,e.isNegativeAllowed,e.mask,e.decimal,e.precision,e.nativeFocusableElement)))("value",e.computedValue)("prefix",e.prefix)("postfix",e.postfix)("focusable",e.focusable),i.xp6(4),i.Q6J("ngIf",e.polymorpheusValueContent.length),i.xp6(1),i.Q6J("ngIf",i.lcZ(6,19,e.polymorpheusValueContent.changes)))},directives:[T.yc,T.B1,A,N,D.O5,S.Li],pipes:[M.c,D.Ov],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}.t-value-content[_ngcontent-%COMP%]{width:100%}"],changeDetection:0}),(0,r.gn)([(0,h.TH)()],t.prototype,"min",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"max",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"decimal",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"precision",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"prefix",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"postfix",void 0),t})(),Z=(()=>{class t extends P.D1{get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}ngDoCheck(){!this.host.nativeFocusableElement||(this.host.nativeFocusableElement.maxLength=this.host.calculatedMaxLength,this.host.nativeFocusableElement.inputMode=this.host.inputMode)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-input-number"]],features:[i._Bn([(0,k.cp)(t)]),i.qOj]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[D.ez,F,M.I,T.KW,O.cn,I,S.wq]]}),t})();var $=n(75046);function G(t,e){if(1&t){const t=i.EpF();i.ynx(0),i.TgZ(1,"section",2),i.TgZ(2,"button",3),i.NdJ("mousedown",function(e){i.CHM(t);const n=i.oxw(2);return n.onButtonMouseDown(e,n.plusButtonDisabled)})("click",function(){return i.CHM(t),i.oxw(2).increaseValue()}),i.qZA(),i.TgZ(3,"button",4),i.NdJ("mousedown",function(e){i.CHM(t);const n=i.oxw(2);return n.onButtonMouseDown(e,n.minusButtonDisabled)})("click",function(){return i.CHM(t),i.oxw(2).decreaseValue()}),i.qZA(),i.qZA(),i.BQk()}if(2&t){const t=e.ngIf,n=i.oxw(2);i.xp6(2),i.Q6J("icon",n.iconUp)("appearance",n.options.appearance)("title",t[0])("disabled",n.plusButtonDisabled)("focusable",!1),i.xp6(1),i.Q6J("icon",n.iconDown)("appearance",n.options.appearance)("disabled",n.minusButtonDisabled)("focusable",!1)("title",t[1])}}function J(t,e){if(1&t&&(i.ynx(0),i.YNc(1,G,4,10,"ng-container",1),i.ALo(2,"async"),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,t.minusTexts$))}}const Q=["*",[["input"]]],X=["*","input"],W={icons:{up:"tuiIconPlus",down:"tuiIconMinus"},appearance:"textfield",hideButtons:!1,min:0,max:Number.MAX_SAFE_INTEGER,step:1,postfix:""},K=new i.OlP("[TUI_INPUT_COUNT_OPTIONS]",{factory:()=>W}),tt=t=>({provide:K,useValue:Object.assign(Object.assign({},W),t)});let et=(()=>{class t extends s.F9{constructor(t,e,n,r,i,o,s){super(t,e),this.textfieldController=n,this.minusTexts$=r,this.isMobile=i,this.options=o,this.numberFormat=s,this.step=this.options.step,this.min=this.options.min,this.max=this.options.max,this.hideButtons=this.options.hideButtons,this.prefix="",this.postfix=this.options.postfix}getMask(t){return{mask:b({allowNegative:t,decimalSymbol:this.numberFormat.decimalSeparator,thousandSymbol:this.numberFormat.thousandSeparator,autoCorrectDecimalSymbol:C(this.numberFormat)}),guide:!1}}get buttonsHidden(){return this.hideButtons||"table"===this.textfieldController.appearance}get iconUp(){return this.options.icons.up}get iconDown(){return this.options.icons.down}get nativeFocusableElement(){return!this.inputNumber||this.computedDisabled?null:this.inputNumber.nativeFocusableElement}get size(){return this.textfieldController.size}get focused(){return(0,a.V8)(this.nativeFocusableElement)}get minusButtonDisabled(){return!this.interactive||(0,l.Pc)(this.value)&&this.value<=this.min}get plusButtonDisabled(){return!this.interactive||(0,l.Pc)(this.value)&&this.value>=this.max}onButtonMouseDown(t,e=!1){e||!this.nativeFocusableElement||this.isMobile||(t.preventDefault(),this.nativeFocusableElement.focus())}onFocused(t){this.updateFocused(t)}onInputNumberChange(t){this.value=t}onValueChange(t){this.value=x(t,this.numberFormat.decimalSeparator,this.numberFormat.thousandSeparator)}decreaseValue(){this.readOnly||this.safeUpdateValue((this.value||0)-this.step)}increaseValue(){this.readOnly||this.safeUpdateValue((this.value||0)+this.step)}onKeydown(t){switch(t.key){case"ArrowUp":case"Up":this.increaseValue(),t.preventDefault();break;case"ArrowDown":case"Down":this.decreaseValue(),t.preventDefault()}}set nativeValue(t){!this.nativeFocusableElement||(this.nativeFocusableElement.value=t)}safeUpdateValue(t){const e=(0,c.Ki)(t,this.min,this.max);this.value=e,this.nativeValue=this.formatNumber(e)}formatNumber(t){return this.isNotNumber(t)?"":(0,v.lx)(t,this.numberFormat)}isNotNumber(t){return Number.isNaN(t)||!(0,l.Pc)(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Y36(o.a5,10),i.Y36(i.sBO),i.Y36(O.Cs),i.Y36($.mT),i.Y36(u.fL),i.Y36(K),i.Y36(k.HO))},t.\u0275cmp=i.Xpm({type:t,selectors:[["tui-input-count"]],viewQuery:function(t,e){if(1&t&&i.Gf(q,5),2&t){let t;i.iGM(t=i.CRH())&&(e.inputNumber=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size),i.ekj("_hide-buttons",e.buttonsHidden))},inputs:{step:"step",min:"min",max:"max",hideButtons:"hideButtons",prefix:"prefix",postfix:"postfix"},features:[i._Bn([(0,u.FT)(t),(0,s.wB)(t),O.Y0]),i.qOj],ngContentSelectors:X,decls:4,vars:15,consts:[[1,"t-textfield",3,"pseudoFocus","pseudoHover","pseudoInvalid","pseudoActive","focusable","min","max","prefix","postfix","disabled","readOnly","textMask","nativeId","ngModel","ngModelChange","keydown","focusedChange"],[4,"ngIf"],[1,"t-buttons"],["tuiIconButton","","type","button","automation-id","tui-input-count__plus-button","size","s",1,"t-button","t-button_plus",3,"icon","appearance","title","disabled","focusable","mousedown","click"],["tuiIconButton","","type","button","automation-id","tui-input-count__minus-button","size","s",1,"t-button","t-button_minus",3,"icon","appearance","disabled","focusable","title","mousedown","click"]],template:function(t,e){1&t&&(i.F$t(Q),i.TgZ(0,"tui-input-number",0),i.NdJ("ngModelChange",function(t){return e.value=t})("keydown",function(t){return e.onKeydown(t)})("focusedChange",function(t){return e.onFocused(t)}),i.Hsn(1),i.Hsn(2,1,["ngProjectAs","input",5,["input"]]),i.qZA(),i.YNc(3,J,3,3,"ng-container",1)),2&t&&(i.Q6J("pseudoFocus",e.pseudoFocus)("pseudoHover",e.pseudoHover)("pseudoInvalid",e.pseudoInvalid)("pseudoActive",e.pseudoActive)("focusable",e.focusable)("min",e.min)("max",e.max)("prefix",e.prefix)("postfix",e.postfix)("disabled",e.computedDisabled)("readOnly",e.readOnly)("textMask",e.getMask(e.min<0))("nativeId",e.nativeId)("ngModel",e.value),i.xp6(3),i.Q6J("ngIf",!e.buttonsHidden))},directives:[q,Z,N,o.JJ,o.On,D.O5,d.v0],pipes:[D.Ov],styles:["[_nghost-%COMP%]{display:flex;font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);height:var(--tui-height-m);color:var(--tui-text-01);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}[data-size=l][_nghost-%COMP%]{font:var(--tui-font-text-m);height:var(--tui-height-l)}.t-textfield[_ngcontent-%COMP%]{position:relative;border-radius:inherit;text-align:inherit;flex-grow:1;min-width:0}[_nghost-%COMP%]:not(._hide-buttons) .t-textfield[_ngcontent-%COMP%]{border-top-right-radius:0;border-bottom-right-radius:0}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-left:.125rem;height:100%}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{display:flex;width:calc(var(--tui-height-m) * .75);height:calc(50% - .0625rem)}.t-buttons[_ngcontent-%COMP%] .t-button_plus[_ngcontent-%COMP%]{margin-bottom:.125rem;border-radius:0 var(--tui-radius-m) 0 0}.t-buttons[_ngcontent-%COMP%] .t-button_minus[_ngcontent-%COMP%]{border-radius:0 0 var(--tui-radius-m)}[data-size=l][_nghost-%COMP%] .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}"],changeDetection:0}),(0,r.gn)([(0,h.TH)()],t.prototype,"step",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"min",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"max",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"hideButtons",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"prefix",void 0),(0,r.gn)([(0,h.TH)()],t.prototype,"postfix",void 0),(0,r.gn)([h.UM],t.prototype,"getMask",null),t})(),nt=(()=>{class t extends P.D1{onValueChange(t){this.host.onValueChange(t)}ngAfterViewInit(){if(this.host.nativeFocusableElement){const{nativeFocusableElement:t}=this.host;t.autocomplete="off",t.inputMode="numeric",t.maxLength=t.maxLength>-1?t.maxLength:18}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275dir=i.lG2({type:t,selectors:[["tui-input-count"]],features:[i._Bn([(0,k.cp)(t)]),i.qOj]}),t})(),rt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[D.ez,F,o.u5,d.fN,T.KW,O.cn,I,S.wq,Y]]}),t})()},21673:function(t,e,n){"use strict";n.d(e,{K3:function(){return _},wU:function(){return y},Qf:function(){return b}});var r=n(74788),i=n(87862),o=n(221),s=n(76480),a=n(57179),l=n(99434),c=n(23917),u=n(94853),h=n(75111),d=n(79456),p=n(43631),f=n(93213),g=n(12057);const m=["*",[["input"]]],v=["*","input"];let _=(()=>{class t extends s.M${constructor(t,e){super(t,e),this.open=!1}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,a.V8)(this.nativeFocusableElement)||!!this.hostedDropdown&&this.hostedDropdown.focused}get canOpen(){return this.interactive&&!!this.datalist}onValueChange(t){this.value=t,this.open=!0}onActiveZone(t){this.updateFocused(t)}handleOption(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}getFallbackValue(){return""}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}setNativeValue(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(i.a5,10),r.Y36(r.sBO))},t.\u0275cmp=r.Xpm({type:t,selectors:[["tui-input"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,h.gX,5,r.Rgc),2&t){let t;r.iGM(t=r.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(r.Gf(c.o1,5),r.Gf(u.yc,5)),2&t){let t;r.iGM(t=r.CRH())&&(e.hostedDropdown=t.first),r.iGM(t=r.CRH())&&(e.textfield=t.first)}},features:[r._Bn([f.E2,(0,l.FT)(t),(0,d.oE)(t),(0,s.wB)(t)],[f.yn]),r.qOj],ngContentSelectors:v,decls:4,vars:11,consts:[[1,"t-hosted",3,"canOpen","content","open","openChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"pseudoFocus","pseudoHover","invalid","nativeId","readOnly","disabled","focusable","value","valueChange"]],template:function(t,e){1&t&&(r.F$t(m),r.TgZ(0,"tui-hosted-dropdown",0),r.NdJ("openChange",function(t){return e.open=t})("tuiActiveZoneChange",function(t){return e.onActiveZone(t)}),r.TgZ(1,"tui-primitive-textfield",1),r.NdJ("valueChange",function(t){return e.onValueChange(t)}),r.Hsn(2),r.Hsn(3,1,["ngProjectAs","input",5,["input"]]),r.qZA(),r.qZA()),2&t&&(r.Q6J("canOpen",e.canOpen)("content",e.datalist||"")("open",e.open),r.xp6(1),r.Q6J("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("invalid",e.computedInvalid)("nativeId",e.nativeId)("readOnly",e.readOnly)("disabled",e.computedDisabled)("focusable",e.computedFocusable)("value",e.value))},directives:[c.o1,o.e,u.yc,u.B1],styles:["[_nghost-%COMP%]{display:block;border-radius:var(--tui-radius-m);text-align:left}._disabled[_nghost-%COMP%]{pointer-events:none}.t-hosted[_ngcontent-%COMP%]{display:block;border-radius:inherit}.t-textfield[_ngcontent-%COMP%]{border-radius:inherit;text-align:inherit}"],changeDetection:0}),t})(),y=(()=>{class t extends p.D1{onValueChange(t){this.host.onValueChange(t)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.\u0275dir=r.lG2({type:t,selectors:[["tui-input"]],features:[r._Bn([(0,d.cp)(t)]),r.qOj]}),t})(),b=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[g.ez,o.A,u.KW,c.jh]]}),t})()},93213:function(t,e,n){"use strict";n.d(e,{yn:function(){return l},E2:function(){return c}});var r=n(74788),i=n(79456);n(88002);var o=n(98952),s=(n(75046),n(25917),n(54487)),a=n(87862);const l=(0,o.fx)({limitWidth:"fixed",align:"right"}),c={provide:i.sE,deps:[[new r.FiY,new r.PiD,a.JU]],useFactory:s.y}},75046:function(t,e,n){"use strict";n.d(e,{UV:function(){return v},Ys:function(){return b},RZ:function(){return w},ue:function(){return g},mT:function(){return m},WO:function(){return C}});var r=n(74788),i=n(47232),o=n(33770),s=(n(18939),n(27788)),a=n(85648);const l=12,c=9999;new r.OlP("[TUI_DATE_FORMAT]",{factory:()=>"DMY"}),new r.OlP("[TUI_DATE_SEPARATOR]",{factory:()=>"."});class u{constructor(t){this.year=t}static isValidYear(t){return Number.isInteger(t)&&(0,a.wf)(t,0,c+1)}static isLeapYear(t){return t%400==0||t%4==0&&t%100!=0}static getAbsoluteLeapYears(t){return Math.ceil(t/400)+(Math.ceil(t/4)-Math.ceil(t/100))}static lengthBetween(t,e){return e.year-t.year}static normalizeYearPart(t){return(0,a.G1)(t,0,c)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return u.isLeapYear(this.year)}get absoluteLeapYears(){return u.getAbsoluteLeapYears(this.year)}yearBefore({year:t}){return this.year=t}yearAfter({year:t}){return this.year>t}append({year:t=0}){return new u(this.year+t)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toJSON(){return this.formattedYear}}class h extends u{constructor(t,e){super(t),this.month=e}static isValidMonth(t,e){return u.isValidYear(t)&&h.isValidMonthPart(e)}static getMonthDaysCount(t,e){switch(t){case 1:return e?29:28;case 3:case 5:case 8:case 10:return 30;default:return 31}}static currentLocal(){const t=new Date;return new h(t.getFullYear(),t.getMonth())}static currentUtc(){const t=new Date;return new h(t.getUTCFullYear(),t.getUTCMonth())}static lengthBetween(t,e){return e.month+12*e.year-(t.month+12*t.year)}static normalizeMonthPart(t){return(0,a.G1)(t,0,11)}static isValidMonthPart(t){return Number.isInteger(t)&&(0,a.wf)(t,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return h.getMonthDaysCount(this.month,this.isLeapYear)}monthBefore(t){return this.yearBefore(t)||this.yearSame(t)&&this.month=t.month}monthAfter(t){return this.yearAfter(t)||this.yearSame(t)&&this.month>t.month}append({year:t=0,month:e=0}){const n=(this.year+t)*l+this.month+e;return new h(Math.floor(n/l),n%l)}toString(){return`${this.formattedMonthPart}.${this.formattedYear}`}valueOf(){return this.toLocalNativeDate().valueOf()}toJSON(){return`${super.toJSON()}-${this.formattedMonthPart}`}toLocalNativeDate(){return new Date(this.year,this.month)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month))}}class d extends h{constructor(t,e,n){super(t,e),this.day=n}static fromLocalNativeDate(t){return new d(t.getFullYear(),t.getMonth(),t.getDate())}static fromUtcNativeDate(t){return new d(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}static isValidDay(t,e,n){return h.isValidMonth(t,e)&&Number.isInteger(n)&&(0,a.wf)(n,1,h.getMonthDaysCount(e,u.isLeapYear(t))+1)}static currentLocal(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),r=t.getDate();return new d(e,n,r)}static currentUtc(){const t=new Date,e=t.getUTCFullYear(),n=t.getUTCMonth(),r=t.getUTCDate();return new d(e,n,r)}static normalizeOf(t,e,n){const r=u.normalizeYearPart(t),i=h.normalizeMonthPart(e),o=d.normalizeDayPart(n,i,r);return new d(r,i,o)}static lengthBetween(t,e){return Math.round((e.toLocalNativeDate().getTime()-t.toLocalNativeDate().getTime())/864e5)}static parseRawDateString(t,e="DMY"){switch(e){case"YMD":return{day:parseInt(t.slice(8,10),10),month:parseInt(t.slice(5,7),10)-1,year:parseInt(t.slice(0,4),10)};case"MDY":return{day:parseInt(t.slice(3,5),10),month:parseInt(t.slice(0,2),10)-1,year:parseInt(t.slice(6,10),10)};default:return{day:parseInt(t.slice(0,2),10),month:parseInt(t.slice(3,5),10)-1,year:parseInt(t.slice(6,10),10)}}}static normalizeParse(t,e="DMY"){const{day:n,month:r,year:i}=this.parseRawDateString(t,e);return d.normalizeOf(i,r,n)}static jsonParse(t){const{day:e,month:n,year:r}=this.parseRawDateString(t,"YMD");if(!u.isValidYear(r))throw new s.JY(r);if(!h.isValidMonth(r,n))throw new s.AM(n);if(!Number.isInteger(e)||!(0,a.wf)(e,1,h.getMonthDaysCount(n,u.isLeapYear(r))+1))throw new s.I4(e);return new d(r,n,e)}static normalizeDayPart(t,e,n){const r=h.getMonthDaysCount(e,u.isLeapYear(n));return(0,a.G1)(t,1,r)}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const t=this.dayOfWeek(!1);return 6===t||0===t}dayOfWeek(t=!0){const e=t?this.toLocalNativeDate().getDay()-1:this.toLocalNativeDate().getDay();return e<0?6:e}dayBefore(t){return this.monthBefore(t)||this.monthSame(t)&&this.day=t.day}dayAfter(t){return this.monthAfter(t)||this.monthSame(t)&&this.day>t.day}dayLimit(t,e){return null!==t&&this.dayBefore(t)?t:null!==e&&this.dayAfter(e)?e:this}append({year:t=0,month:e=0,day:n=0}){const r=(this.year+t)*l+this.month+e;let i=Math.floor(r/l),o=r%l,s=Math.min(this.day,h.getMonthDaysCount(o,u.isLeapYear(i)))+n;for(;s>h.getMonthDaysCount(o,u.isLeapYear(i));)s-=h.getMonthDaysCount(o,u.isLeapYear(i)),11===o?(i++,o=0):o++;for(;s<1;)0===o?(i--,o=11):o--,s+=h.getMonthDaysCount(o,u.isLeapYear(i));return new d(i,o,s)}getFormattedDay(t,e){const n=this.formattedDayPart,r=this.formattedMonthPart,i=this.formattedYear;switch(t){case"YMD":return`${i}${e}${r}${e}${n}`;case"MDY":return`${r}${e}${n}${e}${i}`;default:return`${n}${e}${r}${e}${i}`}}toString(t="DMY",e="."){return this.getFormattedDay(t,e)}toJSON(){return`${super.toJSON()}-${this.formattedDayPart}`}toLocalNativeDate(){return new Date(this.year,this.month,this.day)}toUtcNativeDate(){return new Date(Date.UTC(this.year,this.month,this.day))}}const p=new d(0,0,1),f=new d(c,11,31);Symbol,new r.OlP("[TUI_CALENDAR_DATE_STREAM]"),new r.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),new r.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),new r.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]"),new r.OlP("[TUI_PROMPT_WORDS]",{factory:(0,i.v)("prompt")}),new r.OlP("[TUI_CANCEL_WORD]",{factory:(0,i.v)("cancel")}),new r.OlP("[TUI_DONE_WORD]",{factory:(0,i.v)("done")});const g=new r.OlP("[TUI_MORE_WORD]",{factory:(0,i.v)("more")}),m=(new r.OlP("[TUI_HIDE_TEXT]",{factory:(0,i.v)("hide")}),new r.OlP("[TUI_SHOW_ALL_TEXT]",{factory:(0,i.v)("showAll")}),new r.OlP("[TUI_OTHER_DATE_TEXT]",{factory:(0,i.v)("otherDate")}),new r.OlP("[TUI_CHOOSE_DAY_OR_RANGE_TEXTS]",{factory:(0,i.v)("mobileCalendarTexts")}),new r.OlP("[TUI_FROM_TO_TEXTS]",{factory:(0,i.v)("range")}),new r.OlP("[TUI_PLUS_MINUS_TEXTS]",{factory:(0,i.v)("countTexts")})),v=(new r.OlP("[TUI_TIME_TEXTS]",{factory:(0,i.v)("time")}),new r.OlP("[TUI_DATE_TEXTS]",{factory:(0,i.v)("dateTexts")}),new r.OlP("[TUI_DIGITAL_INFORMATION_UNITS]",{factory:(0,i.v)("digitalInformationUnits")}),new r.OlP("[TUI_COPY_TEXTS]",{factory:(0,i.v)("copyTexts")})),_=(new r.OlP("[TUI_PASSWORD_TEXTS]",{factory:(0,i.v)("passwordTexts")}),new r.OlP("[TUI_CALENDAR_MONTHS]",{factory:(0,i.v)("shortCalendarMonths")}),new r.OlP("[TUI_FILE_TEXTS]",{factory:(0,i.v)("fileTexts")}),new r.OlP("[TUI_PAGINATION_TEXTS]",{factory:(0,i.v)("pagination")}),new r.OlP("[TUI_INPUT_FILE_TEXTS]",{factory:(0,i.v)("inputFileTexts")}),new r.OlP("[TUI_MULTI_SELECT_TEXTS]",{factory:(0,i.v)("multiSelectTexts")}),new r.OlP("[TUI_COUNTRIES]",{factory:(0,i.v)("countries")}),{icon:({$implicit:t})=>"s"===t?"tuiIconCalendar":"tuiIconCalendarLarge",min:p,max:f,nativePicker:!1}),y=(new r.OlP("[TUI_INPUT_DATE_OPTIONS]",{factory:()=>_}),{stringify:o.yZ,identityMatcher:o.bg,disabledItemHandler:o.Iy}),b=new r.OlP("[TUI_ITEMS_HANDLERS]",{factory:()=>y}),w=(new r.OlP("[TUI_MOBILE_CALENDAR]"),new r.OlP("[TUI_MONTH_FORMATTER]")),C=new r.OlP("[TUI_TAB_MARGIN]",{factory:()=>24});new r.OlP("[TUI_VALIDATION_ERRORS]",{factory:()=>({})})},11557:function(t,e,n){"use strict";n.d(e,{X1:function(){return C},Gt:function(){return w},uX:function(){return b}});var r=n(91211),i=n(74788),o=n(59193),s=n(22416),a=n(41439),l=n(77393);class c{constructor(t,e){this.predicate=t,this.inclusive=e}call(t,e){return e.subscribe(new u(t,this.predicate,this.inclusive))}}class u extends l.L{constructor(t,e,n){super(t),this.predicate=e,this.inclusive=n,this.index=0}_next(t){const e=this.destination;let n;try{n=this.predicate(t,this.index++)}catch(r){return void e.error(r)}this.nextOrComplete(t,n)}nextOrComplete(t,e){const n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())}}class h{supports(t){return t.includes(this.modifier)}addGlobalEventListener(){return()=>{}}unwrap(t){return t.split(".").filter(t=>!this.modifier.includes(t)).join(".")}}let d=(()=>{class t extends h{constructor(){super(...arguments),this.modifier="$"}addEventListener(t,e){t[e]=t[e]||o.E;const n=this.getMethod(t,e),r=this.manager.getZone().onStable,i=(0,s.z)(r.pipe(function(t,e=!1){return n=>n.lift(new c(t,e))}(()=>t[e]===o.E)),(0,a.P)(()=>t[e])).subscribe(n);return()=>i.unsubscribe()}getMethod(t,e){const[,n,r,i=""]=e.split(".");return e.endsWith(".attr")?e=>null===e?t.removeAttribute(n):t.setAttribute(n,String(e)):"class"===n?e=>t.classList.toggle(r,!!e):"style"===n?e=>t.style.setProperty(function(t){return t.replace(/[a-z][A-Z]/g,t=>`${t[0]}-${t[1].toLowerCase()}`)}(r),`${e}${i}`):e=>t[n]=e}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),p=(()=>{class t extends h{constructor(){super(...arguments),this.modifier="capture.once.passive"}supports(t){return t.includes(".")&&!this.unwrap(t).includes(".")}addEventListener(t,e,n){return t.addEventListener(this.unwrap(e),n,{once:e.includes(".once"),passive:e.includes(".passive"),capture:e.includes(".capture")}),()=>t.removeEventListener(this.unwrap(e),n)}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),f=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".prevent"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.preventDefault(),n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),g=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".self"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.target===t.currentTarget&&n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(e,n,r){return t.ngZone=this.manager.getZone(),t.ngZone.runOutsideAngular(()=>this.manager.addEventListener(e,this.unwrap(n),r))}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),v=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".stop"}addEventListener(t,e,n){return this.manager.addEventListener(t,this.unwrap(e),t=>{t.stopPropagation(),n(t)})}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})(),_=(()=>{class t extends h{constructor(){super(...arguments),this.modifier=".init"}addEventListener(){return console.warn(".init plugin is no longer necessary as of v3.1.0"),()=>{}}}return t.\u0275fac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.\u0275prov=i.Yz7({token:t,factory:t.\u0275fac}),t})();const y=[m,d,p,f,g,v,_].map(t=>({provide:r.s3,multi:!0,useClass:t}));function b(t){return(e,n,r)=>{const{value:i}=r;r.value=function(...e){!t.apply(this,e)||(m.ngZone?m.ngZone.run(()=>i.apply(this,e)):i.apply(this,e))}}}function w(t){return t}let C=(()=>{class t{constructor([e]){console.assert(!(e instanceof m)||t.initialized,"EventPluginsModule must come after BrowserModule in imports"),t.initialized=!0}}return t.initialized=!1,t.\u0275fac=function(e){return new(e||t)(i.LFG(r.s3))},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({providers:y}),t})()},89570:function(t,e,n){"use strict";n.d(e,{yf:function(){return i},Al:function(){return o},wq:function(){return h},Li:function(){return l},GL:function(){return s}});var r=n(74788);const i=new r.OlP("POLYMORPHEUS_CONTEXT");class o{constructor(t,e){this.component=t,this.i=e}createInjector(t,e){return r.zs3.create({parent:this.i||t,providers:[{provide:i,useValue:e}]})}}let s=(()=>{class t{constructor(t,e){this.template=t,this.cdr=e,this.polymorpheus=""}check(){this.cdr.markForCheck()}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.Rgc,2),r.Y36(r.sBO))},t.\u0275dir=r.lG2({type:t,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"]}),t})();class a{constructor(t){this.$implicit=t}get polymorpheusOutlet(){return this.$implicit}}let l=(()=>{class t{constructor(t,e,n){this.vcr=t,this.i=e,this.t=n,this.content=""}get template(){return c(this.content)?this.content.template:this.content instanceof r.Rgc?this.content:this.t}ngOnChanges({content:t}){var e;const n=this.getContext();this.v&&(this.v.context=n),null===(e=this.c)||void 0===e||e.injector.get(r.sBO).markForCheck(),t&&(this.vcr.clear(),u(this.content)?this.process(this.content):null!=(n instanceof a&&n.$implicit)&&(this.v=this.vcr.createEmbeddedView(this.template,n)))}ngDoCheck(){c(this.content)&&this.content.check()}static ngTemplateContextGuard(t,e){return!0}getContext(){return function(t){return c(t)||t instanceof r.Rgc}(this.content)||u(this.content)?this.context:new a("function"==typeof this.content?this.content(this.context):this.content)}process(t){const e=t.createInjector(this.i,this.context&&new Proxy(this.context,{get:(t,e)=>{var n;return null===(n=this.context)||void 0===n?void 0:n[e]}}));this.c=this.vcr.createComponent(e.get(r._Vd).resolveComponentFactory(t.component),0,e)}}return t.\u0275fac=function(e){return new(e||t)(r.Y36(r.s_b),r.Y36(r.zs3),r.Y36(r.Rgc))},t.\u0275dir=r.lG2({type:t,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},features:[r.TTD]}),t})();function c(t){return t instanceof s}function u(t){return t instanceof o}let h=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({}),t})()},23358:function(t){t.exports=function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,n){return(e=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,n)}function n(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(v){return!1}}function r(t,i,o){return(r=n()?Reflect.construct:function(t,n,r){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(t,i));return r&&e(o,r.prototype),o}).apply(null,arguments)}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?n-1:0),i=1;i/gm),Y=d(/\${[\w\W]*}/gm),$=d(/^data-[\-\w.\u00B7-\uFFFF]/),G=d(/^aria-[\-\w]+$/),J=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Q=d(/^(?:\w+script|data):/i),X=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),W=d(/^html$/i),K=function(){return"undefined"==typeof window?null:window},tt=function(e,n){if("object"!==t(e)||"function"!=typeof e.createPolicy)return null;var r=null,i="data-tt-policy-suffix";n.currentScript&&n.currentScript.hasAttribute(i)&&(r=n.currentScript.getAttribute(i));var o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(s){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};return function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:K(),r=function(t){return e(t)};if(r.version="2.4.7",r.removed=[],!n||!n.document||9!==n.document.nodeType)return r.isSupported=!1,r;var o=n.document,s=n.document,a=n.DocumentFragment,l=n.HTMLTemplateElement,c=n.Node,u=n.Element,d=n.NodeFilter,p=n.NamedNodeMap,f=void 0===p?n.NamedNodeMap||n.MozNamedAttrMap:p,g=n.HTMLFormElement,m=n.DOMParser,v=n.trustedTypes,S=u.prototype,et=I(S,"cloneNode"),nt=I(S,"nextSibling"),rt=I(S,"childNodes"),it=I(S,"parentNode");if("function"==typeof l){var ot=s.createElement("template");ot.content&&ot.content.ownerDocument&&(s=ot.content.ownerDocument)}var st=tt(v,o),at=st?st.createHTML(""):"",lt=s.implementation,ct=s.createNodeIterator,ut=s.createDocumentFragment,ht=s.getElementsByTagName,dt=o.importNode,pt={};try{pt=A(s).documentMode?s.documentMode:{}}catch(Ie){}var ft={};r.isSupported="function"==typeof it&<&&void 0!==lt.createHTMLDocument&&9!==pt;var gt,mt,vt=q,_t=Z,yt=Y,bt=$,wt=G,Ct=Q,xt=X,Ot=J,kt=null,Pt=E({},[].concat(i(D),i(L),i(N),i(z),i(j))),Tt=null,Mt=E({},[].concat(i(B),i(H),i(U),i(V))),St=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Et=null,At=null,It=!0,Dt=!0,Lt=!1,Nt=!0,Ft=!1,zt=!1,Rt=!1,jt=!1,Bt=!1,Ht=!1,Ut=!1,Vt=!0,qt=!1,Zt="user-content-",Yt=!0,$t=!1,Gt={},Jt=null,Qt=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xt=null,Wt=E({},["audio","video","img","source","image","track"]),Kt=null,te=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ee="http://www.w3.org/1998/Math/MathML",ne="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xhtml",ie=re,oe=!1,se=null,ae=E({},[ee,ne,re],C),le=["application/xhtml+xml","text/html"],ce="text/html",ue=null,he=s.createElement("form"),de=function(t){return t instanceof RegExp||t instanceof Function},pe=function(e){ue&&ue===e||((!e||"object"!==t(e))&&(e={}),e=A(e),gt=gt=-1===le.indexOf(e.PARSER_MEDIA_TYPE)?ce:e.PARSER_MEDIA_TYPE,mt="application/xhtml+xml"===gt?C:w,kt="ALLOWED_TAGS"in e?E({},e.ALLOWED_TAGS,mt):Pt,Tt="ALLOWED_ATTR"in e?E({},e.ALLOWED_ATTR,mt):Mt,se="ALLOWED_NAMESPACES"in e?E({},e.ALLOWED_NAMESPACES,C):ae,Kt="ADD_URI_SAFE_ATTR"in e?E(A(te),e.ADD_URI_SAFE_ATTR,mt):te,Xt="ADD_DATA_URI_TAGS"in e?E(A(Wt),e.ADD_DATA_URI_TAGS,mt):Wt,Jt="FORBID_CONTENTS"in e?E({},e.FORBID_CONTENTS,mt):Qt,Et="FORBID_TAGS"in e?E({},e.FORBID_TAGS,mt):{},At="FORBID_ATTR"in e?E({},e.FORBID_ATTR,mt):{},Gt="USE_PROFILES"in e&&e.USE_PROFILES,It=!1!==e.ALLOW_ARIA_ATTR,Dt=!1!==e.ALLOW_DATA_ATTR,Lt=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Nt=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ft=e.SAFE_FOR_TEMPLATES||!1,zt=e.WHOLE_DOCUMENT||!1,Bt=e.RETURN_DOM||!1,Ht=e.RETURN_DOM_FRAGMENT||!1,Ut=e.RETURN_TRUSTED_TYPE||!1,jt=e.FORCE_BODY||!1,Vt=!1!==e.SANITIZE_DOM,qt=e.SANITIZE_NAMED_PROPS||!1,Yt=!1!==e.KEEP_CONTENT,$t=e.IN_PLACE||!1,Ot=e.ALLOWED_URI_REGEXP||Ot,ie=e.NAMESPACE||re,St=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&de(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(St.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&de(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(St.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(St.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ft&&(Dt=!1),Ht&&(Bt=!0),Gt&&(kt=E({},i(j)),Tt=[],!0===Gt.html&&(E(kt,D),E(Tt,B)),!0===Gt.svg&&(E(kt,L),E(Tt,H),E(Tt,V)),!0===Gt.svgFilters&&(E(kt,N),E(Tt,H),E(Tt,V)),!0===Gt.mathMl&&(E(kt,z),E(Tt,U),E(Tt,V))),e.ADD_TAGS&&(kt===Pt&&(kt=A(kt)),E(kt,e.ADD_TAGS,mt)),e.ADD_ATTR&&(Tt===Mt&&(Tt=A(Tt)),E(Tt,e.ADD_ATTR,mt)),e.ADD_URI_SAFE_ATTR&&E(Kt,e.ADD_URI_SAFE_ATTR,mt),e.FORBID_CONTENTS&&(Jt===Qt&&(Jt=A(Jt)),E(Jt,e.FORBID_CONTENTS,mt)),Yt&&(kt["#text"]=!0),zt&&E(kt,["html","head","body"]),kt.table&&(E(kt,["tbody"]),delete Et.tbody),h&&h(e),ue=e)},fe=E({},["mi","mo","mn","ms","mtext"]),ge=E({},["foreignobject","desc","title","annotation-xml"]),me=E({},["title","style","font","a","script"]),ve=E({},L);E(ve,N),E(ve,F);var _e=E({},z);E(_e,R);var ye=function(t){var e=it(t);(!e||!e.tagName)&&(e={namespaceURI:ie,tagName:"template"});var n=w(t.tagName),r=w(e.tagName);return!!se[t.namespaceURI]&&(t.namespaceURI===ne?e.namespaceURI===re?"svg"===n:e.namespaceURI===ee?"svg"===n&&("annotation-xml"===r||fe[r]):Boolean(ve[n]):t.namespaceURI===ee?e.namespaceURI===re?"math"===n:e.namespaceURI===ne?"math"===n&&ge[r]:Boolean(_e[n]):t.namespaceURI===re?!(e.namespaceURI===ne&&!ge[r]||e.namespaceURI===ee&&!fe[r])&&!_e[n]&&(me[n]||!ve[n]):!("application/xhtml+xml"!==gt||!se[t.namespaceURI]))},be=function(t){b(r.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){try{t.outerHTML=at}catch(n){t.remove()}}},we=function(t,e){try{b(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(n){b(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Tt[t])if(Bt||Ht)try{be(e)}catch(n){}else try{e.setAttribute(t,"")}catch(n){}},Ce=function(t){var e,n;if(jt)t=""+t;else{var r=x(t,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===gt&&ie===re&&(t=''+t+"");var i=st?st.createHTML(t):t;if(ie===re)try{e=(new m).parseFromString(i,gt)}catch(a){}if(!e||!e.documentElement){e=lt.createDocument(ie,"template",null);try{e.documentElement.innerHTML=oe?at:i}catch(a){}}var o=e.body||e.documentElement;return t&&n&&o.insertBefore(s.createTextNode(n),o.childNodes[0]||null),ie===re?ht.call(e,zt?"html":"body")[0]:zt?e.documentElement:o},xe=function(t){return ct.call(t.ownerDocument||t,t,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},Oe=function(t){return t instanceof g&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof f)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ke=function(e){return"object"===t(c)?e instanceof c:e&&"object"===t(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Pe=function(t,e,n){!ft[t]||_(ft[t],function(t){t.call(r,e,n,ue)})},Te=function(t){var e;if(Pe("beforeSanitizeElements",t,null),Oe(t)||T(/[\u0080-\uFFFF]/,t.nodeName))return be(t),!0;var n=mt(t.nodeName);if(Pe("uponSanitizeElement",t,{tagName:n,allowedTags:kt}),t.hasChildNodes()&&!ke(t.firstElementChild)&&(!ke(t.content)||!ke(t.content.firstElementChild))&&T(/<[/\w]/g,t.innerHTML)&&T(/<[/\w]/g,t.textContent)||"select"===n&&T(/