diff --git a/next/index.html b/next/index.html index ac7dea411..2723259fb 100644 --- a/next/index.html +++ b/next/index.html @@ -20,5 +20,5 @@ - + diff --git a/next/main.32127e0271ad4855.js b/next/main.b535f8e44f6aa7ac.js similarity index 99% rename from next/main.32127e0271ad4855.js rename to next/main.b535f8e44f6aa7ac.js index e394aebb3..99ab3732a 100644 --- a/next/main.32127e0271ad4855.js +++ b/next/main.b535f8e44f6aa7ac.js @@ -1 +1 @@ -(self.webpackChunkeditor_demo=self.webpackChunkeditor_demo||[]).push([[179],{7618:(t,e,n)=>{function i(t){const{anchorOffset:e=0,focusOffset:n=0}=t.ownerDocument.getSelection()||{};return[Math.min(e,n),Math.max(e,n)]}n.d(e,{A_:()=>s,C8:()=>O,CV:()=>k,fD:()=>m,gI:()=>o});class r{constructor(t){this.element=t,this.maxLength=1/0}get value(){return this.element.innerText.replace(/\n\n$/,"\n")}set value(t){this.element.innerHTML=t.replace(/\n$/,"\n\n")}get selectionStart(){return i(this.element)[0]}get selectionEnd(){return i(this.element)[1]}setSelectionRange(t,e){!function(t,[e,n]){var i,r;const o=t.ownerDocument,s=o.createRange();s.setStart(t.firstChild||t,Math.min(e,(null===(i=t.textContent)||void 0===i?void 0:i.length)||0)),s.setEnd(t.lastChild||t,Math.min(n,(null===(r=t.textContent)||void 0===r?void 0:r.length)||0));const a=o.getSelection();a&&(a.removeAllRanges(),a.addRange(s))}(this.element,[t||0,e||0])}select(){this.setSelectionRange(0,this.value.length)}}const o=t=>t.isContentEditable?function(t){const e=new r(t);return new Proxy(t,{get(t,n){if(n in e)return e[n];const i=t[n];return"function"==typeof i?i.bind(t):i},set:(t,n,i,r)=>Reflect.set(n in e?e:t,n,i,r)})}(t):t.querySelector("input,textarea")||t,s={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class a{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}redo(){const t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}updateHistory(t){if(!this.now)return void(this.now=t);const e=this.now.value!==t.value,n=this.now.selection.some(((e,n)=>e!==t.selection[n]));(e||n)&&(e&&(this.past.push(this.now),this.future=[]),this.now=t)}updateElement(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}function l(t){return"string"==typeof t}function c(t,e,n,i){let r="";for(let o=e.length;o{const i=e[n];return l(i)?t===i:t.match(i)})):e.test(t)}function h(t,e,n=null){if(u(t.value,e))return t;const{value:i,selection:r}=Array.isArray(e)?function(t,e,n){let i=null,r=null;const o=Array.from(t.value).reduce(((o,s,a)=>{const u=o+c(e,o,s,n),h=e[u.length];return l(h)?u+h:s.match(h)?(null===i&&a>=t.selection[0]&&(i=u.length),null===r&&a>=t.selection[1]&&(r=u.length),u+s):u}),""),s=c(e,o,"",n);return{value:u(o+s,e)?o+s:o,selection:[null!=i?i:o.length,null!=r?r:o.length]}}(t,e,n):function({value:t,selection:e},n){const[i,r]=e;let o=i,s=r;return{value:Array.from(t).reduce(((t,e,a)=>{const l=t+e;return i===a&&(o=t.length),r===a&&(s=t.length),l.match(n)?l:t}),""),selection:[o,s]}}(t,e);return{selection:r,value:Array.isArray(e)?i.slice(0,e.length):i}}function d(t,e){if(!Array.isArray(e))return t;const[n,i]=t.selection,r=[],o=Array.from(t.value).reduce(((t,o,s)=>{const a=e[s];return s===n&&r.push(t.length),s===i&&r.push(t.length),l(a)&&a===o?t:t+o}),"");return r.length<2&&r.push(...new Array(2-r.length).fill(o.length)),{value:o,selection:[r[0],r[1]]}}class p{constructor(t,e){this.initialElementState=t,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:n,selection:i}=h(this.initialElementState,this.getMaskExpression(this.initialElementState));this.value=n,this.selection=i}addCharacters([t,e],n){const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,t)+n+i.slice(e),selection:[t+n.length,t+n.length]}),o={value:i,selection:[t,e]},s=d(o,r),[a,l]=function({value:t,selection:e},n,i){const[r,o]=e;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:e}):i)?[r,r+n.length]:[r,o]}}(s,n,this.maskOptions.overwriteMode).selection,c=s.value.slice(0,a)+n,u=c.length,p=h({value:c+s.value.slice(l),selection:[u,u]},r,o);if(i.slice(0,a)===h({value:c,selection:[u,u]},r,o).value||function(t,...e){return e.every((({value:e,selection:n})=>e===t.value&&n[0]===t.selection[0]&&n[1]===t.selection[1]))}(this,p))throw new Error("Invalid mask value");this.value=p.value,this.selection=p.selection}deleteCharacters([t,e]){if(t===e||!e)return;const{value:n}=this,i=this.getMaskExpression({value:n.slice(0,t)+n.slice(e),selection:[t,t]}),r={value:n,selection:[t,e]},o=d(r,i),[s,a]=o.selection,l=h({value:o.value.slice(0,s)+o.value.slice(a),selection:[s,s]},i,r);this.value=l.value,this.selection=l.selection}getMaskExpression(t){const{mask:e}=this.maskOptions;return"function"==typeof e?e(t):e}}class f{constructor(t){this.element=t,this.listeners=[]}listen(t,e,n){const i=e;this.element.addEventListener(t,i,n),this.listeners.push((()=>this.element.removeEventListener(t,i)))}destroy(){this.listeners.forEach((t=>t()))}}function g(t,e,n){return t.ctrlKey===!!(1&e)&&t.altKey===!!(2&e)&&t.shiftKey===!!(4&e)&&t.metaKey===!!(8&e)&&t.keyCode===n}function m(t,e){var n;const i=t.value;if("string"==typeof e)t.value=e;else{const[i,r]=e.selection;t.value=e.value,t.matches(":focus")&&(null===(n=t.setSelectionRange)||void 0===n||n.call(t,i,r))}t.value!==i&&t.dispatchEvent(new Event("input",{bubbles:!0}))}function v({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];const o=n?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[n?i:o,n?o:r]}function y({value:t,selection:e},n){const[i,r]=e;return i!==r?[i,r]:(n?[i,r+1]:[i-1,r]).map((e=>Math.min(Math.max(e,0),t.length)))}const b=/\s+$/g,_=/^\s+/g,w=/\s/;function x({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];if(n){const e=t.slice(i),[n]=e.match(_)||[""],r=e.trimStart().search(w);return[i,-1!==r?i+n.length+r:t.length]}const o=t.slice(0,r),[s]=o.match(b)||[""],a=o.trimEnd().split("").reverse().findIndex((t=>t.match(w)));return[-1!==a?r-s.length-a:0,r]}function C(t=[]){return(e,...n)=>t.reduce(((t,e)=>Object.assign(Object.assign({},t),e(t,...n))),e)}function k(t,e){const n=Object.assign(Object.assign({},s),e),i=C(n.preprocessors),r=C(n.postprocessors),o="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:a}=i({elementState:o,data:""},"validation"),l=new p(a,n),{value:c,selection:u}=r(l,o);return"string"==typeof t?c:{value:c,selection:u}}class O extends a{constructor(t,e){super(),this.element=t,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new f(this.element),this.options=Object.assign(Object.assign({},s),this.maskitoOptions),this.preprocessor=C(this.options.preprocessors),this.postprocessor=C(this.options.postprocessors),this.teardowns=this.options.plugins.map((t=>t(this.element,this.options))),this.updateHistory(this.elementState),this.eventListener.listen("keydown",(t=>function(t){return g(t,1,89)||g(t,5,90)||g(t,12,90)}(t)?(t.preventDefault(),this.redo()):function(t){return g(t,1,90)||g(t,8,90)}(t)?(t.preventDefault(),this.undo()):void 0)),this.eventListener.listen("beforeinput",(t=>{var e;const n=t.inputType.includes("Forward");switch(this.updateHistory(this.elementState),t.inputType){case"historyUndo":return t.preventDefault(),this.undo();case"historyRedo":return t.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:t,isForward:n,selection:y(this.elementState,n)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:t,isForward:n,selection:x(this.elementState,n),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:t,isForward:n,selection:v(this.elementState,n),force:!0});case"insertCompositionText":case"insertReplacementText":return;case"insertLineBreak":case"insertParagraph":return this.handleEnter(t);default:return this.handleInsert(t,t.data||(null===(e=t.dataTransfer)||void 0===e?void 0:e.getData("text/plain"))||"")}})),this.eventListener.listen("input",(({inputType:t})=>{"insertCompositionText"!==t&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))})),this.eventListener.listen("compositionend",(()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)}))}get elementState(){const{value:t,selectionStart:e,selectionEnd:n}=this.element;return{value:t,selection:[e||0,n||0]}}get maxLength(){const{maxLength:t}=this.element;return-1===t?1/0:t}destroy(){this.eventListener.destroy(),this.teardowns.forEach((t=>null==t?void 0:t()))}updateElementState({value:t,selection:e},n={inputType:"insertText",data:null}){const i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(e),i!==t&&this.dispatchInputEvent(n)}updateSelectionRange([t,e]){var n;const{element:i}=this;!i.matches(":focus")||i.selectionStart===t&&i.selectionEnd===e||null===(n=i.setSelectionRange)||void 0===n||n.call(i,t,e)}updateValue(t){this.element.value=t}ensureValueFitsMask(){this.updateElementState(k(this.elementState,this.options))}dispatchInputEvent(t={inputType:"insertText",data:null}){globalThis.InputEvent&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}handleDelete({event:t,selection:e,isForward:n,force:i=!1}){const r={value:this.elementState.value,selection:e},[o,s]=r.selection,{elementState:a}=this.preprocessor({elementState:r,data:""},n?"deleteForward":"deleteBackward"),l=new p(a,this.options),[c,u]=a.selection;l.deleteCharacters([c,u]);const h=this.postprocessor(l,r);if(r.value.slice(0,o)+r.value.slice(s)!==h.value||i||this.element.isContentEditable){if(t.preventDefault(),function(t,...e){return e.every((({value:e})=>e===t.value))}(r,a,l,h))return this.updateSelectionRange(n?[u,u]:[c,c]);this.updateElementState(h,{inputType:t.inputType,data:null}),this.updateHistory(h)}}handleInsert(t,e){const n=this.elementState,{elementState:i,data:r=e}=this.preprocessor({data:e,elementState:n},"insert"),o=new p(i,this.options);try{o.addCharacters(i.selection,r)}catch(e){return t.preventDefault()}const[s,a]=i.selection,l=n.value.slice(0,s)+e+n.value.slice(a),c=this.postprocessor(o,n);if(c.value.length>this.maxLength)return t.preventDefault();(l!==c.value||this.element.isContentEditable)&&(t.preventDefault(),this.updateElementState(c,{data:e,inputType:t.inputType}),this.updateHistory(c))}handleEnter(t){(this.isTextArea||this.element.isContentEditable)&&this.handleInsert(t,"\n")}}},11262:(t,e,n)=>{n.d(e,{H$:()=>yt,f8:()=>Rt,jX:()=>J,n9:()=>st,nQ:()=>K,rC:()=>jt,tr:()=>nt,vZ:()=>xt});var i=n(7618);function r(t,e,n){const i=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(i):i}function o(t){return t.replaceAll(/\W/g,"").length}function s(t,{day:e,month:n,year:i}={}){const r=new Date(t);return e&&r.setDate(r.getDate()+e),n&&r.setMonth(r.getMonth()+n),i&&r.setFullYear(r.getFullYear()+i),r}const a=t=>{var e,n,i;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}};function l(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function c(t,e){return!(t.length!t.match(/^0+$/)))}function u(t,e,n){const i=o(e);return t.replace(n,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${i}}`,"g"))||[]}function h(t,e){const n=e.replaceAll(/[^dmy]/g,""),i=t.replaceAll(/\D+/g,""),r={day:i.slice(n.indexOf("d"),n.lastIndexOf("d")+1),month:i.slice(n.indexOf("m"),n.lastIndexOf("m")+1),year:i.slice(n.indexOf("y"),n.lastIndexOf("y")+1)};return Object.fromEntries(Object.entries(r).filter((([t,e])=>Boolean(e))).sort((([t],[n])=>e.toLowerCase().indexOf(t[0])>e.toLowerCase().indexOf(n[0])?1:-1)))}function d(t,e){var n,i,r,o,s,a,l;const c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?`20${t.year}`:t.year,u=new Date(Number(null!=c?c:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(s=null==e?void 0:e.minutes)&&void 0!==s?s:"0"),Number(null!==(a=null==e?void 0:e.seconds)&&void 0!==a?a:"0"),Number(null!==(l=null==e?void 0:e.milliseconds)&&void 0!==l?l:"0"));return u.setFullYear(Number(null!=c?c:"0")),u}const p=", ";function f({day:t,month:e,year:n,hours:i,minutes:r,seconds:o,milliseconds:s},{dateMode:a,dateTimeSeparator:l=p,timeMode:c}){var u;const h=2===(null===(u=a.match(/y/g))||void 0===u?void 0:u.length)?null==n?void 0:n.slice(-2):n;return(a+(c?l+c:"")).replaceAll(/d+/g,null!=t?t:"").replaceAll(/m+/g,null!=e?e:"").replaceAll(/y+/g,null!=h?h:"").replaceAll(/H+/g,null!=i?i:"").replaceAll("MSS",null!=s?s:"").replaceAll(/M+/g,null!=r?r:"").replaceAll(/S+/g,null!=o?o:"").replaceAll(/^\D+/g,"").replaceAll(/\D+$/g,"")}const g={day:31,month:12,year:9999},m=[".",",","б","ю"],v=new Date("0001-01-01"),y=new Date("9999-12-31"),b={hours:23,minutes:59,seconds:59,milliseconds:999},_=[":","."],w={hours:2,minutes:2,seconds:2,milliseconds:3},x=" ",C="​",k="–",O="—",M="-",S="−",A="ー",P=":",E=":";function T({dateString:t,dateModeTemplate:e,dateSegmentsSeparator:n,offset:i,selection:[r,o]}){const s=h(t,e),l=Object.entries(s),c={};for(const[t,s]of l){const l=f(c,{dateMode:e}),u=g[t],h=l.length&&n.length,d=i+l.length+h+a(e)[t],p=d>=r&&d===o;if(p&&Number(s)>Number(u))return{validatedDateString:"",updatedSelection:[r,o]};if(p&&Number(s)<1)return{validatedDateString:"",updatedSelection:[r,o]};c[t]=s}const u=f(c,{dateMode:e}),d=u.length-t.length;return{validatedDateString:u,updatedSelection:[r+d,o+d]}}const I=/[\\^$.*+?()[\]{}|]/g,D=new RegExp(I.source);function z(t){return t&&D.test(t)?t.replaceAll(I,"\\$&"):t}function N(t,{prefix:e,postfix:n}){var i,r;const o=new RegExp(`^${z(e)}`),s=new RegExp(`${z(n)}$`),[a=""]=null!==(i=t.match(o))&&void 0!==i?i:[],[l=""]=null!==(r=t.match(s))&&void 0!==r?r:[];return{extractedPrefix:a,extractedPostfix:l,cleanValue:t.replace(o,"").replace(s,"")}}function F(t){return t}function L(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function R(t,e,n=0){return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?R(`0${t.slice(0,e.length-1)}`,e,n+1):R(`${t.slice(0,e.length-1)}0`,e,n)}function B(t){return t.replaceAll(new RegExp(E,"g"),P)}function j(t){return t.replaceAll(/[0-9]/g,(t=>String.fromCharCode(t.charCodeAt(0)-65248)))}function H(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:B(n)},data:B(e)}}}function V({dateModeTemplate:t,dateSegmentSeparator:e,splitFn:n,uniteFn:i}){return({value:r,selection:o})=>{var s;const[a,l]=o,{dateStrings:c,restPart:u=""}=n(r),d=[];let p=0;c.forEach((e=>{const n=h(e,t),i=Object.entries(n).reduce(((t,[e,n])=>{const{validatedSegmentValue:i,prefixedZeroesCount:r}=R(n,`${g[e]}`);return p+=r,Object.assign(Object.assign({},t),{[e]:i})}),{});d.push(f(i,{dateMode:t}))}));const m=i(d,r)+((null===(s=c[c.length-1])||void 0===s?void 0:s.endsWith(e))?e:"")+u;return p&&m.slice(l+p,l+p+e.length)===e&&(p+=e.length),{selection:[a+p,l+p],value:m}}}function $({dateModeTemplate:t,firstDateEndSeparator:e,dateSegmentSeparator:n,pseudoFirstDateEndSeparators:i}){return({elementState:r,data:s})=>{const{value:a,selection:l}=r,c=function(t,e){const n=o(e),[i=""]=t.match(new RegExp(`(\\D*\\d){${n}}`))||[];return i}(a,t),u=i.filter((t=>!e.includes(t)&&t!==n)),h=new RegExp(`[${u.join("")}]`,"gi");return{elementState:{selection:l,value:c&&a.length>c.length?c+a.slice(c.length).replace(/^[\D\s]*/,e):a},data:s.replace(h,e)}}}function q(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:j(n)},data:j(e)}}}function Z(t,e){const n=a(e);return Object.fromEntries(Object.entries(t).map((([t,e])=>{const i=n[t];return[t,e.length===i&&e.match(/^0+$/)?"1".padStart(i,"0"):e]})))}function U({dateModeTemplate:t,min:e=v,max:n=y,rangeSeparator:i="",dateSegmentSeparator:o="."}){return({value:s,selection:a})=>{const p=i&&s.endsWith(i),g=u(s,t,i);let m="";for(const s of g){m+=m?i:"";const a=h(s,t);c(s,t)?m+=f(l(r(d(a),e,n)),{dateMode:t}):m+=f(Z(a,t),{dateMode:t})+(s.endsWith(o)?o:"")}return{selection:a,value:m+(p?i:"")}}}function G({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n="",dateTimeSeparator:i=p}){return({elementState:r,data:o})=>{const s=n?new RegExp(`${n}|-`):i,a=o.split(s),l=o.includes(i)?[a[0]]:a;if(l.every((n=>n.trim().split(/\D/).filter(Boolean).length===t.split(e).length))){const s=l.map((n=>function(t,e,n){const i=t.split(/\D/).filter(Boolean),r=e.split(n);return i.map(((t,e)=>e===r.length-1?t:t.padStart(r[e].length,"0"))).join(n)}(n,t,e))).join(n);return{elementState:r,data:`${s}${o.includes(i)&&i+a[1]||""}`}}return{elementState:r,data:o}}}function Q(t){const e=new RegExp(`${z(t)}$`);return t?({value:n,selection:i},r)=>{if(!n&&!r.value.endsWith(t))return{value:n,selection:i};if(!n.endsWith(t)&&!r.value.endsWith(t))return{selection:i,value:n+t};const o=r.value.replace(e,""),s=r.selection[1]>=o.length,a=function(t,e){let n="";for(let i=0;i{const i=t.length-1-n,r=a[i]===e&&s;return t[i]!==e||r?t.slice(0,i+1)+e+t.slice(i+1):t}),n)}}:F}function J(t){return t?({value:e,selection:n},i)=>{if(e.startsWith(t)||!e&&!i.value.startsWith(t))return{value:e,selection:n};const[r,o]=n,s=Array.from(t).reduce(((t,e,n)=>t[n]===e?t:t.slice(0,n)+e+t.slice(n)),e),a=s.length-e.length;return{selection:[r+a,o+a],value:s}}:F}function Y({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};const a=r.replaceAll(new RegExp(`[^\\d${z(e)}${n}]`,"g"),"");if(!a)return{elementState:i,data:""};const[l,c]=s;let h=c+r.length;const d=o.slice(0,l)+a+o.slice(h),p=u(d,t,n);let f="";const g=Boolean(n)&&d.includes(n);for(const r of p){const{validatedDateString:o,updatedSelection:s}=T({dateString:r,dateModeTemplate:t,dateSegmentsSeparator:e,offset:f.length,selection:[l,h]});if(r&&!o)return{elementState:i,data:""};h=s[1],f+=g&&!f?o+n:o}const m=f.slice(l,h);return{elementState:{selection:s,value:f.slice(0,l)+m.split(e).map((t=>"0".repeat(t.length))).join(e)+f.slice(h)},data:m}}}function W(t,e,n){return(i,r)=>{const o=()=>e(i,r);return i.addEventListener(t,o,n),()=>i.removeEventListener(t,o,n)}}function K(t){return e=>{const n=e.ownerDocument;let i=0;const o=()=>i++,s=()=>{i=Math.max(--i,0)},a=()=>{if(!e.matches(":focus"))return;if(i)return n.addEventListener("mouseup",a,{once:!0,passive:!0});const o=e.selectionStart||0,s=e.selectionEnd||0,[l,c]=t(e.value,[o,s]);(l>o||c{n.removeEventListener("selectionchange",a),n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",s)}}}const X=()=>{};function tt({step:t,fullMode:e,timeSegmentMaxValues:n}){const r=function(t){return new Map([["hours",et(t,"HH")],["minutes",et(t,"MM")],["seconds",et(t,"SS")],["milliseconds",et(t,"MSS")]])}(e);return t<=0?X:e=>{const o=o=>{if("ArrowUp"!==o.key&&"ArrowDown"!==o.key)return;o.preventDefault();const s=e.selectionStart||0,a=function({segmentsIndexes:t,selectionStart:e}){for(const[n,i]of t.entries()){const[t,r]=i;if(t<=e&&e<=r)return n}return null}({segmentsIndexes:r,selectionStart:s});if(!a)return;const l=function({selection:t,value:e,toAdd:n,max:i}){const[r,o]=t,s=function(t,e){return t<0&&(t+=Math.floor(Math.abs(t)/e+1)*e),t%e}(Number(e.slice(r,o).padEnd(o-r,"0"))+n,i+1);return e.slice(0,r)+String(s).padStart(o-r,"0")+e.slice(o,e.length)}({selection:r.get(a),value:e.value,toAdd:"ArrowUp"===o.key?t:-t,max:n[a]});(0,i.fD)(e,{value:l,selection:[s,s]})};return e.addEventListener("keydown",o),()=>e.removeEventListener("keydown",o)}}function et(t,e){const n=t.indexOf(e);return-1===n?[-1,-1]:[n,n+e.length]}function nt({mode:t,separator:e=".",max:n,min:r}){const o=t.split("/").join(e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(o).map((t=>e.includes(t)?t:/\d/)),overwriteMode:"replace",preprocessors:[q(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:o,dateSegmentsSeparator:e}),Y({dateModeTemplate:o,dateSegmentsSeparator:e})],postprocessors:[V({dateModeTemplate:o,dateSegmentSeparator:e,splitFn:t=>({dateStrings:[t]}),uniteFn:([t])=>t}),U({min:r,max:n,dateModeTemplate:o,dateSegmentSeparator:e})]})}const it=[M,k,O,S,A];function rt({dateModeTemplate:t,rangeSeparator:e,minLength:n,maxLength:i,max:o=y}){return L(n)&&L(i)?F:({value:a,selection:p})=>{const g=u(a,t,e);if(2!==g.length||g.some((e=>!c(e,t))))return{value:a,selection:p};const[m,v]=g.map((e=>d(h(e,t)))),y=s(m,Object.assign(Object.assign({},n),{day:(null==n?void 0:n.day)&&n.day-1})),b=L(i)?o:s(m,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),_=r(v,y,o),w=_>b?b:_;return{selection:p,value:g[0]+e+f(l(w),{dateMode:t})}}}function ot({dateModeTemplate:t,rangeSeparator:e}){return({value:n,selection:i})=>{const r=u(n,t,e),o=2===r.length&&r.every((e=>c(e,t))),[s,a]=i,l=s>=n.length,p=0===s&&a>=n.length;if(!l&&!p||!o)return{value:n,selection:i};const[f,g]=r.map((e=>d(h(e,t))));return{selection:i,value:f>g?r.reverse().join(e):n}}}function st({mode:t,min:e,max:n,minLength:r,maxLength:o,dateSeparator:s=".",rangeSeparator:a=`${x}${k}${x}`}){const l=t.split("/").join(s),c=Array.from(l).map((t=>s.includes(t)?t:/\d/));return Object.assign(Object.assign({},i.A_),{mask:[...c,...Array.from(a),...c],overwriteMode:"replace",preprocessors:[q(),$({dateModeTemplate:l,dateSegmentSeparator:s,firstDateEndSeparator:a,pseudoFirstDateEndSeparators:it}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s}),Y({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:s,splitFn:t=>({dateStrings:u(t,l,a)}),uniteFn:(t,e)=>t.reduce(((t,n,i)=>t+n+(!i&&e.includes(a)?a:"")),"")}),U({min:e,max:n,dateModeTemplate:l,rangeSeparator:a,dateSegmentSeparator:s}),rt({dateModeTemplate:l,minLength:r,maxLength:o,max:n,rangeSeparator:a}),ot({dateModeTemplate:l,rangeSeparator:a})]})}function at(t){return Object.fromEntries(Object.entries(t).map((([t,e])=>[t,`${e}`.padEnd(w[t],"0")])))}const lt={HH:"hours",MM:"minutes",SS:"seconds",MSS:"milliseconds"};function ct(t,e){const n=t.replaceAll(/\D+/g,"");let i=0;return Object.fromEntries(e.split(/\W/).map((t=>{const e=n.slice(i,i+t.length);return i+=t.length,[lt[t],e]})))}const ut=/^\D*/,ht=/\D*$/;function dt({hours:t="",minutes:e="",seconds:n="",milliseconds:i=""}){return`${t}:${e}:${n}.${i}`.replace(ut,"").replace(ht,"")}const pt=new RegExp(`[${_.map(z).join("")}]$`);function ft({timeString:t,paddedMaxValues:e,offset:n,selection:[i,r],timeMode:o}){const s=ct(t,o),a=Object.entries(s),l={};let c=0;for(const[t,o]of a){const s=dt(l),a=e[t],u=s.length&&1,h=n+s.length+u+w[t];if(h>=i&&h<=r&&Number(o)>Number(a))return{validatedTimeString:"",updatedTimeSelection:[i,r]};const{validatedSegmentValue:d,prefixedZeroesCount:p}=R(o,`${a}`);c+=p,l[t]=d}const[u=""]=t.match(pt)||[],h=dt(l)+u,d=Math.max(h.length-t.length,0);return{validatedTimeString:h,updatedTimeSelection:[i+c+d,r+c+d]}}function gt(t,{dateModeTemplate:e,dateTimeSeparator:n}){const i=t.includes(n);return[t.slice(0,e.length),t.slice(i?e.length+n.length:e.length)]}function mt({dateModeTemplate:t,timeMode:e,min:n=v,max:i=y,dateTimeSeparator:o}){return({value:s,selection:a})=>{const[u,g]=gt(s,{dateModeTemplate:t,dateTimeSeparator:o}),m=h(u,t),v=ct(g,e);if(!function(t,{dateMode:e,timeMode:n,dateTimeSeparator:i=p}){return t.length>=e.length+n.length+i.length&&t.split(i)[0].split(/\D/).every((t=>!t.match(/^0+$/)))}(s,{dateMode:t,timeMode:e,dateTimeSeparator:o})){const h=Z(m,t),{year:p,month:g,day:y}=c(u,t)?l(r(d(h),n,i)):h,b=f(Object.assign({year:p,month:g,day:y},v),{dateMode:t,dateTimeSeparator:o,timeMode:e});return{selection:a,value:b+s.slice(b.length)}}return{selection:a,value:f(l(r(d(m,v),n,i)),{dateMode:t,dateTimeSeparator:o,timeMode:e})}}}function vt({dateModeTemplate:t,dateSegmentsSeparator:e,dateTimeSeparator:n,timeMode:i}){const r=new RegExp(`[^\\d${_.map(z).join("")}${z(e)}]+`);return({elementState:o,data:s})=>{const{value:a,selection:l}=o;if(s===e)return{elementState:o,data:l[0]===a.length?s:""};const c=s.replace(r,"");if(!c)return{elementState:o,data:""};const[u,h]=l;let d=h+s.length;const p=a.slice(0,u)+c+a.slice(d),[f,g]=gt(p,{dateModeTemplate:t,dateTimeSeparator:n});let m="";const v=p.includes(n),{validatedDateString:y,updatedSelection:_}=T({dateString:f,dateSegmentsSeparator:e,dateModeTemplate:t,offset:0,selection:[u,d]});if(f&&!y)return{elementState:o,data:""};d=_[1],m+=y;const w=at(b),{validatedTimeString:x,updatedTimeSelection:C}=ft({timeString:g,paddedMaxValues:w,offset:m.length+n.length,selection:[u,d],timeMode:i});if(g&&!x)return{elementState:o,data:""};d=C[1],m+=v?n+x:x;const k=m.slice(u,d);return{elementState:{selection:l,value:m.slice(0,u)+k.split(e).map((t=>"0".repeat(t.length))).join(e)+m.slice(d)},data:k}}}function yt({dateMode:t,timeMode:e,dateSeparator:n=".",min:r,max:o,dateTimeSeparator:s=p,timeStep:a=0}){const l=t.split("/").join(n);return Object.assign(Object.assign({},i.A_),{mask:[...Array.from(l).map((t=>n.includes(t)?t:/\d/)),...s.split(""),...Array.from(e).map((t=>_.includes(t)?t:/\d/))],overwriteMode:"replace",preprocessors:[q(),H(),$({dateModeTemplate:l,dateSegmentSeparator:n,firstDateEndSeparator:s,pseudoFirstDateEndSeparators:s.split("")}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s}),vt({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s,timeMode:e})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:n,splitFn:t=>{const[e,n]=gt(t,{dateModeTemplate:l,dateTimeSeparator:s});return{dateStrings:[e],restPart:n}},uniteFn:([t],e)=>t+(e.includes(s)?s:"")}),mt({min:r,max:o,dateModeTemplate:l,timeMode:e,dateTimeSeparator:s})],plugins:[tt({step:a,fullMode:`${l}${s}${e}`,timeSegmentMaxValues:b})]})}function bt({prefix:t,postfix:e}){return({elementState:n,data:i})=>{const{cleanValue:r}=N(i,{prefix:t,postfix:e});return{elementState:n,data:r}}}function _t({decimalSeparator:t,isNegativeAllowed:e,precision:n,thousandSeparator:i,prefix:r,postfix:o,decimalPseudoSeparators:s=[],pseudoMinuses:a=[],minusSign:l}){const c=wt(r),u="\\d",h=e?`[${l}${a.map((t=>`\\${t}`)).join("")}]?`:"",d=i?`[${u}${z(i).replaceAll(/\s/g,"\\s")}]*`:`[${u}]*`,p=n>0?`([${z(t)}${s.map(z).join("")}]${u}{0,${Number.isFinite(n)?n:""}})?`:"",f=wt(o);return new RegExp(`^${c}${h}${d}${p}${f}$`)}function wt(t){return t?`${t.split("").map((t=>`${z(t)}?`)).join("")}`:""}function xt(t,e="."){const n=!!t.match(new RegExp(`^\\D*[${S}\\${M}${k}${O}${A}]`)),i=z(e),r=t.replaceAll(new RegExp(`${i}(?!\\d)`,"g"),"").replaceAll(new RegExp(`[^\\d${i}]`,"g"),"").replace(e,".");return r?Number((n?M:"")+r):NaN}function Ct(t,{decimalSeparator:e,thousandSeparator:n}){const[i="",r=""]=t.split(e),[,o="",s=""]=i.match(new RegExp(`([^\\d${z(n)}]+)?(.*)`))||[];return{minus:o,integerPart:s,decimalPart:r}}function kt({decimalSeparator:t,precision:e,decimalZeroPadding:n,prefix:i,postfix:r}){return e<=0||!n?F:({value:n,selection:o})=>{const{cleanValue:s,extractedPrefix:a,extractedPostfix:l}=N(n,{prefix:i,postfix:r});if(Number.isNaN(xt(s,t)))return{value:n,selection:o};const[c,u=""]=s.split(t);return{value:a+c+t+u.padEnd(e,"0")+l,selection:o}}}function Ot({prefix:t,postfix:e,decimalSeparator:n,thousandSeparator:i}){return({value:r,selection:o})=>{const[s]=o,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(r,{prefix:t,postfix:e}),{minus:u,integerPart:h,decimalPart:d}=Ct(a,{decimalSeparator:n,thousandSeparator:i}),p=!h&&!d&&a.includes(n);return!h&&!Number(d)&&s===(u+l).length||p?{selection:o,value:l+u+c}:{value:r,selection:o}}}function Mt({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:o,postfix:s,minusSign:a}){let l=!0;const c=_t({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0,minusSign:a});return({elementState:t,data:e})=>{if(!l)return{elementState:t,data:e};l=!1;const{value:n,selection:a}=t,[u,h]=a,{extractedPrefix:d,cleanValue:p,extractedPostfix:f}=N(n,{prefix:o,postfix:s}),g=(0,i.CV)({selection:[Math.max(u-d.length,0),r(h-d.length,0,p.length)],value:p},{mask:c}),[m,v]=g.selection;return{elementState:{selection:[m+d.length,v+d.length],value:d+g.value+f},data:e}}}function St({min:t,max:e,decimalSeparator:n,minusSign:i}){return({value:r,selection:o})=>{const s=xt(r,n),a=s>0?Math.min(s,e):Math.max(s,t);if(s&&a!==s){const t=`${a}`.replace(".",n).replace(M,i);return{value:t,selection:[t.length,t.length]}}return{value:r,selection:o}}}function At({decimalSeparator:t,thousandSeparator:e,decimalZeroPadding:n}){return({elementState:i,data:r},o)=>{const{value:s,selection:a}=i,[l,c]=a,u=s.slice(l,c),h=n?[t,e]:[e],d=n&&l>s.indexOf(t)&&Boolean(u.match(/^0+$/gi));return"deleteBackward"!==o&&"deleteForward"!==o||!h.includes(u)&&!d?{elementState:i,data:r}:{elementState:{value:s,selection:"deleteForward"===o?[c,c]:[l,l]},data:r}}}function Pt({decimalSeparator:t,precision:e,prefix:n,postfix:i}){const o=new RegExp(`^\\D*${z(t)}`);return({elementState:s,data:a})=>{const{value:l,selection:c}=s,{cleanValue:u,extractedPrefix:h}=N(l,{prefix:n,postfix:i}),[d,p]=c,f=r(d-h.length,0,u.length),g=r(p-h.length,0,u.length);return e<=0||u.slice(0,f).includes(t)||u.slice(g).includes(t)||!a.match(o)?{elementState:s,data:a}:{elementState:s,data:u.slice(0,f).match(/\d+/)?a:`0${a}`}}}function Et({validCharacter:t,pseudoCharacters:e,prefix:n,postfix:i}){const r=new RegExp(`[${e.join("")}]`,"gi");return({elementState:e,data:o})=>{const{value:s,selection:a}=e,{cleanValue:l,extractedPostfix:c,extractedPrefix:u}=N(s,{prefix:n,postfix:i});return{elementState:{selection:a,value:u+l.replace(r,t)+c},data:o.replace(r,t)}}}function Tt({decimalSeparator:t,prefix:e,postfix:n}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i,[a,l]=s,{cleanValue:c}=N(o,{prefix:e,postfix:n});return{elementState:i,data:!c.includes(t)||o.slice(a,l+1).includes(t)?r:r.replaceAll(new RegExp(z(t),"gi"),"")}}}function It({thousandSeparator:t,decimalSeparator:e,prefix:n,postfix:i}){return t?({value:r,selection:o})=>{const{cleanValue:s,extractedPostfix:a,extractedPrefix:l}=N(r,{prefix:n,postfix:i}),{minus:c,integerPart:u,decimalPart:h}=Ct(s,{decimalSeparator:e,thousandSeparator:t}),[d,p]=o;let[f,g]=o;return{value:l+c+Array.from(u).reduceRight(((e,n,i)=>{const r=!(!i&&n===t)&&e.length&&(e.length+1)%4==0;return r&&(n===t||((...t)=>t.every((t=>/\s/.test(t))))(n,t))?t+e:n!==t||r?r?(i<=d&&f++,i<=p&&g++,n+t+e):n+e:(i&&i<=d&&f--,i&&i<=p&&g--,e)}),"")+(s.includes(e)?e:"")+h+a,selection:[f,g]}}:F}function Dt({precision:t,decimalSeparator:e,prefix:n,postfix:i}){if(t>0)return F;const r=new RegExp(`${z(e)}.*$`,"g");return({elementState:t,data:e})=>{const{value:o,selection:s}=t,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(o,{prefix:n,postfix:i}),[u,h]=s,d=l+a.replace(r,"")+c;return{elementState:{selection:[Math.min(u,d.length),Math.min(h,d.length)],value:d},data:e.replace(r,"")}}}const zt=[0,0];function Nt({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r}){const o=function({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:i}){const r=t=>{const n=z(e);return t.replace(new RegExp(`^(\\D+)?[0${n}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${n}]+(?=[1-9])`),"$1")},o=(t,e)=>{const n=t.slice(0,e),i=t.slice(e).startsWith("0");return n.length-r(n).length+(i?1:0)};return({value:e,selection:s})=>{const[a,l]=s,{cleanValue:c,extractedPrefix:u,extractedPostfix:h}=N(e,{prefix:n,postfix:i}),d=c.includes(t),[p,f=""]=c.split(t),g=r(p);if(p===g)return{value:e,selection:s};const m=a-o(e,a),v=l-o(e,l);return{value:u+g+(d?t:"")+f+h,selection:[Math.max(m,0),Math.max(v,0)]}}}({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r});return W("blur",(t=>{const e=o({value:t.value,selection:zt},{value:"",selection:zt}).value;(0,i.fD)(t,e)}),{capture:!0})}function Ft({min:t,max:e,decimalSeparator:n}){return W("blur",((o,s)=>{const a=xt(o.value,n),l=r(a,t,e);Number.isNaN(a)||a===l||(0,i.fD)(o,(0,i.CV)(function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(l),s))}),{capture:!0})}function Lt({decimalSeparator:t,prefix:e,postfix:n}){return W("blur",(r=>{const{cleanValue:o,extractedPostfix:s,extractedPrefix:a}=N(r.value,{prefix:e,postfix:n}),l=a+o.replace(new RegExp(`^(\\D+)?${z(t)}`),`$10${t}`)+s;(0,i.fD)(r,l)}),{capture:!0})}function Rt({max:t=Number.MAX_SAFE_INTEGER,min:e=Number.MIN_SAFE_INTEGER,precision:n=0,thousandSeparator:r=x,decimalSeparator:o=".",decimalPseudoSeparators:s,decimalZeroPadding:a=!1,prefix:l="",postfix:c="",minusSign:u=S}={}){const h=[M,k,O,A,S].filter((t=>t!==r&&t!==o&&t!==u)),d=function({decimalSeparator:t,thousandSeparator:e,decimalPseudoSeparators:n=m}){return n.filter((n=>n!==e&&n!==t))}({decimalSeparator:o,thousandSeparator:r,decimalPseudoSeparators:s}),p=l.endsWith(o)&&n>0?`${l}${C}`:l;return Object.assign(Object.assign({},i.A_),{mask:_t({decimalSeparator:o,precision:n,thousandSeparator:r,prefix:p,postfix:c,isNegativeAllowed:e<0,minusSign:u}),preprocessors:[q(),Mt({decimalSeparator:o,decimalPseudoSeparators:d,pseudoMinuses:h,prefix:p,postfix:c,minusSign:u}),bt({prefix:p,postfix:c}),Et({validCharacter:u,pseudoCharacters:h,prefix:p,postfix:c}),Et({validCharacter:o,pseudoCharacters:d,prefix:p,postfix:c}),Pt({decimalSeparator:o,precision:n,prefix:p,postfix:c}),At({decimalSeparator:o,decimalZeroPadding:a,thousandSeparator:r}),Dt({precision:n,decimalSeparator:o,prefix:p,postfix:c}),Tt({decimalSeparator:o,prefix:p,postfix:c})],postprocessors:[St({decimalSeparator:o,min:e,max:t,minusSign:u}),J(p),Q(c),It({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),kt({decimalSeparator:o,decimalZeroPadding:a,precision:n,prefix:p,postfix:c}),Ot({prefix:p,postfix:c,decimalSeparator:o,thousandSeparator:r})],plugins:[Nt({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),Lt({decimalSeparator:o,prefix:p,postfix:c}),Ft({min:e,max:t,decimalSeparator:o})],overwriteMode:a?({value:t,selection:[e]})=>e<=t.indexOf(o)?"shift":"replace":"shift"})}function Bt(t,e){const n=at(t),i=new RegExp(`[^\\d${_.map(z).join("")}]+`);return({elementState:t,data:r},o)=>{if("deleteBackward"===o||"deleteForward"===o)return{elementState:t,data:r};const{value:s,selection:a}=t;if("validation"===o){const{validatedTimeString:t,updatedTimeSelection:i}=ft({timeString:s,paddedMaxValues:n,offset:0,selection:a,timeMode:e});return{elementState:{value:t,selection:i},data:r}}const l=r.replace(i,""),[c,u]=a;let h=u+l.length;const d=s.slice(0,c)+l+s.slice(h),{validatedTimeString:p,updatedTimeSelection:f}=ft({timeString:d,paddedMaxValues:n,offset:0,selection:[c,h],timeMode:e});if(d&&!p)return{elementState:t,data:""};h=f[1];const g=p.slice(c,h);return{elementState:{selection:a,value:p.slice(0,c)+"0".repeat(g.length)+p.slice(h)},data:g}}}function jt({mode:t,timeSegmentMaxValues:e={},step:n=0}){const r=Object.assign(Object.assign({},b),e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(t).map((t=>_.includes(t)?t:/\d/)),preprocessors:[q(),H(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},Bt(r,t)],plugins:[tt({fullMode:t,step:n,timeSegmentMaxValues:r})],overwriteMode:"replace"})}},56424:(t,e,n)=>{n.d(e,{X:()=>r});var i=n(78748);class r extends i.x{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}},48132:(t,e,n)=>{n.d(e,{y:()=>u});var i=n(84676),r=n(902),o=n(49837),s=n(22222),a=n(89885),l=n(3649),c=n(41855);let u=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const o=(s=t)&&s instanceof i.Lv||function(t){return t&&(0,l.m)(t.next)&&(0,l.m)(t.error)&&(0,l.m)(t.complete)}(s)&&(0,r.Nn)(s)?t:new i.Hp(t,e,n);var s;return(0,c.x)((()=>{const{operator:t,source:e}=this;o.add(t?t.call(o,e):e?this._subscribe(o):this._trySubscribe(o))})),o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=h(e))(((e,n)=>{const r=new i.Hp({next:e=>{try{t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:e});this.subscribe(r)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[o.L](){return this}pipe(...t){return(0,s.U)(t)(this)}toPromise(t){return new(t=h(t))(((t,e)=>{let n;this.subscribe((t=>n=t),(t=>e(t)),(()=>t(n)))}))}}return t.create=e=>new t(e),t})();function h(t){var e;return null!==(e=null!=t?t:a.config.Promise)&&void 0!==e?e:Promise}},35484:(t,e,n)=>{n.d(e,{t:()=>o});var i=n(78748),r=n(87541);class o extends i.x{constructor(t=1/0,e=1/0,n=r.l){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:r,_windowTime:o}=this;e||(n.push(t),!i&&n.push(r.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:i}=this,r=i.slice();for(let e=0;e{n.d(e,{x:()=>l});var i=n(48132),r=n(902);const o=(0,n(99046).d)((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var s=n(40801),a=n(41855);let l=(()=>{class t extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new c(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new o}next(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const e=this.observers.slice();for(const n of e)n.next(t)}}))}error(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:n,observers:i}=this;return e||n?r.Lc:(i.push(t),new r.w0((()=>(0,s.P)(i,t))))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:i}=this;e?t.error(n):i&&t.complete()}asObservable(){const t=new i.y;return t.source=this,t}}return t.create=(t,e)=>new c(t,e),t})();class c extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:r.Lc}}},84676:(t,e,n)=>{n.d(e,{Hp:()=>p,Lv:()=>d});var i=n(3649),r=n(902),o=n(89885),s=n(29102),a=n(96811);const l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var u=n(63112),h=n(41855);class d extends r.w0{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,(0,r.Nn)(t)&&t.add(this)):this.destination=v}static create(t,e,n){return new p(t,e,n)}next(t){this.isStopped?m(function(t){return c("N",t,void 0)}(t),this):this._next(t)}error(t){this.isStopped?m(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?m(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class p extends d{constructor(t,e,n){let r;if(super(),(0,i.m)(t))r=t;else if(t){let i;({next:r,error:e,complete:n}=t),this&&o.config.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)}this.destination={next:r?f(r):a.Z,error:f(null!=e?e:g),complete:n?f(n):a.Z}}}function f(t,e){return(...e)=>{try{t(...e)}catch(t){o.config.useDeprecatedSynchronousErrorHandling?(0,h.O)(t):(0,s.h)(t)}}}function g(t){throw t}function m(t,e){const{onStoppedNotification:n}=o.config;n&&u.z.setTimeout((()=>n(t,e)))}const v={closed:!0,next:a.Z,error:g,complete:a.Z}},902:(t,e,n)=>{n.d(e,{Lc:()=>a,w0:()=>s,Nn:()=>l});var i=n(3649);const r=(0,n(99046).d)((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));var o=n(40801);class s{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if((0,i.m)(n))try{n()}catch(e){t=e instanceof r?e.errors:[e]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const e of o)try{c(e)}catch(e){t=null!=t?t:[],e instanceof r?t=[...t,...e.errors]:t.push(e)}}if(t)throw new r(t)}}add(t){var e;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&(0,o.P)(e,t)}remove(t){const{_teardowns:e}=this;e&&(0,o.P)(e,t),t instanceof s&&t._removeParent(this)}}s.EMPTY=(()=>{const t=new s;return t.closed=!0,t})();const a=s.EMPTY;function l(t){return t instanceof s||t&&"closed"in t&&(0,i.m)(t.remove)&&(0,i.m)(t.add)&&(0,i.m)(t.unsubscribe)}function c(t){(0,i.m)(t)?t():t.unsubscribe()}},89885:(t,e,n)=>{n.d(e,{config:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},38442:(t,e,n)=>{n.d(e,{a:()=>d});var i=n(48132),r=n(56632),o=n(3489),s=n(69401),a=n(35993),l=n(38197),c=n(22713),u=n(70134),h=n(53224);function d(...t){const e=(0,l.yG)(t),n=(0,l.jO)(t),{args:h,keys:d}=(0,r.D)(t);if(0===h.length)return(0,o.D)([],e);const f=new i.y(function(t,e,n=s.y){return i=>{p(e,(()=>{const{length:r}=t,s=new Array(r);let a=r,l=r;for(let c=0;c{const r=(0,o.D)(t[c],e);let h=!1;r.subscribe(new u.Q(i,(t=>{s[c]=t,h||(h=!0,l--),l||i.next(n(s.slice()))}),(()=>{--a||i.complete()})))}),i)}),i)}}(h,e,d?t=>(0,c.n)(d,t):s.y));return n?f.pipe((0,a.Z)(n)):f}function p(t,e,n){t?(0,h.f)(n,t,e):e()}},45623:(t,e,n)=>{n.d(e,{z:()=>s});var i=n(42605),r=n(38197),o=n(3489);function s(...t){return(0,i.J)(1)((0,o.D)(t,(0,r.yG)(t)))}},83562:(t,e,n)=>{n.d(e,{P:()=>o});var i=n(48132),r=n(46974);function o(t){return new i.y((e=>{(0,r.Xf)(t()).subscribe(e)}))}},30453:(t,e,n)=>{n.d(e,{E:()=>i});const i=new(n(48132).y)((t=>t.complete()))},30319:(t,e,n)=>{n.d(e,{D:()=>u});var i=n(48132),r=n(56632),o=n(46974),s=n(38197),a=n(70134),l=n(35993),c=n(22713);function u(...t){const e=(0,s.jO)(t),{args:n,keys:u}=(0,r.D)(t),h=new i.y((t=>{const{length:e}=n;if(!e)return void t.complete();const i=new Array(e);let r=e,s=e;for(let l=0;l{e||(e=!0,s--),i[l]=t}),(()=>r--),void 0,(()=>{r&&e||(s||t.next(u?(0,c.n)(u,i):i),t.complete())})))}}));return e?h.pipe((0,l.Z)(e)):h}},3489:(t,e,n)=>{n.d(e,{D:()=>_});var i=n(46974),r=n(53224),o=n(96142),s=n(70134);function a(t,e=0){return(0,o.e)(((n,i)=>{n.subscribe(new s.Q(i,(n=>(0,r.f)(i,t,(()=>i.next(n)),e)),(()=>(0,r.f)(i,t,(()=>i.complete()),e)),(n=>(0,r.f)(i,t,(()=>i.error(n)),e))))}))}function l(t,e=0){return(0,o.e)(((n,i)=>{i.add(t.schedule((()=>n.subscribe(i)),e))}))}var c=n(48132),u=n(56818),h=n(3649);function d(t,e){if(!t)throw new Error("Iterable cannot be null");return new c.y((n=>{(0,r.f)(n,e,(()=>{const i=t[Symbol.asyncIterator]();(0,r.f)(n,e,(()=>{i.next().then((t=>{t.done?n.complete():n.next(t.value)}))}),0,!0)}))}))}var p=n(48040),f=n(43913),g=n(23234),m=n(58926),v=n(53525),y=n(369),b=n(85994);function _(t,e){return e?function(t,e){if(null!=t){if((0,p.c)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,g.z)(t))return function(t,e){return new c.y((n=>{let i=0;return e.schedule((function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())}))}))}(t,e);if((0,f.t)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,v.D)(t))return d(t,e);if((0,m.T)(t))return function(t,e){return new c.y((n=>{let i;return(0,r.f)(n,e,(()=>{i=t[u.h](),(0,r.f)(n,e,(()=>{let t,e;try{({value:t,done:e}=i.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)}),0,!0)})),()=>(0,h.m)(null==i?void 0:i.return)&&i.return()}))}(t,e);if((0,b.L)(t))return function(t,e){return d((0,b.Q)(t),e)}(t,e)}throw(0,y.z)(t)}(t,e):(0,i.Xf)(t)}},10409:(t,e,n)=>{n.d(e,{R:()=>d});var i=n(46974),r=n(48132),o=n(45130),s=n(23234),a=n(3649),l=n(35993);const c=["addListener","removeListener"],u=["addEventListener","removeEventListener"],h=["on","off"];function d(t,e,n,f){if((0,a.m)(n)&&(f=n,n=void 0),f)return d(t,e,n).pipe((0,l.Z)(f));const[g,m]=function(t){return(0,a.m)(t.addEventListener)&&(0,a.m)(t.removeEventListener)}(t)?u.map((i=>r=>t[i](e,r,n))):function(t){return(0,a.m)(t.addListener)&&(0,a.m)(t.removeListener)}(t)?c.map(p(t,e)):function(t){return(0,a.m)(t.on)&&(0,a.m)(t.off)}(t)?h.map(p(t,e)):[];if(!g&&(0,s.z)(t))return(0,o.z)((t=>d(t,e,n)))((0,i.Xf)(t));if(!g)throw new TypeError("Invalid event target");return new r.y((t=>{const e=(...e)=>t.next(1m(e)}))}function p(t,e){return n=>i=>t[n](e,i)}},46974:(t,e,n)=>{n.d(e,{Xf:()=>g});var i=n(84911),r=n(23234),o=n(43913),s=n(48132),a=n(48040),l=n(53525),c=n(369),u=n(58926),h=n(85994),d=n(3649),p=n(29102),f=n(49837);function g(t){if(t instanceof s.y)return t;if(null!=t){if((0,a.c)(t))return v=t,new s.y((t=>{const e=v[f.L]();if((0,d.m)(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,r.z)(t))return g=t,new s.y((t=>{for(let e=0;e{i.then((e=>{t.closed||(t.next(e),t.complete())}),(e=>t.error(e))).then(null,p.h)}));if((0,l.D)(t))return m(t);if((0,u.T)(t))return n=t,new s.y((t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()}));if((0,h.L)(t))return e=t,m((0,h.Q)(e))}var e,n,i,g,v;throw(0,c.z)(t)}function m(t){return new s.y((e=>{(function(t,e){var n,r,o,s;return(0,i.mG)(this,void 0,void 0,(function*(){try{for(n=(0,i.KL)(t);!(r=yield n.next()).done;){const t=r.value;if(e.next(t),e.closed)return}}catch(t){o={error:t}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}e.complete()}))})(t,e).catch((t=>e.error(t)))}))}},45047:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(42605),r=n(46974),o=n(30453),s=n(38197),a=n(3489);function l(...t){const e=(0,s.yG)(t),n=(0,s._6)(t,1/0),l=t;return l.length?1===l.length?(0,r.Xf)(l[0]):(0,i.J)(n)((0,a.D)(l,e)):o.E}},14553:(t,e,n)=>{n.d(e,{C:()=>o});var i=n(48132),r=n(96811);const o=new i.y(r.Z)},71209:(t,e,n)=>{n.d(e,{of:()=>o});var i=n(38197),r=n(3489);function o(...t){const e=(0,i.yG)(t);return(0,r.D)(t,e)}},82479:(t,e,n)=>{n.d(e,{S:()=>a});var i=n(48132),r=n(46974),o=n(15130),s=n(70134);function a(...t){return 1===(t=(0,o.k)(t)).length?(0,r.Xf)(t[0]):new i.y(function(t){return e=>{let n=[];for(let i=0;n&&!e.closed&&i{if(n){for(let t=0;t{n.d(e,{_:()=>o});var i=n(48132),r=n(3649);function o(t,e){const n=(0,r.m)(t)?t:()=>t,o=t=>t.error(n());return new i.y(e?t=>e.schedule(o,0,t):o)}},1925:(t,e,n)=>{n.d(e,{H:()=>s});var i=n(48132),r=n(68634),o=n(16943);function s(t=0,e,n=r.P){let s=-1;return null!=e&&((0,o.K)(e)?n=e:s=e),new i.y((e=>{let i=(r=t)instanceof Date&&!isNaN(r)?+t-n.now():t;var r;i<0&&(i=0);let o=0;return n.schedule((function(){e.closed||(e.next(o++),0<=s?this.schedule(void 0,s):e.complete())}),i)}))}},87493:(t,e,n)=>{n.d(e,{$:()=>c});var i=n(48132),r=n(46974),o=n(15130),s=n(30453),a=n(70134),l=n(38197);function c(...t){const e=(0,l.jO)(t),n=(0,o.k)(t);return n.length?new i.y((t=>{let i=n.map((()=>[])),o=n.map((()=>!1));t.add((()=>{i=o=null}));for(let s=0;!t.closed&&s{if(i[s].push(n),i.every((t=>t.length))){const n=i.map((t=>t.shift()));t.next(e?e(...n):n),i.some(((t,e)=>!t.length&&o[e]))&&t.complete()}}),(()=>{o[s]=!0,!i[s].length&&t.complete()})));return()=>{i=o=null}})):s.E}},70134:(t,e,n)=>{n.d(e,{Q:()=>r});var i=n(84676);class r extends i.Lv{constructor(t,e,n,i,r){super(t),this.onFinalize=r,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}},17560:(t,e,n)=>{n.d(e,{K:()=>s});var i=n(46974),r=n(70134),o=n(96142);function s(t){return(0,o.e)(((e,n)=>{let o,a=null,l=!1;a=e.subscribe(new r.Q(n,void 0,void 0,(r=>{o=(0,i.Xf)(t(r,s(t)(e))),a?(a.unsubscribe(),a=null,o.subscribe(n)):l=!0}))),l&&(a.unsubscribe(),a=null,o.subscribe(n))}))}},70109:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(45130),r=n(3649);function o(t,e){return(0,r.m)(e)?(0,i.z)(t,e,1):(0,i.z)(t,1)}},24249:(t,e,n)=>{n.d(e,{D:()=>a});var i=n(96142),r=n(96811),o=n(70134),s=n(46974);function a(t){return(0,i.e)(((e,n)=>{let i=!1,a=null,l=null;const c=()=>{if(null==l||l.unsubscribe(),l=null,i){i=!1;const t=a;a=null,n.next(t)}};e.subscribe(new o.Q(n,(e=>{null==l||l.unsubscribe(),i=!0,a=e,l=new o.Q(n,c,r.Z),(0,s.Xf)(t(e)).subscribe(l)}),(()=>{c(),n.complete()}),void 0,(()=>{a=l=null})))}))}},20155:(t,e,n)=>{n.d(e,{b:()=>s});var i=n(68634),r=n(96142),o=n(70134);function s(t,e=i.z){return(0,r.e)(((n,i)=>{let r=null,s=null,a=null;const l=()=>{if(r){r.unsubscribe(),r=null;const t=s;s=null,i.next(t)}};function c(){const n=a+t,o=e.now();if(o{s=n,a=e.now(),r||(r=e.schedule(c,t),i.add(r))}),(()=>{l(),i.complete()}),void 0,(()=>{s=r=null})))}))}},80407:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(96142),r=n(70134);function o(t){return(0,i.e)(((e,n)=>{let i=!1;e.subscribe(new r.Q(n,(t=>{i=!0,n.next(t)}),(()=>{i||n.next(t),n.complete()})))}))}},69286:(t,e,n)=>{n.d(e,{g:()=>h});var i=n(68634),r=n(45623),o=n(21813),s=n(91105),a=n(97376),l=n(45130);function c(t,e){return e?n=>(0,r.z)(e.pipe((0,o.q)(1),(0,s.l)()),n.pipe(c(t))):(0,l.z)(((e,n)=>t(e,n).pipe((0,o.q)(1),(0,a.h)(e))))}var u=n(1925);function h(t,e=i.z){const n=(0,u.H)(t,e);return c((()=>n))}},18004:(t,e,n)=>{n.d(e,{x:()=>s});var i=n(69401),r=n(96142),o=n(70134);function s(t,e=i.y){return t=null!=t?t:a,(0,r.e)(((n,i)=>{let r,s=!0;n.subscribe(new o.Q(i,(n=>{const o=e(n);!s&&t(r,o)||(s=!1,r=o,i.next(n))})))}))}function a(t,e){return t===e}},93311:(t,e,n)=>{n.d(e,{l:()=>o});var i=n(45623),r=n(71209);function o(...t){return e=>(0,i.z)(e,(0,r.of)(...t))}},55333:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>t.call(e,n,o++)&&i.next(n))))}))}},36293:(t,e,n)=>{n.d(e,{x:()=>r});var i=n(96142);function r(t){return(0,i.e)(((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}}))}},91105:(t,e,n)=>{n.d(e,{l:()=>s});var i=n(96142),r=n(70134),o=n(96811);function s(){return(0,i.e)(((t,e)=>{t.subscribe(new r.Q(e,o.Z))}))}},92425:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{i.next(t.call(e,n,o++))})))}))}},97376:(t,e,n)=>{n.d(e,{h:()=>r});var i=n(92425);function r(t){return(0,i.U)((()=>t))}},42605:(t,e,n)=>{n.d(e,{J:()=>o});var i=n(45130),r=n(69401);function o(t=1/0){return(0,i.z)(r.y,t)}},45130:(t,e,n)=>{n.d(e,{z:()=>l});var i=n(92425),r=n(46974),o=n(96142),s=(n(53224),n(70134)),a=n(3649);function l(t,e,n=1/0){return(0,a.m)(e)?l(((n,o)=>(0,i.U)(((t,i)=>e(n,t,o,i)))((0,r.Xf)(t(n,o)))),n):("number"==typeof e&&(n=e),(0,o.e)(((e,i)=>function(t,e,n,i,o,a,l,c){const u=[];let h=0,d=0,p=!1;const f=()=>{!p||u.length||h||e.complete()},g=t=>{h++;let o=!1;(0,r.Xf)(n(t,d++)).subscribe(new s.Q(e,(t=>{e.next(t)}),(()=>{o=!0}),void 0,(()=>{if(o)try{for(h--;u.length&&hh{p=!0,f()}))),()=>{}}(e,i,t,n))))}},74114:(t,e,n)=>{n.d(e,{G:()=>o});var i=n(96142),r=n(70134);function o(){return(0,i.e)(((t,e)=>{let n,i=!1;t.subscribe(new r.Q(e,(t=>{const r=n;n=t,i&&e.next([r,t]),i=!0})))}))}},74842:(t,e,n)=>{n.d(e,{r:()=>l});var i=n(30453),r=n(96142),o=n(70134),s=n(46974),a=n(1925);function l(t){let e,n=1/0;return null!=t&&("object"==typeof t?({count:n=1/0,delay:e}=t):n=t),n<=0?()=>i.E:(0,r.e)(((t,i)=>{let r,l=0;const c=()=>{if(null==r||r.unsubscribe(),r=null,null!=e){const t="number"==typeof e?(0,a.H)(e):(0,s.Xf)(e(l)),n=new o.Q(i,(()=>{n.unsubscribe(),u()}));t.subscribe(n)}else u()},u=()=>{let e=!1;r=t.subscribe(new o.Q(i,void 0,(()=>{++l{n.d(e,{R:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(function(t,e,n,i,o){return(i,o)=>{let s=n,a=e,l=0;i.subscribe(new r.Q(o,(e=>{const n=l++;a=s?t(a,e,n):(s=!0,e),o.next(a)}),void 0))}}(t,e,arguments.length>=2))}},88557:(t,e,n)=>{n.d(e,{B:()=>l});var i=n(3489),r=n(21813),o=n(78748),s=n(84676),a=n(96142);function l(t={}){const{connector:e=(()=>new o.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:l=!0}=t;return t=>{let o=null,u=null,h=null,d=0,p=!1,f=!1;const g=()=>{null==u||u.unsubscribe(),u=null},m=()=>{g(),o=h=null,p=f=!1},v=()=>{const t=o;m(),null==t||t.unsubscribe()};return(0,a.e)(((t,a)=>{d++,f||p||g();const y=h=null!=h?h:e();a.add((()=>{d--,0!==d||f||p||(u=c(v,l))})),y.subscribe(a),o||(o=new s.Hp({next:t=>y.next(t),error:t=>{f=!0,g(),u=c(m,n,t),y.error(t)},complete:()=>{p=!0,g(),u=c(m,r),y.complete()}}),(0,i.D)(t).subscribe(o))}))(t)}}function c(t,e,...n){return!0===e?(t(),null):!1===e?null:e(...n).pipe((0,r.q)(1)).subscribe((()=>t()))}},20530:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(35484),r=n(88557);function o(t,e,n){var o,s;let a,l=!1;return t&&"object"==typeof t?(a=null!==(o=t.bufferSize)&&void 0!==o?o:1/0,e=null!==(s=t.windowTime)&&void 0!==s?s:1/0,l=!!t.refCount,n=t.scheduler):a=null!=t?t:1/0,(0,r.B)({connector:()=>new i.t(a,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}},14776:(t,e,n)=>{n.d(e,{T:()=>r});var i=n(55333);function r(t){return(0,i.h)(((e,n)=>t<=n))}},73843:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(45623),r=n(38197),o=n(96142);function s(...t){const e=(0,r.yG)(t);return(0,o.e)(((n,r)=>{(e?(0,i.z)(t,n,e):(0,i.z)(t,n)).subscribe(r)}))}},84787:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(46974),r=n(96142),o=n(70134);function s(t,e){return(0,r.e)(((n,r)=>{let s=null,a=0,l=!1;const c=()=>l&&!s&&r.complete();n.subscribe(new o.Q(r,(n=>{null==s||s.unsubscribe();let l=0;const u=a++;(0,i.Xf)(t(n,u)).subscribe(s=new o.Q(r,(t=>r.next(e?e(n,t,u,l++):t)),(()=>{s=null,c()})))}),(()=>{l=!0,c()})))}))}},21813:(t,e,n)=>{n.d(e,{q:()=>s});var i=n(30453),r=n(96142),o=n(70134);function s(t){return t<=0?()=>i.E:(0,r.e)(((e,n)=>{let i=0;e.subscribe(new o.Q(n,(e=>{++i<=t&&(n.next(e),t<=i&&n.complete())})))}))}},81749:(t,e,n)=>{n.d(e,{R:()=>a});var i=n(96142),r=n(70134),o=n(46974),s=n(96811);function a(t){return(0,i.e)(((e,n)=>{(0,o.Xf)(t).subscribe(new r.Q(n,(()=>n.complete()),s.Z)),!n.closed&&e.subscribe(n)}))}},85228:(t,e,n)=>{n.d(e,{o:()=>o});var i=n(96142),r=n(70134);function o(t,e=!1){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{const r=t(n,o++);(r||e)&&i.next(n),!r&&i.complete()})))}))}},31570:(t,e,n)=>{n.d(e,{b:()=>a});var i=n(3649),r=n(96142),o=n(70134),s=n(69401);function a(t,e,n){const a=(0,i.m)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,r.e)(((t,e)=>{var n;null===(n=a.subscribe)||void 0===n||n.call(a);let i=!0;t.subscribe(new o.Q(e,(t=>{var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)}),(()=>{var t;i=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()}),(t=>{var n;i=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)}),(()=>{var t,e;i&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)})))})):s.y}},38356:(t,e,n)=>{n.d(e,{p:()=>c});var i=n(68634),r=n(96142),o=n(70134),s=n(46974);const a={leading:!0,trailing:!1};var l=n(1925);function c(t,e=i.z,n=a){const c=(0,l.H)(t,e);return function(t,e=a){return(0,r.e)(((n,i)=>{const{leading:r,trailing:a}=e;let l=!1,c=null,u=null,h=!1;const d=()=>{null==u||u.unsubscribe(),u=null,a&&(g(),h&&i.complete())},p=()=>{u=null,h&&i.complete()},f=e=>u=(0,s.Xf)(t(e)).subscribe(new o.Q(i,d,p)),g=()=>{if(l){l=!1;const t=c;c=null,i.next(t),!h&&f(t)}};n.subscribe(new o.Q(i,(t=>{l=!0,c=t,(!u||u.closed)&&(r?g():f(t))}),(()=>{h=!0,(!(a&&l&&u)||u.closed)&&i.complete()})))}))}((()=>c),n)}},17544:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(96142),r=n(70134),o=n(46974),s=n(69401),a=n(96811),l=n(38197);function c(...t){const e=(0,l.jO)(t);return(0,i.e)(((n,i)=>{const l=t.length,c=new Array(l);let u=t.map((()=>!1)),h=!1;for(let e=0;e{c[e]=t,h||u[e]||(u[e]=!0,(h=u.every(s.y))&&(u=null))}),a.Z));n.subscribe(new r.Q(i,(t=>{if(h){const n=[t,...c];i.next(e?e(...n):n)}})))}))}},80054:(t,e,n)=>{n.d(e,{o:()=>a});var i=n(902);class r extends i.w0{constructor(t,e){super()}schedule(t,e=0){return this}}const o={setInterval(...t){const{delegate:e}=o;return((null==e?void 0:e.setInterval)||setInterval)(...t)},clearInterval(t){const{delegate:e}=o;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var s=n(40801);class a extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return o.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;o.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(t){i=!0,n=t||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.P)(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}},65804:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(87541);class r{constructor(t,e=r.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}r.now=i.l.now;class o extends r{constructor(t,e=r.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},68634:(t,e,n)=>{n.d(e,{P:()=>o,z:()=>r});var i=n(80054);const r=new(n(65804).v)(i.o),o=r},87541:(t,e,n)=>{n.d(e,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},63112:(t,e,n)=>{n.d(e,{z:()=>i});const i={setTimeout(...t){const{delegate:e}=i;return((null==e?void 0:e.setTimeout)||setTimeout)(...t)},clearTimeout(t){const{delegate:e}=i;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},56818:(t,e,n)=>{n.d(e,{h:()=>i});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},49837:(t,e,n)=>{n.d(e,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},38197:(t,e,n)=>{n.d(e,{_6:()=>l,jO:()=>s,yG:()=>a});var i=n(3649),r=n(16943);function o(t){return t[t.length-1]}function s(t){return(0,i.m)(o(t))?t.pop():void 0}function a(t){return(0,r.K)(o(t))?t.pop():void 0}function l(t,e){return"number"==typeof o(t)?t.pop():e}},56632:(t,e,n)=>{n.d(e,{D:()=>a});const{isArray:i}=Array,{getPrototypeOf:r,prototype:o,keys:s}=Object;function a(t){if(1===t.length){const n=t[0];if(i(n))return{args:n,keys:null};if((e=n)&&"object"==typeof e&&r(e)===o){const t=s(n);return{args:t.map((t=>n[t])),keys:t}}}var e;return{args:t,keys:null}}},15130:(t,e,n)=>{n.d(e,{k:()=>r});const{isArray:i}=Array;function r(t){return 1===t.length&&i(t[0])?t[0]:t}},40801:(t,e,n)=>{function i(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:()=>i})},99046:(t,e,n)=>{function i(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:()=>i})},22713:(t,e,n)=>{function i(t,e){return t.reduce(((t,n,i)=>(t[n]=e[i],t)),{})}n.d(e,{n:()=>i})},41855:(t,e,n)=>{n.d(e,{O:()=>s,x:()=>o});var i=n(89885);let r=null;function o(t){if(i.config.useDeprecatedSynchronousErrorHandling){const e=!r;if(e&&(r={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=r;if(r=null,t)throw e}}else t()}function s(t){i.config.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=t)}},53224:(t,e,n)=>{function i(t,e,n,i=0,r=!1){const o=e.schedule((function(){n(),r?t.add(this.schedule(null,i)):this.unsubscribe()}),i);if(t.add(o),!r)return o}n.d(e,{f:()=>i})},69401:(t,e,n)=>{function i(t){return t}n.d(e,{y:()=>i})},23234:(t,e,n)=>{n.d(e,{z:()=>i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},53525:(t,e,n)=>{n.d(e,{D:()=>r});var i=n(3649);function r(t){return Symbol.asyncIterator&&(0,i.m)(null==t?void 0:t[Symbol.asyncIterator])}},3649:(t,e,n)=>{function i(t){return"function"==typeof t}n.d(e,{m:()=>i})},48040:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(49837),r=n(3649);function o(t){return(0,r.m)(t[i.L])}},58926:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(56818),r=n(3649);function o(t){return(0,r.m)(null==t?void 0:t[i.h])}},11070:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(48132),r=n(3649);function o(t){return!!t&&(t instanceof i.y||(0,r.m)(t.lift)&&(0,r.m)(t.subscribe))}},43913:(t,e,n)=>{n.d(e,{t:()=>r});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.then)}},85994:(t,e,n)=>{n.d(e,{L:()=>s,Q:()=>o});var i=n(84911),r=n(3649);function o(t){return(0,i.FC)(this,arguments,(function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield(0,i.qq)(e.read());if(n)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(t)}}finally{e.releaseLock()}}))}function s(t){return(0,r.m)(null==t?void 0:t.getReader)}},16943:(t,e,n)=>{n.d(e,{K:()=>r});var i=n(3649);function r(t){return t&&(0,i.m)(t.schedule)}},96142:(t,e,n)=>{n.d(e,{A:()=>r,e:()=>o});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.lift)}function o(t){return e=>{if(r(e))return e.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},35993:(t,e,n)=>{n.d(e,{Z:()=>o});var i=n(92425);const{isArray:r}=Array;function o(t){return(0,i.U)((e=>function(t,e){return r(e)?t(...e):t(e)}(t,e)))}},96811:(t,e,n)=>{function i(){}n.d(e,{Z:()=>i})},22222:(t,e,n)=>{n.d(e,{U:()=>o,z:()=>r});var i=n(69401);function r(...t){return o(t)}function o(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce(((t,e)=>e(t)),e)}}},29102:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(89885),r=n(63112);function o(t){r.z.setTimeout((()=>{const{onUnhandledError:e}=i.config;if(!e)throw t;e(t)}))}},369:(t,e,n)=>{function i(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(e,{z:()=>i})},1679:(t,e,n)=>{var i=n(20755),r=n(43232),o=n(8239),s=n(99222),a=n(42772),l=n(89037);const c=JSON.parse('{"i8":"2.0.21-alpha.5"}');var u=n(63613);let h=(()=>{var t;class e{constructor(){this.pageLoaded$=(0,i.f3M)(l.V1),this.pageLoadedInit="0",this.pageLoaded=this.pageLoaded$,this.router=(0,i.f3M)(s.F0),this.storage=(0,i.f3M)(a.H3),this.version=c.i8}ngOnInit(){this.replaceEnvInURI()}replaceEnvInURI(){var t=this;return(0,o.Z)((function*(){const e=t.storage.getItem("env");e&&(t.storage.removeItem("env"),yield t.router.navigateByUrl(e))}))()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["app"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.Ikx("$.class._loaded",e.pageLoaded),i.ekj("_loaded",e.pageLoadedInit))},standalone:!0,features:[i.jDz],decls:4,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["ngProjectAs","tuiDocNavigation",5,["tuiDocNavigation"],1,"app-version"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-doc-main"),i.ynx(1,0),i.TgZ(2,"p",1),i._uU(3),i.qZA(),i.BQk(),i.qZA()),2&t&&(i.xp6(3),i.hij(" v",e.version," "))},dependencies:[u.og],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-primary)}.link[_ngcontent-%COMP%]{margin-left:1rem}.app-version[_ngcontent-%COMP%]{color:var(--tui-text-secondary);font:var(--tui-font-text-xs)}@media not (min-width: 480px){.app-version[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),e})();var d=n(76733),p=n(12405),f=n(80396);let g=(()=>{var t;class e extends p._j{constructor(t,e){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}};this._renderer=t.createRenderer(e.body,n)}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,p.vP)(t):t;return y(this._renderer,null,e,"register",[n]),new m(e,this._renderer)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(d.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class m extends p.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new v(this._id,t,e||{},this._renderer)}}class v{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return y(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function y(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const b="@",_="@.disabled";let w=(()=>{var t;class e{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(t,e)=>{const n=e?.parentNode(t);n&&e.removeChild(n,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);if(!t){const e=()=>this._rendererCache.delete(n);t=new x("",n,this.engine,e),this._rendererCache.set(n,t)}return t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(o),new C(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(t,e,n){t>=0&&te(n))):(0==this._animationCallbacksBuffer.length&&queueMicrotask((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((t=>{const[e,n]=t;e(n)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(f.Th),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class x{constructor(t,e,n,i){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone((()=>{queueMicrotask((()=>{this.delegate.destroy()}))})),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==b&&e==_?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class C extends x{constructor(t,e,n,i,r){super(e,n,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==b?"."==e.charAt(1)&&e==_?(n=void 0===n||!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==b){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.slice(1),o="";return r.charAt(0)!=b&&([r,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,(t=>{const e=t._data||-1;this.factory.scheduleListenerCallback(e,n,t)}))}return this.delegate.listen(t,e,n)}}let k=(()=>{var t;class e extends f.Th{constructor(t,e,n,i){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(d.K0),i.LFG(f.Vi),i.LFG(f.NH),i.LFG(i.z2F))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const O=[{provide:p._j,useClass:g},{provide:f.NH,useFactory:function(){return new f.Ar}},{provide:f.Th,useClass:k},{provide:i.FYo,useFactory:function(t,e,n){return new w(t,e,n)},deps:[r.se,f.Th,i.R0b]}],M=[{provide:f.Vi,useFactory:()=>new f.DT},{provide:i.QbO,useValue:"BrowserAnimations"},...O];f.Vi,f.nV,i.QbO;var S=n(25797);const A="anchors",P="appearance",E="mention",T="color-picker",I="checkbox",D="custom-tool/color-picker",z="embed/html5",N="embed/iframe",F="embed/youtube",L="focus",R="font",B="groups",j="highlight/code",H="highlight/text",V="images/preview",$="images/resizable",q="images/upload",Z="custom-tool/paste-emoji",U="custom-tool/paste-image",G="processing/cleanup-html",Q="processing/legacy-html",J="processing/markdown",Y="processing/markdown-extension",W="starter-kit",K="toolbar/bottom",X="toolbar/floating",tt=[{section:"Documentation",title:"Starter Kit",route:W,keywords:"editor, setup, starter kit, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Playground",keywords:"reproduce, issue, bug, sandbox, playground, test, stackblitz",route:"stackblitz",target:"_blank"},{section:"Documentation",title:"ColorPicker",route:T,keywords:"цвет, выбор, градиент, gradient, палитра, input, inputcolor"},{section:"Documentation",title:"Font",route:R,keywords:"editor, font, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Anchors",route:A,keywords:"editor, anchors, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Checkbox",route:I,keywords:"editor, checkbox, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Appearance",route:P,keywords:"editor, appearance, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Mention",route:E,keywords:"editor, mention, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Groups",route:B,keywords:"editor, draggable, nested, hilite, groups, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Focus",route:L,keywords:"editor, focus, focusable, wysiwyg, редактор, фокус, html, rich, text"},{section:"Documentation",title:"Custom tool",subPages:[{section:"Documentation",title:"Paste emoji",keywords:"editor, custom, tool, emoji, wysiwyg, редактор, текст, html, rich, text",route:`/${Z}`},{section:"Documentation",title:"Color picker",keywords:"editor, custom color picker, color picker, tool, wysiwyg, редактор, выбрать цвет, html, rich, text",route:`/${D}`},{section:"Documentation",title:"Paste image",keywords:"editor, paste image, tool, wysiwyg, редактор, текст, html, rich, text",route:`/${U}`},{section:"Documentation",title:"Font size tool",keywords:"editor, custom font size tool, tool, wysiwyg, редактор, выбрать размер, html, rich, text",route:`/${R}`,fragment:"custom-size-tool"}]},{section:"Documentation",title:"Highlight",subPages:[{section:"Documentation",title:"Mark text",keywords:"editor, highlight, text, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${H}`},{section:"Documentation",title:"Code block",keywords:"editor, highlight, code, block, pre, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${j}`}]},{section:"Documentation",title:"Processing",subPages:[{section:"Documentation",title:"Legacy html",keywords:"editor, processing, content, legacy html, wysiwyg, редактор, текст, html, rich, text",route:`/${Q}`},{section:"Documentation",title:"Cleanup html",keywords:"editor, processing, content, cleanup html, wysiwyg, редактор, текст, html, rich, text",route:`/${G}`}]},{section:"Documentation",title:"Markdown",subPages:[{section:"Documentation",title:"Extension",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${Y}`},{section:"Documentation",title:"Custom parsing",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${J}`}]},{section:"Documentation",title:"Images",subPages:[{section:"Documentation",title:"Resizable",keywords:"editor, resizable, image, wysiwyg, редактор, текст, html, rich, text",route:`/${$}`},{section:"Documentation",title:"Preview images",keywords:"editor, preview, images, wysiwyg, редактор, текст, html, rich, text",route:`/${V}`},{section:"Documentation",title:"Upload",keywords:"editor, upload, images, wysiwyg, редактор, текст, html, rich, text",route:`/${q}`}]},{section:"Documentation",title:"Embed",subPages:[{section:"Documentation",title:"Youtube",keywords:"editor, embed, video player, audio player, youtube, wysiwyg, редактор, плейер, плеер, ютуб, текст, html, rich, text",route:`/${F}`},{section:"Documentation",title:"Iframe",keywords:"editor, embed, iframe, wysiwyg, редактор, айфрейм, html, rich, text",route:`/${N}`},{section:"Documentation",title:"HTML5",keywords:"editor, embed, video player, audio player, html5, wysiwyg, редактор, плеер, html, rich, text",route:`/${z}`}]},{section:"Documentation",title:"Toolbar",subPages:[{section:"Documentation",title:"Align bottom",keywords:"editor, toolbar, bottom, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${K}`},{section:"Documentation",title:"Floating",keywords:"editor, toolbar, floating, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${X}`}]}],et=[(0,l.ws)({path:W,loadComponent:(Et=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3601)]).then(n.bind(n,13601))})),function(){return Et.apply(this,arguments)}),title:"StarterKit"}),(0,l.ws)({path:"stackblitz",loadComponent:(Pt=(0,o.Z)((function*(){return n.e(2966).then(n.bind(n,42966))})),function(){return Pt.apply(this,arguments)}),title:"Stackblitz Starter"}),(0,l.ws)({path:T,loadComponent:(At=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4555)]).then(n.bind(n,94555))})),function(){return At.apply(this,arguments)}),title:"Input color picker"}),(0,l.ws)({path:R,loadComponent:(St=(0,o.Z)((function*(){return n.e(7742).then(n.bind(n,87742))})),function(){return St.apply(this,arguments)}),title:"Font"}),(0,l.ws)({path:A,loadComponent:(Mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3198)]).then(n.bind(n,63198))})),function(){return Mt.apply(this,arguments)}),title:"Anchors"}),(0,l.ws)({path:P,loadComponent:(Ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8687)]).then(n.bind(n,88687))})),function(){return Ot.apply(this,arguments)}),title:"Appearance"}),(0,l.ws)({path:I,loadComponent:(kt=(0,o.Z)((function*(){return n.e(698).then(n.bind(n,40698))})),function(){return kt.apply(this,arguments)}),title:"Checkbox"}),(0,l.ws)({path:E,loadComponent:(Ct=(0,o.Z)((function*(){return n.e(5693).then(n.bind(n,15693))})),function(){return Ct.apply(this,arguments)}),title:"Mention"}),(0,l.ws)({path:L,loadComponent:(xt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3920)]).then(n.bind(n,93920))})),function(){return xt.apply(this,arguments)}),title:"Focus"}),(0,l.ws)({path:B,loadComponent:(wt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1753)]).then(n.bind(n,1753))})),function(){return wt.apply(this,arguments)}),title:"Groups"}),(0,l.ws)({path:"upload-files",loadComponent:(_t=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4623)]).then(n.bind(n,4623))})),function(){return _t.apply(this,arguments)}),title:"Upload files"}),(0,l.ws)({path:Z,loadComponent:(bt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3587)]).then(n.bind(n,43587))})),function(){return bt.apply(this,arguments)}),title:"Editor — Paste emoji custom tool"}),(0,l.ws)({path:D,loadComponent:(yt=(0,o.Z)((function*(){return n.e(3459).then(n.bind(n,33459))})),function(){return yt.apply(this,arguments)}),title:"Editor — Color picker custom tool"}),(0,l.ws)({path:U,loadComponent:(vt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return vt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:U,loadComponent:(mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return mt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:H,loadComponent:(gt=(0,o.Z)((function*(){return n.e(8500).then(n.bind(n,38500))})),function(){return gt.apply(this,arguments)}),title:"Editor — Highlight text"}),(0,l.ws)({path:Q,loadComponent:(ft=(0,o.Z)((function*(){return n.e(8912).then(n.bind(n,8912))})),function(){return ft.apply(this,arguments)}),title:"Editor — Legacy html"}),(0,l.ws)({path:G,loadComponent:(pt=(0,o.Z)((function*(){return n.e(5857).then(n.bind(n,75857))})),function(){return pt.apply(this,arguments)}),title:"Editor — Cleanup html"}),(0,l.ws)({path:J,loadComponent:(dt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8827)]).then(n.bind(n,18827))})),function(){return dt.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:Y,loadComponent:(ht=(0,o.Z)((function*(){return n.e(2638).then(n.bind(n,42638))})),function(){return ht.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:j,loadComponent:(ut=(0,o.Z)((function*(){return n.e(5811).then(n.bind(n,75811))})),function(){return ut.apply(this,arguments)}),title:"Editor — Highlight code"}),(0,l.ws)({path:$,loadComponent:(ct=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2098)]).then(n.bind(n,22098))})),function(){return ct.apply(this,arguments)}),title:"Editor — Resizable images"}),(0,l.ws)({path:V,loadComponent:(lt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8931)]).then(n.bind(n,68931))})),function(){return lt.apply(this,arguments)}),title:"Editor — Preview images"}),(0,l.ws)({path:q,loadComponent:(at=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2859)]).then(n.bind(n,82859))})),function(){return at.apply(this,arguments)}),title:"Editor — Upload images"}),(0,l.ws)({path:F,loadComponent:(st=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(5439)]).then(n.bind(n,95439))})),function(){return st.apply(this,arguments)}),title:"Editor — YouTube"}),(0,l.ws)({path:N,loadComponent:(ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4105)]).then(n.bind(n,34105))})),function(){return ot.apply(this,arguments)}),title:"Editor — Iframe"}),(0,l.ws)({path:z,loadComponent:(rt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1131)]).then(n.bind(n,81131))})),function(){return rt.apply(this,arguments)}),title:"Editor — HTML5"}),(0,l.ws)({path:K,loadComponent:(it=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(999)]).then(n.bind(n,40999))})),function(){return it.apply(this,arguments)}),title:"Editor — Toolbar"}),(0,l.ws)({path:X,loadComponent:(nt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2119)]).then(n.bind(n,22119))})),function(){return nt.apply(this,arguments)}),title:"Editor — Toolbar"}),{path:"**",redirectTo:W}];var nt,it,rt,ot,st,at,lt,ct,ut,ht,dt,pt,ft,gt,mt,vt,yt,bt,_t,wt,xt,Ct,kt,Ot,Mt,St,At,Pt,Et,Tt=n(68704),It=n(25690);let Dt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["logo"]],standalone:!0,features:[i.jDz],decls:3,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["icon","assets/icons/logo.svg",1,"logo-icon"]],template:function(t,e){1&t&&(i.TgZ(0,"a",0)(1,"span",1),i._UZ(2,"tui-icon",2),i.qZA()())},dependencies:[s.rH,Tt.lI3,Tt.RJr],styles:['[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-primary)}.logo-icon[_ngcontent-%COMP%]{min-width:180px;min-height:30px;color:#eb5a3d}.logo-icon[tuiTheme="dark"][_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%]{color:#fff}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}'],changeDetection:0}),e})();const zt=new It.Al(Dt),Nt={providers:[[...M],(0,s.bU)(et,(0,s.ZU)({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),S.J0,{provide:d.S$,useClass:d.b0},{provide:l.Yx,useValue:"Editor | "},{provide:l.Or,useValue:zt},{provide:l.AC,useValue:["Description and examples","API"]},{provide:l.V5,useValue:tt},{provide:l.yO,useValue:t=>{const e="https://github.com/taiga-family/editor/tree/main/libs";return t.path?`${e}/${t.path}`:t.package&&"kit"===t.package.toLowerCase()?`${e}/${t.package.toLowerCase()}/src/lib/editor/${(t.header[0].toLowerCase()+t.header.slice(1)).replaceAll(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}`:null}}]};(0,i.G48)(),(0,r.Cg)(h,Nt).catch((t=>console.error(t)))},63613:(t,e,n)=>{n.d(e,{D_:()=>q,lh:()=>W,oI:()=>Ct,cJ:()=>xe,b7:()=>Lt,Cv:()=>an,Ei:()=>Ie,og:()=>Si,t9:()=>hi,xR:()=>Zi,Cn:()=>Di,NC:()=>Ot,fz:()=>Ut});var i=n(76733),r=n(20755);class o{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,n.readOnly=!0,(this._document.fullscreenElement||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{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let s=(()=>{var t;class e{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new o(t,this._document)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const a=new r.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let l=(()=>{var t;class e{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 i=()=>{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(i,1)))};i()}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=e).ɵfac=function(e){return new(e||t)(r.Y36(s),r.Y36(r.R0b),r.Y36(a,8))},t.ɵdir=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"}}),e})(),c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({}),e})();var u=n(32101),h=n(36541),d=n(11679),p=n(56424),f=n(55333),g=n(21813),m=n(84787),v=n(31570),y=n(30453),b=n(17560),_=n(51960),w=n(87493),x=n(92425),C=n(3489),k=n(80054),O=n(902);const M={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=M;i&&(e=i.requestAnimationFrame,n=i.cancelAnimationFrame);const r=e((e=>{n=void 0,t(e)}));return new O.w0((()=>null==n?void 0:n(r)))},requestAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.cancelAnimationFrame)||cancelAnimationFrame)(...t)},delegate:void 0};class S extends k.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=M.requestAnimationFrame((()=>t.flush(void 0)))))}recycleAsyncId(t,e,n=0){if(null!=n&&n>0||null==n&&this.delay>0)return super.recycleAsyncId(t,e,n);t.actions.some((t=>t.id===e))||(M.cancelAnimationFrame(e),t._scheduled=void 0)}}var A=n(65804);class P extends A.v{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let i;t=t||n.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,i){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw i}}}const E=new P(S);var T=n(43232);const I=new r.OlP("HIGHLIGHT_OPTIONS");let D,z=(()=>{var t;class e{constructor(t,e,n){this.doc=t,this.platformId=e,this._options=n,this._ready=new p.X(null),this.ready=this._ready.asObservable().pipe((0,f.h)((t=>!!t)),(0,g.q)(1)),(0,i.NF)(e)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe((0,m.w)((e=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=e,this.loadLineNumbers().pipe((0,v.b)((t=>{t.activateLineNumbers(),this._ready.next(e)})))):(this._ready.next(e),y.E))),(0,b.K)((t=>(console.error("[HLJS] ",t),y.E)))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,_._)((()=>"The full library and the core library were imported, only one of them should be imported!"));if(this._options.fullLibraryLoader&&this._options.languages)return(0,_._)((()=>"The highlighting languages were imported they are not needed!"));if(this._options.coreLibraryLoader&&!this._options.languages)return(0,_._)((()=>"The highlighting languages were not imported!"));if(!this._options.coreLibraryLoader&&this._options.languages)return(0,_._)((()=>"The core library was not imported!"));if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,m.w)((t=>this._loadLanguages(t))))}return(0,_._)((()=>"Highlight.js library was not imported!"))}_loadLanguages(t){const e=Object.entries(this._options.languages).map((([e,n])=>N(n()).pipe((0,v.b)((n=>t.registerLanguage(e,n))))));return(0,w.$)(...e).pipe((0,x.U)((()=>t)))}loadCoreLibrary(){return N(this._options.coreLibraryLoader())}loadFullLibrary(){return N(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,C.D)(this._options.lineNumbersLoader())}setTheme(t){(0,i.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const N=t=>(0,C.D)(t).pipe((0,f.h)((t=>!!t?.default)),(0,x.U)((t=>t.default)));let F=(()=>{var t;class e{get hljs(){return this._hljs}constructor(t,e){this._loader=t,this._hljs=null,t.ready.subscribe((t=>{this._hljs=t,e&&e.config&&(t.configure(e.config),t.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))}))}highlight(t,{language:e,ignoreIllegals:n}){return this._loader.ready.pipe((0,x.U)((i=>i.highlight(t,{language:e,ignoreIllegals:n}))))}highlightAuto(t,e){return this._loader.ready.pipe((0,x.U)((n=>n.highlightAuto(t,e))))}highlightElement(t){return this._loader.ready.pipe((0,x.U)((e=>e.highlightElement(t))))}highlightAll(){return this._loader.ready.pipe((0,x.U)((t=>t.highlightAll())))}configure(t){return this._loader.ready.pipe((0,x.U)((e=>e.configure(t))))}registerLanguage(t,e){return this._loader.ready.pipe((0,v.b)((n=>n.registerLanguage(t,e))))}unregisterLanguage(t){return this._loader.ready.pipe((0,v.b)((e=>e.unregisterLanguage(t))))}registerAliases(t,{languageName:e}){return this._loader.ready.pipe((0,v.b)((n=>n.registerAliases(t,{languageName:e}))))}listLanguages(){return this._loader.ready.pipe((0,x.U)((t=>t.listLanguages())))}getLanguage(t){return this._loader.ready.pipe((0,x.U)((e=>e.getLanguage(t))))}safeMode(){return this._loader.ready.pipe((0,x.U)((t=>t.safeMode())))}debugMode(){return this._loader.ready.pipe((0,x.U)((t=>t.debugMode())))}lineNumbersBlock(t){return this._loader.ready.pipe((0,f.h)((t=>!!t.lineNumbersBlock)),(0,v.b)((e=>e.lineNumbersBlock(t))))}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(z),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),L=(()=>{var t;class e{constructor(t,e,n,i,o){this._hljs=e,this._sanitizer=n,this.platformId=i,this._options=o,this.highlighted=new r.vpe,this._nativeElement=t.nativeElement}ngOnChanges(t){(0,i.NF)(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,e){this.setTextContent(t),this._hljs.highlightAuto(t,e).subscribe((t=>{this.setInnerHTML(t?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(t)}))}addLineNumbers(){this.destroyLineNumbersObserver(),E.schedule((()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver((()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()})),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})}))}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){E.schedule((()=>this._nativeElement.textContent=t))}setInnerHTML(t){E.schedule((()=>{return this._nativeElement.innerHTML=(e=this._sanitizer.sanitize(r.q3G.HTML,t)||"",function(){if(!D)try{D=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return D}()?.createHTML(e)||e);var e}))}}return(t=e).ɵfac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(F),r.Y36(T.H7),r.Y36(r.Lbi),r.Y36(I,8))},t.ɵdir=r.lG2({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[r.TTD]}),e})();var R=n(78748),B=n(1925),j=n(73843);function H(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 V(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",3),r._uU(1," "),r._UZ(2,"code",4),r._uU(3,"\n "),r.TgZ(4,"div",5),r._uU(5,"\n "),r.TgZ(6,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.copy$.next())})),r.ALo(7,"async"),r._uU(8,"\n "),r.qZA(),r._uU(9,"\n "),r.Hsn(10),r._uU(11,"\n "),r.qZA(),r._uU(12,"\n"),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw();r.xp6(2),r.Q6J("lineNumbers",!0)("highlight",t),r.xp6(4),r.Q6J("iconLeft",r.lcZ(7,4,n.icon$)||"@tui.copy")("cdkCopyToClipboard",t)}}const $=["*"];let q=(()=>{var t;class e{constructor(){this.rawLoader$$=new p.X(""),this.markdownCodeProcessor=(0,r.f3M)(u.Es),this.copy$=new R.x,this.icon$=this.copy$.pipe((0,m.w)((()=>(0,B.H)(2e3).pipe((0,x.U)((()=>"@tui.copy")),(0,j.O)("@tui.check"))))),this.processor$=this.rawLoader$$.pipe((0,m.w)(h.JQ),(0,x.U)((t=>this.markdownCodeProcessor(t)))),this.filename=""}set code(t){this.rawLoader$$.next(t)}get hasFilename(){return!!this.filename}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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"},standalone:!0,features:[r.jDz],ngContentSelectors:$,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"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"iconLeft","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,H,2,1,"p",0),r.YNc(1,V,13,6,"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$)))},dependencies:[i.O5,i.Ov,i.sg,L,d.xG,c,l],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-border-normal)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-border-normal)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-background-base)}@supports (background: color-mix(in srgb,var(--tui-background-base),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-background-base),#222 2%)}}"],changeDetection:0}),e})();var Z,U=n(84911),G=n(11892),Q=n(73740),J=n(11637);function Y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.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()()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-content_moved",r.lcZ(2,4,n.copied$)),r.xp6(2),r.uIk("data-text",t[0]),r.xp6(2),r.hij(" ",t[1]," ")}}class W{constructor(){this.copy$=new R.x,this.texts$=(0,r.f3M)(J.UV)}get copied$(){return this.copy$.pipe((0,m.w)((()=>(0,B.H)(1500).pipe((0,x.U)(G.tD),(0,j.O)(!0)))))}onClick(){this.copy$.next()}}(Z=W).ɵfac=function(t){return new(t||Z)},Z.ɵcmp=r.Xpm({type:Z,selectors:[["tui-doc-copy"]],standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:3,consts:[["appearance","","size","s","tuiButton","","type","button","class","t-copy",3,"click",4,"ngIf"],["appearance","","size","s","tuiButton","","type","button",1,"t-copy",3,"click"],[1,"t-content"],[1,"t-initial"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Y,6,6,"button",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.texts$))},dependencies:[i.O5,i.Ov,d.xG],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;border-radius:var(--tui-radius-m)}.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-primary);background:var(--tui-background-base);overflow:hidden}.t-copy[_ngcontent-%COMP%]:hover{background:var(--tui-background-base-alt)}.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,U.gn)([Q.UM],W.prototype,"copied$",null);var K,X=n(43226),tt=n(99222),et=n(25693),nt=n(66266),it=n(55181),rt=n(58373),ot=n(44501),st=n(92840),at=n(3223),lt=n(83368),ct=n(71641),ut=n(93745),ht=n(26505),dt=n(61122),pt=n(19975),ft=n(67917),gt=n(62515);const mt=["content"],vt=["resizer"];function yt(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",22),2&t){const t=r.oxw(3);r.Q6J("items",t.updateOnVariants)}}const bt=function(){return{standalone:!0}};function _t(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",16),r._uU(1),r.ALo(2,"json"),r.qZA(),r.TgZ(3,"div",17)(4,"tui-select",18),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.updateOnChange(e))})),r._uU(5," updateOn "),r.YNc(6,yt,1,1,"tui-data-list-wrapper",19),r.qZA(),r.TgZ(7,"button",20),r._uU(8," Reset "),r.qZA(),r.TgZ(9,"button",21),r._uU(10," Submit "),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,bt))}}function wt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",10)(1,"div",11),r.GkF(2,12),r.qZA(),r.TgZ(3,"button",13),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.toggleDetails())})),r._uU(4),r.qZA(),r.TgZ(5,"tui-expand",14),r.YNc(6,_t,11,6,"ng-template",15),r.qZA()()}if(2&t){const t=r.oxw();r.Q6J("formGroup",t.testForm),r.xp6(2),r.Q6J("ngTemplateOutlet",t.template),r.xp6(1),r.Q6J("tuiChevron",t.expanded),r.xp6(1),r.hij(" ",t.texts[2]," "),r.xp6(1),r.Q6J("expanded",t.expanded)}}const xt=function(){return[1,0]};class Ct{constructor(){var t;this.el=(0,it.AG)(),this.locationRef=(0,r.f3M)(i.Ye),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.template=null,this.dark=(0,h.cd)(this.params.darkMode??(0,r.f3M)(et.QN).value),this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,h.cd)(this.params.sandboxOpaque??!0),this.expanded=(0,h.cd)(this.params.sandboxExpanded??!1),this.sandboxWidth=(t=this.params.sandboxWidth,parseInt(t,10)),this.texts=(0,r.f3M)(u.ru),this.control=null,this.sticky=!0}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}onModeChange(t){this.dark=t,this.updateUrl({sandboxWidth:this.sandboxWidth,darkMode:this.dark})}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.resizable||!this.content)return;const e=t||this.resizable.nativeElement.clientWidth,n=this.el.clientWidth,i=Math.round((0,rt.K)(e,160,n))-this.delta,r=e *[_ngcontent-%COMP%]{pointer-events:auto}.t-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-medium);display:flex;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;color:var(--tui-text-primary);background-color:var(--tui-background-base);overflow:hidden;pointer-events:auto}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-background-base-alt) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-background-base-alt) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}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-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-background-neutral-1);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:var(--tui-shadow-medium);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-border-normal);outline:none;background:var(--tui-background-base);color:var(--tui-text-primary)}.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-border-normal);box-shadow:-.25rem 0 var(--tui-border-normal);transform:translateZ(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-background-base)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports (position: sticky){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,U.gn)([Q.UM],Ct.prototype,"updateUrl",null);const kt=["*"];let Ot=(()=>{var t;class e{constructor(){this.src=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-tab"]],inputs:{src:"src"},standalone:!0,features:[r.jDz],ngContentSelectors:kt,decls:3,vars:1,consts:[[1,"t-tab"],["alt","Documentation tab icon",1,"t-icon",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r._UZ(1,"img",1),r.Hsn(2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("src",e.src,r.LSH))},styles:[".t-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:0 .5rem;gap:.5rem;color:var(--tui-text-primary)}.t-tab[_ngcontent-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem}"],changeDetection:0}),e})();var Mt=n(12405),St=n(62022),At=n(65026);let Pt=(()=>{var t;class e{transform(t,e,...n){return t.filter((t=>e(t,...n)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiFilter",type:t,pure:!0,standalone:!0}),e})(),Et=(()=>{var t;class e{transform(t){return Array.from(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiToArray",type:t,pure:!0,standalone:!0}),e})();var Tt=n(50109),It=n(94030),Dt=n(44713),zt=n(59679),Nt=n(45047),Ft=n(75097);let Lt=(()=>{var t;class e{constructor(){this.locationRef=(0,r.f3M)(i.Ye),this.activatedRoute=(0,r.f3M)(tt.gz),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.alerts=(0,r.f3M)(Ft.J9),this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new r.vpe,this.changed$=new R.x,this.emits$=new p.X(1),this.template=(0,r.f3M)(r.Rgc)}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 shouldShowValues(){return"output"!==this.documentationPropertyMode}get hasItems(){return!!this.documentationPropertyValues}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}ngOnChanges(){this.changed$.next()}onValueChange(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}emitEvent(t){let e;console.info(this.attrName,t),this.emits$.next(this.emits$.value+1),void 0!==t&&(e=(0,h.sj)(t,2)),this.alerts.open(e,{label:this.attrName}).subscribe()}parseParams(t){const e=t[this.documentationPropertyName],n=t[`${this.documentationPropertyName}$`];if(!e&&!n)return;let i=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,h.p8)(e);"string"===this.documentationPropertyType&&(0,Q.dt)(i)&&(i=i.toString()),this.onValueChange(i)}setQueryParam(t){const e=this.urlSerializer.parse(this.locationRef.path()),n=t instanceof Object,i=n&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,r=n?"$":"",o=this.documentationPropertyName+r;e.queryParams={...e.queryParams,[o]:i},this.locationRef.go(this.urlStateHandler(e))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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"],standalone:!0,features:[r.TTD]}),e})(),Rt=(()=>{var t;class e{transform(t){return t.includes("null")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0,standalone:!0}),e})();var Bt=n(79611);let jt=(()=>{var t;class e{transform(t){if(4===t.length)return t.split("").reduce(((t,e)=>[...t,e,e]),[]).join("").replace("#","");if(t.startsWith("#"))return t;if("transparent"===t)return"#000000";const e=t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map((t=>Number.parseInt(t,10)));return(0,Bt.W)(...e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetColorPipe",type:t,pure:!0,standalone:!0}),e})();var Ht=n(86253);let Vt=(()=>{var t;class e{constructor(){this.isE2E=(0,r.f3M)(Ht.oD)}transform(t,e=2){return this.isE2E&&"function"==typeof t?"λ(x) => y":(0,h.sj)(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiInspectAny",type:t,pure:!0,standalone:!0}),e})(),$t=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetOpacity",type:t,pure:!0,standalone:!0}),e})(),qt=(()=>{var t;class e{transform(t){return t.includes("?")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Zt=(()=>{var t;class e{transform(t){return t.replace("?","")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Ut=(()=>{var t;class e{constructor(){this.parser=(0,r.f3M)(u.B$),this.linkHandler=(0,r.f3M)(u.x9)}transform(t){return this.parser(t).map((({type:t,extracted:e})=>({type:t,extracted:e,reference:this.linkHandler?.(e)??null}))).sort(((t,e)=>e.reference?.localeCompare(t.reference??"")??-1))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocTypeReference",type:t,pure:!0,standalone:!0}),e})();var Gt=n(60598),Qt=n(2239),Jt=n(98015),Yt=n(16737),Wt=n(70388),Kt=n(97017);function Xt(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 te(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 ee(t,e){if(1&t&&(r.TgZ(0,"code",22),r._uU(1),r.ALo(2,"tuiStripOptionalPipe"),r.qZA()),2&t){const t=r.oxw().$implicit;r.Udp("color","var(--tui-background-accent-2-pressed)"),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.attrName)," ")}}function ne(t,e){1&t&&(r.TgZ(0,"tui-badge",23),r._uU(1," Optional "),r.qZA())}function ie(t,e){1&t&&(r.TgZ(0,"tui-badge",24),r._uU(1," Deprecated "),r.qZA())}function re(t,e){if(1&t&&(r.TgZ(0,"a",27),r._uU(1),r.qZA()),2&t){const t=r.oxw().$implicit;r.uIk("href",t.reference,r.LSH),r.xp6(1),r.hij(" ",t.type," ")}}function oe(t,e){if(1&t&&r._uU(0),2&t){const t=r.oxw().$implicit;r.hij(" ",t.type," ")}}function se(t,e){1&t&&(r.TgZ(0,"span"),r._uU(1," | "),r.qZA())}function ae(t,e){if(1&t&&(r.ynx(0),r.YNc(1,re,2,2,"a",25),r.YNc(2,oe,1,1,"ng-template",null,26,r.W1O),r.YNc(4,se,2,0,"span",1),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.reference)("ngIfElse",i),r.xp6(3),r.Q6J("ngIf",!n)}}function le(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",37),2&t){r.oxw(2);const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("itemContent",t)("items",e.documentationPropertyValues)}}function ce(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-select",34),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(3).$implicit;return r.KtG(n.onValueChange(e))})),r.ALo(1,"tuiShowCleanerPipe"),r.TgZ(2,"code",35),r._uU(3,"null"),r.qZA(),r.YNc(4,le,1,2,"tui-data-list-wrapper",36),r.qZA()}if(2&t){r.oxw();const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("nativeId",e.attrName)("ngModel",e.documentationPropertyValue)("tuiTextfieldCleaner",r.lcZ(1,5,e.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",t)}}function ue(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 he(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"input",42),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue)("showIcons",!0)}}function de(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-textfield",43)(1,"input",44),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()()}if(2&t){const t=r.oxw(4).$implicit;r.xp6(1),r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue||"")}}function pe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-input-number",45),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e||0))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function fe(t,e){if(1&t&&(r.ynx(0,38),r.YNc(1,he,1,3,"input",39),r.YNc(2,de,2,2,"tui-textfield",40),r.YNc(3,pe,1,4,"tui-input-number",41),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","number")}}function ge(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ce,5,7,"tui-select",31),r.YNc(2,ue,3,3,"ng-template",null,32,r.W1O),r.YNc(4,fe,4,4,"ng-template",null,33,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 me(t,e){if(1&t&&(r.TgZ(0,"tui-notification",46),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 ve(t,e){if(1&t&&(r.TgZ(0,"td",28),r.YNc(1,ge,6,2,"ng-container",29),r.YNc(2,me,3,3,"ng-template",null,30,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 ye(t,e){if(1&t&&(r.TgZ(0,"tr",11)(1,"td",12)(2,"div",13),r.YNc(3,ee,3,5,"code",14),r.YNc(4,ne,2,0,"tui-badge",15),r.ALo(5,"tuiIsOptionalPipe"),r.YNc(6,ie,2,0,"tui-badge",16),r.qZA(),r.GkF(7,17),r.qZA(),r.TgZ(8,"td",12)(9,"span",18)(10,"code",19),r.YNc(11,ae,5,3,"ng-container",20),r.ALo(12,"tuiDocTypeReference"),r.qZA()()(),r.YNc(13,ve,4,2,"td",21),r.qZA()),2&t){const t=e.$implicit,n=r.oxw(3);r.ekj("t-deprecated",t.documentationPropertyDeprecated),r.xp6(3),r.Q6J("ngIf",t.attrName),r.xp6(1),r.Q6J("ngIf",r.lcZ(5,8,t.attrName)),r.xp6(2),r.Q6J("ngIf",t.documentationPropertyDeprecated),r.xp6(1),r.Q6J("ngTemplateOutlet",t.template),r.xp6(4),r.Q6J("ngForOf",r.lcZ(12,10,t.documentationPropertyType)),r.xp6(2),r.Q6J("ngIf",n.showValues)}}function be(t,e){if(1&t&&(r.TgZ(0,"table",4)(1,"tr",5)(2,"th",6),r._uU(3),r.qZA(),r.TgZ(4,"th",7),r._uU(5),r.qZA(),r.YNc(6,te,2,1,"th",8),r.qZA(),r.YNc(7,ye,14,12,"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 _e(t,e){if(1&t&&(r.ynx(0),r.YNc(1,be,8,4,"table",3),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length)}}const we=["*"];let xe=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.getColor=(0,r.f3M)(jt),this.getOpacity=(0,r.f3M)($t),this.propertiesConnectors=G.Mm,this.texts=(0,r.f3M)(u.IK),this.excludedProperties=(0,r.f3M)(u.et),this.activeItemIndex=0,this.heading="",this.showValues=!0,this.isAPI=!1,this.matcher=(t,e)=>!e.has(t.documentationPropertyName)}ngAfterContentInit(){(0,At.ll)(this.propertiesConnectors).pipe((0,m.w)((t=>(0,Nt.T)(...t.map((({changed$:t})=>t))))),(0,At.NA)(this.cdr),(0,St.sL)(this.destroyRef)).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 i=`rgba(${(0,Tt.R)(e).join(", ")}, ${n/100})`;t.onValueChange(i)}onOpacityChange(t,e){const n=this.getColor.transform(t.documentationPropertyValue||""),i=`rgba(${(0,Tt.R)(n)}, ${(e||0)/100})`;t.onValueChange(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Lt,4),2&t){let t;r.iGM(t=r.CRH())&&(e.propertiesConnectors=t)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},standalone:!0,features:[r._Bn([jt,$t]),r.jDz],ngContentSelectors:we,decls:5,vars:8,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","t-additional-info"],["class","t-property-code",3,"color",4,"ngIf"],["appearance","neutral","size","s",4,"ngIf"],["appearance","error","size","s",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[1,"t-code-type"],[4,"ngFor","ngForOf"],["class","t-cell t-cell_value",4,"ngIf"],[1,"t-property-code"],["appearance","neutral","size","s"],["appearance","error","size","s"],["target","_blank","class","t-code-reference",4,"ngIf","ngIfElse"],["default",""],["target","_blank",1,"t-code-reference"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["tuiSwitch","","type","checkbox","class","t-switch",3,"id","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],["tuiSwitch","","type","checkbox",1,"t-switch",3,"id","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m"],["tuiTextfield","",3,"id","ngModel","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],[1,"t-output"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Xt,2,1,"h1",0),r.Hsn(1),r.YNc(2,_e,2,1,"ng-container",1),r.ALo(3,"tuiFilter"),r.ALo(4,"tuiToArray")),2&t&&(r.Q6J("ngIf",e.heading),r.xp6(2),r.Q6J("ngIf",r.Dn7(3,2,r.lcZ(4,6,e.propertiesConnectors),e.matcher,e.excludedProperties)))},dependencies:[i.O5,Pt,i.sg,Zt,qt,Dt.Cb,i.tP,Ut,lt.Jy,ht.u,dt.O,Gt.Ek,pt.g,ft.e,X.u5,X.Fj,X.Wl,X.JJ,X.On,Rt,Vt,i.RF,i.n9,st.AE,Qt.MB,Qt.bf,Qt.qm,zt._H,Jt.q,Yt.g,It.tK,i.Ov,Et,ct.cn,Wt.b,Kt.x,gt.s],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-border-normal)}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-secondary);font-weight:400;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%] .t-property-code[_ngcontent-%COMP%]{text-decoration:line-through}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-status-negative);font-size:.75rem}.t-additional-info[_ngcontent-%COMP%]{display:flex;gap:.3125rem;align-items:center}.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)}.t-code-type[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.t-code-reference[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-action);text-decoration:none;align-items:center;justify-content:center;gap:3px}.t-code-reference[_ngcontent-%COMP%]:after{content:"";font-size:1rem;width:1rem;height:1rem;background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%}.t-switch[_ngcontent-%COMP%]{display:block}'],data:{animation:[(0,Mt.X$)("emitEvent",[(0,Mt.eR)(":increment",[(0,Mt.oB)({opacity:1}),(0,Mt.jt)("500ms ease-in")])])]},changeDetection:0}),e})();var Ce=n(42772),ke=n(86198),Oe=n(32097),Me=n(25690),Se=n(35484),Ae=n(69401),Pe=n(81059);const Ee={codeEditorVisibilityHandler:t=>Boolean(t[Pe.N.TS]&&t[Pe.N.HTML]),tabTitles:new Map,fullsize:!0,linkIcon:"@tui.link"},Te=(0,Q.JN)(Ee);let Ie=(()=>{var t;class e{transform(t,e){return[e,...Object.keys(t).filter((e=>t[e]))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0,standalone:!0}),e})();var De=n(62417),ze=n(2115);function Ne(t,e){if(1&t&&r._UZ(0,"span",8),2&t){const t=e.polymorpheusOutlet;r.Q6J("textContent",t)}}function Fe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",9),r.NdJ("click",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.copyExampleLink(e.currentTarget))})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("fragment",t.id)("iconLeft",t.options.linkIcon),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.copy$)," ")}}function Le(t,e){if(1&t&&(r.TgZ(0,"h3",5),r.YNc(1,Ne,1,1,"span",6),r.YNc(2,Fe,3,5,"a",7),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.heading),r.xp6(1),r.Q6J("ngIf",t.id)}}function Re(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 Be(t,e){if(1&t&&(r.TgZ(0,"h4",10),r.YNc(1,Re,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.description)}}function je(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 He(t,e){if(1&t&&(r.TgZ(0,"button",21),r.YNc(1,je,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw().$implicit,e=r.oxw(4);r.xp6(1),r.Q6J("polymorpheusOutlet",e.getTabTitle(t))}}function Ve(t,e){1&t&&(r.ynx(0),r.YNc(1,He,2,1,"button",20),r.BQk())}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," ")}}function qe(t,e){if(1&t&&(r.ynx(0),r.YNc(1,$e,2,1,"ng-container",11),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("polymorpheusOutlet",t)}}function Ze(t,e){if(1&t&&(r.TgZ(0,"button",25),r._uU(1),r.qZA()),2&t){const t=r.oxw(5);r.xp6(1),r.hij(" Edit on ",t.codeEditor.name," ")}}function Ue(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-loader",22),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3).ngIf,n=r.oxw();return r.KtG(n.edit(e))})),r.ALo(1,"async"),r.YNc(2,qe,2,1,"ng-container",23),r.YNc(3,Ze,2,1,"ng-template",null,24,r.W1O),r.qZA()}if(2&t){const t=r.MAs(4),e=r.oxw(4);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 Ge(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",16)(1,"tui-tabs-with-more",17),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw(3);return r.KtG(n.activeItemIndex=e)})),r.YNc(2,Ve,2,0,"ng-container",18),r.qZA(),r.YNc(3,Ue,5,6,"tui-loader",19),r.ALo(4,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw().ngIf,e=r.oxw().ngIf,n=r.oxw();r.xp6(1),r.Q6J("activeItemIndex",n.activeItemIndex),r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Q6J("ngIf",r.xi3(4,3,e,n.visible))}}function Qe(t,e){if(1&t&&r.GkF(0,29),2&t){r.oxw(4);const t=r.MAs(5);r.Q6J("ngTemplateOutlet",t)}}const Je=function(t){return{$implicit:t}};function Ye(t,e){if(1&t&&r.GkF(0,30),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,Je,(null==e?null:e[t[n.activeItemIndex]])||""))}}function We(t,e){if(1&t&&(r.TgZ(0,"div",26),r.YNc(1,Qe,1,1,"ng-container",27),r.YNc(2,Ye,1,4,"ng-template",null,28,r.W1O),r.qZA()),2&t){const t=e.index,n=r.MAs(3),i=r.oxw(3);r.ekj("t-content_animated",!i.isE2E)("t-content_visible",i.activeItemIndex===t),r.xp6(1),r.Q6J("ngIf",t===i.defaultTabIndex)("ngIfElse",n)}}function Ke(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ge,5,6,"div",14),r.YNc(2,We,4,6,"div",15),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length>1),r.xp6(1),r.Q6J("ngForOf",t)}}function Xe(t,e){if(1&t&&(r.TgZ(0,"div",12),r.YNc(1,Ke,3,2,"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 tn(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 en(t,e){if(1&t&&(r.TgZ(0,"div",31),r.Hsn(1),r.YNc(2,tn,2,1,"ng-container",11),r.ALo(3,"async"),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.Q6J("polymorpheusOutlet",r.lcZ(3,1,t.lazyComponent$))}}function nn(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 rn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,nn,2,1,"ng-container",33),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit;r.xp6(1),r.Q6J("polymorpheusOutlet",t)("polymorpheusOutletContext",r.VKq(2,Je,n))}}function on(t,e){if(1&t&&(r.TgZ(0,"tui-doc-code",32),r.YNc(1,rn,2,4,"ng-container",18),r.qZA()),2&t){const t=e.$implicit,n=r.oxw();r.Q6J("code",t),r.xp6(1),r.Q6J("ngForOf",n.codeActions)}}const sn=["*"];let an=(()=>{var t;class e{constructor(){this.clipboard=(0,r.f3M)(s),this.alerts=(0,r.f3M)(Ft.J9),this.location=(0,r.f3M)(Ce.Ct),this.copyTexts$=(0,r.f3M)(J.UV),this.processContent=(0,r.f3M)(u.$_),this.rawLoader$$=new p.X({}),this.lazyLoader$$=new Se.t(1),this.options=(0,r.f3M)(Te),this.texts=(0,r.f3M)(u.mv),this.codeEditor=(0,r.f3M)(u.lW,{optional:!0}),this.isE2E=(0,r.f3M)(Ht.oD),this.codeActions=(0,r.f3M)(u.mT),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,x.U)((([t])=>t))),this.loading$=new R.x,this.processor$=this.rawLoader$$.pipe((0,m.w)(h.vP),(0,x.U)((t=>this.processContent(t)))),this.lazyComponent$=this.lazyLoader$$.pipe((0,m.w)(Ae.y),(0,x.U)((t=>new Me.Al(t.default)))),this.id=null,this.fullsize=(0,r.f3M)(Te).fullsize,this.componentName=this.location.pathname.slice(1),this.visible=t=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(t))}set content(t){this.rawLoader$$.next(t)}set component(t){this.lazyLoader$$.next(t)}getTabTitle(t){return this.options.tabTitles.get(t)||t}copyExampleLink(t){this.clipboard.copy(t?.href??""),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(t){this.loading$.next(!0),this.codeEditor?.edit(this.componentName,this.id||"",t).finally((()=>this.loading$.next(!1)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("id",e.id),r.ekj("_fullsize",e.fullsize))},inputs:{id:"id",heading:"heading",description:"description",fullsize:"fullsize",componentName:"componentName",content:"content",component:"component"},standalone:!0,features:[r.jDz],ngContentSelectors:sn,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"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"fragment","iconLeft","click",4,"ngIf"],[3,"textContent"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"fragment","iconLeft","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs","class","t-code-editor",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",1,"t-code-editor",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Le,3,2,"h3",0),r.YNc(1,Be,2,1,"h4",1),r.YNc(2,Xe,3,4,"div",2),r.ALo(3,"async"),r.YNc(4,en,4,3,"ng-template",null,3,r.W1O),r.YNc(6,on,2,2,"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$)))},dependencies:[i.O5,Me.s$,d.xG,tt.rH,i.Ov,Ie,De.W,ze.Yh,ze.Pk,i.sg,Oe.A6,ke.c,i.tP,q],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%]:target{animation:1s .3s tuiShaking}[_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:400;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}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 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-border-normal);justify-content:space-between;align-items:center;gap:.5rem}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-code-editor[_ngcontent-%COMP%]{flex-shrink:0}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.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}),e})();var ln=n(95079),cn=n(18004),un=n(73284),hn=n(34138),dn=n(41589),pn=n(16931),fn=n(71938);let gn=(()=>{var t;class e extends Me.GL{constructor(){super(...arguments),this.injector=(0,r.f3M)(r.gxx),this.portalService=(0,r.f3M)(fn.UA),this.component=new Me.Al(yn,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1,this.content=(0,r.f3M)(r.Rgc)}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=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},standalone:!0,features:[r.qOj]}),e})();const mn=["tuiSidebar",""];function vn(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 yn=(()=>{var t;class e{constructor(){this.directive=(0,r.f3M)(gn),this.options=(0,pn.qS)((0,r.f3M)(dn.ZW)),this.left={...this.options,value:"left"},this.right={...this.options,value:"right"}}ngDoCheck(){this.directive.check()}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}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(r.d8E("@tuiSlideIn",e.animation),r.Tol(e.directionHostClass))},standalone:!0,features:[r.jDz],attrs:mn,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,vn,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))},dependencies:[ln.d,Me.s$],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-background-base);box-shadow:0 10rem var(--tui-background-base);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[hn.Gw]},changeDetection:0}),e})();var bn=n(30696),_n=n(9368),wn=n(16100),xn=n(88543),Cn=n(71918),kn=n(38442),On=n(45130);function Mn(t){return t.map((({section:t})=>t)).filter(Q.Pc).filter(((t,e,n)=>n.indexOf(t)===e))}const Sn=new r.OlP("[NAVIGATION_TITLE]"),An=new r.OlP("[NAVIGATION_LABELS]"),Pn=new r.OlP("[NAVIGATION_ITEMS]"),En=[(0,wn.S9)({appearance:"icon"}),{provide:Sn,deps:[tt.F0,tt.gz,u.Yx],useFactory:(t,e,n)=>t.events.pipe((0,f.h)((t=>t instanceof tt.m2)),(0,x.U)((()=>e.firstChild)),(0,f.h)(Q.Pc),(0,On.z)((({data:t})=>t)),(0,x.U)((({title:t})=>`${n}${t}`)),(0,St.sL)())},{provide:An,deps:[u.V5],useFactory:Mn},{provide:Pn,deps:[u.V5],useFactory:t=>[...Mn(t).map((e=>t.filter((({section:t})=>t===e)))),t.filter((t=>!t.section))]}];var Tn,In=n(14814),Dn=n(5583),zn=n(63098),Nn=n(24149),Fn=n(28021);function Ln(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Rn(t,e){if(1&t&&(r.TgZ(0,"a",16),r._uU(1),r.YNc(2,Ln,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Bn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function jn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",19),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(5),n=r.MAs(1);return r.KtG(e.onClick(n))})),r._uU(1),r.YNc(2,Bn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit;r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Hn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Rn,3,5,"a",14),r.YNc(2,jn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}function Vn(t,e){if(1&t&&(r.TgZ(0,"tui-opt-group",12),r.YNc(1,Hn,4,2,"ng-container",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 $n(t,e){if(1&t&&(r.TgZ(0,"tui-data-list"),r.YNc(1,Vn,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 qn(t,e){1&t&&(r.ynx(0),r.YNc(1,$n,3,3,"tui-data-list",10),r.BQk())}const Zn=function(t,e){return{item:t,index:e}};function Un(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(2).index;r.oxw();const o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,100*i+n))}}function Gn(t,e){if(1&t&&(r.TgZ(0,"div",23),r.YNc(1,Un,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 Qn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-accordion-item",20),r.NdJ("openChange",(function(e){const n=r.CHM(t).index,i=r.oxw();return r.KtG(i.openPagesArr[n]=e)})),r.TgZ(1,"span",21)(2,"strong"),r._uU(3),r.qZA()(),r.YNc(4,Gn,2,1,"ng-template",22),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 Jn(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(),o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,i.items.length-1+n))}}function Yn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Wn(t,e){if(1&t&&(r.TgZ(0,"a",28),r._uU(1),r.YNc(2,Yn,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw(2).item;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Kn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Xn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",29),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,Kn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw(2).item,e=r.oxw();r.Q6J("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ti(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Wn,3,5,"a",27),r.YNc(2,Xn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=r.MAs(3),e=r.oxw().item;r.xp6(1),r.Q6J("ngIf",e.route.includes("://"))("ngIfElse",t)}}function ei(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ni(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",34),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(2).index,n=r.oxw();return r.KtG(n.onGroupClick(e))})),r._UZ(1,"tui-icon",35),r._uU(2),r.YNc(3,ei,1,1,"tui-icon",17),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.Q6J("icon",i.icons.more),r.xp6(1),r.hij(" ",n.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)}}function ii(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ri(t,e){if(1&t&&(r.TgZ(0,"a",37),r._uU(1),r.YNc(2,ii,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function oi(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function si(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",38),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(4);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,oi,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit,e=r.oxw(3);r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ai(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ri,3,5,"a",36),r.YNc(2,si,3,7,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}const li=function(){return{exact:!1}};function ci(t,e){if(1&t&&(r.TgZ(0,"div",30),r.YNc(1,ni,4,5,"button",31),r.TgZ(2,"tui-expand",32)(3,"div",33),r.YNc(4,ai,4,2,"ng-container",13),r.qZA()()()),2&t){const t=r.oxw(),e=t.item,n=t.index,i=r.oxw();r.Q6J("routerLinkActiveOptions",r.DdM(4,li)),r.xp6(1),r.Q6J("ngIf",e.subPages),r.xp6(1),r.Q6J("expanded",!!i.openPagesGroupsArr[n]),r.xp6(2),r.Q6J("ngForOf",i.$pages(e.subPages))}}function ui(t,e){if(1&t&&(r.YNc(0,ti,4,2,"ng-container",25),r.YNc(1,ci,5,5,"ng-template",null,26,r.W1O)),2&t){const t=e.item,n=r.MAs(2);r.Q6J("ngIf",!t.subPages)("ngIfElse",n)}}class hi{constructor(){this.router=(0,r.f3M)(tt.F0),this.doc=(0,r.f3M)(i.K0),this.menuOpen=!1,this.sidebar=(0,r.f3M)(gn,{optional:!0}),this.labels=(0,r.f3M)(An),this.items=(0,r.f3M)(Pn),this.searchText=(0,r.f3M)(u.EI),this.activatedRoute=(0,r.f3M)(tt.gz),this.docIcons=(0,r.f3M)(u.oq),this.icons=(0,r.f3M)(dn.Gs),this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new X.NI(""),this.filtered$=(0,At.EK)(this.search).pipe((0,f.h)((t=>t.trim().length>2)),(0,x.U)((t=>this.filterItems(this.flattenSubPages(this.items),t))));const t=(0,r.f3M)(T.Dx),e=(0,r.f3M)(u.V1);(0,r.f3M)(Sn).pipe((0,At.NA)((0,r.f3M)(r.sBO)),(0,St.sL)()).subscribe((e=>{t.setTitle(e),this.openActivePageGroup()})),(0,kn.a)([this.router.events.pipe((0,f.h)((t=>t instanceof tt.Xs))),(0,r.f3M)(Sn).pipe((0,m.w)((()=>e.pipe((0,f.h)(Boolean)))))]).pipe((0,g.q)(1),(0,x.U)((([t])=>t.anchor||"")),(0,f.h)(Boolean),(0,St.sL)()).subscribe((t=>this.navigateToAnchorLink(t)))}get canOpen(){return(this.search.value?.length??0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(t){return t}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,Q.pf)(t.filter((({title:t,keywords:n=""})=>(e=e.toLowerCase().trim(),n=n.toLowerCase(),(t=t.toLowerCase()).includes(e)||n.includes(e)||t.includes((0,h.OO)(e))||n.includes((0,h.OO)(e))||e.replaceAll("-","").includes(t)||t.includes(e.replaceAll(/\s|tui/g,""))||n.includes(e.replaceAll(/\s|tui/g,""))||e.split(/\s/).find((e=>t.includes(e)))))),"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"})}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}`):[];if(!e.length||!e[e.length-1])return;const n=this.doc.createElement("a");n.href=`${this.doc.location.pathname}#${t}`,n.style.display="none",n.style.position="absolute",this.doc.body.appendChild(n),n.click(),n.remove()}}(Tn=hi).ɵfac=function(t){return new(t||Tn)},Tn.ɵcmp=r.Xpm({type:Tn,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_open",e.menuOpen)},standalone:!0,features:[r._Bn(En),r.jDz],ngContentSelectors:["*"],decls:13,vars:11,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar"],[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"],[4,"ngFor","ngForOf"],["tuiOption","",3,"href","target",4,"ngIf","ngIfElse"],["internal",""],["tuiOption","",3,"href","target"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"],["tuiOption","",3,"fragment","routerLink","target","click"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["subPagesTemplate",""],["tuiLink","","class","t-sublink",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","target","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","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"icon"],["tuiLink","","class","t-sublink t-sublink_small",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink","t-sublink_small",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","target","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"tui-input",0,1),r._uU(2),r.YNc(3,qn,2,0,"ng-container",2),r.qZA(),r.TgZ(4,"nav",3)(5,"tui-scrollbar",4)(6,"tui-accordion",5),r.YNc(7,Qn,5,3,"tui-accordion-item",6),r.qZA(),r.TgZ(8,"div",7),r.YNc(9,Jn,1,5,"ng-container",8),r.qZA(),r.YNc(10,ui,3,2,"ng-template",null,9,r.W1O),r.qZA()(),r.Hsn(12)),2&t&&(r.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),r.xp6(2),r.hij(" ",e.searchText," "),r.xp6(1),r.Q6J("ngIf",e.canOpen),r.xp6(3),r.Q6J("closeOthers",!1)("rounded",!1),r.xp6(1),r.Q6J("ngForOf",e.labels),r.xp6(2),r.Q6J("ngForOf",e.itemsWithoutSections))},dependencies:[Cn.Qf,In.K,Dn.w,Qt.qm,X.UX,X.JJ,X.oH,bn.bi,zn.qi,zn.gX,zn.bH,zn.c4,i.Ov,i.sg,i.O5,_n.R,Me.s$,tt.rH,xn.D1,Nn.z0,Nn.tR,Nn.Z0,i.tP,wn.lI,un.k,tt.Od,ut.SV,ct.cn,Wt.b,Kt.x,gt.s,Fn.a],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-background-base)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-input[_ngcontent-%COMP%] tui-icon{border:.25rem solid transparent}.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%}tui-root._reduced-motion[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%], tui-root._reduced-motion [_nghost-%COMP%] .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:-.5rem 0 -1rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-border-normal)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem;padding:.5rem 0}.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.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-primary)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.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,U.gn)([Q.UM],hi.prototype,"filterItems",null),(0,U.gn)([Q.UM],hi.prototype,"flattenSubPages",null);const di=["tuiDocHeader",""];function pi(t,e){1&t&&r._UZ(0,"tui-doc-navigation",4)}function fi(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("src",t,r.LSH)}}const gi=["*"];let mi=(()=>{var t;class e{constructor(){this.stream$=new R.x,this.router=(0,r.f3M)(tt.F0),this.icons=(0,r.f3M)(u.oq),this.logo=(0,r.f3M)(u.Or),this.menu=(0,r.f3M)(u.gG),this.open$=(0,Nt.T)(this.router.events.pipe((0,x.U)(G.tD)),this.stream$).pipe((0,j.O)(!1),(0,cn.x)())}onClick(){this.stream$.next(!0)}onActiveZone(t){t||this.stream$.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],standalone:!0,features:[r.jDz],attrs:di,ngContentSelectors:gi,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"iconLeft","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,pi,1,0,"tui-doc-navigation",1),r.ALo(2,"async"),r.qZA(),r.TgZ(3,"div",2),r.YNc(4,fi,1,1,"img",3),r.qZA(),r.Hsn(5)),2&t&&(r.Q6J("iconLeft",e.icons.menu)("title",e.menu),r.xp6(1),r.Q6J("tuiSidebar",!!r.lcZ(2,4,e.open$)),r.xp6(3),r.Q6J("polymorpheusOutlet",e.logo))},dependencies:[d.xG,ln.d,gn,i.Ov,Me.s$,hi],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:1;display:flex;box-shadow:var(--tui-shadow-small);height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-background-base);border-bottom:1px solid var(--tui-border-normal)}@supports (background: color-mix(in srgb,var(--tui-background-base),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-background-base),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.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}),e})();function vi(t,e){1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t&&(r.xp6(1),r.Oqu(", "))}function yi(t,e){if(1&t&&(r.ynx(0),r._UZ(1,"a",2),r.YNc(2,vi,2,1,"ng-container",3),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.oxw();r.xp6(1),r.Q6J("innerText",t)("routerLink",i.getRouterLink(t)),r.xp6(1),r.Q6J("ngIf",!n)}}let bi=(()=>{var t;class e{constructor(){this.pages=(0,r.f3M)(u._Z),this.text=(0,r.f3M)(u.VX),this.seeAlso=[]}getRouterLink(t){return this.pages.get(t)?.route??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.qZA(),r.YNc(2,yi,3,3,"ng-container",1)),2&t&&(r.xp6(1),r.Oqu(e.text),r.xp6(1),r.Q6J("ngForOf",e.seeAlso))},dependencies:[wn.lI,i.sg,tt.rH,i.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-secondary);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),e})();var _i;function wi(t,e){if(1&t&&(r.TgZ(0,"a",1),r._uU(1),r.qZA()),2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.Udp("height","var(--tui-height-l)"),r.Q6J("href",t,r.LSH)("iconLeft",n.icons.code),r.xp6(1),r.hij(" ",n.text,"\n")}}class xi{constructor(){this.icons=(0,r.f3M)(u.oq),this.sourceCode=(0,r.f3M)(u.yO),this.text=(0,r.f3M)(u.as),this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(t){return t.startsWith("http")}getPathOptions(t,e,n,i){return{header:t,package:e,type:n,path:i}}}(_i=xi).ɵfac=function(t){return new(t||_i)},_i.ɵcmp=r.Xpm({type:_i,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},standalone:!0,features:[r.jDz],decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft","height",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft"]],template:function(t,e){1&t&&r.YNc(0,wi,2,5,"a",0),2&t&&r.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},dependencies:[Me.s$,d.xG],encapsulation:2,changeDetection:0}),(0,U.gn)([Q.UM],xi.prototype,"pathIsUrl",null),(0,U.gn)([Q.UM],xi.prototype,"getPathOptions",null),n(18639),n(3667);var Ci=n(69838),ki=n(38525);const Oi=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],Mi=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let Si=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(u.oq),this.dark$=(0,r.f3M)(et.QN)}get icon(){return this.dark$.value?this.icons.light:this.icons.dark}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-main"]],standalone:!0,features:[r._Bn([Ci.$D]),r.jDz],ngContentSelectors:Mi,decls:20,vars:6,consts:[[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","size","s","tuiIconButton","","type","button",1,"tui-doc-dark-mode-switch",3,"iconLeft","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverDropdowns",5,["tuiOverDropdowns"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(r.F$t(Oi),r.TgZ(0,"tui-root"),r.ALo(1,"async"),r.TgZ(2,"div",0)(3,"tui-doc-navigation",1),r.Hsn(4),r.qZA(),r.TgZ(5,"div",2),r._UZ(6,"router-outlet",3),r.qZA()(),r.TgZ(7,"header",4),r.Hsn(8,1),r.TgZ(9,"button",5),r.NdJ("click",(function(){return e.dark$.toggle()})),r.qZA()(),r.ynx(10,6),r.Hsn(11,2),r.BQk(),r.ynx(12,7),r.Hsn(13,3),r.BQk(),r.ynx(14,8),r.Hsn(15,4),r.BQk(),r.ynx(16,9),r.Hsn(17,5),r.BQk(),r.ynx(18,10),r.Hsn(19,6),r.BQk(),r.qZA()),2&t&&(r.uIk("tuiTheme",r.lcZ(1,4,e.dark$)?"dark":null),r.xp6(9),r.Udp("border-radius",100,"%"),r.Q6J("iconLeft",e.icon))},dependencies:[ki.q,i.Ov,tt.lC,d.xG,mi,hi],styles:["@keyframes tuiShaking{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-.3125rem,0,0)}20%,40%,60%,80%{transform:translate3d(.3125rem,0,0)}}html,body{scroll-padding-top:4rem;background:var(--tui-background-base)}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}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;display:inline-flex;background:var(--tui-background-base-alt);color:var(--tui-text-secondary);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-border-hover);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*=language-]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*=language-]){color:var(--tui-text-action)}button:focus code,a:focus code{background:var(--tui-background-base)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-border-normal)}@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-dark-mode-switch{margin-left:1rem}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-primary);background-color:var(--tui-background-neutral-1)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:400;color:var(--tui-text-primary)}tui-doc-code .hljs-property{color:#bd65a4}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-secondary);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:700;color:var(--tui-text-action)}tui-doc-code .hljs-attr{color:var(--tui-text-action)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:700;color:#b8474e}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:400}tui-doc-code .hljs-string{color:var(--tui-status-positive);font-weight:700}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-primary);background:var(--tui-background-base-alt);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-text-action-hover)}tui-doc-code .hljs-addition{background:var(--tui-status-positive-pale)}tui-doc-code .hljs-deletion{background:var(--tui-status-negative-pale)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:700}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}[tuiTheme=dark] tui-doc-code .hljs-variable,tui-doc-code[tuiTheme=dark] .hljs-variable,[tuiTheme=dark] tui-doc-code .hljs-template-variable,tui-doc-code[tuiTheme=dark] .hljs-template-variable{color:var(--tui-status-warning)}\n"],encapsulation:2}),e})(),Ai=(()=>{var t;class e{transform(t,e,n){return t?.replace(e,n)??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiReplace",type:t,pure:!0,standalone:!0}),e})();var Pi=n(13027),Ei=n(73378);const Ti=new r.OlP("[PAGE_SEE_ALSO]"),Ii=[{provide:Ti,deps:[r.SBq,u.UL],useFactory:({nativeElement:t},e)=>{const n=t.getAttribute("header"),i=e.filter((t=>t.includes(n)))||[],r=new Set(i.join().split(",").filter((t=>t&&t!==n)));return Array.from(r)}}];let Di=(()=>{var t;class e{constructor(){this.template=(0,r.f3M)(r.Rgc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["ng-template","pageTab",""]],inputs:{pageTab:"pageTab"},standalone:!0}),e})();function zi(t,e){1&t&&(r.TgZ(0,"tui-chip",9),r._uU(1," deprecated "),r.qZA())}function Ni(t,e){if(1&t&&(r.TgZ(0,"tui-chip",10),r.ALo(1,"tuiAutoColor"),r._uU(2),r.qZA()),2&t){const t=r.oxw();r.Udp("background",r.lcZ(1,3,t.package)),r.xp6(2),r.hij(" ",t.package," ")}}const Fi=function(t){return{exact:t}};function Li(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("routerLink",e?"./":r.Dn7(1,3,t,n.from,n.to))("routerLinkActiveOptions",r.VKq(7,Fi,e)),r.xp6(2),r.hij(" ",t," ")}}function Ri(t,e){1&t&&(r.ynx(0),r.YNc(1,Li,3,9,"a",13),r.BQk())}function Bi(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ri,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 ji(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-tabs-with-more",11),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.activeItemIndex=e)})),r.YNc(1,Bi,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 Hi(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 Vi(t,e){if(1&t&&r.GkF(0,17),2&t){const t=r.oxw().$implicit;r.Q6J("ngTemplateOutlet",t.template)}}function $i(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Vi,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)}}const qi=["*"];let Zi=(()=>{var t;class e{constructor(){this.defaultTabs=(0,r.f3M)(u.AC),this.from=/ /g,this.to="_",this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=G.Mm,this.activeItemIndex=0,this.seeAlso=(0,r.f3M)(Ti)}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Di,4),2&t){let t;r.iGM(t=r.CRH())&&(e.tabConnectors=t)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},standalone:!0,features:[r._Bn(Ii),r.jDz],ngContentSelectors:qi,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["appearance","custom","size","xs","class","t-tag t-tag_deprecated",4,"ngIf"],["appearance","custom","size","xs","class","t-tag t-tag_package",3,"background",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["appearance","custom","size","xs",1,"t-tag","t-tag_deprecated"],["appearance","custom","size","xs",1,"t-tag","t-tag_package"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[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)(1,"h1",1),r._uU(2),r.YNc(3,zi,2,0,"tui-chip",2),r.YNc(4,Ni,3,5,"tui-chip",3),r.qZA(),r.YNc(5,ji,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,Hi,1,1,"tui-doc-see-also",7),r.YNc(10,$i,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)("path",e.path)("type",e.type),r.xp6(3),r.Q6J("ngIf",e.showSeeAlso),r.xp6(1),r.Q6J("ngForOf",e.tabConnectors))},dependencies:[Ei.Xt,i.O5,Pi.$,De.W,ze.Yh,ze.Pk,i.sg,tt.rH,tt.Od,Ai,xi,bi,i.tP],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-primary);box-shadow:inset 0 -1px 0 0 var(--tui-border-normal);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-status-negative);color:#fff}.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}),e})()},73284:(t,e,n)=>{n.d(e,{k:()=>h,g:()=>d});var i=n(20755),r=n(62022),o=n(32101),s=n(55181),a=n(35484),l=n(55333),c=n(84787),u=n(20155);let h=(()=>{var t;class e{constructor(){this.scroll$=new a.t(1);const t=(0,s.AG)();(0,i.f3M)(o.V1).pipe((0,l.h)(Boolean),(0,c.w)((()=>this.scroll$)),(0,u.b)(750),(0,l.h)((e=>e&&!!(0,s.PU)(t))),(0,r.sL)()).subscribe((()=>t.scrollIntoView()))}set tuiScrollIntoViewLink(t){this.scroll$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},standalone:!0}),e})(),d=(()=>{var t;class e{constructor(){this.code=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["code","tuiText",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("textContent",e.code)},inputs:{code:["tuiText","code"]},standalone:!0}),e})()},89037:(t,e,n)=>{n.d(e,{AC:()=>bt.AC,Es:()=>bt.Es,Or:()=>bt.Or,V5:()=>bt.V5,V1:()=>bt.V1,yO:()=>bt.yO,Yx:()=>bt.Yx,N0:()=>_t.N,ws:()=>o.ws,JQ:()=>o.JQ,vi:()=>o.vi});var i=n(63613),r=n(73284),o=n(36541),s=n(86889);function a(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}let l={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function c(t){l=t}const u=/[&<>"']/,h=new RegExp(u.source,"g"),d=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,p=new RegExp(d.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},g=t=>f[t];function m(t,e){if(e){if(u.test(t))return t.replace(h,g)}else if(d.test(t))return t.replace(p,g);return t}const v=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,y=/(^|[^\[])\^/g;function b(t,e){let n="string"==typeof t?t:t.source;e=e||"";const i={replace:(t,e)=>{let r="string"==typeof e?e:e.source;return r=r.replace(y,"$1"),n=n.replace(t,r),i},getRegex:()=>new RegExp(n,e)};return i}function _(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch(t){return null}return t}const w={exec:()=>null};function x(t,e){const n=t.replace(/\|/g,((t,e,n)=>{let i=!1,r=e;for(;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:C(t,"\n")}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const t=e[0],n=function(t,e){const n=t.match(/^(\s+)(?:```)/);if(null===n)return e;const i=n[1];return e.split("\n").map((t=>{const e=t.match(/^\s+/);if(null===e)return t;const[n]=e;return n.length>=i.length?t.slice(i.length):t})).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){const e=C(t,"#");this.options.pedantic?t=e.trim():e&&!/ $/.test(e)||(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:C(e[0],"\n")}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let t=C(e[0],"\n").split("\n"),n="",i="";const r=[];for(;t.length>0;){let e=!1;const o=[];let s;for(s=0;s/.test(t[s]))o.push(t[s]),e=!0;else{if(e)break;o.push(t[s])}t=t.slice(s);const a=o.join("\n"),l=a.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${a}`:a,i=i?`${i}\n${l}`:l;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,r,!0),this.lexer.state.top=c,0===t.length)break;const u=r[r.length-1];if("code"===u?.type)break;if("blockquote"===u?.type){const e=u,o=e.raw+"\n"+t.join("\n"),s=this.blockquote(o);r[r.length-1]=s,n=n.substring(0,n.length-e.raw.length)+s.raw,i=i.substring(0,i.length-e.text.length)+s.text;break}if("list"!==u?.type);else{const e=u,o=e.raw+"\n"+t.join("\n"),s=this.list(o);r[r.length-1]=s,n=n.substring(0,n.length-u.raw.length)+s.raw,i=i.substring(0,i.length-e.raw.length)+s.raw,t=o.substring(r[r.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:r,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim();const i=n.length>1,r={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let s="",a="",l=!1;for(;t;){let n=!1;if(!(e=o.exec(t)))break;if(this.rules.block.hr.test(t))break;s=e[0],t=t.substring(s.length);let i=e[2].split("\n",1)[0].replace(/^\t+/,(t=>" ".repeat(3*t.length))),c=t.split("\n",1)[0],u=0;this.options.pedantic?(u=2,a=i.trimStart()):(u=e[2].search(/[^ ]/),u=u>4?1:u,a=i.slice(u),u+=e[1].length);let h=!1;if(!i&&/^ *$/.test(c)&&(s+=c+"\n",t=t.substring(c.length+1),n=!0),!n){const e=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),r=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;t;){const l=t.split("\n",1)[0];if(c=l,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),r.test(c))break;if(o.test(c))break;if(e.test(c))break;if(n.test(t))break;if(c.search(/[^ ]/)>=u||!c.trim())a+="\n"+c.slice(u);else{if(h)break;if(i.search(/[^ ]/)>=4)break;if(r.test(i))break;if(o.test(i))break;if(n.test(i))break;a+="\n"+c}h||c.trim()||(h=!0),s+=l+"\n",t=t.substring(l.length+1),i=c.slice(u)}}r.loose||(l?r.loose=!0:/\n *\n *$/.test(s)&&(l=!0));let d,p=null;this.options.gfm&&(p=/^\[[ xX]\] /.exec(a),p&&(d="[ ] "!==p[0],a=a.replace(/^\[[ xX]\] +/,""))),r.items.push({type:"list_item",raw:s,task:!!p,checked:d,loose:!1,text:a,tokens:[]}),r.raw+=s}r.items[r.items.length-1].raw=s.trimEnd(),r.items[r.items.length-1].text=a.trimEnd(),r.raw=r.raw.trimEnd();for(let t=0;t"space"===t.type)),n=e.length>0&&e.some((t=>/\n.*\n/.test(t.raw)));r.loose=n}if(r.loose)for(let t=0;t$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:i}}}table(t){const e=this.rules.block.table.exec(t);if(!e)return;if(!/[:|]/.test(e[2]))return;const n=x(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),r=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const t of i)/^ *-+: *$/.test(t)?o.align.push("right"):/^ *:-+: *$/.test(t)?o.align.push("center"):/^ *:-+ *$/.test(t)?o.align.push("left"):o.align.push(null);for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:o.align[e]}))));return o}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:m(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^/i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const t=e[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;const e=C(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{const t=function(t,e){if(-1===t.indexOf(e[1]))return-1;let n=0;for(let i=0;i-1){const n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){const t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);t&&(n=t[1],i=t[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),/^$/.test(t)?n.slice(1):n.slice(1,-1)),k(e,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},e[0],this.lexer)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const t=e[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!t){const t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return k(n,t,n[0],this.lexer)}}emStrong(t,e,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(i&&(!i[3]||!n.match(/[\p{L}\p{N}]/u))&&(!i[1]&&!i[2]||!n||this.rules.inline.punctuation.exec(n))){const n=[...i[0]].length-1;let r,o,s=n,a=0;const l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+n);null!=(i=l.exec(e));){if(r=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!r)continue;if(o=[...r].length,i[3]||i[4]){s+=o;continue}if((i[5]||i[6])&&n%3&&!((n+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);const e=[...i[0]][0].length,l=t.slice(0,n+i.index+e+o);if(Math.min(n,o)%2){const t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}const c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," ");const n=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return n&&i&&(t=t.substring(1,t.length-1)),t=m(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=m(e[1]),n="mailto:"+t):(t=m(e[1]),n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=m(e[0]),n="mailto:"+t;else{let i;do{i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??""}while(i!==e[0]);t=m(e[0]),n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:m(e[0]),{type:"text",raw:e[0],text:t}}}}const M=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,A=b(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,S).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),P=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,E=/(?!\s*\])(?:\\.|[^\[\]\\])+/,T=b(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",E).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),I=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),D="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",z=/|$))/,N=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",z).replace("tag",D).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),F=b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),L={blockquote:b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",F).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:T,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:M,html:N,lheading:A,list:I,newline:/^(?: *(?:\n|$))+/,paragraph:F,table:w,text:/^[^\n]+/},R=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),B={...L,table:R,paragraph:b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",R).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex()},j={...L,html:b("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",z).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(P).replace("hr",M).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},H=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,V=/^( {2,}|\\)\n(?!\s*$)/,$="\\p{P}\\p{S}",q=b(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,$).getRegex(),Z=b(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,$).getRegex(),U=b("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,$).getRegex(),G=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,$).getRegex(),Q=b(/\\([punct])/,"gu").replace(/punct/g,$).getRegex(),J=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Y=b(z).replace("(?:--\x3e|$)","--\x3e").getRegex(),W=b("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Y).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),K=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X=b(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",K).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tt=b(/^!?\[(label)\]\[(ref)\]/).replace("label",K).replace("ref",E).getRegex(),et=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",E).getRegex(),nt={_backpedal:w,anyPunctuation:Q,autolink:J,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:V,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,emStrongLDelim:Z,emStrongRDelimAst:U,emStrongRDelimUnd:G,escape:H,link:X,nolink:et,punctuation:q,reflink:tt,reflinkSearch:b("reflink|nolink(?!\\()","g").replace("reflink",tt).replace("nolink",et).getRegex(),tag:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\e+" ".repeat(n.length)));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(i=n.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))))if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);else if(i=this.tokenizer.code(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?e.push(i):(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.list(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.html(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.def(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.table(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.lheading(t))t=t.substring(i.raw.length),e.push(i);else{if(o=t,this.options.extensions&&this.options.extensions.startBlock){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startBlock.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(o=t.substring(0,e+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o)))r=e[e.length-1],n&&"paragraph"===r?.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i),n=o.length!==t.length,t=t.substring(i.raw.length);else if(i=this.tokenizer.text(t))t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let n,i,r,o,s,a,l=t;if(this.tokens.links){const t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((i=>!!(n=i.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))))if(n=this.tokenizer.escape(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.tag(t))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.link(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.emStrong(t,l,a))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.codespan(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.br(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.del(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.autolink(t))t=t.substring(n.raw.length),e.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(t))){if(r=t,this.options.extensions&&this.options.extensions.startInline){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startInline.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(r=t.substring(0,e+1))}if(n=this.tokenizer.inlineText(r))t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0,i=e[e.length-1],i&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}else t=t.substring(n.raw.length),e.push(n);return e}}class ct{constructor(t){(0,s.Z)(this,"options",void 0),(0,s.Z)(this,"parser",void 0),this.options=t||l}space(t){return""}code({text:t,lang:e,escaped:n}){const i=(e||"").match(/^\S*/)?.[0],r=t.replace(/\n$/,"")+"\n";return i?'
'+(n?r:m(r,!0))+"
\n":"
"+(n?r:m(r,!0))+"
\n"}blockquote({tokens:t}){return`
\n${this.parser.parse(t)}
\n`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)}\n`}hr(t){return"
\n"}list(t){const e=t.ordered,n=t.start;let i="";for(let e=0;e\n"+i+"\n"}listitem(t){let e="";if(t.task){const n=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=n+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • \n`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    \n`}table(t){let e="",n="";for(let e=0;e${i}`),"\n\n"+e+"\n"+i+"
    \n"}tablerow({text:t}){return`\n${t}\n`}tablecell(t){const e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`\n`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:n}){const i=this.parser.parseInline(n),r=_(t);if(null===r)return i;let o='
    ",o}image({href:t,title:e,text:n}){const i=_(t);if(null===i)return n;let r=`${n}"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}(n.parser.parseInline(i.tokens,n.parser.textRenderer))):t.apply(this,arguments)};case"code":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.lang,!!n.escaped):t.apply(this,arguments)};case"table":return function(n){if(!n.type||n.type!==e)return t.apply(this,arguments);let i="",r="";for(let t=0;t0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):a+=t+" "}a+=this.parser.parse(e.tokens,o),s+=this.listitem({type:"list_item",raw:a,text:a,task:r,checked:!!i,loose:o,tokens:e.tokens})}return t.call(this,s,i,r)};case"html":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.block):t.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(n){return n.type&&n.type===e?t.call(this,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"escape":case"codespan":case"text":return function(n){return n.type&&n.type===e?t.call(this,n.text):t.apply(this,arguments)};case"link":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"image":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,n.text):t.apply(this,arguments)}}return t}function gt(t,e){return(n,i)=>{const r={...i},o={...this.defaults,...r};!0===this.defaults.async&&!1===r.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const s=a(pt,this,mt).call(this,!!o.silent,!!o.async);if(null==n)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((e=>t(e,o))).then((t=>o.hooks?o.hooks.processAllTokens(t):t)).then((t=>o.walkTokens?Promise.all(this.walkTokens(t,o.walkTokens)).then((()=>t)):t)).then((t=>e(t,o))).then((t=>o.hooks?o.hooks.postprocess(t):t)).catch(s);try{o.hooks&&(n=o.hooks.preprocess(n));let i=t(n,o);o.hooks&&(i=o.hooks.processAllTokens(i)),o.walkTokens&&this.walkTokens(i,o.walkTokens);let r=e(i,o);return o.hooks&&(r=o.hooks.postprocess(r)),r}catch(t){return s(t)}}}function mt(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){const t="

    An error occurred:

    "+m(n.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}const vt=new class{constructor(...t){var e;(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(this,e=pt),e.add(this),(0,s.Z)(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),(0,s.Z)(this,"options",this.setOptions),(0,s.Z)(this,"parse",a(pt,this,gt).call(this,lt.lex,ht.parse)),(0,s.Z)(this,"parseInline",a(pt,this,gt).call(this,lt.lexInline,ht.parseInline)),(0,s.Z)(this,"Parser",ht),(0,s.Z)(this,"Renderer",ct),(0,s.Z)(this,"TextRenderer",ut),(0,s.Z)(this,"Lexer",lt),(0,s.Z)(this,"Tokenizer",O),(0,s.Z)(this,"Hooks",dt),this.use(...t)}walkTokens(t,e){let n=[];for(const i of t)switch(n=n.concat(e.call(this,i)),i.type){case"table":{const t=i;for(const i of t.header)n=n.concat(this.walkTokens(i.tokens,e));for(const i of t.rows)for(const t of i)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":{const t=i;n=n.concat(this.walkTokens(t.items,e));break}default:{const t=i;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach((i=>{const r=t[i].flat(1/0);n=n.concat(this.walkTokens(r,e))})):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach((t=>{const n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let i=t.renderer.apply(this,e);return!1===i&&(i=n.apply(this,e)),i}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),n.extensions=e),t.renderer){const e=this.defaults.renderer||new ct(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const i=n;let r=t.renderer[i];const o=e[i];e[i]=(...n)=>{t.useNewRenderer||(r=a(pt,this,ft).call(this,r,i,e));let s=r.apply(e,n);return!1===s&&(s=o.apply(e,n)),s||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new O(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const i=n,r=t.tokenizer[i],o=e[i];e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new dt;for(const n in t.hooks){if(!(n in e))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const i=n,r=t.hooks[i],o=e[i];dt.passThroughHooks.has(n)?e[i]=t=>{if(this.defaults.async)return Promise.resolve(r.call(e,t)).then((t=>o.call(e,t)));const n=r.call(e,t);return o.call(e,n)}:e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,i=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(i.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return lt.lex(t,e??this.defaults)}parser(t,e){return ht.parse(t,e??this.defaults)}};function yt(t,e){return vt.parse(t,e)}yt.options=yt.setOptions=function(t){return vt.setOptions(t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},yt.defaults=l,yt.use=function(...t){return vt.use(...t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.walkTokens=function(t,e){return vt.walkTokens(t,e)},yt.parseInline=vt.parseInline,yt.Parser=ht,yt.parser=ht.parse,yt.Renderer=ct,yt.TextRenderer=ut,yt.Lexer=lt,yt.lexer=lt.lex,yt.Tokenizer=O,yt.Hooks=dt,yt.parse=yt,yt.options,yt.setOptions,yt.use,yt.walkTokens,yt.parseInline,ht.parse,lt.lex,n(25693);var bt=n(32101),_t=n(81059);i.lh,i.NC,i.oI,i.D_,i.Cv,i.Ei,i.fz,i.cJ,i.b7,i.xR,i.Cn,i.t9,i.og,r.g},25693:(t,e,n)=>{n.d(e,{QN:()=>c});var i=n(73740);(0,i.JN)("tuiTheme"),(0,i.JN)("Taiga UI");const r=(0,i.JN)("tuiNight"),o=(0,i.JN)(!1);var s=n(20755),a=n(42772),l=n(56424);let c=(()=>{var t;class e extends l.X{constructor(){super(function(t,e,n){const i=n.matchMedia("(prefers-color-scheme: dark)").matches||(0,s.f3M)(o);return"true"===t.getItem(e)||null===t.getItem(e)&&i}((0,s.f3M)(a.H3),(0,s.f3M)(r),(0,s.f3M)(a.m9))),this.storage=(0,s.f3M)(a.H3),this.key=(0,s.f3M)(r)}next(t){this.storage.setItem(this.key,String(t)),super.next(t)}toggle(){this.next(!this.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=s.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},32101:(t,e,n)=>{n.d(e,{mT:()=>r,lW:()=>s,AC:()=>a,ru:()=>f,IK:()=>g,$_:()=>h,Es:()=>d,mv:()=>m,et:()=>p,oq:()=>l,Or:()=>w,_Z:()=>A,gG:()=>v,V5:()=>S,V1:()=>M,EI:()=>y,UL:()=>P,VX:()=>b,yO:()=>E,as:()=>_,Yx:()=>T,x9:()=>I,B$:()=>D,Ii:()=>z});var i=n(73740);const r=(0,i.JN)("");var o=n(20755);const s=new o.OlP("[TUI_DOC_CODE_EDITOR]"),a=(0,i.JN)([]),l=(0,i.JN)({search:"@tui.search",light:"@tui.sun",dark:"@tui.moon",code:"@tui.code",menu:"@tui.menu"});var c=n(36541),u=n(69401);const h=(0,i.JN)(u.y),d=(0,i.JN)(c.vi),p=(0,i.JN)(new Set([])),f=(0,i.JN)(["Dark mode","Background","Form value"]),g=(0,i.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),m=(0,i.JN)(["Preview","Link to a sample was successfully copied","Done"]),v=(0,i.JN)("Menu"),y=(0,i.JN)("Search"),b=(0,i.JN)("See also"),_=(0,i.JN)("Source code"),w=(0,i.JN)("");var x=n(83562),C=n(1925),k=n(84787),O=n(71209);const M=(0,i.JN)((0,x.P)((()=>(0,C.H)(200).pipe((0,k.w)((()=>(0,O.of)(!0))))))),S=(0,i.JN)([]),A=(0,i.N1)((()=>(0,c.S4)((0,o.f3M)(S)))),P=(0,i.JN)([]),E=(0,i.JN)(null),T=(0,i.JN)(""),I=(0,i.JN)(null),D=(0,i.JN)(c.TN),z=(0,i.JN)(String)},81059:(t,e,n)=>{n.d(e,{N:()=>i});const i={TS:"TypeScript",LESS:"LESS",HTML:"HTML"}},36541:(t,e,n)=>{function i(t){return JSON.parse(JSON.stringify(t,((t,e)=>function(t){const e="string"==typeof t?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e)))}function r(t){return"true"===t?.toString()}function o(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{return n}}function s(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"[…]";let n="",i=!0;for(let r=0;ri,p8:()=>o,cd:()=>r,sj:()=>s,ws:()=>c,JQ:()=>h,vP:()=>p,S4:()=>g,OO:()=>v,vi:()=>l,TN:()=>y});var a=n(89088);function l(t=""){const e=(new a.Z).parse(t,{}).filter((({tag:t,type:e})=>"code"===t&&"fence"===e)).map((({content:t})=>t.trim()));return e.length?e:[t]}function c({path:t,title:e,loadComponent:n,loadChildren:i}={}){return{path:t?.replace(/^\//,""),loadComponent:n,loadChildren:i,data:{title:e},...i||""===t?{}:{children:[{path:":tab",loadComponent:n}]}}}var u=n(8239);function h(t){return d.apply(this,arguments)}function d(){return(d=(0,u.Z)((function*(t){return t instanceof Promise?(yield t).default:t}))).apply(this,arguments)}function p(t){return f.apply(this,arguments)}function f(){return(f=(0,u.Z)((function*(t){const e={};for(const[n,i]of Object.entries(t))i&&(e[n]=yield h(i));return e}))).apply(this,arguments)}function g(t){const e=new Map;return t.forEach((t=>{"subPages"in t?t.subPages.forEach((t=>{e.set(t.title,t)})):e.set(t.title,t)})),e}const m={а:"f",б:",",в:"d",г:"u",д:"l",е:"t",ё:"`",ж:";",з:"p",и:"b",й:"q",к:"r",л:"k",м:"v",н:"y",о:"j",п:"g",р:"h",с:"c",т:"n",у:"e",ф:"a",х:"[",ц:"w",ч:"x",ш:"i",щ:"o",ъ:"]",ы:"s",ь:"m",ю:".",я:"z"};function v(t){let e="";for(let n=0;n]+)>/g);return(e?e.reduce(((t,e)=>t.replace(e,e.replaceAll("|","&"))),t).split("|").map((t=>t.trim())):t.split("|").map((t=>t.trim()))).reduce(((t,e)=>{let n=e.trim().replaceAll("readonly ","").replaceAll("[]","");return n=n.match(/ReadonlyArray<([^>]+)>/)?.[1]?.split("&")?.[0]??n,n=n.match(/\[([^\]]+)\]/)?.[1]?.split(",")?.[0]??n,n=(n.split("<")?.[0]??n)?.trim()??"",n=Number.isNaN(parseFloat(n))?n:"number",n=/^'(.+)'$|^"(.+)"$|^`(.+)`$/.test(n)?"string":n,n=1===n.length?"unknown":n,t.concat({type:e.replaceAll("&","|"),extracted:n})}),[])}},94267:(t,e,n)=>{n.d(e,{QJ:()=>x,NN:()=>_,Bb:()=>O,oL:()=>k,T8:()=>A,R4:()=>b,wB:()=>w,ze:()=>M});var i,r=n(84911),o=n(20755),s=n(62022),a=n(43226),l=n(11892),c=n(86253),u=n(46492),h=n(78748),d=n(69286),p=n(73843),f=n(92425),g=n(55333),m=n(18004),v=n(84787),y=n(45047);class b{}class _{constructor(){this.refresh$=new h.x,this.pseudoInvalid=(0,o.tdS)(null),this.internal=(0,o.tdS)((0,o.f3M)(c.tp,{self:!0,optional:!0})),this.control=(0,o.f3M)(a.a5,{self:!0}),this.destroyRef=(0,o.f3M)(o.ktI),this.cdr=(0,o.f3M)(o.sBO),this.transformer=(0,o.f3M)(b,{optional:!0}),this.value=(0,o.Flj)((()=>this.internal())),this.readOnly=(0,o.tdS)(!1),this.touched=(0,o.tdS)(!1),this.status=(0,o.tdS)(void 0),this.disabled=(0,o.Flj)((()=>"DISABLED"===this.status())),this.interactive=(0,o.Flj)((()=>!this.disabled()&&!this.readOnly())),this.invalid=(0,o.Flj)((()=>null!==this.pseudoInvalid()?!!this.pseudoInvalid()&&this.interactive():this.interactive()&&this.touched()&&"INVALID"===this.status())),this.mode=(0,o.Flj)((()=>this.readOnly()?"readonly":this.invalid()?"invalid":"valid")),this.onTouched=l.iD,this.onChange=l.iD,this.control.valueAccessor=this,this.refresh$.pipe((0,d.g)(0),(0,p.O)(null),(0,f.U)((()=>this.control.control)),(0,g.h)(u.Pc),(0,m.x)(),(0,v.w)((t=>(0,y.T)(t.valueChanges,t.statusChanges))),(0,s.sL)(this.destroyRef)).subscribe((()=>{this.update()}))}set readOnlySetter(t){this.readOnly.set(t)}set invalidSetter(t){this.pseudoInvalid.set(t)}registerOnChange(t){this.refresh$.next(),this.onChange=e=>{e!==this.internal()&&(t(this.toControlValue(e)),this.internal.set(e),this.update())}}registerOnTouched(t){this.onTouched=()=>{t(),this.update()}}setDisabledState(){this.update()}writeValue(t){const e=this.control instanceof a.On?this.control.model:t;this.internal.set(this.fromControlValue(e)),this.update()}fromControlValue(t){return this.transformer?this.transformer.fromControlValue(t):t}toControlValue(t){return this.transformer?this.transformer.toControlValue(t):t}update(){this.status.set(this.control.control?.status),this.touched.set(!!this.control.control?.touched),this.cdr.markForCheck()}}function w(t){return(0,u.Q2)(_,t)}(i=_).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,inputs:{readOnlySetter:["readOnly","readOnlySetter"],invalidSetter:["invalid","invalidSetter"]}}),(0,r.gn)([u.UM],_.prototype,"fromControlValue",null),(0,r.gn)([u.UM],_.prototype,"toControlValue",null);let x=(()=>{var t;class e{constructor(){this.change$=new h.x}ngOnChanges(){this.change$.next()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,features:[o.TTD]}),e})();const C=["viewContainer"];let k=(()=>{var t;class e{constructor(){this.injector=(0,o.f3M)(o.gxx),this.nothing=(0,o.f3M)(O).attach(this)}addComponentChild(t){const e=t.createInjector(this.injector),n=this.vcr.createComponent(t.component,{injector:e});return n.changeDetectorRef.detectChanges(),n}addTemplateChild(t,e){return this.vcr.createEmbeddedView(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&o.Gf(C,5,o.s_b),2&t){let t;o.iGM(t=o.CRH())&&(e.vcr=t.first)}}}),e})(),O=(()=>{var t;class e{attach(t){this.host=t}add(t){return this.safeHost.addComponentChild(t)}remove({hostView:t}){t.destroyed||t.destroy()}addTemplate(t,e){return this.safeHost.addTemplateChild(t,e)}removeTemplate(t){t.destroyed||t.destroy()}get safeHost(){if(!this.host)throw new S;return this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();function M(t){return(0,u.Q2)(O,t)}class S extends Error{constructor(){super("")}}class A{constructor(t,e={}){this.message=t,this.context=e}}},11892:(t,e,n)=>{n.d(e,{F:()=>v,fv:()=>y,em:()=>b,f$:()=>m,kU:()=>_,tU:()=>w,LZ:()=>s,Jy:()=>l,iD:()=>a,Mm:()=>o,bg:()=>p,LQ:()=>h,tD:()=>c,R3:()=>f,zy:()=>d,oN:()=>u,Ml:()=>x,Lw:()=>g});var i=n(20755);const r={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},o=new i.n_E,s=[],a=()=>{},l={...r,toJSON:()=>r},c=()=>!1,u=()=>!0,h=(t,e,n=String)=>n(t).toLowerCase().includes(e.toLowerCase()),d=(t,e,n=String)=>n(t).toLowerCase()===e.toLowerCase(),p=(t,e)=>t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e),f=/\D+/g,g={acceptNode:t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},m=" ",v="–",y="-",b="−",_="+",w="​",x="4.0.0-rc.2"},28351:(t,e,n)=>{function i(t,e,n){return n&&nt?e:t}n.d(e,{ek:()=>p,FZ:()=>f,NA:()=>o,cO:()=>l,nN:()=>a,mH:()=>c,K1:()=>k,Oy:()=>O,TU:()=>_,Lr:()=>v,VR:()=>C,ql:()=>b,dt:()=>x,qD:()=>M,F4:()=>y,hV:()=>i});var r=n(11892);const o=7,s=12,a=0,l=9999,c=`${r.f$}${r.F}${r.f$}`,u=6e4,h=36e5,d=864e5,p=10,f=2*p+c.length;var g=n(23880);function m(t,e,n){return Number.isNaN(t)||t<=e?e:t>=n?n:Math.round(t)}const v={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};class y{constructor(t){this.year=t}static isValidYear(t){return Number.isInteger(t)&&(0,g.w)(t,a,l+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 m(t,a,l)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return y.isLeapYear(this.year)}get absoluteLeapYears(){return y.getAbsoluteLeapYears(this.year)}yearBefore({year:t}){return this.year=t}yearAfter({year:t}){return this.year>t}append({year:t=0}){const e=this.year+t;return new y(e)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toJSON(){return this.formattedYear}}class b extends y{constructor(t,e){super(t),this.month=e}static isValidMonth(t,e){return y.isValidYear(t)&&b.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 b(t.getFullYear(),t.getMonth())}static currentUtc(){const t=new Date;return new b(t.getUTCFullYear(),t.getUTCMonth())}static lengthBetween(t,e){const n=t.month+12*t.year;return e.month+12*e.year-n}static normalizeMonthPart(t){return m(t,0,11)}static isValidMonthPart(t){return Number.isInteger(t)&&(0,g.w)(t,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return b.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)*s+this.month+e;return new b(Math.floor(n/s),n%s)}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 _ extends b{constructor(t,e,n){super(t,e),this.day=n}static fromLocalNativeDate(t){return new _(t.getFullYear(),t.getMonth(),t.getDate())}static fromUtcNativeDate(t){return new _(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}static isValidDay(t,e,n){return b.isValidMonth(t,e)&&Number.isInteger(n)&&(0,g.w)(n,1,b.getMonthDaysCount(e,y.isLeapYear(t))+1)}static currentLocal(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),i=t.getDate();return new _(e,n,i)}static currentUtc(){const t=new Date,e=t.getUTCFullYear(),n=t.getUTCMonth(),i=t.getUTCDate();return new _(e,n,i)}static normalizeOf(t,e,n){const i=y.normalizeYearPart(t),r=b.normalizeMonthPart(e),o=_.normalizeDayPart(n,r,i);return new _(i,r,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:i,year:r}=this.parseRawDateString(t,e);return _.normalizeOf(r,i,n)}static jsonParse(t){const{day:e,month:n,year:i}=this.parseRawDateString(t,"YMD");if(!b.isValidMonth(i,n)||!Number.isInteger(e)||!(0,g.w)(e,1,b.getMonthDaysCount(n,y.isLeapYear(i))+1))throw new w(i,n,e);return new _(i,n,e)}static normalizeDayPart(t,e,n){return m(t,1,b.getMonthDaysCount(e,y.isLeapYear(n)))}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const t=this.dayOfWeek(!1);return t===v.Saturday||t===v.Sunday}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 i=(this.year+t)*s+this.month+e;let r=Math.floor(i/s),o=i%s,a=Math.min(this.day,b.getMonthDaysCount(o,y.isLeapYear(r)))+n;for(;a>b.getMonthDaysCount(o,y.isLeapYear(r));)a-=b.getMonthDaysCount(o,y.isLeapYear(r)),11===o?(r++,o=0):o++;for(;a<1;)0===o?(r--,o=11):o--,a+=b.getMonthDaysCount(o,y.isLeapYear(r));return new _(r,o,a)}getFormattedDay(t,e){const n=this.formattedDayPart,i=this.formattedMonthPart,r=this.formattedYear;switch(t){case"YMD":return`${r}${e}${i}${e}${n}`;case"MDY":return`${i}${e}${n}${e}${r}`;default:return`${n}${e}${i}${e}${r}`}}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))}}class w extends Error{constructor(t,e,n){super("")}}class x{constructor(t,e){this.from=t,this.to=e}static sort(t,e){return t.monthSameOrBefore(e)?new x(t,e):new x(e,t)}get isSingleMonth(){return this.from.monthSame(this.to)}monthSame(t){return this.from.monthSame(t.from)&&this.to.monthSame(t.to)}toString(){return`${this.from}${c}${this.to}`}}class C extends x{constructor(t,e){super(t,e),this.from=t,this.to=e}static sort(t,e){return t.daySameOrBefore(e)?new C(t,e):new C(e,t)}static normalizeParse(t,e="DMY"){const n=_.normalizeParse(t.slice(0,p),e);return t.length0,n=e||"HH:MM:SS"===t||!t&&this.seconds>0;return`${this.formatTime(this.hours)}:${this.formatTime(this.minutes)}${n?`:${this.formatTime(this.seconds)}`:""}${e?`.${this.formatTime(this.ms,3)}`:""}`}valueOf(){return this.toAbsoluteMilliseconds()}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toAbsoluteMilliseconds(){return this.hours*h+this.minutes*u+1e3*this.seconds+this.ms}formatTime(t,e=2){return String(t).padStart(e,"0")}}},48606:(t,e,n)=>{n.d(e,{d:()=>g});var i,r=n(84911),o=n(20755),s=n(43226),a=n(65026),l=n(86253),c=n(46492),u=n(92425),h=n(73843),d=n(18004),p=n(14776),f=n(31570);class g{constructor(){this.control=(0,o.f3M)(s.a5,{optional:!0,self:!0}),this.active$=(0,o.f3M)(l.wk),this.zone=(0,o.f3M)(o.R0b),this.el=(0,c.AG)(),this.tuiActiveZoneParent=null,this.subActiveZones=[],this.directParentActiveZone=(0,o.f3M)(g,{skipSelf:!0,optional:!0}),this.tuiActiveZoneChange=this.active$.pipe((0,u.U)((t=>!!t&&this.contains(t))),(0,h.O)(!1),(0,d.x)(),(0,p.T)(1),(0,f.b)((t=>{t||"function"!=typeof this.control?.valueAccessor.onTouched||this.control.valueAccessor.onTouched()})),(0,a.Yr)(this.zone)),this.directParentActiveZone?.addSubActiveZone(this)}set tuiActiveZoneParentSetter(t){this.setZone(t)}ngOnDestroy(){this.directParentActiveZone?.removeSubActiveZone(this),this.tuiActiveZoneParent?.removeSubActiveZone(this)}contains(t){return this.el.contains(t)||this.subActiveZones.some(((e,n,i)=>i.indexOf(e)===n&&e.contains(t)))}setZone(t){this.tuiActiveZoneParent?.removeSubActiveZone(this),t?.addSubActiveZone(this),this.tuiActiveZoneParent=t}addSubActiveZone(t){this.subActiveZones=[...this.subActiveZones,t]}removeSubActiveZone(t){this.subActiveZones=(0,c.WX)(this.subActiveZones,this.subActiveZones.indexOf(t))}}(i=g).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],hostBindings:function(t,e){1&t&&o.NdJ("mousedown.silent",(function(){return 0}),!1,o.evT)},inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"],standalone:!0}),(0,r.gn)([c.UM],g.prototype,"setZone",null)},95079:(t,e,n)=>{n.d(e,{d:()=>i.d});var i=n(48606)},30696:(t,e,n)=>{n.d(e,{bi:()=>M,f$:()=>C});var i=n(62561),r=n(20755),o=n(62022),s=n(1925),a=n(42772),l=n(86253),c=n(73740),u=n(82479),h=n(38356),d=n(92425),p=n(96142),f=n(70134),g=n(21813);class m{constructor(t){this.el=t}get element(){return(this.el.nativeElement.tagName.includes("-")?this.el.nativeElement.querySelector("input,textarea"):this.el.nativeElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}class v extends m{constructor(t,e){super(t),this.animationFrame$=e}setFocus(){var t;this.isTextFieldElement?(0,u.S)((0,s.H)(1e3),this.animationFrame$.pipe((0,h.p)(100),(0,d.U)((()=>this.element.closest(".ng-animating"))),(t=Boolean,(0,p.e)(((e,n)=>{let i=!1,r=0;e.subscribe(new f.Q(n,(e=>(i||(i=!t(e,r++)))&&n.next(e))))}))),(0,g.q)(1))).subscribe((()=>this.element.focus({preventScroll:!0}))):this.element.focus({preventScroll:!0})}}var y=n(46492);const b=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];class _ extends m{constructor(t,e,n,i){super(t),this.renderer=e,this.zone=n,this.win=i,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular((()=>this.iosWebkitAutofocus())):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){const t=this.makeFakeInput(),e=this.getDurationTimeBeforeFocus();let n=0,i=0;const r=()=>t.focus({preventScroll:!0}),o=()=>{clearTimeout(n),n=this.win.setTimeout((()=>{clearTimeout(i),t.removeEventListener("blur",r),t.removeEventListener("focus",o),i=this.win.setTimeout((()=>{this.element.focus({preventScroll:!1}),t.remove()}),e)}))};t.addEventListener("blur",r,{once:!0}),t.addEventListener("focus",o),this.insideDialog()?this.win.document.body.appendChild(t):this.element.parentElement?.appendChild(t),t.focus({preventScroll:!0})}makeFakeInput(){const t=this.renderer.createElement("input"),e=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(t),t.style.height=(0,y.O9)(e.height),t.style.width=(0,y.O9)(e.width/2),t.style.position="fixed",t.style.zIndex="-99999999",t.style.caretColor="transparent",t.style.border="none",t.style.outline="none",t.style.color="transparent",t.style.background="transparent",t.style.cursor="none",t.style.fontSize=(0,y.O9)(16),t.style.top=(0,y.O9)(e.top),t.style.left=(0,y.O9)(e.left),t}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach((t=>{t.style.setProperty("overflow","auto"),t.style.setProperty("height","100%")}))}patchFakeInputFromFocusableElement(t){b.forEach((e=>{const n=this.element.getAttribute(e);(0,y.Pc)(n)&&t.setAttribute(e,n)}))}}const w={delay:NaN},x=(0,c.JN)(w);function C(t){return(0,c.vK)(x,t,w)}const k=new r.OlP("[TUI_AUTOFOCUS_HANDLER]"),O=[{provide:k,useFactory:(t,e,n,i,r,o)=>o?new _(t,n,i,r):new v(t,e),deps:[r.SBq,a.L1,r.Qsj,r.R0b,a.m9,l.FA]}];let M=(()=>{var t;class e{constructor(){this.handler=(0,r.f3M)(k),this.options=(0,r.f3M)(x),this.destroyRef=(0,r.f3M)(r.ktI)}ngAfterViewInit(){this.autoFocus&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then((()=>this.handler.setFocus())):(0,s.H)(this.options.delay).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>this.handler.setFocus()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus",i.Ig]},standalone:!0,features:[r._Bn(O),r.Xq5]}),e})()},49148:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(20755),r=n(46492);let o=(()=>{var t;class e{constructor(){return this.nativeElement=(0,r.AG)(),new i.SBq(this.nativeElement)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"],standalone:!0}),e})()},69008:(t,e,n)=>{n.d(e,{m:()=>a});var i=n(76733),r=n(20755),o=n(55181),s=n(52674);let a=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,o.AG)(),this.activeElement=(0,s.ie)(this.doc),Promise.resolve().then((()=>this.el.focus()))}ngOnDestroy(){(0,s.hp)(this.doc),Promise.resolve().then((()=>{(0,o.dW)(this.activeElement)&&this.activeElement.focus()}))}onBlur(){this.el.removeAttribute("tabIndex")}onFocusIn(t){(0,o.PP)(this.el,t)||(0,s.BW)({initial:this.el,root:this.el})?.focus()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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)},standalone:!0}),e})()},7479:(t,e,n)=>{n.d(e,{et:()=>f,gs:()=>p});var i=n(20755),r=n(11892),o=n(65026),s=(n(86253),n(46492)),a=n(48132),l=n(45047),c=n(92425),u=n(55333),h=n(18004);function d({currentTarget:t,relatedTarget:e}){return!(0,s.ve)(e)||!(0,s.ve)(t)||!t.contains(e)}let p=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.el=(0,s.AG)(),this.zone=(0,i.f3M)(i.R0b),this.stream$=(0,l.T)((0,o.mL)(this.el,"mouseenter").pipe((0,c.U)(r.oN)),(0,o.mL)(this.el,"mouseleave").pipe((0,c.U)(r.tD)),(0,o.mL)(this.el,"mouseout").pipe((0,u.h)(d),(0,c.U)(r.tD))).pipe((0,h.x)(),(0,o.Yr)(this.zone))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),f=(()=>{var t;class e{constructor(){this.tuiHoveredChange=(0,i.f3M)(p)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},standalone:!0,features:[i._Bn([p])]}),e})()},62417:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiItem",""]],standalone:!0}),e})()},81929:(t,e,n)=>{n.d(e,{i:()=>o});var i=n(20755);class r{constructor(t){this.internalDirectiveInstance=t}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let o=(()=>{var t;class e{constructor(){(0,i.f3M)(i.s_b).createEmbeddedView((0,i.f3M)(i.Rgc),new r(this))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"},standalone:!0}),e})()},82527:(t,e,n)=>{n.d(e,{k:()=>l});var i=n(20755),r=n(43226),o=n(65026),s=n(46492),a=n(1925);let l=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.zone=(0,i.f3M)(i.R0b),this.host=(0,s.AG)(),this.tuiNativeValidator="Invalid"}validate(t){return this.control=t,(0,a.H)(0).pipe((0,o.fL)(this.zone),(0,o.Wo)(this.destroyRef)).subscribe((()=>this.handleValidation())),null}handleValidation(){this.el.setCustomValidity?.(this.control?.touched&&this.control?.invalid?this.tuiNativeValidator:"")}get el(){return this.host.querySelector("input,textarea,select")||this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNativeValidator",""]],hostBindings:function(t,e){1&t&&i.NdJ("blur",(function(){return e.handleValidation()}))},inputs:{tuiNativeValidator:"tuiNativeValidator"},standalone:!0,features:[i._Bn([(0,s.Q2)(r.Cf,t,!0)])]}),e})()},42833:(t,e,n)=>{n.d(e,{Q:()=>g});var i=n(20755),r=n(95079),o=n(65026),s=n(78748),a=n(92425),l=n(42772),c=n(55181),u=n(48132),h=n(38356),d=n(73843),p=n(18004);let f=(()=>{var t;class e extends u.y{constructor(){super((t=>this.obscured$.subscribe(t))),this.el=(0,c.AG)(),this.obscured$=(0,i.f3M)(l.L1).pipe((0,h.p)(100),(0,a.U)((()=>(0,c.PU)(this.el))),(0,d.O)(null),(0,p.x)(),(0,o.Yr)((0,i.f3M)(i.R0b)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.enabled$=new s.x,this.obscured$=(0,i.f3M)(f,{self:!0}).pipe((0,a.U)((t=>!!t?.every((t=>!this.activeZone?.contains(t)))))),this.tuiObscured=this.enabled$.pipe((0,o.Xd)((()=>this.obscured$)))}set tuiObscuredEnabled(t){this.enabled$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},standalone:!0,features:[i._Bn([f])]}),e})()},32423:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(20755),r=n(86253);let o=(()=>{var t;class e{constructor(){this.tuiPlatform=(0,i.f3M)(r.ff,{skipSelf:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiPlatform",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-platform",e.tuiPlatform)},inputs:{tuiPlatform:"tuiPlatform"},standalone:!0,features:[i._Bn([{provide:r.ff,useFactory:()=>(0,i.f3M)(t).tuiPlatform}])]}),e})()},11320:(t,e,n)=>{n.d(e,{z:()=>d});var i=n(20755),r=n(65026),o=n(10676),s=n(25690),a=n(78748),l=n(18004),c=n(91105),u=n(93311),h=n(88557);let d=(()=>{var t;class e extends s.GL{constructor(){super(...arguments),this.service=(0,i.f3M)(o.IS),this.open$=new a.x,this.options={},this.open=!1,this.openChange=this.open$.pipe((0,l.x)(),(0,r.Xd)((()=>this.service.open(this,this.options).pipe((0,c.l)(),(0,u.l)(!1)))),(0,h.B)())}ngOnChanges(){this.open$.next(this.open)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj,i.TTD]}),e})()},80313:(t,e,n)=>{n.d(e,{d:()=>s});var i=n(20755),r=n(58373);class o{constructor(t){this.$implicit=t}}let s=(()=>{var t;class e{constructor(){this.viewContainer=(0,i.f3M)(i.s_b),this.templateRef=(0,i.f3M)(i.Rgc)}set tuiRepeatTimesOf(t){const e=Math.floor((0,r.K)(t,0,65536)),{length:n}=this.viewContainer;t{n.d(e,{I:()=>o,h:()=>a});var i=n(49148),r=n(20755);let o=(()=>{var t;class e extends i.v{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizable",""]],standalone:!0,features:[r.qOj]}),e})();var s=n(73740);let a=(()=>{var t;class e{constructor(){this.resizable=(0,r.f3M)(o),this.x=NaN,this.y=NaN,this.width=0,this.height=0,this.tuiResizer=[0,0],this.tuiSizeChange=new r.vpe}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onPointerDown(t,e){this.x=t,this.y=e,this.width=this.resizable.nativeElement.clientWidth,this.height=this.resizable.nativeElement.clientHeight}onPointerMove({x:t,y:e,buttons:n}){n?this.onMove(t,e):this.onPointerUp()}onPointerUp(){this.x=NaN}onMove(t,e){if(Number.isNaN(this.x))return;const{style:n}=this.resizable.nativeElement,i=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,s.O9)(i[0])),this.tuiResizer[1]&&(n.height=(0,s.O9)(i[1])),this.tuiSizeChange.emit(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("pointerdown.silent.prevent",(function(t){return e.onPointerDown(t.x,t.y)}))("pointermove.silent",(function(t){return e.onPointerMove(t)}),!1,r.evT)("pointerup.silent",(function(){return e.onPointerUp()}),!1,r.evT),2&t&&r.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"},standalone:!0}),e})()},69838:(t,e,n)=>{n.d(e,{tB:()=>g,$D:()=>f});var i=n(20755),r=n(76733),o=n(65026),s=n(55181),a=n(73740),l=n(48132),c=n(45047),u=n(74114),h=n(55333),d=n(92425);const p=(0,n(46492).JN)({timeout:500,threshold:30});let f=(()=>{var t;class e extends l.y{constructor(){const t=(0,i.f3M)(r.K0),e=(0,s.AG)(),{timeout:n,threshold:l}=(0,i.f3M)(p);super((i=>{(0,c.T)((0,o.mL)(e,"touchstart",{passive:!0}),(0,o.mL)(t,"touchend")).pipe((0,u.G)(),(0,h.h)((([t,e])=>!!t.touches.length&&t.touches[0].identifier===e.changedTouches[0].identifier)),(0,d.U)((([t,e])=>{const i=t.touches[0].clientX,r=t.touches[0].clientY,o=i-e.changedTouches[0].clientX,s=r-e.changedTouches[0].clientY,a=e.timeStamp-t.timeStamp;return(Math.abs(o)>l||Math.abs(s)>l)&&aMath.abs(c)?u>0?"top":"bottom":c>0?"left":"right"),events:[t,e]}:null;var c,u})),(0,h.h)(a.Pc)).subscribe(i)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.tuiSwipe=(0,i.f3M)(f)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiSwipe",""]],outputs:{tuiSwipe:"tuiSwipe"},standalone:!0,features:[i._Bn([f])]}),e})()},65026:(t,e,n)=>{n.d(e,{EK:()=>o,mM:()=>y,Xd:()=>k,mp:()=>_,ll:()=>O,pt:()=>M,Wo:()=>I,mL:()=>m,NA:()=>D,Yr:()=>F,fL:()=>N,Ao:()=>z});var i=n(48132),r=n(73843);function o(t){return new i.y((e=>{if(!t?.valueChanges)throw new s;return t.valueChanges.pipe((0,r.O)(t.value)).subscribe(e)}))}class s extends Error{constructor(){super("")}}var a=n(73740),l=n(45623),c=n(21813),u=n(92425),h=n(45047),d=n(93311),p=n(85228),f=n(74842),g=n(10409);function m(t,e,n={}){return(0,g.R)(t,e,n)}class v{constructor(t,e){this.stage=t,this.event=e}}function y(t){const{ownerDocument:e}=t;return(0,l.z)(m(t,"mousedown").pipe((0,c.q)(1),(0,u.U)((t=>new v("start",t)))),(0,h.T)(m(e,"mousemove").pipe((0,u.U)((t=>new v("continues",t)))),(0,h.T)(m(e,"mouseup"),m(e,"dragend")).pipe((0,c.q)(1),(0,u.U)((t=>new v("end",t))),(0,d.l)(null))).pipe((0,p.o)(a.Pc))).pipe((0,f.r)())}var b=n(31570);function _(){return(0,b.b)((t=>t.preventDefault()))}var w=n(22222),x=n(84787),C=n(30453);function k(t,e=Boolean){return(0,w.z)((0,x.w)((n=>e(n)?t(n):C.E)))}function O(t){return t.changes.pipe((0,r.O)(null),(0,u.U)((()=>(0,a.gD)(t))))}function M(t){return m(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}var S=n(62022),A=n(81749),P=n(14553),E=n(17560),T=n(80407);function I(t){return(0,w.z)((0,A.R)(P.C.pipe((0,S.sL)(t),(0,E.K)((()=>C.E)),(0,T.d)(null))))}function D(t){return(0,b.b)((()=>t.markForCheck()))}function z(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()))})))}function N(t){return e=>new i.y((n=>t.runOutsideAngular((()=>e.subscribe(n)))))}function F(t){return(0,w.z)(N(t),z(t))}},86198:(t,e,n)=>{n.d(e,{c:()=>r});var i=n(20755);let r=(()=>{var t;class e{transform(t,e,...n){return e(t,...n)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMapper",type:t,pure:!0,standalone:!0}),e})()},10676:(t,e,n)=>{n.d(e,{ll:()=>r,IS:()=>l,FY:()=>x,Fr:()=>A,D$:()=>c});var i=n(20755);let r=(()=>{var t;class e{generate(){return`tui_${e.autoId++}${Date.now()}`}}return(t=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var o=n(46492),s=n(25690),a=n(48132);let l=(()=>{var t;class e{constructor(t,e,n={}){this.options=n,this.id=(0,i.f3M)(r),this.component=new s.Al(e),this.items$=(0,i.f3M)(t)}open(t,e={}){return new a.y((n=>{const i={...this.options,...e,content:t,$implicit:n,component:this.component,createdAt:Date.now(),id:this.id.generate(),completeWith:t=>{n.next(t),n.complete()}};return this.items$.next([...this.items$.value,i]),()=>{this.items$.next(this.items$.value.filter((t=>t!==i)))}}))}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function c(t){return(0,o.Q2)(l,t)}var u=n(42772),h=n(58373),d=n(73740),p=n(71209),f=n(83562),g=n(84787),m=n(92425),v=n(81749),y=n(1925),b=n(93311),_=n(31570);function w(t){return"scrollX"in t?t.scrollX:t.scrollLeft}let x=(()=>{var t;class e{constructor(){this.performanceRef=(0,i.f3M)(u.KS),this.animationFrame$=(0,i.f3M)(u.L1)}scroll$(t,e,n=w(t),i=300){const r=function(t){return"scrollY"in t?t.scrollY:t.scrollTop}(t),o=w(t),s=e-r,a=n-o;return(i?(0,f.P)((()=>(0,p.of)(this.performanceRef.now()))).pipe((0,g.w)((t=>this.animationFrame$.pipe((0,m.U)((e=>e-t))))),(0,m.U)((t=>(0,d.Xg)((0,h.K)(t/i,0,1)))),(0,m.U)((t=>[r+s*t,o+a*t])),(0,v.R)((0,y.H)(i)),(0,b.l)([e,n])):(0,p.of)([e,n])).pipe((0,_.b)((([e,n])=>{t.scrollTo?.(n,e)})))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var C=n(8239),k=n(20530),O=n(84911),M=n(70134),S=n(46974);let A=(()=>{var t;class e{constructor(){this.cache=new Map}request(t){const e=this.cache.get(t);if(e)return e;const n=function(t,e={}){const{selector:n}=e,i=(0,O._T)(e,["selector"]);return new a.y((e=>{const r=new AbortController,{signal:o}=r;let s=!0;const{signal:a}=i;if(a)if(a.aborted)r.abort();else{const t=()=>{o.aborted||r.abort()};a.addEventListener("abort",t),e.add((()=>a.removeEventListener("abort",t)))}const l=Object.assign(Object.assign({},i),{signal:o}),c=t=>{s=!1,e.error(t)};return fetch(t,l).then((t=>{n?(0,S.Xf)(n(t)).subscribe(new M.Q(e,void 0,(()=>{s=!1,e.complete()}),c)):(s=!1,e.next(t),e.complete())})).catch(c),()=>{s&&r.abort()}}))}(t).pipe((0,g.w)(function(){var e=(0,C.Z)((function*(e){if(e.ok)return e.text();throw new Error(`Failed to load ${t} (${e.statusText})`)}));return function(t){return e.apply(this,arguments)}}()),(0,k.d)({bufferSize:1,refCount:!1}));return this.cache.set(t,n),n}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},86253:(t,e,n)=>{n.d(e,{wk:()=>O,I2:()=>M,tp:()=>R,oD:()=>L,FA:()=>T,fL:()=>E,jF:()=>D,ff:()=>z,i0:()=>j,fM:()=>V,Ai:()=>B});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(46492),l=n(45047),c=n(92425),u=n(55333),h=n(81749),d=n(74842),p=n(17544),f=n(84787),g=n(71209),m=n(73843),v=n(21813),y=n(1925),b=n(18004),_=n(88557),w=n(80396),x=n(56424);const C=(0,a.N1)((()=>{const t={onRemovalComplete:()=>{}},e=new x.X(null),n=(0,r.f3M)(w.Th,r.XFs.Optional)||t,{onRemovalComplete:i=t.onRemovalComplete}=n;return n.onRemovalComplete=(t,r)=>{e.next(t),i.call(n,t,r)},e.pipe((0,f.w)((t=>(0,y.H)(0).pipe((0,c.U)((()=>null)),(0,m.O)(t)))),(0,_.B)())}));function k(t,e=null){return(0,a.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!e?.contains(t)}const O=(0,a.N1)((()=>{const t=(0,r.f3M)(C),e=(0,r.f3M)(o.m9),n=(0,r.f3M)(i.K0),w=(0,s.mL)(e,"focusout",{capture:!0}),x=(0,s.mL)(e,"focusin",{capture:!0}),O=(0,s.mL)(e,"blur"),M=(0,s.mL)(e,"mousedown"),S=(0,s.mL)(e,"mouseup");return(0,l.T)(w.pipe((0,h.R)(M),(0,d.r)({delay:()=>S}),(0,p.M)(t),(0,u.h)((([t,e])=>k((0,a.mA)(t),e))),(0,c.U)((([{relatedTarget:t}])=>t))),O.pipe((0,c.U)((()=>n.activeElement)),(0,u.h)((t=>!!t?.matches("iframe")))),x.pipe((0,f.w)((t=>{const e=(0,a.mA)(t),i=(0,a.Wf)(e);return i===n?(0,g.of)(e):function(t){return(0,l.T)((0,s.mL)(t,"focusin").pipe((0,c.U)((({target:t})=>t))),(0,s.mL)(t,"focusout").pipe((0,u.h)((({target:t,relatedTarget:e})=>!!e&&k(t))),(0,c.U)((({relatedTarget:t})=>t))))}(i).pipe((0,m.O)(e))}))),M.pipe((0,f.w)((t=>{const e=(0,a.mA)(t);return n.activeElement&&n.activeElement!==n.body?w.pipe((0,v.q)(1),(0,c.U)((()=>e)),(0,h.R)((0,y.H)(0))):(0,g.of)(e)})))).pipe((0,b.x)(),(0,_.B)())})),M=(0,a.N1)((()=>(0,r.f3M)(i.K0).querySelector("base")?.href??""));var S=n(11892);const A=/(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/,P=/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-/,E=(0,a.N1)((()=>A.test((0,r.f3M)(o.yZ).toLowerCase())||P.test((0,r.f3M)(o.yZ).slice(0,4).toLowerCase()))),T=(0,a.N1)((()=>(0,a.i1)((0,r.f3M)(o.s5)))),I=(0,a.N1)((()=>(0,r.f3M)(E)&&!(0,r.f3M)(T))),D=(0,a.N1)((()=>!!(0,r.f3M)(o.m9)?.webkitConvertPointFromNodeToPage)),z=(0,a.N1)((()=>(0,r.f3M)(T)?"ios":(0,r.f3M)(I)?"android":"web")),N=(0,a.N1)((()=>!!(0,r.f3M)(o.m9).Cypress)),F=(0,a.N1)(S.tD),L=(0,a.N1)((()=>(0,r.f3M)(N)||(0,r.f3M)(F))),R=new r.OlP("");function B(t){return{provide:R,useValue:t}}const j=(0,a.N1)((()=>(0,i.NF)((0,r.f3M)(r.Lbi))?new Range:{}));var H=n(20530);const V=new r.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const t=(0,r.f3M)(o.m9);return(0,s.mL)(t,"resize").pipe((0,m.O)(null),(0,c.U)((()=>{const e=Math.max(t.document.documentElement.clientWidth||0,t.innerWidth||0,t.visualViewport?.width||0),n=Math.max(t.document.documentElement.clientHeight||0,t.innerHeight||0,t.visualViewport?.height||0),i={width:e,height:n,top:0,left:0,right:e,bottom:n,x:0,y:0};return{...i,toJSON:()=>JSON.stringify(i)}})),(0,H.d)({bufferSize:1,refCount:!0}))}})},21247:(t,e,n)=>{n.d(e,{i:()=>r});const i=/ipad|iphone|ipod/;function r(t){return i.test(t.userAgent.toLowerCase())||function(t){return t.platform.startsWith("Mac")||"iPhone"===t.platform}(t)&&t.maxTouchPoints>1}},50109:(t,e,n)=>{function i(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]}n.d(e,{R:()=>i})},79611:(t,e,n)=>{function i(t,e,n){return`#${[t,e,n].map((t=>t.toString(16).padStart(2,"0"))).join("")}`}n.d(e,{W:()=>i})},55181:(t,e,n)=>{function i(t,e){try{return t.contains(e)||!!(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}catch{return!1}}function r(t){return t.matches("input")}function o(t){return r(t)||function(t){return t.matches("textarea")}(t)}function s(t){return!!t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function a(t){return!!t&&t instanceof t.ownerDocument.defaultView.HTMLElement}function l(t){return t.nodeType===Node.TEXT_NODE}function c(t){return t.composedPath()[0]}n.d(e,{PP:()=>i,mA:()=>c,Nn:()=>h,Wf:()=>d,PU:()=>g,YX:()=>m,AG:()=>y,ve:()=>s,Hn:()=>b,dW:()=>a,Ls:()=>r,FP:()=>_,wq:()=>l,qY:()=>o,dD:()=>w,UP:()=>x});const u="text/plain";function h(t,e=u){return"clipboardData"in t&&null!==t.clipboardData?t.clipboardData.getData(e)||t.clipboardData.getData(u):t.target.ownerDocument.defaultView.clipboardData.getData("text")}function d(t){return"getRootNode"in t&&t.isConnected?t.getRootNode():t.ownerDocument}var p=n(58373),f=n(73740);function g(t){const{ownerDocument:e}=t;if(!e?.defaultView||!t.getBoundingClientRect)return null;const{innerWidth:n,innerHeight:i}=e.defaultView,r=d(t),o=t.getBoundingClientRect();if(0===o.width&&0===o.height)return null;const s=(0,p.K)(Math.round(o.left)+2,0,n),a=(0,p.K)(Math.round(o.top)+2,0,i),l=(0,p.K)(Math.round(o.right)-2,0,n),c=(0,p.K)(Math.round(o.bottom)-2,0,i),u=(0,p.K)(Math.round(o.left+o.width/2),0,n),h=(0,p.K)(Math.round(o.top+o.height/2),0,i),g=[r.elementFromPoint(u,a),r.elementFromPoint(u,c),r.elementFromPoint(s,h),r.elementFromPoint(l,h)].filter(f.Pc);if(!g.length)return[];const m=g.filter((e=>!t.contains(e)&&!e.contains(t)));return 4===m.length?m:null}function m(t,e){let{offsetTop:n,offsetLeft:i,offsetParent:r}=e;for(;a(r)&&r!==t;)n+=r.offsetTop,i+=r.offsetLeft,r=r.offsetParent;return{offsetTop:n,offsetLeft:i}}var v=n(20755);function y(){return(0,v.f3M)(v.SBq).nativeElement}function b(t){return o(t)&&!t.readOnly||!!t.isContentEditable}function _(t,e){return l(t)?!!t.parentElement?.closest(e):s(t)&&!!t.closest(e)}function w(t=0,e=0){const n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return{...n,toJSON:()=>n}}function x(t){return"explicitOriginalTarget"in t?t?.explicitOriginalTarget!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===t?.detail}},52674:(t,e,n)=>{n.d(e,{hp:()=>o,BW:()=>c,ie:()=>r,V8:()=>u,zb:()=>h,dT:()=>a,_h:()=>l,VR:()=>d});var i=n(55181);function r({activeElement:t}){if(!t?.shadowRoot)return t;let e=t.shadowRoot.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e}function o(t){const e=r(t);(0,i.dW)(e)&&e.blur()}var s=n(11892);function a(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,i.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:r=!0}){if(!e.ownerDocument)return null;const o=r?a:l,c=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s.Lw);for(c.currentNode=t;n?c.previousNode():c.nextNode();)if((0,i.dW)(c.currentNode)&&(t=c.currentNode),(0,i.dW)(t)&&o(t))return t;return null}function u(t){return!!t?.ownerDocument&&r(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){const e=t?.ownerDocument&&r(t.ownerDocument);return!!e&&t.contains(e)&&!!t.ownerDocument?.hasFocus()}function d(t,e,n){for(t+=n;t>=0&&t{n.d(e,{WX:()=>g.WX,Ki:()=>p.K,JN:()=>g.JN,N1:()=>g.N1,A2:()=>g.A2,q2:()=>g.q2,mA:()=>h.mA,BW:()=>d.BW,Wf:()=>h.Wf,ie:()=>d.ie,RO:()=>r.R,qZ:()=>s,AG:()=>h.AG,ve:()=>h.ve,i1:()=>i.i,zb:()=>d.zb,_h:()=>d._h,FP:()=>h.FP,dt:()=>g.dt,Pc:()=>g.Pc,Aj:()=>g.Aj,wq:()=>h.wq,qY:()=>h.qY,lj:()=>g.lj,Mp:()=>l,Q2:()=>g.Q2,vK:()=>g.vK,UM:()=>g.UM,O9:()=>g.O9,WS:()=>c.W,bD:()=>u,FG:()=>f.FG});var i=n(21247),r=n(50109);function o(t,e,n,i){const r=(i+t/60)%6;return Math.round(n-n*e*Math.max(Math.min(r,4-r,1),0))}function s(t,e,n){return[o(t,e,n,5),o(t,e,n,3),o(t,e,n,1)]}const a=[0,0,0,1];function l(t){const e=t.replace("#","").replace("rgba(","").replace("rgb(","").replace(")",""),n=e.split(",").map((t=>parseFloat(t)));if(4===n.length)return n;if(3===n.length)return n.concat(1);const i=e.match(new RegExp(`(.{${e.length/3}})`,"g"));if(!i)return a;const r=i.map((t=>parseInt(e.length%2?t+t:t,16)));return[r[0]||a[0],r[1]||a[1],r[2]||a[2],void 0===r[3]?a[3]:r[3]]}var c=n(79611);function u(t,e,n){const i=Math.max(t,e,n),r=i-Math.min(t,e,n),o=r&&(i===t?(e-n)/r:i===e?2+(n-t)/r:4+(t-e)/r);return[60*(o<0?o+6:o),i&&r/i,i]}var h=n(55181),d=n(52674),p=n(58373),f=n(72478),g=n(73740)},58373:(t,e,n)=>{function i(t,e,n){return Math.min(n,Math.max(e,t))}n.d(e,{K:()=>i})},23880:(t,e,n)=>{function i(t,e,n){return t>=e&&ti})},72478:(t,e,n)=>{n.d(e,{Br:()=>s,FG:()=>o,OT:()=>a,h4:()=>l});const i=292;function r(t,e,n){if(t===1/0)return t;e=Math.min(e,i);const r=`${t}e`.split("e"),o=`${n(Number(`${r[0]}e${Number(r[1])+e}`))}e`.split("e");return Number(`${o[0]}e${Number(o[1])-e}`)}function o(t,e=0){return r(t,e,Math.round)}function s(t,e=0){return r(t,e,Math.ceil)}function a(t,e=0){return r(t,e,Math.floor)}function l(t,e=0){return r(t,e,Math.trunc)}},73740:(t,e,n)=>{function i(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function r(t,e){return t.length===e.length&&t.every(((t,n)=>t===e[n]))}function o(t,e){const n=t.indexOf(e);return-1===n?[...t,e]:i(t,n)}n.d(e,{Yl:()=>s,WX:()=>i,Hh:()=>r,jp:()=>o,JN:()=>l,N1:()=>c,A2:()=>h,Vx:()=>d,q2:()=>p,Xg:()=>f,gD:()=>g,Mv:()=>m,dt:()=>v,Pc:()=>y,Aj:()=>u,lj:()=>b,J$:()=>_,Q2:()=>w,vK:()=>x,UM:()=>k,O9:()=>M,pf:()=>S,__:()=>P});const s=(t,e)=>t.replaceAll(/[^0-9A-Za-zА-Яа-я]/gi,e);var a=n(20755);function l(t){return c((()=>t))}function c(t){return new a.OlP("",{factory:t})}function u(t){return"string"==typeof t}function h(t,e){return t===e?0:u(t)&&u(e)?t.localeCompare(e):t>e?1:-1}function d(t,e,n,i={self:!0}){const r=(0,a.$Zp)(n)?n:(0,a.tdS)(n),o=(0,a.f3M)(t,i),s=o[`${e.toString()}Change`];let l;return(0,a.cEC)((()=>{const t=r();l!==t&&((0,a.$Zp)(o[e])?o[e].set(t):o[e]=t,o.ngOnChanges?.({}),s?.emit?.(t),l=t)}),{allowSignalWrites:!0}),r}function p({touches:t}){return Math.hypot(t[0].clientX-t[1].clientX,t[0].clientY-t[1].clientY)}function f(t){return t<.5?2*t*t:(4-2*t)*t-1}function g(t){let e=[];return t.find(((t,n,i)=>(e=i,!0))),e}function m(t){return!t}function v(t){return"number"==typeof t}function y(t){return null!=t}function b(t){return new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|localhost|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}function _(t,e,n){return null===t?null===e:null!==e&&n(t,e)}function w(t,e,n=!1){return{provide:t,useExisting:e,multi:n}}function x(t,e,n){return{provide:t,deps:[[new a.FiY,new a.tp0,t]],useFactory:t=>({...t||n,...e})}}function C(t,e,n=!0){return function(){const i=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:i}),i}}function k(t,e,n){if("function"==typeof t){const n=e;if("getter"===n.kind)return C(t,n.name);if("method"===n.kind)return function(t){let e,n=[],i=!1;return function(...r){return i&&n.length===r.length&&r.every(((t,e)=>t===n[e]))||(n=r,e=t.apply(this,r),i=!0),e}}(t);throw new O}const{get:i,enumerable:r,value:o}=n,s=e;if(i)return{configurable:!0,enumerable:r,get:C(i,s,r)};if("function"!=typeof o)throw new O;const a=o;return{configurable:!0,enumerable:r,get(){let t,e=[],n=!1;const i=(...i)=>(n&&e.length===i.length&&i.every(((t,n)=>t===e[n]))||(e=i,t=a.apply(this,i),n=!0),t);return Object.defineProperty(this,s,{configurable:!0,value:i}),i}}}class O extends Error{constructor(){super("")}}function M(t){return`${t}px`}function S(t,e){return Array.from(t.reduce(((t,n)=>t.has(n[e])?t:t.set(n[e],n)),new Map).values())}const A=c((()=>{const t=new Map;return(0,a.f3M)(a.ktI).onDestroy((()=>t.forEach((t=>t.destroy())))),t}));function P(t){const e=(0,a.f3M)(A),n=(0,a.f3M)(a.lqb);e.has(t)||e.set(t,(0,a.LMc)(t,{environmentInjector:n}))}},34138:(t,e,n)=>{n.d(e,{i9:()=>h,QF:()=>u,eu:()=>c,Hp:()=>l,B_:()=>a,Gw:()=>d,X9:()=>p});var i=n(12405);const r="{{duration}}ms ease-in-out",o={params:{duration:300}},s=300,a=(0,i.X$)("tuiParentAnimation",[(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])]),l=((0,i.X$)("tuiParentStop",[(0,i.eR)(":enter",[])]),(0,i.X$)("tuiHost",[(0,i.eR)(":enter",[(0,i.oB)({overflow:"clip"}),(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})]),(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])])),c=(0,i.X$)("tuiHeightCollapse",[(0,i.eR)(":enter",[(0,i.oB)({height:0}),(0,i.jt)(r,(0,i.oB)({height:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({height:"*"}),(0,i.jt)(r,(0,i.oB)({height:0}))],o)]),u=((0,i.X$)("tuiHeightCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({height:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({height:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiWidthCollapse",[(0,i.eR)(":enter",[(0,i.oB)({width:0}),(0,i.jt)(r,(0,i.oB)({width:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({width:"*"}),(0,i.jt)(r,(0,i.oB)({width:0}))],o)]),(0,i.X$)("tuiWidthCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({width:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({width:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeIn",[(0,i.eR)(":enter",[(0,i.oB)({opacity:0}),(0,i.jt)(r,(0,i.oB)({opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({opacity:1}),(0,i.jt)(r,(0,i.oB)({opacity:0}))],o)])),h=((0,i.X$)("tuiFadeInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({opacity:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:1}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({opacity:1}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,i.X$)("tuiFadeInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,i.X$)("tuiDropdownAnimation",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),d=((0,i.X$)("tuiScaleIn",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiPop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiScaleInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideIn",[(0,i.eR)("* => left",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("left => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o),(0,i.eR)("* => right",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("right => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)])),p=((0,i.X$)("tuiSlideInLeft",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o)]),(0,i.X$)("tuiSlideInLeftList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInRight",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)]),(0,i.X$)("tuiSlideInRightList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translate3d(0,{{start}},0)",pointerEvents:"none"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,i.eR)(":leave",[(0,i.oB)({transform:"translate3d(0,{{end}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,i.X$)("tuiSlideInTopList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))],o)]),(0,i.X$)("tuiSlideInBottomList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},52540:(t,e,n)=>{n.d(e,{kk:()=>_,qz:()=>x,uG:()=>s,O4:()=>a,UK:()=>w,P7:()=>d,Ic:()=>p,Fe:()=>b,Zy:()=>c,ei:()=>u,Wk:()=>h});var i=n(20755),r=n(73740);class o{}class s extends o{}class a extends o{}function l(t,e,n){return{provide:t,deps:[[new i.tp0,new i.FiY,t],n],useFactory:c(e)}}function c(t){return(e,n)=>e?.find?.((e=>e!==n&&e.type===t))||n}function u(t,e){return l(s,t,e)}function h(t,e){return l(a,t,e)}function d(t){return(0,r.Q2)(s,t,!0)}function p(t){return(0,r.Q2)(a,t,!0)}var f=n(62022),g=n(48132),m=n(45047),v=n(18004);class y{}function b(t){return(0,r.Q2)(y,t,!0)}class _ extends g.y{}function w(t){return(0,r.Q2)(_,t,!0)}let x=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.drivers=(0,i.f3M)(_),this.vehicles=(0,i.f3M)(y)}ngOnInit(){const t=this.vehicles.find((({type:t})=>t===this.type));(0,m.T)(...this.drivers.filter((({type:t})=>t===this.type))).pipe((0,v.x)(),(0,f.sL)(this.destroyRef)).subscribe((e=>{t?.toggle(e)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})()},75097:(t,e,n)=>{n.d(e,{J9:()=>I,Jp:()=>L});var i=n(76733),r=n(20755),o=n(62022),s=n(55181),a=n(34138),l=n(94030),c=n(41589),u=n(82510),h=n(25690),d=n(1925),p=n(81749),f=n(10409),g=n(74842),m=n(86253),v=n(73740),y=n(56424),b=n(38442),_=n(71209),w=n(92425);const x={autoClose:3e3,label:"",closeable:!0,data:void 0},C=(0,v.N1)((()=>({...x,...(0,r.f3M)(l.Ln)}))),k=(0,v.N1)((()=>(0,r.f3M)(m.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto")),O=(0,v.JN)(new y.X([])),M=(0,v.N1)((()=>(0,b.a)([(0,_.of)(new Map),(0,r.f3M)(O)]).pipe((0,w.U)((([t,e])=>(t.forEach(((e,n)=>t.set(n,[]))),e.forEach((e=>{const n=e.component.component,i=t.get(n)||[];t.set(n,[...i,e])})),Array.from(t.values())))))));function S(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 A(t,e){if(1&t&&(r.TgZ(0,"label",4),r.YNc(1,S,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 P(t,e){if(1&t&&r._UZ(0,"div",6),2&t){const t=e.polymorpheusOutlet;r.Q6J("innerHTML",t,r.oJD)}}let E=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.destroyRef=(0,r.f3M)(r.ktI),this.position=(0,r.f3M)(k),this.item=(0,r.f3M)(h.yf),this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.options=(0,u.qS)((0,r.f3M)(c.ZW)),this.animation=this.position.endsWith("auto")?{...this.options,value:"right"}:{...this.options,value:"left"}}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&(0,d.H)(this.autoClose).pipe((0,p.R)((0,f.R)(this.el,"mouseenter")),(0,g.r)({delay:()=>(0,f.R)(this.el,"mouseleave")}),(0,o.sL)(this.destroyRef)).subscribe((()=>this.close()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(r.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),r.Udp("margin",e.position))},standalone:!0,features:[r.jDz],decls:4,vars:6,consts:[[3,"hideClose","icon","status","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.close()})),r.YNc(1,A,2,2,"label",1),r.TgZ(2,"div",2),r.YNc(3,P,1,1,"div",3),r.qZA()()),2&t&&(r.Q6J("hideClose",!e.item.closeable)("icon",e.item.icon)("status",e.item.status),r.xp6(1),r.Q6J("ngIf",e.item.label),r.xp6(2),r.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},dependencies:[l.tK,i.O5,h.s$],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-medium);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:700}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:700}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-primary);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[a.QF,a.Gw,a.eu]},changeDetection:0}),e})();n(11320);var T=n(10676);let I=(()=>{var t;class e extends T.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(O,E,(0,r.f3M)(C))},providedIn:"root"}),e})();var D=n(86198),z=n(69401);function N(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 F(t,e){if(1&t&&(r.TgZ(0,"div",1),r.YNc(1,N,2,5,"ng-container",2),r.qZA()),2&t){const t=e.$implicit;r.Q6J("@tuiParentAnimation",void 0),r.xp6(1),r.Q6J("ngForOf",t)}}let L=(()=>{var t;class e{constructor(){this.injector=(0,r.f3M)(r.gxx),this.alerts$=(0,r.f3M)(M),this.trackBy=z.y,this.mapper=t=>r.zs3.create({providers:[{provide:h.yf,useValue:t}],parent:this.injector})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alerts"]],standalone:!0,features:[r.jDz],decls:2,vars:4,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(t,e){1&t&&(r.YNc(0,F,2,2,"div",0),r.ALo(1,"async")),2&t&&r.Q6J("ngForOf",r.lcZ(1,2,e.alerts$))("ngForTrackBy",e.trackBy)},dependencies:[i.ez,i.$G,i.sg,i.Ov,D.c],styles:["tui-alerts>.t-wrapper{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;pointer-events:none}tui-alerts>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[a.B_]}}),e})()},14863:(t,e,n)=>{n.d(e,{x:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(83960),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-button"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiButton],[tuiIconButton]{--t-gap: .125rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));height:var(--t-size);justify-content:center;border-radius:var(--t-radius);padding:var(--t-padding);-webkit-user-select:none;user-select:none;cursor:pointer}[tuiButton]>img,[tuiIconButton]>img,[tuiButton]>tui-svg,[tuiIconButton]>tui-svg,[tuiButton]>tui-icon,[tuiIconButton]>tui-icon,[tuiButton]>tui-avatar,[tuiIconButton]>tui-avatar,[tuiButton]>tui-badge,[tuiIconButton]>tui-badge,[tuiButton]>[tuiBadge],[tuiIconButton]>[tuiBadge],[tuiButton]>[tuiRadio],[tuiIconButton]>[tuiRadio],[tuiButton]>[tuiSwitch],[tuiIconButton]>[tuiSwitch],[tuiButton]>[tuiCheckbox],[tuiIconButton]>[tuiCheckbox],[tuiButton]._icon-left:before,[tuiIconButton]._icon-left:before,[tuiButton]._icon-right:after,[tuiIconButton]._icon-right:after{margin:var(--t-margin)}[tuiButton]>.t-loader,[tuiIconButton]>.t-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[tuiButton]>.t-loader .t-text,[tuiIconButton]>.t-loader .t-text{position:absolute}[tuiButton][data-size=xs],[tuiIconButton][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);--t-padding: 0 .375rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=xs] tui-svg,[tuiIconButton][data-size=xs] tui-svg,[tuiButton][data-size=xs] tui-icon,[tuiIconButton][data-size=xs] tui-icon,[tuiButton][data-size=xs]:before,[tuiIconButton][data-size=xs]:before{font-size:1rem}[tuiButton][data-size=s],[tuiIconButton][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);--t-padding: 0 .625rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=s] tui-svg,[tuiIconButton][data-size=s] tui-svg,[tuiButton][data-size=s] tui-icon,[tuiIconButton][data-size=s] tui-icon,[tuiButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before,[tuiIconButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before{font-size:1rem}[tuiButton][data-size=m],[tuiIconButton][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);--t-padding: 0 1rem;--t-margin: -.375rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=m]:after,[tuiIconButton][data-size=m]:after{margin-inline-end:-.125rem}[tuiButton][data-size=l],[tuiIconButton][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);--t-padding: 0 1.25rem;--t-gap: .25rem;--t-margin: -.25rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=l]:after,[tuiIconButton][data-size=l]:after{margin-inline-start:.25rem;margin-inline-end:-.25rem}[tuiButton]._loading,[tuiIconButton]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButton]._loading>*,[tuiIconButton]._loading>*,[tuiButton]._loading:before,[tuiIconButton]._loading:before,[tuiButton]._loading:after,[tuiIconButton]._loading:after{opacity:0}[tuiButton]._loading>.t-loader,[tuiIconButton]._loading>.t-loader{opacity:1}[tuiButton][tuiIcons]:after,[tuiIconButton][tuiIcons]:after{font-size:1rem}[tuiIconButton]{gap:0;width:var(--t-size);font-size:0!important;padding:0}[tuiIconButton][data-size=l]:after{margin:0}[tuiIconButton]._icon-left:after{display:none}\n"],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s.Gm),this.nothing=(0,r.__)(l),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiButton",""],["button","tuiButton",""],["a","tuiIconButton",""],["button","tuiIconButton",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,o.mS)(s.Gm)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},83960:(t,e,n)=>{n.d(e,{Gm:()=>o,O0:()=>s});var i=n(73740);const r={appearance:"primary",size:"l"},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},11679:(t,e,n)=>{n.d(e,{O0:()=>r.O0,xG:()=>i.x});var i=n(14863),r=n(83960)},7443:(t,e,n)=>{n.d(e,{R:()=>C});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(7479),l=n(81929),c=n(80313),u=n(86198),h=n(73740),d=n(88283),p=n(41589);function f(t,e){if(1&t&&r._UZ(0,"div",3),2&t){const t=e.$implicit;r.Q6J("textContent",t)}}function g(t,e){if(1&t&&r._UZ(0,"div",12),2&t){const t=r.oxw().ngIf;r.Udp("background",(null==t?null:t[1])||"")}}function m(t,e){if(1&t&&(r.TgZ(0,"div",11),r._UZ(1,"div",12),r.YNc(2,g,1,2,"div",13),r.qZA()),2&t){const t=e.ngIf;r.xp6(1),r.Udp("background",null==t?null:t[0]),r.xp6(1),r.Q6J("ngIf",t.length>1)}}const v=function(t,e,n,i,r){return[t,e,n,i,r]};function y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw().tuiLet,n=r.oxw(4);return r.KtG(n.onItemClick(e))}))("tuiHoveredChange",(function(e){r.CHM(t);const n=r.oxw().tuiLet,i=r.oxw(4);return r.KtG(i.onItemHovered(e&&n))})),r.TgZ(1,"div",9),r.ALo(2,"tuiMapper"),r._uU(3),r.YNc(4,m,3,3,"div",10),r.ALo(5,"tuiMapper"),r.qZA()()}if(2&t){const t=r.oxw().tuiLet,e=r.oxw(4);r.ekj("t-cell_disabled",e.disabledItemHandler(t))("t-cell_interval",e.itemIsInterval(t))("t-cell_today",e.itemIsToday(t))("t-cell_unavailable",e.itemIsUnavailable(t)),r.uIk("data-range",e.getItemRange(t)),r.xp6(1),r.ekj("t-item_unavailable",e.itemIsUnavailable(t)),r.uIk("data-type",r.xi3(2,14,t,e.dayTypeHandler)),r.xp6(2),r.hij(" ",t.day," "),r.xp6(1),r.Q6J("ngIf",r.G7q(5,17,r.qbA(23,v,t,e.toMarkers,e.itemIsToday(t),!!e.getItemRange(t),e.markerHandler)))}}function b(t,e){if(1&t&&(r.ynx(0),r.YNc(1,y,6,29,"div",7),r.BQk()),2&t){const t=e.tuiLet,n=r.oxw(4);r.xp6(1),r.Q6J("ngIf",!n.itemIsUnavailable(t)||n.showAdjacent)}}function _(t,e){if(1&t&&(r.ynx(0),r.YNc(1,b,2,1,"ng-container",2),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit,i=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiLet",i[n][t])}}function w(t,e){if(1&t&&(r.TgZ(0,"div",5),r.YNc(1,_,2,1,"ng-container",6),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",n[t].length)}}function x(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,w,2,1,"div",4),r.qZA()),2&t){const t=e.tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",t.length)}}let C=(()=>{var t;class e{constructor(){this.today=s.TU.currentLocal(),this.unorderedWeekDays$=(0,r.f3M)(p.P),this.dayTypeHandler=(0,r.f3M)(p.rJ),this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.markerHandler=null,this.value=null,this.hoveredItem=null,this.showAdjacent=!0,this.hoveredItemChange=new r.vpe,this.dayClick=new r.vpe,this.toMarkers=(t,e,n,i)=>{if(e||n)return null;const r=i?.(t);return r?.length?r:null}}itemIsInterval(t){const{value:e,hoveredItem:n}=this;if(!(e instanceof s.VR))return!1;if(!e.isSingleDay)return e.from.daySameOrBefore(t)&&e.to.dayAfter(t);if(null===n)return!1;const i=s.VR.sort(e.from,n);return i.from.daySameOrBefore(t)&&i.to.dayAfter(t)}onItemHovered(t){this.updateHoveredItem(t||null)}getItemRange(t){const{value:e,hoveredItem:n}=this;return e?e instanceof s.TU?e.daySame(t)?"single":null:e instanceof s.VR?e.from.daySame(t)&&!e.isSingleDay||n?.dayAfter(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayBefore(e.from)&&e.isSingleDay?"start":e.to.daySame(t)&&!e.isSingleDay||n?.dayBefore(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayAfter(e.from)&&e.isSingleDay?"end":e.isSingleDay&&e.from.daySame(t)?"single":null:e.find((e=>e.daySame(t)))?"single":null:null}get isSingleDayRange(){return this.value instanceof s.VR&&this.value.isSingleDay}itemIsToday(t){return this.today.daySame(t)}itemIsUnavailable(t){return!this.month.monthSame(t)}onItemClick(t){this.dayClick.emit(t)}updateHoveredItem(t){(0,h.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-sheet"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_single",e.isSingleDayRange)},inputs:{month:"month",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",value:"value",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent"},outputs:{hoveredItemChange:"hoveredItemChange",dayClick:"dayClick"},standalone:!0,features:[r.jDz],decls:6,vars:9,consts:[[1,"t-row","t-row_weekday"],["class","t-cell",3,"textContent",4,"ngFor","ngForOf"],[4,"tuiLet"],[1,"t-cell",3,"textContent"],["automation-id","tui-calendar-sheet__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__cell","class","t-cell",3,"t-cell_disabled","t-cell_interval","t-cell_today","t-cell_unavailable","click","tuiHoveredChange",4,"ngIf"],["automation-id","tui-calendar-sheet__cell",1,"t-cell",3,"click","tuiHoveredChange"],["automation-id","tui-calendar-sheet__item",1,"t-item"],["class","t-dots",4,"ngIf"],[1,"t-dots"],[1,"t-dot"],["class","t-dot",3,"background",4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,f,1,1,"div",1),r.ALo(2,"async"),r.ALo(3,"tuiOrderWeekDays"),r.qZA(),r.YNc(4,x,2,1,"div",2),r.ALo(5,"tuiCalendarSheet")),2&t&&(r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,2,r.lcZ(3,4,e.unorderedWeekDays$))),r.xp6(3),r.Q6J("tuiLet",r.xi3(5,6,e.month,!0)))},dependencies:[i.ez,i.sg,i.O5,i.Ov,l.i,u.c,c.d,a.et,d.hp,d.q2],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;bottom:0;right:0;content:"";z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background:var(--tui-text-primary)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.1875rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range=start]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}[data-type=weekday][_ngcontent-%COMP%]{color:var(--tui-text-primary)}[data-type=weekend][_ngcontent-%COMP%]{color:var(--tui-status-negative)}.t-row[_ngcontent-%COMP%]{justify-content:flex-start}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row_weekday[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none}.t-item[_ngcontent-%COMP%]{display:flex;flex-direction:column}.t-item_unavailable[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}.t-dots[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot[_ngcontent-%COMP%]{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}'],changeDetection:0}),e})()},94840:(t,e,n)=>{n.d(e,{z:()=>h});var i=n(76733),r=n(20755),o=n(28351),s=n(16100),a=n(82509),l=n(88283);function c(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}function u(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onYearClick())})),r._uU(1),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}let h=(()=>{var t;class e{constructor(){this.value=o.ql.currentLocal(),this.min=o.K1,this.max=o.Oy,this.valueChange=new r.vpe,this.yearClick=new r.vpe}onYearClick(){this.yearClick.next(this.value)}append(t){const e=this.value.append(t);this.min.monthSameOrAfter(e)?this.updateValue(this.min):this.updateValue(this.max.monthSameOrBefore(e)?this.max:e)}updateValue(t){this.value.monthSame(t)||(this.value=t,this.valueChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-spin"]],inputs:{value:"value",min:"min",max:"max"},outputs:{valueChange:"valueChange",yearClick:"yearClick"},standalone:!0,features:[r.jDz],decls:7,vars:10,consts:[[3,"focusable","leftDisabled","rightDisabled","leftClick","rightClick"],[4,"ngIf","ngIfElse"],["button",""],["id","year-btn","automation-id","tui-primitive-year-month-pagination__year-button","tabIndex","-1","tuiLink","","type","button",3,"click"]],template:function(t,e){if(1&t&&(r.TgZ(0,"tui-spin-button",0),r.NdJ("leftClick",(function(){return e.append({month:-1})}))("rightClick",(function(){return e.append({month:1})})),r._uU(1),r.ALo(2,"async"),r.ALo(3,"tuiMonth"),r.YNc(4,c,2,1,"ng-container",1),r.YNc(5,u,2,1,"ng-template",null,2,r.W1O),r.qZA()),2&t){const t=r.MAs(6);r.Q6J("focusable",!1)("leftDisabled",e.value.monthSameOrBefore(e.min))("rightDisabled",e.value.monthSameOrAfter(e.max)),r.xp6(1),r.hij(" ",r.lcZ(2,6,r.lcZ(3,8,e.value))," "),r.xp6(3),r.Q6J("ngIf",e.min.year===e.max.year)("ngIfElse",t)}},dependencies:[a.f,s.lI,l.$7,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),e})()},62571:(t,e,n)=>{n.d(e,{u:()=>g});var i=n(20755),r=n(11892),o=n(28351),s=n(7479),a=n(81929),l=n(80313),c=n(23880),u=n(73740),h=n(88543);function d(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",4),i.NdJ("click",(function(){const e=i.CHM(t).tuiLet,n=i.oxw(3);return i.KtG(n.yearClick.emit(e))}))("tuiHoveredChange",(function(e){const n=i.CHM(t).tuiLet,r=i.oxw(3);return i.KtG(r.onItemHovered(e,n))})),i.TgZ(1,"div",5),i._uU(2),i.qZA()()}if(2&t){const t=e.tuiLet,n=i.oxw(3);i.ekj("t-cell_disabled",n.isDisabled(t))("t-cell_interval",n.itemIsInterval(t))("t-cell_today",n.itemIsToday(t)),i.Q6J("tuiScrollIntoView",n.scrollItemIntoView(t)),i.uIk("data-range",n.getItemRange(t)),i.xp6(2),i.Oqu(t)}}function p(t,e){if(1&t&&(i.ynx(0),i.YNc(1,d,3,9,"div",3),i.BQk()),2&t){const t=e.$implicit,n=i.oxw().$implicit,r=i.oxw();i.xp6(1),i.Q6J("tuiLet",r.getItem(n,t))}}function f(t,e){1&t&&(i.TgZ(0,"div",1),i.YNc(1,p,2,1,"ng-container",2),i.qZA()),2&t&&(i.xp6(1),i.Q6J("tuiRepeatTimesOf",4))}let g=(()=>{var t;class e{constructor(){this.hoveredItem=null,this.currentYear=o.ql.currentLocal().year,this.value=null,this.initialItem=this.currentYear,this.min=o.nN,this.max=o.cO,this.disabledItemHandler=r.tD,this.yearClick=new i.vpe}isDisabled(t){return this.max&&this.maxt||this.disabledItemHandler(t)}getItemRange(t){const{value:e,hoveredItem:n}=this;return null===e?null:e instanceof o.F4?e.year===t?"single":null:(0,u.dt)(e)?e===t?"single":null:e instanceof o.dt?e.from.year===t&&!e.from.yearSame(e.to)||null!==n&&n>e.from.year&&e.from.year===t&&e.from.yearSame(e.to)||null!==n&&n===t&&ne.from.year&&e.from.yearSame(e.to)?"end":e.from.yearSame(e.to)&&e.from.year===t?"single":null:e.find((e=>e.year===t))?"single":null}itemIsInterval(t){const{value:e,hoveredItem:n}=this;return!!this.isRange(e)&&(e.from.yearSame(e.to)?null!==n&&e.from.year!==n&&(0,c.w)(t,Math.min(e.from.year,n),Math.max(e.from.year,n)):e.from.year<=t&&e.to.year>t)}onItemHovered(t,e){this.updateHoveredItem(t,e)}get isSingle(){return this.isRange(this.value)&&this.value.from.yearSame(this.value.to)}get rows(){return Math.ceil((this.calculatedMax-this.calculatedMin)/4)}isRange(t){return t instanceof o.dt}scrollItemIntoView(t){return this.initialItem===t}getItem(t,e){return 4*t+e+this.calculatedMin}itemIsToday(t){return this.currentYear===t}get calculatedMin(){const t=this.initialItem-100,e=this.min??o.nN;return e>t?e:t}get calculatedMax(){const t=this.initialItem+100,e=this.max??o.cO;return e .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{margin:.875rem 0}.t-row[_ngcontent-%COMP%]:first-child{margin-top:0}.t-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}'],changeDetection:0}),e})()},23650:(t,e,n)=>{n.d(e,{X:()=>g});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(86198),l=n(73740),c=n(88543),u=n(7443),h=n(94840),d=n(62571);function p(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-scrollbar",2)(1,"tui-calendar-year",3),r.NdJ("yearClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPickerYearClick(e))})),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("initialItem",t.month.year)("max",t.computedMax.year)("min",t.computedMin.year)("value",t.value)}}function f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-calendar-spin",4),r.NdJ("valueChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPaginationValueChange(e))}))("yearClick",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onPaginationYearClick())})),r.qZA(),r.TgZ(1,"tui-calendar-sheet",5),r.NdJ("dayClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onDayClick(e))}))("hoveredItemChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onHoveredItemChange(e))})),r.ALo(2,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("max",t.computedMaxViewedMonth)("min",t.computedMinViewedMonth)("value",t.month),r.xp6(1),r.Q6J("disabledItemHandler",r.gM2(2,9,t.disabledItemHandler,t.disabledItemHandlerMapper,t.computedMin,t.computedMax))("hoveredItem",t.hoveredItem)("markerHandler",t.markerHandler)("month",t.month)("showAdjacent",t.showAdjacent)("value",t.value)}}let g=(()=>{var t;class e{constructor(){this.day=null,this.view="month",this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.min=s.K1,this.max=s.Oy,this.minViewedMonth=s.K1,this.maxViewedMonth=s.Oy,this.hoveredItem=null,this.showAdjacent=!0,this.markerHandler=null,this.dayClick=new r.vpe,this.monthChange=new r.vpe,this.hoveredItemChange=new r.vpe,this.disabledItemHandlerMapper=(t,e,n)=>i=>i.dayBefore(e)||i.dayAfter(n)||t(i)}set value(t){this.day=t,this.showAdjacent&&t instanceof s.TU&&(this.month=t)}set initialView(t){this.view=t}get value(){return this.day}onPaginationValueChange(t){this.updateViewedMonth(t)}onDayClick(t){this.dayClick.emit(t)}onHoveredItemChange(t){this.updateHoveredDay(t)}get computedMin(){return this.min??s.K1}get computedMax(){return this.max??s.Oy}get computedMinViewedMonth(){const t=this.computedMin,e=this.minViewedMonth??s.K1;return e.monthSameOrAfter(t)?e:t}get computedMaxViewedMonth(){const t=this.computedMax,e=this.maxViewedMonth??s.Oy;return e.monthSameOrBefore(t)?e:t}get isInYearView(){return"year"===this.view}onPaginationYearClick(){this.view="year"}onPickerYearClick(t){this.view="month",this.updateViewedMonth(new s.ql(t,this.month.month))}updateViewedMonth(t){this.month.monthSame(t)||(this.month=t,this.monthChange.emit(t))}updateHoveredDay(t){(0,l.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar"]],inputs:{month:"month",disabledItemHandler:"disabledItemHandler",min:"min",max:"max",minViewedMonth:"minViewedMonth",maxViewedMonth:"maxViewedMonth",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent",markerHandler:"markerHandler",value:"value",initialView:"initialView"},outputs:{dayClick:"dayClick",monthChange:"monthChange",hoveredItemChange:"hoveredItemChange"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[["automation-id","tui-calendar__scrollbar","class","t-scrollbar",4,"ngIf","ngIfElse"],["calendar",""],["automation-id","tui-calendar__scrollbar",1,"t-scrollbar"],["automation-id","tui-calendar__year",3,"initialItem","max","min","value","yearClick"],["automation-id","tui-calendar__pagination",1,"t-pagination",3,"max","min","value","valueChange","yearClick"],["automation-id","tui-calendar__calendar",3,"disabledItemHandler","hoveredItem","markerHandler","month","showAdjacent","value","dayClick","hoveredItemChange"]],template:function(t,e){if(1&t&&(r.YNc(0,p,2,4,"tui-scrollbar",0),r.YNc(1,f,3,14,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.isInYearView)("ngIfElse",t)}},dependencies:[i.O5,c.D1,d.u,h.z,u.R,a.c],styles:["[_nghost-%COMP%]{display:block;min-height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar[_ngcontent-%COMP%]{height:18.25rem;width:16.875rem}.t-pagination[_ngcontent-%COMP%]{margin-bottom:1rem}"],changeDetection:0}),e})()},31447:(t,e,n)=>{n.d(e,{XU:()=>i.X,u8:()=>r.u});var i=n(23650),r=(n(7443),n(94840),n(62571))},52614:(t,e,n)=>{n.d(e,{l:()=>b,q:()=>_});var i,r=n(84911),o=n(76733),s=n(20755),a=n(11892),l=n(65026),c=n(55181),u=n(52674),h=n(73740),d=n(41589),p=n(25690),f=n(92425),g=n(46501),m=n(96240);function v(t,e){if(1&t&&(s.ynx(0),s._uU(1),s.BQk()),2&t){const t=e.polymorpheusOutlet;s.xp6(1),s.hij(" ",t," ")}}function y(t,e){if(1&t&&(s.TgZ(0,"div",1),s.YNc(1,v,2,1,"ng-container",2),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",t.emptyContent||s.lcZ(2,1,t.defaultEmptyContent$))}}function b(){const t=(0,s.f3M)(g.N1,{optional:!0})?.size;return t&&["s","m","l"].includes(t)?t:"l"}class _{constructor(){this.options=a.Mm,this.el=(0,c.AG)(),this.defaultEmptyContent$=(0,s.f3M)(d.PH),this.size=b()}onKeyDownArrow(t,e){const{elements:n}=this;(0,u.VR)(n.indexOf(t),n,e)}handleFocusLossIfNecessary(t=this.el){(0,u.zb)(t)&&this.origin?.focus({preventScroll:!0})}getOptions(t=!1){return this.options.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(h.Pc)}get empty$(){return(0,l.ll)(this.options).pipe((0,f.U)((({length:t})=>!t)))}onFocusIn(t,e){e.contains(t)||this.origin||(this.origin=t)}noop(){}get elements(){return Array.from(this.el.querySelectorAll("a[tuiOption],button[tuiOption],input"))}}(i=_).ɵfac=function(t){return new(t||i)},i.ɵcmp=s.Xpm({type:i,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,m.b,5),2&t){let t;s.iGM(t=s.CRH())&&(e.options=t)}},hostAttrs:["role","listbox"],hostVars:1,hostBindings:function(t,e){1&t&&s.NdJ("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)}))("keydown.tab",(function(){return e.handleFocusLossIfNecessary()}))("keydown.shift.tab",(function(){return e.handleFocusLossIfNecessary()}))("focusin",(function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)}))("mousedown.prevent",(function(){return e.noop()})),2&t&&s.uIk("data-size",e.size)},inputs:{emptyContent:"emptyContent",size:"size"},standalone:!0,features:[s._Bn([(0,g.RB)(i)]),s.jDz],ngContentSelectors:["*"],decls:3,vars:3,consts:[["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(s.F$t(),s.Hsn(0),s.YNc(1,y,3,3,"div",0),s.ALo(2,"async")),2&t&&(s.xp6(1),s.Q6J("ngIf",s.lcZ(2,1,e.empty$)))},dependencies:[o.O5,o.Ov,p.s$],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-tertiary)}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-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-secondary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-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-border-normal)}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,tui-opt-group:not(:empty)~tui-opt-group:not([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,tui-opt-group:not([data-label]):before{padding:0;margin:0}[tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;justify-content:space-between;text-align:left;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[tuiOption]:focus-within,[tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}[tuiOption]:after{font-size:1rem;margin:0 -.25rem 0 1rem}\n'],encapsulation:2,changeDetection:0}),(0,r.gn)([h.UM],_.prototype,"empty$",null)},19975:(t,e,n)=>{n.d(e,{g:()=>r}),n(73740);var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiDataList",""]],standalone:!0}),e})()},46501:(t,e,n)=>{n.d(e,{Cc:()=>a,IQ:()=>o,N1:()=>c,P7:()=>s,RB:()=>l,oE:()=>u});var i=n(20755),r=n(73740);const o=new i.OlP("[TUI_OPTION_CONTENT]");function s(t){return{provide:o,useValue:t}}const a=new i.OlP("[TUI_DATA_LIST_ACCESSOR]");function l(t){return(0,r.Q2)(a,t)}const c=new i.OlP("[TUI_DATA_LIST_HOST]");function u(t){return(0,r.Q2)(c,t)}},63098:(t,e,n)=>{n.d(e,{Cc:()=>l.Cc,N1:()=>l.N1,qi:()=>i.q,gX:()=>r.g,c4:()=>s,bH:()=>a.b,Pb:()=>h,RB:()=>l.RB,oE:()=>l.oE,P7:()=>l.P7,lt:()=>i.l});var i=n(52614),r=n(19975),o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-label",e.label)},inputs:{label:"label"},standalone:!0}),e})();var a=n(96240);i.q,r.g,a.b;var l=n(46501),c=n(73740),u=n(71938);let h=(()=>{var t;class e{constructor(){this.dataList=(0,c.Vx)(u.td,"tuiDropdown",null)}set template(t){this.dataList.set(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["never"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,r.g,5,o.Rgc),2&t){let t;o.iGM(t=o.CRH())&&(e.template=t.first)}},standalone:!0}),e})()},96240:(t,e,n)=>{n.d(e,{b:()=>v});var i=n(20755),r=n(86253),o=n(55181),s=n(52674),a=n(71938),l=n(25690),c=n(52614),u=n(46501),h=n(98549);const d=["tuiOption",""];function p(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 f(t,e){1&t&&i.Hsn(0)}const g=function(t){return{$implicit:t}},m=["*"];let v=(()=>{var t;class e{constructor(){this.isMobile=(0,i.f3M)(r.fL),this.el=(0,o.AG)(),this.dataList=(0,i.f3M)((0,i.Gpc)((()=>c.q)),{optional:!0}),this.host=(0,i.f3M)(u.N1,{optional:!0}),this.content=(0,i.f3M)(u.IQ,{optional:!0}),this.dropdown=(0,i.f3M)(a.td,{self:!0,optional:!0}),this.disabled=!1}ngOnDestroy(){this.dataList?.handleFocusLossIfNecessary(this.el)}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove(){this.isMobile||(0,s.V8)(this.el)||this.el.focus({preventScroll:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["button","tuiOption",""],["a","tuiOption",""],["label","tuiOption",""]],hostAttrs:["type","button","role","option"],hostVars:3,hostBindings:function(t,e){1&t&&i.NdJ("click",(function(){return e.onClick()}))("mousemove.silent",(function(){return e.onMouseMove()})),2&t&&(i.uIk("disabled",e.disabled||null),i.ekj("_with-dropdown",e.active))},inputs:{disabled:"disabled",value:"value"},standalone:!0,features:[i.jDz,i.zW0([{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],attrs:d,ngContentSelectors:m,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["t",""]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,p,2,1,"ng-container",0),i.YNc(1,f,1,0,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(2);i.Q6J("polymorpheusOutlet",e.content||t)("polymorpheusOutletContext",i.VKq(2,g,t))}},dependencies:[l.s$],encapsulation:2,changeDetection:0}),e})()},67587:(t,e,n)=>{n.d(e,{qY:()=>k,RO:()=>H,r4:()=>G});var i=n(76733),r=n(20755),o=n(62022),s=n(11892),a=n(30696),l=n(86253),c=n(34138),u=n(11679),h=n(41589),d=n(82510),p=n(25690),f=n(11070),g=n(71209),m=n(78748),v=n(45047),y=n(84787),b=n(92425),_=n(55333),w=n(73740),x=n(56424),C=n(30453);const k=(0,w.JN)(new x.X([])),O=(0,w.JN)(C.E),M=(0,w.JN)({appearance:"",size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:"",data:void 0});var S=n(42772),A=n(65026),P=n(55181),E=n(48132),T=n(21813);let I=(()=>{var t;class e extends E.y{constructor(){super((t=>(0,v.T)(this.esc$,this.mousedown$).subscribe(t))),this.win=(0,r.f3M)(S.m9),this.doc=(0,r.f3M)(i.K0),this.el=(0,P.AG)(),this.esc$=(0,A.mL)(this.doc,"keydown").pipe((0,_.h)((t=>{const e=(0,P.mA)(t);return"Escape"===t.key&&!t.defaultPrevented&&(this.el.contains(e)||this.isOutside(e))}))),this.mousedown$=(0,A.mL)(this.doc,"mousedown").pipe((0,_.h)((t=>(0,d.ic)(this.win)-t.clientX>17&&this.isOutside((0,P.mA)(t)))),(0,y.w)((()=>(0,A.mL)(this.doc,"mouseup").pipe((0,T.q)(1),(0,b.U)(P.mA),(0,_.h)((t=>this.isOutside(t)))))))}isOutside(t){return(0,P.ve)(t)&&(!(0,P.PP)(this.el,t)||t===this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})();function D(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 z(t,e){if(1&t&&(r.TgZ(0,"header",6),r.YNc(1,D,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 N(t,e){if(1&t){const t=r.EpF();r.ynx(0),r._UZ(1,"div",7),r.TgZ(2,"div",8)(3,"button",9),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.context.$implicit.complete())})),r._uU(4),r.qZA()(),r.BQk()}if(2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.xp6(1),r.Q6J("innerHTML",t,r.oJD),r.xp6(3),r.hij(" ",(null==n.context.data?null:n.context.data.button)||"OK"," ")}}function F(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",10)(1,"button",11),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close$.next())}))("mousedown.prevent.silent",(function(){return 0})),r._uU(2),r.ALo(3,"async"),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Udp("border-radius",100,"%"),r.Q6J("appearance",t.fullscreen?"secondary":"")("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(3,5,t.closeWord$)," ")}}const L=new Error("Required dialog was dismissed");function R(t){return(0,f.b)(t)?t:(0,g.of)(t)}let B=(()=>{var t;class e{constructor(){this.speed=(0,r.f3M)(h.ZW),this.isMobile=(0,r.f3M)(l.fL),this.animation={value:"",params:{start:"40px",duration:(0,d.cZ)(this.speed)}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:(0,d.cZ)(this.speed)}},this.close$=new m.x,this.context=(0,r.f3M)(p.yf),this.closeWord$=(0,r.f3M)(h.U0),this.icons=(0,r.f3M)(h.Gs),(0,v.T)(this.close$.pipe((0,y.w)((()=>R(this.context.closeable)))),(0,r.f3M)(I).pipe((0,y.w)((()=>R(this.context.dismissible)))),(0,r.f3M)(O).pipe((0,b.U)(s.oN))).pipe((0,_.h)(Boolean),(0,o.sL)()).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(L):this.context.$implicit.complete()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-appearance",e.context.appearance)("data-size",e.size),r.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),r.ekj("_centered",e.header))},standalone:!0,features:[r._Bn([I]),r.jDz],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"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","iconLeft","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(r.YNc(0,z,2,2,"header",0),r.TgZ(1,"div",1),r._UZ(2,"h2",2),r.TgZ(3,"section"),r.YNc(4,N,5,2,"ng-container",3),r.qZA()(),r._UZ(5,"div",4),r.YNc(6,F,4,7,"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))},dependencies:[i.O5,p.s$,a.bi,u.xG,i.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%;content:"";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-popup)}[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%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-background-elevation-1);box-shadow:0 4rem var(--tui-background-elevation-1)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - 22.5rem)}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}._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)}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}.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-background-elevation-1)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;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;display:none}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:inline-flex}[_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);color:var(--tui-background-base)}[_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[data-size][_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[data-size][_ngcontent-%COMP%]{--tui-fade-end: .5;position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-primary);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[c.X9,c.QF]}}),e})();n(11320);var j=n(10676);let H=(()=>{var t;class e extends j.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(k,B,(0,r.f3M)(M))},providedIn:"root"}),e})();var V=n(69008),$=n(88543);function q(t,e){1&t&&r.GkF(0)}function Z(t,e){if(1&t&&(r.TgZ(0,"section",3),r.YNc(1,q,1,0,"ng-container",4),r._UZ(2,"tui-scroll-controls",5),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().ngIf;r.ekj("t-dialog_closing",!n.length),r.Q6J("@tuiHost",void 0),r.uIk("aria-labelledby",t.id),r.xp6(1),r.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",t)}}function U(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Z,3,6,"section",1),r._UZ(2,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Udp("opacity",t.length)}}let G=(()=>{var t;class e{constructor(){this.el=(0,P.AG)(),this.dialogs$=(0,r.f3M)(k)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialogs"]],hostBindings:function(t,e){1&t&&r.NdJ("keydown.silent",(function(){return e.el.scrollTop=e.el.scrollHeight/2}))},standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","","class","t-dialog",3,"t-dialog_closing",4,"ngFor","ngForOf"],[1,"t-overlay"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-scrollbars"]],template:function(t,e){1&t&&(r.YNc(0,U,3,3,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.dialogs$))},dependencies:[i.ez,i.sg,i.O5,i.Ov,p.s$,V.m,$.bl,$.pS],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;scrollbar-width:none;-ms-overflow-style:none;pointer-events:none;overflow:auto;overscroll-behavior:none}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}[_nghost-%COMP%]:has(section){pointer-events:auto}[_nghost-%COMP%]:before{content:"";display:block;height:1000%}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:fixed;top:0;left:0;bottom:0;right:0;display:flex;height:100%;align-items:flex-start;outline:none;overflow:auto}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-dialog[_ngcontent-%COMP%]{position:sticky;pointer-events:auto;overscroll-behavior:none}.t-overlay[_ngcontent-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;right:0;margin:0;color:#747474}'],data:{animation:[c.Hp]}}),e})()},93745:(t,e,n)=>{n.d(e,{SV:()=>f,d0:()=>c});var i=n(76733),r=n(20755),o=n(62022),s=n(34138),a=n(32097),l=n(1925);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiExpandContent",""]],standalone:!0}),e})();const u=["wrapper"];function h(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 d(t,e){if(1&t&&(r.ynx(0),r.Hsn(1),r.YNc(2,h,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 p=["*"];let f=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.state=0,this.content=null,this.expanded=null,this.async=!1}set expandedSetter(t){if(null!==this.expanded){if(0!==this.state)return this.expanded=t,void(this.state=3);this.expanded=t,this.retrigger(this.async&&t?1:3)}else this.expanded=t}get contentVisible(){return this.expanded||0!==this.state}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}onTransitionEnd({propertyName:t,pseudoElement:e}){"opacity"!==t||e||3!==this.state||(this.state=0)}onExpandLoaded(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(t){this.state=2,(0,l.H)(0).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>{2===this.state&&(this.state=t,this.cdr.markForCheck())}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,c,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(u,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"]},standalone:!0,features:[r.jDz],ngContentSelectors:p,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,d,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))},dependencies:[a.A6,i.O5,i.tP],styles:['[_nghost-%COMP%]{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translateZ(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[s.B_]},changeDetection:0}),e})()},44501:(t,e,n)=>{n.d(e,{hM:()=>c,vJ:()=>a});var i=n(20755),r=n(73740);const o={size:"m",collapsed:!1,rounded:!0,orientation:"horizontal"},s=(0,r.JN)(o);function a(t){return(0,r.vK)(s,t,o)}let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate;--t-radius: var(--tui-radius-m)}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_radius_large{--t-radius: var(--tui-radius-l)}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin:0 -1px 0 0}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.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>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.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>*:has([tuiBlock]:checked){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:0 0 -1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--t-radius);border-bottom-left-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--t-radius);border-top-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.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}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.orientation=this.options.orientation,this.collapsed=this.options.collapsed,this.rounded=this.options.rounded,this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:10,hostBindings:function(t,e){2&t&&i.ekj("tui-group_orientation_horizontal","horizontal"===e.orientation)("tui-group_orientation_vertical","vertical"===e.orientation)("tui-group_radius_large","l"===e.size)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)},inputs:{orientation:"orientation",collapsed:"collapsed",rounded:"rounded",size:"size"},standalone:!0}),e})()},8355:(t,e,n)=>{n.d(e,{R:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.resolver=(0,r.Ps)(),this.icon=(0,i.f3M)(r.SX),this.background=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-icon"]],hostVars:6,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask","url("+e.resolver(e.icon)+")")("--t-mask-bg",e.background?"url("+e.resolver(e.background)+")":null),i.ekj("_duo",e.background))},inputs:{icon:"icon",background:"background"},standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{position:relative;display:inline-block;width:1em;height:1em;font-size:1.5rem;flex-shrink:0;vertical-align:middle;box-sizing:border-box}._duo[_nghost-%COMP%]{-webkit-mask:var(--t-mask-bg) no-repeat center / contain;mask:var(--t-mask-bg) no-repeat center / contain}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";-webkit-mask:var(--t-mask) no-repeat center / contain;mask:var(--t-mask) no-repeat center / contain;background:currentColor}'],changeDetection:0}),e})()},9368:(t,e,n)=>{n.d(e,{R:()=>i.R});var i=n(8355);n(41589)},57981:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(20755),r=n(55181),o=n(73740),s=n(63098);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-label-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiLabel]{display:flex;gap:.25rem;flex-direction:column;font:var(--tui-font-text-s);color:var(--tui-text-primary)}[tuiLabel]:not(._textfield){flex-direction:row;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-m)}[tuiLabel]:has(tui-primitive-textfield),[tuiLabel]:has(tui-textarea){flex-direction:column!important;width:auto!important;font:var(--tui-font-text-s)!important}[tuiLabel] input[type=checkbox],[tuiLabel] input[type=radio]{margin-inline-end:.5rem}[tuiLabel] input[type=checkbox][data-size=s],[tuiLabel] input[type=radio][data-size=s]{margin-inline-end:.25rem;margin-top:.125rem}[tuiLabel] small{font:var(--tui-font-text-s)}[tuiLabel] [tuiTitle]{margin-top:.125rem}[tuiLabel] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"],encapsulation:2,changeDetection:0}),e})(),l=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.nothing=(0,o.__)(a),this.parent=(0,i.f3M)((0,i.Gpc)((()=>s.N1)),{optional:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["label","tuiLabel",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,s.N1,5),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("for",e.el.htmlFor||(null==e.parent?null:e.parent.id)),i.ekj("_textfield",e.textfield))},standalone:!0}),e})()},16100:(t,e,n)=>{n.d(e,{S9:()=>r.S9,lI:()=>i.l});var i=n(87731),r=n(3828)},87731:(t,e,n)=>{n.d(e,{l:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(3828),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-link"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiLink]{--tui-text-tertiary: var(--tui-text-secondary);padding:0;background:transparent;border:none;text-decoration:none;cursor:pointer;font:inherit}[tuiLink]:hover{--tui-text-secondary: var(--tui-text-primary)}[tuiLink]:before{margin-inline-end:.25rem}[tuiLink]:after{margin-inline-start:.25rem}[tuiLink]._pseudo{-webkit-text-decoration:underline dashed currentColor;text-decoration:underline dashed currentColor;text-underline-offset:.2em;text-decoration-thickness:.7px;text-decoration-color:color-mix(in lch,currentColor,transparent)}[tuiLink][tuiIcons]._icon-left:before,[tuiLink][tuiIcons]._icon-right:after{content:"\\2060";padding:calc(var(--tui-icon-size, 1rem) / 2);vertical-align:super;font-size:0;line-height:0}[tuiLink]:focus-visible:not([data-focus=false]){outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][data-focus=true]{outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(l),this.pseudo=(0,i.f3M)(s.T2).pseudo}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostAttrs:["tuiLink",""],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_pseudo",e.pseudo)},inputs:{pseudo:"pseudo"},standalone:!0,features:[i._Bn([(0,o.mS)(s.T2)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},3828:(t,e,n)=>{n.d(e,{S9:()=>s,T2:()=>o});var i=n(73740);const r={appearance:"link",pseudo:!1},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},32097:(t,e,n)=>{n.d(e,{A6:()=>i.A});var i=n(64337);n(69816)},64337:(t,e,n)=>{n.d(e,{A:()=>g});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(52674),l=n(16931),c=n(25690),u=n(69816);function h(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 d(t,e){if(1&t&&(r.O4$(),r.kcU(),r.TgZ(0,"div",6),r.YNc(1,h,2,1,"ng-container",7),r.qZA()),2&t){const t=r.oxw(2);r.ekj("t-text_horizontal",t.isHorizontal),r.xp6(1),r.Q6J("polymorpheusOutlet",t.textContent)}}function p(t,e){if(1&t&&(r.TgZ(0,"div",2),r.O4$(),r.TgZ(1,"svg",3),r._UZ(2,"circle",4),r.qZA(),r.YNc(3,d,2,3,"div",5),r.qZA()),2&t){const t=r.oxw();r.ekj("t-loader_horizontal",t.isHorizontal)("t-loader_inherit-color",t.inheritColor),r.xp6(3),r.Q6J("ngIf",t.hasText)}}const f=["*"];let g=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.options=(0,r.f3M)(u.vI),this.loading=!0,this.isApple=function({ownerDocument:t}){const e=t?.defaultView,n=void 0!==e.safari&&"[object SafariRemoteNotification]"===e.safari?.pushNotification?.toString(),i=!!e.navigator?.vendor?.includes("Apple")&&!e.navigator?.userAgent?.includes("CriOS")&&!e.navigator?.userAgent?.includes("FxiOS");return n||i}(this.el)||this.isIOS,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay}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,l.R9)(this.size)}get focused(){return(0,a.zb)(this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-loader"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size),r.ekj("_loading",e.loading))},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},standalone:!0,features:[r.jDz],ngContentSelectors:f,decls:3,vars:7,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","height","100%","width","100%",1,"t-icon"],["cx","50%","cy","50%",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&&(r.F$t(),r.TgZ(0,"fieldset",0),r.Hsn(1),r.qZA(),r.YNc(2,p,4,5,"div",1)),2&t&&(r.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),r.Q6J("disabled",e.loading&&!e.isApple),r.uIk("inert",e.loading||null),r.xp6(2),r.Q6J("ngIf",e.loading))},dependencies:[i.O5,c.s$],styles:["[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem;--tui-thickness: calc(var(--t-diameter) / 12)}._loading[_nghost-%COMP%]{overflow:hidden}[data-size=xs][_nghost-%COMP%]{--t-diameter: .75em}[data-size=s][_nghost-%COMP%]{--t-diameter: 1em}[data-size=m][_nghost-%COMP%]{--t-diameter: 1.5em}[data-size=l][_nghost-%COMP%]{--t-diameter: 2.5em}[data-size=xl][_nghost-%COMP%]{--t-diameter: 3.5em}[data-size=xxl][_nghost-%COMP%]{--t-diameter: 5em}.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%;min-height:var(--t-diameter);flex-shrink:0;align-self:center;color:var(--tui-text-primary);stroke:var(--tui-background-accent-1);animation:tuiFadeIn var(--tui-duration);font-size:1rem}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:var(--tui-font-text-s);margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(-90deg)}50%{transform:rotate(-90deg) rotate(1turn)}to{transform:rotate(-90deg) rotate(3turn)}}.t-icon[_ngcontent-%COMP%]{display:block;width:var(--t-diameter);height:var(--t-diameter);margin:.25rem calc(var(--t-diameter) / -2);border-radius:100%;overflow:hidden;animation:_ngcontent-%COMP%_tuiLoaderRotate 4s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}50%{stroke-dashoffset:calc(.05 * calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness))))}to{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}}.t-circle[_ngcontent-%COMP%]{r:calc(var(--t-diameter) / 2 - var(--tui-thickness));stroke-dasharray:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)));fill:none;stroke:inherit;stroke-width:max(var(--tui-thickness),1.5px);animation:_ngcontent-%COMP%_tuiLoaderDashOffset 4s linear infinite}"],changeDetection:0}),e})()},69816:(t,e,n)=>{n.d(e,{vI:()=>i});const i=(0,n(73740).JN)({size:"m",inheritColor:!1,overlay:!1})},94030:(t,e,n)=>{n.d(e,{Ln:()=>d,tK:()=>y});var i=n(76733),r=n(20755),o=n(11679),s=n(9368),a=n(41589),l=n(25690),c=n(73740);const u={info:"@tui.info",success:"@tui.circle-check",error:"@tui.circle-x",warning:"@tui.circle-alert",neutral:"@tui.info"},h={status:"info",icon:({$implicit:t})=>u[t],size:"m"},d=(0,c.JN)(h);function p(t,e){if(1&t&&r._UZ(0,"tui-icon",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t.toString())}}const f=function(t){return{$implicit:t}};function g(t,e){if(1&t&&(r.ynx(0),r.YNc(1,p,1,1,"tui-icon",4),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)("polymorpheusOutletContext",r.VKq(2,f,t.status))}}function m(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close.emit())})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(2,2,t.closeWord$),"\n")}}const v=["*"];let y=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(d),this.closeWord$=(0,r.f3M)(a.U0),this.icons=(0,r.f3M)(a.Gs),this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new r.vpe}get hasClose(){return!this.hideClose&&this.close.observed}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-notification"],["a","tuiNotification",""],["button","tuiNotification",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.uIk("data-status",e.status)("data-size",e.size)},inputs:{icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},standalone:!0,features:[r.jDz],ngContentSelectors:v,decls:5,vars:3,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"iconLeft","click",4,"ngIf"],["automation-id","tui-notification__more",1,"t-more",3,"icon"],["automation-id","tui-notification__icon","class","t-icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"icon"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"iconLeft","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,g,2,4,"ng-container",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,m,3,4,"button",2),r._UZ(4,"tui-icon",3)),2&t&&(r.Q6J("ngIf",e.icon),r.xp6(3),r.Q6J("ngIf",e.hasClose),r.xp6(1),r.Q6J("icon",e.icons.more))},dependencies:[o.xG,l.s$,i.O5,s.R,i.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-s);color:var(--tui-text-primary);padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-background-base);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;width:1rem;color:var(--tui-text-primary);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-status-info);background:linear-gradient(var(--tui-status-info-pale),var(--tui-status-info-pale)),var(--tui-background-base)}[data-status=success][_nghost-%COMP%]{color:var(--tui-status-positive);background:linear-gradient(var(--tui-status-positive-pale),var(--tui-status-positive-pale)),var(--tui-background-base)}[data-status=error][_nghost-%COMP%]{color:var(--tui-status-negative);background:linear-gradient(var(--tui-status-negative-pale),var(--tui-status-negative-pale)),var(--tui-background-base)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-status-warning);background:linear-gradient(var(--tui-status-warning-pale),var(--tui-status-warning-pale)),var(--tui-background-base)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-status-neutral);background:linear-gradient(var(--tui-background-neutral-1),var(--tui-background-neutral-1)),var(--tui-background-base)}[tuiTheme="dark"][_nghost-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%]{--tui-background-base: #000}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-primary);text-align:inherit;align-self:center}'],changeDetection:0}),e})()},38525:(t,e,n)=>{n.d(e,{q:()=>C});var i=n(76733),r=n(20755),o=n(62022),s=n(65026),a=n(86253),l=n(75097),c=n(67587),u=n(88543),h=n(42690),d=n(75430),p=n(94457),f=n(41589),g=n(82510),m=n(92425),v=n(71209),y=n(20155),b=n(32423);function _(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const w=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],x=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let C=(()=>{var t;class e{constructor(){this.reducedMotion=(0,r.f3M)(f.TK),this.duration=(0,g.cZ)((0,r.f3M)(f.ZW)),this.isMobileRes=(0,o.O4)((0,r.f3M)(p.zE).pipe((0,m.U)((t=>"mobile"===t)),(0,s.NA)((0,r.f3M)(r.sBO)))),this.scrollbars$=(0,r.f3M)(a.fL)?(0,v.of)(!1):(0,r.f3M)(c.qY).pipe((0,m.U)((({length:t})=>!t)),(0,y.b)(0)),(0,r.f3M)(i.K0).defaultView?.document.documentElement.setAttribute("data-tui-theme",(0,r.f3M)(f.r2).toLowerCase())}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","4.0.0-rc.2"],hostVars:6,hostBindings:function(t,e){1&t&&r.NdJ("touchstart.passive.silent",(function(){return 0})),2&t&&(r.Udp("--tui-duration",e.duration,"ms"),r.ekj("_reduced-motion",e.reducedMotion)("_mobile",e.isMobileRes()))},standalone:!0,features:[r.jDz,r.zW0([b.c])],ngContentSelectors:x,decls:13,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(w),r.YNc(0,_,1,0,"tui-scroll-controls",0),r.ALo(1,"async"),r.TgZ(2,"tui-dropdowns")(3,"div",1),r.Hsn(4),r.qZA(),r.Hsn(5,1),r._UZ(6,"tui-dialogs"),r.Hsn(7,2),r._UZ(8,"tui-alerts"),r.Hsn(9,3),r.qZA(),r.Hsn(10,4),r._UZ(11,"tui-hints"),r.Hsn(12,5)),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.scrollbars$))},dependencies:[i.O5,i.Ov,h.JY,c.r4,l.Jp,d.Z0,u.bl],styles:['@keyframes tuiPresent{to{content:""}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html[data-tui-theme],.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html[data-tui-theme]::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html[data-tui-theme]::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body,input{margin:0}tui-root{position:relative;display:block;font:var(--tui-font-text-s);color:var(--tui-text-primary);flex:1;-webkit-tap-highlight-color:transparent}tui-root:before{position:fixed;top:0;left:0;width:100%;height:100%;content:"";background:var(--tui-background-base)}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}\n'],encapsulation:2}),e})()},88543:(t,e,n)=>{n.d(e,{bl:()=>i.b,_H:()=>r._,pS:()=>l,D1:()=>c.D1});var i=n(37201),r=n(46877),o=n(20755),s=n(73740),a=n(41589);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["","tuiScrollRef",""]],standalone:!0,features:[o._Bn([(0,s.Q2)(a.$_,o.SBq)])]}),e})();n(55181);var c=n(31807);n(28169),n(40942)},37201:(t,e,n)=>{n.d(e,{b:()=>y});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(34138),l=n(41589),c=n(82510),u=n(38356),h=n(92425),d=n(73843),p=n(18004),f=n(28169);function g(t,e){if(1&t&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-horizontal",t[1]),r.Q6J("@tuiFadeIn",e.options)}}function m(t,e){if(1&t&&(r.TgZ(0,"div",5),r._UZ(1,"div",6),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-vertical",t[0]),r.Q6J("@tuiFadeIn",e.options)}}function v(t,e){if(1&t&&(r.ynx(0),r.YNc(1,g,2,3,"div",1),r.YNc(2,m,2,3,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t[0]),r.xp6(1),r.Q6J("ngIf",t[1])}}let y=(()=>{var t;class e{constructor(){this.scrollRef=(0,r.f3M)(l.$_).nativeElement,this.options=(0,c.qS)((0,r.f3M)(l.ZW)),this.refresh$=(0,r.f3M)(o.L1).pipe((0,u.p)(300),(0,h.U)((()=>this.scrollbars)),(0,d.O)([!1,!1]),(0,p.x)(((t,e)=>t[0]===e[0]&&t[1]===e[1])),(0,s.Yr)((0,r.f3M)(r.R0b)))}get scrollbars(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.scrollRef;return[Math.ceil(t/e*100)<100,Math.ceil(n/i*100)<100]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-scroll-controls"]],standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(r.YNc(0,v,3,2,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.refresh$))},dependencies:[i.O5,i.Ov,f.N],styles:["[_nghost-%COMP%]{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-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;-webkit-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.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:[a.QF]},changeDetection:0}),e})()},46877:(t,e,n)=>{n.d(e,{_:()=>l});var i=n(20755),r=n(62022),o=n(55181),s=n(1925),a=n(31807);let l=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.destroyRef=(0,i.f3M)(i.ktI)}set tuiScrollIntoView(t){t&&(0,s.H)(0).pipe((0,r.sL)(this.destroyRef)).subscribe((()=>{this.el.dispatchEvent(new CustomEvent(a.fe,{bubbles:!0,detail:this.el}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},standalone:!0}),e})()},31807:(t,e,n)=>{n.d(e,{D1:()=>d,fe:()=>h});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(41589),l=n(37201);function c(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const u=["*"],h="tui-scroll-into-view";let d=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.browserScrollRef=new r.SBq(this.el),this.hidden=!1}get delegated(){return this.browserScrollRef.nativeElement!==this.el}onScrollable(t){this.browserScrollRef.nativeElement=t}scrollIntoView(t){if(this.delegated)return;const{nativeElement:e}=this.browserScrollRef,{offsetTop:n,offsetLeft:i}=(0,s.YX)(e,t),{clientHeight:r,clientWidth:o}=e,{offsetHeight:a,offsetWidth:l}=t,c=n+a/2-r/2,u=i+l/2-o/2;e.scrollTo?.(u,c)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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("_native-hidden",!e.isIOS||e.hidden)},inputs:{hidden:"hidden"},standalone:!0,features:[r._Bn([{provide:a.$_,useFactory:()=>(0,r.f3M)(t).browserScrollRef}]),r.jDz],ngContentSelectors:u,decls:3,vars:3,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,c,1,0,"tui-scroll-controls",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()),2&t&&(r.Q6J("ngIf",!e.hidden&&!e.isIOS),r.xp6(1),r.ekj("t-content_delegated",e.delegated))},dependencies:[l.b,i.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}._native-hidden[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none}._native-hidden[_nghost-%COMP%]::-webkit-scrollbar, ._native-hidden[_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-content_delegated[_ngcontent-%COMP%]{height:100%}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-primary)}"],changeDetection:0}),e})()},28169:(t,e,n)=>{n.d(e,{N:()=>d});var i=n(20755),r=n(62022),o=n(42772),s=n(65026),a=n(55181),l=n(41589),c=n(45047),u=n(38356),h=n(40942);let d=(()=>{var t;class e{constructor(){this.el=(0,i.f3M)(l.$_).nativeElement,this.style=(0,a.AG)().style,this.scrollSub=(0,i.f3M)(h.Q).pipe((0,r.sL)()).subscribe((([t,e])=>{this.el.style.scrollBehavior="auto",this.el.scrollTo({top:t,left:e}),this.el.style.scrollBehavior=""})),this.styleSub=(0,c.T)((0,i.f3M)(o.L1).pipe((0,u.p)(100)),(0,s.pt)(this.el)).pipe((0,s.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>{"vertical"===this.tuiScrollbar?(this.style.top=100*this.thumb+"%",this.style.height=100*this.view+"%"):(this.style.left=100*this.thumb+"%",this.style.width=100*this.view+"%")})),this.tuiScrollbar="vertical"}get scrolled(){const{scrollTop:t,scrollHeight:e,clientHeight:n,scrollLeft:i,scrollWidth:r,clientWidth:o}=this.el;return"vertical"===this.tuiScrollbar?t/(e-n):i/(r-o)}get compensation(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return t*t/e>24&&"vertical"===this.tuiScrollbar||n*n/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/t:24/n}get thumb(){const t=this.compensation||this.view;return this.scrolled*(1-t)}get view(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return"vertical"===this.tuiScrollbar?Math.ceil(t/e*100)/100:Math.ceil(n/i*100)/100}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},standalone:!0,features:[i._Bn([h.Q])]}),e})()},40942:(t,e,n)=>{n.d(e,{Q:()=>d});var i=n(20755),r=n(65026),o=n(55181),s=n(41589),a=n(48132),l=n(45047),c=n(92425),u=n(84787),h=n(81749);let d=(()=>{var t;class e extends a.y{constructor(){super((t=>this.scroll$.subscribe(t))),this.el=(0,o.AG)(),this.element=(0,i.f3M)(s.$_).nativeElement,this.scroll$=(0,l.T)((0,r.mL)(this.el.parentElement,"mousedown").pipe((0,c.U)((t=>this.getScrolled(t,.5,.5)))),(0,r.mL)(this.el,"mousedown").pipe((0,r.fL)((0,i.f3M)(i.R0b)),(0,u.w)((t=>{const{ownerDocument:e}=this.el,n=this.el.getBoundingClientRect(),i=function({clientY:t},{top:e,height:n}){return(t-e)/n}(t,n),o=function({clientX:t},{left:e,width:n}){return(t-e)/n}(t,n);return(0,r.mL)(e,"mousemove").pipe((0,c.U)((t=>this.getScrolled(t,i,o))),(0,h.R)((0,r.mL)(e,"mouseup")))}))))}getScrolled({clientY:t,clientX:e},n,i){const{offsetHeight:r,offsetWidth:o}=this.el,{top:s,left:a,width:l,height:c}=this.el.parentElement.getBoundingClientRect();return[(this.element.scrollHeight-c)*((t-s-r*n)/(c-r)),(this.element.scrollWidth-l)*((e-a-o*i)/(l-o))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})()},82509:(t,e,n)=>{n.d(e,{f:()=>c});var i=n(76733),r=n(20755),o=n(11679),s=n(41589);function a(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onLeftClick())})),r._uU(2),r.qZA(),r.TgZ(3,"span",2),r.Hsn(4),r.qZA(),r.TgZ(5,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onRightClick())})),r._uU(6),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-hidden",n.leftComputedDisabled),r.Q6J("iconLeft",n.icons.decrement)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[0]," "),r.xp6(3),r.ekj("t-hidden",n.rightComputedDisabled),r.Q6J("iconLeft",n.icons.increment)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[1]," ")}}const l=["*"];let c=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(s.oC),this.spinTexts$=(0,r.f3M)(s.U4),this.focusable=!0,this.disabled=!1,this.leftDisabled=!1,this.rightDisabled=!1,this.leftClick=new r.vpe,this.rightClick=new r.vpe}onLeftClick(){this.leftComputedDisabled||this.leftClick.emit()}onRightClick(){this.rightComputedDisabled||this.rightClick.emit()}get leftComputedDisabled(){return this.disabled||this.leftDisabled}get rightComputedDisabled(){return this.disabled||this.rightDisabled}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-spin-button"]],hostBindings:function(t,e){1&t&&r.NdJ("mousedown.silent.prevent",(function(){return 0}))("keydown.arrowLeft.prevent",(function(){return e.onLeftClick()}))("keydown.arrowRight.prevent",(function(){return e.onRightClick()}))},inputs:{focusable:"focusable",disabled:"disabled",leftDisabled:"leftDisabled",rightDisabled:"rightDisabled"},outputs:{leftClick:"leftClick",rightClick:"rightClick"},standalone:!0,features:[r.jDz],ngContentSelectors:l,decls:2,vars:3,consts:[[4,"ngIf"],["appearance","flat","automation-id","tui-spin-button__left","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"],[1,"t-content","t-calendar-title"],["appearance","flat","automation-id","tui-spin-button__right","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,a,7,10,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.spinTexts$))},dependencies:[o.xG,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:700}.t-hidden[_ngcontent-%COMP%]{visibility:hidden}.t-content[_ngcontent-%COMP%]{padding:0 .5rem}"],changeDetection:0}),e})()},2239:(t,e,n)=>{n.d(e,{z1:()=>b,MB:()=>E,bf:()=>T,qm:()=>_}),n(8239);var i=n(76733),r=n(20755),o=n(43226),s=(n(42772),n(73740)),a=n(10676),l=n(55181),c=n(10426),u=n(34749),h=n(52674),d=n(11679),p=n(63098),f=n(57981),g=n(71938),m=n(41589),v=n(25690),y=n(94267);const b=(0,s.JN)({appearance:"textfield",size:"l",cleaner:!0});let _=(()=>{var t;class e extends y.QJ{constructor(){super(...arguments),this.options=(0,r.f3M)(b,{skipSelf:!0}),this.appearance=this.options.appearance,this.size=this.options.size,this.cleaner=this.options.cleaner}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""],["","tuiTextfieldSize",""],["","tuiTextfieldCleaner",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"],size:["tuiTextfieldSize","size"],cleaner:["tuiTextfieldCleaner","cleaner"]},standalone:!0,features:[r._Bn([(0,s.Q2)(b,t)]),r.qOj]}),e})();var w=n(82527),x=n(98549);function C(t,e){1&t&&r.GkF(0)}function k(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(null==e.directive?null:e.directive.setValue(""))}))("pointerdown.silent.prevent",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.input.focus())})),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close)}}function O(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 M(t,e){if(1&t&&r._UZ(0,"input",7),2&t){const t=r.oxw();r.Q6J("value",t.computedFiller)}}const S=[[["input"]],[["select"]],[["label"]],"*",[["","tuiTooltip",""]]],A=function(t,e){return{$implicit:t,active:e}},P=["input","select","label","*","[tuiTooltip]"];let E=(()=>{var t;class e{constructor(){this.dropdown=(0,r.f3M)(g.Bb,{optional:!0,self:!0}),this.side=0,this.change$=(0,r.f3M)(_,{optional:!0})?.change$,this.options=(0,r.f3M)(b),this.icons=(0,r.f3M)(m.Gs),this.control=(0,r.f3M)(o.a5,{optional:!0}),this.filler="",this.stringify=String}get input(){if(!this.el)throw new Error("[tuiTextfield] component is required");return this.el.nativeElement}get id(){return this.el?.nativeElement.id||""}get focused(){return!!this.dropdown?.dropdown||(0,h.V8)(this.el?.nativeElement)}handleOption(t){this.directive?.setValue(this.stringify(t)),this.dropdown?.toggle(!1)}get computedFiller(){const t=this.input.value||"",e=t+this.filler.slice(t.length);return e.length>t.length?e:""}get showFiller(){return this.focused&&!!this.computedFiller&&(!!this.input.value||!this.input.placeholder)}get hasLabel(){return Boolean(this.label?.nativeElement?.childNodes.length)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-textfield"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,T,5,r.SBq),r.Suo(n,T,5),r.Suo(n,f.T,5,r.SBq)),2&t){let t;r.iGM(t=r.CRH())&&(e.el=t.first),r.iGM(t=r.CRH())&&(e.directive=t.first),r.iGM(t=r.CRH())&&(e.label=t.first)}},hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.options.size),r.Udp("--t-side",e.side,"px"),r.ekj("_with-label",e.hasLabel)("_disabled",e.input.disabled))},inputs:{filler:"filler",stringify:"stringify",content:"content"},standalone:!0,features:[r._Bn([(0,p.oE)(t),(0,c.mS)(b),(0,g.fx)({limitWidth:"fixed"})]),r.jDz,r.zW0([w.k,g.td,p.Pb,{directive:g.Bb,inputs:["tuiDropdownOpen","open"],outputs:["tuiDropdownOpenChange","openChange"]},{directive:x.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],ngContentSelectors:P,decls:12,vars:10,consts:[[4,"ngIf"],[1,"t-content",3,"waResizeObserver"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","","class","t-clear",3,"iconLeft","click","pointerdown.silent.prevent",4,"ngIf"],[1,"t-template"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["aria-hidden","true","disabled","","class","t-filler",3,"value",4,"ngIf"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","",1,"t-clear",3,"iconLeft","click","pointerdown.silent.prevent"],["aria-hidden","true","disabled","",1,"t-filler",3,"value"]],template:function(t,e){1&t&&(r.F$t(S),r.YNc(0,C,1,0,"ng-container",0),r.ALo(1,"async"),r.Hsn(2),r.Hsn(3,1),r.Hsn(4,2),r.TgZ(5,"span",1),r.NdJ("waResizeObserver",(function(t){return e.side=t[0].contentRect.width})),r.Hsn(6,3),r.YNc(7,k,1,1,"button",2),r.Hsn(8,4),r.qZA(),r.TgZ(9,"span",3),r.YNc(10,O,2,1,"ng-container",4),r.qZA(),r.YNc(11,M,1,1,"input",5)),2&t&&(r.Q6J("ngIf",r.lcZ(1,5,e.change$)),r.xp6(7),r.Q6J("ngIf",e.options.cleaner),r.xp6(3),r.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",r.WLB(7,A,null==e.control?null:e.control.value,e.focused)),r.xp6(1),r.Q6J("ngIf",e.showFiller))},dependencies:[i.O5,i.Ov,u.P,d.xG,v.s$],styles:["[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--t-left: 0rem;--t-right: 0rem;position:relative;display:flex;align-items:center;pointer-events:none;cursor:pointer;height:var(--t-height);color:var(--tui-text-tertiary)}[data-size=s][_nghost-%COMP%]{--t-height: var(--tui-height-s);padding:0 var(--tui-padding-s);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=s]._icon-left[_nghost-%COMP%]{--t-left: 1.25rem}[data-size=s]._icon-right[_nghost-%COMP%]{--t-right: 1.25rem}[data-size=s][_nghost-%COMP%]:before{margin-inline-start:-.25rem;margin-inline-end:.5rem;font-size:1rem}[data-size=s][_nghost-%COMP%]:after{margin-inline-end:-.175rem;margin-inline-start:.25rem;font-size:1rem}[data-size=s][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{gap:0}[data-size=m][_nghost-%COMP%]{--t-height: var(--tui-height-m);padding:0 var(--tui-padding-m);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=m]._icon-left[_nghost-%COMP%]{--t-left: 1.75rem}[data-size=m]._icon-right[_nghost-%COMP%]{--t-right: 1.75rem}[data-size=m][_nghost-%COMP%]:before{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=m][_nghost-%COMP%]:after{margin-inline-start:.375rem;margin-inline-end:-.125rem}[data-size=m][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=l][_nghost-%COMP%]{--t-height: var(--tui-height-l);padding:0 var(--tui-padding-l);border-radius:var(--tui-radius-l);font:var(--tui-font-text-m)}[data-size=l]._icon-left[_nghost-%COMP%]{--t-left: 2.25rem}[data-size=l]._icon-right[_nghost-%COMP%]{--t-right: 2.25rem}[data-size=l][_nghost-%COMP%]:before{margin-inline-end:.75rem}[data-size=l][_nghost-%COMP%]:after{margin-inline-start:.25rem}[data-size=l][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-m)}[_nghost-%COMP%]:hover{color:var(--tui-text-secondary)}[_nghost-%COMP%]:before{z-index:1}._disabled[_nghost-%COMP%]:before, ._disabled[_nghost-%COMP%]:after, ._disabled[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]{padding-top:calc(var(--t-height) / 3)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]::placeholder, ._with-label[_nghost-%COMP%] [tuiTextfield]::placeholder, ._with-label[_nghost-%COMP%] .t-template._empty[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]._empty{color:transparent}[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], [_nghost-%COMP%] [tuiTextfield]{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:none;appearance:none;box-sizing:border-box;border:none;border-inline-start:var(--t-left) solid transparent;border-inline-end:calc(var(--t-right) + var(--t-side)) solid transparent;border-radius:inherit;padding:inherit}[_nghost-%COMP%] [tuiTextfield]{pointer-events:auto;background:transparent no-repeat center right 1rem / 2rem;background-clip:border-box,padding-box}[_nghost-%COMP%] [tuiTextfield]:read-only~.t-filler{display:none}[_nghost-%COMP%] [tuiTextfield]:disabled~label, [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%] [tuiTextfield]:disabled~label [tuiTooltip], [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content [tuiTooltip]{display:none}[_nghost-%COMP%] [tuiTextfield]:not(._empty)~label{font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled)[data-mode=invalid]~label, [_nghost-%COMP%] [tuiTextfield]:not(._empty):invalid:not(:disabled):not([data-mode])~label{color:var(--tui-status-negative)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled):not([data-mode=readonly])~.t-content .t-clear{display:flex}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] label{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:block;flex:1;font-size:inherit}[_nghost-%COMP%] label, [_nghost-%COMP%] input::placeholder, [_nghost-%COMP%] select._empty{color:var(--tui-text-secondary)}[_nghost-%COMP%] select:not([data-mode=readonly]){cursor:pointer}@supports (-webkit-touch-callout: none){[_nghost-%COMP%] [tuiTextfield]:active{font-size:1rem}[_nghost-%COMP%] [tuiTextfield]._ios-fix{position:fixed;left:1000rem}}.t-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;margin-inline-start:auto}.t-clear[_ngcontent-%COMP%]{display:none;pointer-events:auto}.t-filler[_ngcontent-%COMP%]{pointer-events:none;background:none;color:var(--tui-text-tertiary);opacity:1}"],changeDetection:0}),e})(),T=(()=>{var t;class e{constructor(){this.appearance=(0,r.f3M)(c.Nm),this.options=(0,r.f3M)(b),this.textfield=(0,r.f3M)(E),this.id=(0,r.f3M)(a.ll).generate(),this.el=(0,l.AG)(),this.readOnly=!1,this.invalid=null,this.focused=null,this.state=null}get mode(){return this.readOnly?"readonly":!1===this.invalid?"valid":this.invalid?"invalid":null}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance,this.appearance.tuiAppearanceFocus=this.focused??this.textfield.focused,this.appearance.tuiAppearanceState=this.state}setValue(t){this.el.value=t,this.el.dispatchEvent(new Event("input"))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["input","tuiTextfield",""]],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("input",(function(){return 0}))("focusin",(function(){return 0}))("focusout",(function(){return 0})),2&t&&(r.Ikx("id",e.el.id||e.id)("readOnly",e.readOnly),r.uIk("data-mode",e.mode),r.ekj("_empty",""===e.el.value))},inputs:{readOnly:"readOnly",invalid:"invalid",focused:"focused",state:"state"},standalone:!0,features:[r.zW0([w.k,c.Nm])]}),e})();f.T},93714:(t,e,n)=>{n.d(e,{N:()=>o});var i=n(20755),r=n(99488);let o=(()=>{var t;class e{constructor(){this.tuiAppearance=(0,i.f3M)(r.WR).appearance,this.tuiAppearanceState=null,this.tuiAppearanceFocus=null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAppearance",""]],hostAttrs:["tuiAppearance",""],hostVars:3,hostBindings:function(t,e){2&t&&i.uIk("data-appearance",e.tuiAppearance)("data-state",e.tuiAppearanceState)("data-focus",e.tuiAppearanceFocus)},inputs:{tuiAppearance:"tuiAppearance",tuiAppearanceState:"tuiAppearanceState",tuiAppearanceFocus:"tuiAppearanceFocus"},standalone:!0}),e})()},99488:(t,e,n)=>{n.d(e,{WR:()=>r,mS:()=>o});var i=n(73740);const r=(0,i.JN)({appearance:""});function o(t){return(0,i.Q2)(r,t)}},10426:(t,e,n)=>{n.d(e,{Nm:()=>i.N,mS:()=>r.mS});var i=n(93714),r=n(99488)},1:(t,e,n)=>{n.d(e,{B:()=>x});var i,r=n(84911),o=n(20755),s=n(62022),a=n(95079),l=n(42833),c=n(65026),u=n(55181),h=n(52674),d=n(52540),p=n(16931),f=n(25797),g=n(45047),m=n(55333),v=n(10409),y=n(92425),b=n(10938),_=n(72526);const w=["tuiDropdownHost"];class x{constructor(){this.directive=(0,o.f3M)(b.t,{optional:!0}),this.el=(0,u.AG)(),this.obscured=(0,o.f3M)(l.Q),this.sub=(0,g.T)(this.obscured.tuiObscured.pipe((0,m.h)(Boolean)),(0,o.f3M)(a.d).tuiActiveZoneChange.pipe((0,m.h)((t=>!t))),(0,v.R)(this.el,"focusin").pipe((0,y.U)(u.mA),(0,m.h)((t=>!this.host.contains(t)||!this.directive?.dropdownBoxRef)))).pipe((0,c.NA)((0,o.f3M)(o.sBO)),(0,s.sL)()).subscribe((()=>this.toggle(!1))),this.tuiDropdownEnabled=!0,this.tuiDropdownOpen=!1,this.tuiDropdownOpenChange=new o.vpe,this.driver=(0,o.f3M)(_.v)}get dropdown(){return this.directive?.dropdownBoxRef?.location.nativeElement}get focused(){return(0,h.zb)(this.host)||(0,h.zb)(this.dropdown)}ngOnChanges(){this.drive()}toggle(t){this.focused&&!t&&this.host.focus({preventScroll:!0}),this.update(t)}onClick(t){!this.editable&&this.host.contains(t)&&this.update(!this.tuiDropdownOpen)}onArrow(t,e){(0,u.ve)(t.target)&&this.host.contains(t.target)&&(t.preventDefault(),this.focusDropdown(e))}onEsc(t){t.preventDefault(),this.toggle(!1)}onKeydown({key:t,target:e,defaultPrevented:n}){!n&&(0,p.kL)(t)&&this.editable&&this.focused&&(0,u.dW)(e)&&(!(0,u.Hn)(e)||e===this.host)&&(this.update(!0),this.host.focus({preventScroll:!0}))}get host(){const t=this.dropdownHost?.nativeElement||this.el,e=(0,h.dT)(t)?t:(0,h.BW)({initial:t,root:this.el});return this.dropdownHost?.nativeElement||e||this.el}get editable(){return(0,u.Hn)(this.host)}update(t){t&&!this.tuiDropdownEnabled||(this.tuiDropdownOpen=t,this.tuiDropdownOpenChange.emit(t),this.drive())}drive(t=this.tuiDropdownOpen&&this.tuiDropdownEnabled){this.obscured.tuiObscuredEnabled=!!t,this.driver.next(!!t)}focusDropdown(t){if(!this.dropdown)return void this.update(!0);const e=this.el.ownerDocument,n=this.dropdown.appendChild(e.createElement("div")),i=t?n:this.dropdown,r=(0,h.BW)({initial:i,previous:t,root:this.dropdown});n.remove(),r?.focus()}}(i=x).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,w,5,o.SBq),2&t){let t;o.iGM(t=o.CRH())&&(e.dropdownHost=t.first)}},hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}))("keydown.arrowDown",(function(t){return e.onArrow(t,!1)}))("keydown.arrowUp",(function(t){return e.onArrow(t,!0)}))("keydown.silent.capture",(function(t){return e.onEsc(t)}),!1,o.evT)("keydown.silent",(function(t){return e.onKeydown(t)}),!1,o.evT)},inputs:{tuiDropdownEnabled:"tuiDropdownEnabled",tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"},standalone:!0,features:[o._Bn([_.v,(0,d.UK)(_.v)]),o.TTD,o.zW0([l.Q,{directive:a.d,inputs:["tuiActiveZoneParent","tuiActiveZoneParent"],outputs:["tuiActiveZoneChange","tuiActiveZoneChange"]}])]}),(0,r.gn)([(0,f.uX)((function(t){return"key"in t&&"escape"===t.key.toLowerCase()&&this.tuiDropdownEnabled&&!!this.tuiDropdownOpen&&!this.dropdown?.nextElementSibling}))],x.prototype,"onEsc",null)},60598:(t,e,n)=>{n.d(e,{Ek:()=>c,fx:()=>l,vY:()=>a});var i=n(20755),r=n(73740),o=n(82510);const s={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},a=(0,r.JN)(s),l=t=>({provide:a,deps:[[new i.FiY,c],[new i.FiY,new i.tp0,a]],useFactory:(0,o.lp)(t,s)});let c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(a,{skipSelf:!0}),this.align=this.options.align,this.appearance=this.options.appearance,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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},standalone:!0,features:[i._Bn([(0,r.Q2)(a,t)])]}),e})()},92013:(t,e,n)=>{n.d(e,{B:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(10938),l=n(60598);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.options=(0,i.f3M)(l.vY),this.viewport=(0,i.f3M)(s.EO),this.type="dropdown",this.accessor=(0,o.Zy)("dropdown")((0,i.f3M)(o.O4),(0,i.f3M)(a.t))}getPosition({width:t,height:e}){t||e||(this.previous=void 0);const n=this.accessor?.getClientRect()??r.Jy,i=this.viewport.getClientRect(),{minHeight:o,align:s,direction:a,offset:l,limitWidth:c}=this.options,u={top:i.top-l,bottom:i.bottom+l,right:i.right-l,left:i.left+l},h=this.previous||a||"bottom",d={top:n.top-2*l-u.top,bottom:u.bottom-n.bottom-2*l},p="fixed"===c?n.width:t,f=Math.max(n.right-p,l),g=n.left+td.bottom?"top":"bottom";return d[h]>o&&a||d[h]>e?[m[h],m[s]]:(this.previous=v,[m[v],m[s]])}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownPosition",""]],standalone:!0,features:[i.qOj]}),e})()},83033:(t,e,n)=>{n.d(e,{n:()=>C});var i=n(20755),r=n(62022),o=n(42772),s=n(55181),a=n(73740),l=n(34138),c=n(52540),u=n(88543),h=n(94457),d=n(41589),p=n(82510),f=n(25690),g=n(92425),m=n(10938),v=n(79405),y=n(60598),b=n(92013),_=n(95079);function w(t,e){if(1&t&&(i.TgZ(0,"div",2),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const x=function(t){return{$implicit:t}};let C=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.accessor=(0,i.f3M)(c.O4),this.win=(0,i.f3M)(o.m9),this.vvs=(0,i.f3M)(h.Lp),this.animation=(0,p.qS)((0,i.f3M)(d.ZW)),this.options=(0,i.f3M)(y.vY),this.directive=(0,i.f3M)(m.t),this.context=(0,i.f3M)(v.V,{optional:!0}),this.theme=this.directive.el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.sub=(0,i.f3M)(h.KG).pipe((0,g.U)((t=>"fixed"===this.directive.position?this.vvs.correct(t):t)),(0,r.sL)()).subscribe((([t,e])=>{this.directive.el.isConnected?this.update(t,e):this.close()})),this.close=()=>this.directive.toggle(!1)}ngOnInit(){this.updateWidth(this.accessor.getClientRect().width)}update(t,e){const{style:n}=this.el,{right:i}=this.el.getBoundingClientRect(),{maxHeight:r,minHeight:o,offset:s}=this.options,{innerHeight:l}=this.win,c=this.el.offsetParent?.getBoundingClientRect(),{position:u}=this.directive,h=this.accessor.getClientRect(),d="fixed"===u?0:-(c?.left||0),p="fixed"===u?0:-(c?.top||0);t+=p;const f=(e+=d)h.left&&t=h.right;n.position=u,n.top=(0,a.O9)(Math.max(t,p+s)),n.left=(0,a.O9)(e),n.maxHeight=g?`${r}px`:(0,a.O9)(Math.min(r,Math.max(f,o))),n.width="",n.minWidth="",this.updateWidth(h.width)}updateWidth(t){const{style:e}=this.el;switch(this.options.limitWidth){case"min":e.minWidth=(0,a.O9)(t);break;case"fixed":e.width=(0,a.O9)(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-dropdown"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.options.appearance)("tuiTheme",e.theme),i.d8E("@tuiDropdownAnimation",e.animation))},standalone:!0,features:[i._Bn([h.KG,(0,c.ei)("dropdown",b.B),(0,c.Wk)("dropdown",m.t)]),i.jDz,i.zW0([_.d])],decls:2,vars:4,consts:[[1,"t-scroll"],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-scrollbar",0),i.YNc(1,w,2,1,"div",1),i.qZA()),2&t&&(i.xp6(1),i.Q6J("polymorpheusOutlet",e.directive.content)("polymorpheusOutletContext",i.VKq(2,x,e.close)))},dependencies:[f.s$,u.D1],styles:["[_nghost-%COMP%]{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);background:var(--tui-background-elevation-2);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}.ng-animating[_nghost-%COMP%]{pointer-events:none}[_nghost-%COMP%]:not([style*=top]){visibility:hidden}.t-scroll[_ngcontent-%COMP%]{flex-grow:1;max-width:100%;overscroll-behavior:none}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],data:{animation:[l.i9]}}),e})()},10938:(t,e,n)=>{n.d(e,{t:()=>y});var i,r=n(84911),o=n(20755),s=n(62022),a=n(55181),l=n(73740),c=n(52540),u=n(82510),h=n(25690),d=n(78748),p=n(38356),f=n(79405),g=n(5648),m=n(72526),v=n(92013);class y{constructor(){this.refresh$=new d.x,this.service=(0,o.f3M)(g.U),this.cdr=(0,o.f3M)(o.sBO),this.sub=this.refresh$.pipe((0,p.p)(0),(0,s.sL)()).subscribe((()=>{this.dropdownBoxRef?.changeDetectorRef.detectChanges(),this.dropdownBoxRef?.changeDetectorRef.markForCheck()})),this.el=(0,a.AG)(),this.type="dropdown",this.component=new h.Al((0,o.f3M)(f.W),(0,o.f3M)(o.gxx)),this.dropdownBoxRef=null}set tuiDropdown(t){this.content=t instanceof o.Rgc?new h.GL(t,this.cdr):t}get position(){return(0,u.qK)(this.el)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){if(t&&this.content&&!this.dropdownBoxRef)this.dropdownBoxRef=this.service.add(this.component);else if(!t&&this.dropdownBoxRef){const{dropdownBoxRef:t}=this;this.dropdownBoxRef=null,this.service.remove(t)}}}(i=y).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdown","",5,"ng-container",5,"ng-template"]],inputs:{tuiDropdown:"tuiDropdown"},exportAs:["tuiDropdown"],standalone:!0,features:[o._Bn([(0,c.Ic)(i),(0,c.Fe)(i)]),o.TTD,o.zW0([m.V,v.B])]}),(0,r.gn)([l.UM],y.prototype,"position",null)},72526:(t,e,n)=>{n.d(e,{V:()=>a,v:()=>s});var i=n(52540),r=n(78748),o=n(20755);let s=(()=>{var t;class e extends r.x{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),a=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiDropdownDriver",""]],standalone:!0,features:[o.qOj]}),e})()},79405:(t,e,n)=>{n.d(e,{V:()=>a,W:()=>s});var i=n(20755),r=n(73740),o=n(83033);const s=(0,r.N1)((()=>o.n)),a=new i.OlP("")},5648:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(94267),r=n(20755);let o=(()=>{var t;class e extends i.Bb{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},71938:(t,e,n)=>{n.d(e,{WH:()=>_.W,td:()=>o.t,Bb:()=>g.B,Ek:()=>m.Ek,$Q:()=>y,UA:()=>v.U,JY:()=>C,fx:()=>m.fx});var i,r=n(83033),o=n(10938),s=n(72526),a=n(84911),l=n(20755),c=n(11892),u=n(95079),h=n(55181),d=n(52540),p=n(25797);class f extends d.O4{constructor(){super(...arguments),this.driver=(0,l.f3M)(s.v),this.currentRect=c.Jy,this.activeZone=(0,l.f3M)(u.d),this.type="dropdown"}getClientRect(){return this.currentRect}onContextMenu(t,e){this.currentRect=(0,h.dD)(t,e),this.driver.next(!0)}closeDropdown(){this.driver.next(!1)}}(i=f).ɵfac=function(){let t;return function(e){return(t||(t=l.n5z(i)))(e||i)}}(),i.ɵdir=l.lG2({type:i,selectors:[["","tuiDropdownContext",""]],hostBindings:function(t,e){1&t&&l.NdJ("contextmenu.prevent.stop",(function(t){return e.onContextMenu(t.clientX,t.clientY)}))("click.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("contextmenu.capture.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("keydown.esc",(function(t){return e.closeDropdown(t.currentTarget)}),!1,l.evT)},standalone:!0,features:[l._Bn([u.d,s.v,(0,d.UK)(s.v),(0,d.Ic)(i)]),l.qOj]}),(0,a.gn)([(0,p.uX)((function(t){return!this.activeZone.contains(t)}))],f.prototype,"closeDropdown",null),n(76733),n(65026),n(45047),n(92425),n(18004),n(84787),n(71209),n(69286),n(31570),n(88557),(0,n(73740).JN)({showDelay:200,hideDelay:500});var g=n(1),m=n(60598),v=n(5648);let y=(()=>{var t;class e{constructor(){this.template=(0,l.f3M)(l.Rgc),this.service=(0,l.f3M)(v.U)}set tuiDropdown(t){this.viewRef?.destroy(),t&&(this.viewRef=this.service.addTemplate(this.template))}ngOnDestroy(){this.viewRef?.destroy()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["ng-template","tuiDropdown",""]],inputs:{tuiDropdown:"tuiDropdown"},standalone:!0}),e})();var b=n(92013);n(41589),n(86253),n(52674),n(82510),n(56424),n(38442),m.Ek,s.V,o.t,r.n,g.B,b.B;var _=n(79405),w=n(94267);const x=["*"];let C=(()=>{var t;class e extends w.oL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=l.n5z(t)))(n||t)}}(),t.ɵcmp=l.Xpm({type:t,selectors:[["tui-dropdowns"]],standalone:!0,features:[l._Bn([(0,w.ze)(v.U)]),l.qOj,l.jDz],ngContentSelectors:x,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(l.F$t(),l.Hsn(0),l.GkF(1,null,0))},styles:["[_nghost-%COMP%]{display:block;height:100%;isolation:isolate}"],changeDetection:0}),e})()},7183:(t,e,n)=>{n.d(e,{e:()=>C});var i,r=n(84911),o=n(76733),s=n(20755),a=n(65026),l=n(55181),c=n(52674),u=n(73740),h=n(52540),d=n(56424),p=n(18004),f=n(10409),g=n(84787),m=n(71209),v=n(45047),y=n(92425),b=n(24249),_=n(1925),w=n(73843),x=n(14776);class C extends h.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.doc=(0,s.f3M)(o.K0),this.el=(0,l.AG)(),this.id$=new d.X(""),this.stream$=this.id$.pipe((0,p.x)(),(0,a.Xd)((()=>(0,f.R)(this.doc,"keydown",{capture:!0})),u.Pc),(0,g.w)((()=>this.focused?(0,m.of)(!1):(0,v.T)((0,a.mL)(this.doc,"keyup"),(0,a.mL)(this.element,"blur")).pipe((0,y.U)((()=>this.focused))))),(0,b.D)((t=>t?(0,_.H)(1e3):(0,m.of)(null))),(0,w.O)(!1),(0,p.x)(),(0,x.T)(1),(0,a.Yr)((0,s.f3M)(s.R0b))),this.type="hint"}set tuiHintDescribe(t){this.id$.next(t||"")}get element(){return this.doc.getElementById(this.id$.value||"")||this.el}get focused(){return(0,c.V8)(this.element)}}(i=C).ɵfac=function(t){return new(t||i)},i.ɵdir=s.lG2({type:i,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},standalone:!0,features:[s._Bn([(0,h.UK)(i)]),s.qOj]}),(0,r.gn)([u.UM],C.prototype,"element",null)},82897:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(52540),r=n(20755);let o=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="hint"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["never","tuiHint",""]],standalone:!0,features:[r.qOj]}),e})()},48272:(t,e,n)=>{n.d(e,{H:()=>b});var i=n(20755),r=n(7479),o=n(55181),s=n(52540),a=n(82510),l=n(78748),c=n(45047),u=n(84787),h=n(71209),d=n(69286),p=n(81749),f=n(74842),g=n(55333),m=n(92425),v=n(31570),y=n(40294);let b=(()=>{var t;class e extends s.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hovered$=(0,i.f3M)(r.gs),this.options=(0,i.f3M)(y.H3),this.visible=!1,this.toggle$=new l.x,this.stream$=(0,c.T)(this.toggle$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?0:this.tuiHintHideDelay)))),(0,p.R)(this.hovered$),(0,f.r)()),this.hovered$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?this.tuiHintShowDelay:this.tuiHintHideDelay)))),(0,p.R)(this.toggle$),(0,f.r)())).pipe((0,g.h)((()=>this.enabled)),(0,m.U)((t=>t&&(this.el.hasAttribute("tuiHintPointer")||!(0,a.mn)(this.el)))),(0,v.b)((t=>{this.visible=t}))),this.parent=(0,i.f3M)(e,{optional:!0,skipSelf:!0}),this.tuiHintShowDelay=this.options.showDelay,this.tuiHintHideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0,this.el=(0,o.AG)()}toggle(t=!this.visible){this.toggle$.next(t),this.parent?.toggle(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiHint",""]],inputs:{tuiHintShowDelay:"tuiHintShowDelay",tuiHintHideDelay:"tuiHintHideDelay"},exportAs:["tuiHintHover"],standalone:!0,features:[i._Bn([(0,s.UK)(t),r.gs]),i.qOj]}),e})()},40294:(t,e,n)=>{n.d(e,{Fw:()=>s,H3:()=>a,bZ:()=>l});var i=n(20755),r=n(94267),o=n(73740);n(82510);const s=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"],a=(0,o.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"@tui.circle-help"});let l=(()=>{var t;class e extends r.QJ{constructor(){super(...arguments),this.options=(0,i.f3M)(a,{skipSelf:!0}),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=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},standalone:!0,features:[i._Bn([(0,o.Q2)(a,t)]),i.qOj]}),e})()},12632:(t,e,n)=>{n.d(e,{y:()=>l});var i=n(11892),r=n(55181),o=n(52540),s=n(48272),a=n(20755);let l=(()=>{var t;class e extends s.H{constructor(){super(...arguments),this.currentRect=i.Jy}getClientRect(){return this.currentRect}onMove({clientX:t,clientY:e}){this.currentRect=(0,r.dD)(t,e)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.ɵdir=a.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&a.NdJ("mousemove.silent",(function(t){return e.onMove(t)}))},standalone:!0,features:[a._Bn([(0,o.Ic)(t),(0,o.UK)(t)]),a.qOj]}),e})()},52065:(t,e,n)=>{n.d(e,{Z:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(25932),l=n(40294);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.viewport=(0,i.f3M)(s.EO),this.accessor=(0,o.Zy)("hint")((0,i.f3M)(o.O4),(0,i.f3M)(a.D)),this.points=l.Fw.reduce(((t,e)=>({...t,[e]:[0,0]})),{}),this.direction=(0,i.f3M)(l.H3).direction,this.type="hint"}getPosition({width:t,height:e}){const n=this.accessor.getClientRect()??r.Jy,i=n.left+n.width/2,o=n.top+n.height/2;if(this.points["top-left"][0]=n.top-e-8,this.points["top-left"][1]=i-t+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=i-t/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=i-22,this.points["bottom-left"][0]=n.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]=o-e+22,this.points["left-top"][1]=n.left-t-8,this.points.left[0]=o-e/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=o-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]=n.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 s=l.Fw.find((n=>this.checkPosition(this.points[n],t,e)));return this.points[s||this.fallback]}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([t,e],n,i){const r=this.viewport.getClientRect();return t>2&&e>2&&t+i{n.d(e,{j:()=>O});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11892),l=n(7479),c=n(55181),u=n(58373),h=n(73740),d=n(34138),p=n(52540),f=n(94457),g=n(41589),m=n(82510),v=n(25690),y=n(92425),b=n(25932),_=n(48272),w=n(12632),x=n(52065);function C(t,e){if(1&t&&o._UZ(0,"span",1),2&t){const t=e.polymorpheusOutlet;o.Q6J("innerHTML",t,o.oJD)}}const k=[f.KG,l.gs,(0,p.ei)("hint",x.Z),(0,p.Wk)("hint",b.D)];class O{constructor(){this.polymorpheus=(0,o.f3M)(v.yf),this.el=(0,c.AG)(),this.hover=(0,o.f3M)(_.H),this.vvs=(0,o.f3M)(f.Lp),this.viewport=(0,o.f3M)(g.EO),this.appearance=this.polymorpheus.$implicit.appearance||(0,o.f3M)(b.D).el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.options=(0,m.qS)((0,o.f3M)(g.ZW)),this.pointer=(0,o.f3M)(w.y,{optional:!0}),this.accessor=(0,o.f3M)(p.O4),(0,o.f3M)(f.KG).pipe((0,y.U)((t=>this.vvs.correct(t))),(0,s.sL)()).subscribe((([t,e])=>{this.update(t,e)})),(0,o.f3M)(l.gs).pipe((0,s.sL)()).subscribe((t=>this.hover.toggle(t)))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(t){(!t.closest("tui-hint")&&!this.hover.el.contains(t)||(0,m.mn)(this.hover.el))&&this.hover.toggle(!1)}update(t,e){if(!this.hover.el.isConnected)return void this.hover.toggle(!1);const{height:n,width:i}=this.el.getBoundingClientRect(),r=this.accessor.getClientRect(),o=this.viewport.getClientRect();if(r===a.Jy)return;const s=(0,u.K)(e,4,o.width-i-4),[l,c]=this.vvs.correct([r.top+r.height/2-t,r.left+r.width/2-s]);this.el.style.top=(0,h.O9)(t),this.el.style.left=(0,h.O9)(s),this.el.style.setProperty("--top",(0,h.O9)((0,u.K)(l,.5,n-1))),this.el.style.setProperty("--left",(0,h.O9)((0,u.K)(c,.5,i-1)))}}(i=O).ɵfac=function(t){return new(t||i)},i.ɵcmp=o.Xpm({type:i,selectors:[["tui-hint"]],hostVars:5,hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}),!1,o.evT),2&t&&(o.uIk("data-appearance",e.appearance)("tuiTheme",e.appearance),o.d8E("@tuiFadeIn",e.options),o.ekj("_untouchable",e.pointer))},standalone:!0,features:[o._Bn(k),o.jDz],ngContentSelectors:["*"],decls:2,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o.YNc(1,C,1,1,"span",0)),2&t&&(o.xp6(1),o.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context))},dependencies:[v.s$],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-background-accent-1);border-radius:var(--tui-radius-l);color:var(--tui-text-primary-on-accent-1);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word;line-height:1.25rem}[_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-status-negative)}[data-appearance=dark][_nghost-%COMP%]{background:var(--tui-background-accent-opposite-hover);color:var(--tui-background-base);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:[d.QF]},changeDetection:0}),(0,r.gn)([h.UM],O.prototype,"update",null)},25932:(t,e,n)=>{n.d(e,{D:()=>f});var i=n(20755),r=n(95079),o=n(55181),s=n(52540),a=n(25690),l=n(65051),c=n(89440),u=n(40294),h=n(82897),d=n(48272),p=n(52065);let f=(()=>{var t;class e{constructor(){this.service=(0,i.f3M)(c.B),this.appearance=(0,i.f3M)(u.H3).appearance,this.component=(0,i.f3M)(a.Al),this.el=(0,o.AG)(),this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.type="hint"}set tuiHint(t){this.content=t,t||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){t&&this.content?this.service.add(this):this.service.remove(this)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{context:["tuiHintContext","context"],appearance:["tuiHintAppearance","appearance"],tuiHint:"tuiHint"},standalone:!0,features:[i._Bn([(0,s.Ic)(t),(0,s.Fe)(t),{provide:a.Al,deps:[l.y,i.gxx],useClass:a.Al}]),i.zW0([h.c,{directive:d.H,inputs:["tuiHintHideDelay","tuiHintHideDelay","tuiHintShowDelay","tuiHintShowDelay"]},{directive:p.Z,inputs:["tuiHintDirection","tuiHintDirection"]}])]}),e})()},65051:(t,e,n)=>{n.d(e,{y:()=>o});var i=n(73740),r=n(15433);const o=(0,i.N1)((()=>r.j))},89440:(t,e,n)=>{n.d(e,{B:()=>o});var i=n(56424),r=n(20755);let o=(()=>{var t;class e extends i.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=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},75430:(t,e,n)=>{n.d(e,{eW:()=>o.e,D:()=>r.D,Hr:()=>c.H,UI:()=>h,bZ:()=>d.bZ,Z0:()=>k});var i=n(15433),r=n(25932),o=n(7183),s=n(82897),a=(n(11892),n(52540)),l=n(20755),c=n(48272),u=n(56424);let h=(()=>{var t;class e extends a.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hover=(0,l.f3M)(c.H),this.stream$=new u.X(!1),this.tuiHintManual=!1,this.type="hint",this.hover.enabled=!1}ngOnChanges(){this.stream$.next(this.tuiHintManual)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiHint","","tuiHintManual",""]],inputs:{tuiHintManual:"tuiHintManual"},standalone:!0,features:[l._Bn([(0,a.UK)(t)]),l.qOj,l.TTD]}),e})();var d=n(40294),p=n(12632),f=n(52065),g=n(34138),m=n(25690);i.j,r.D,d.bZ,s.c,f.Z,c.H,o.e,p.y,n(65051);var v=n(76733),y=n(62022),b=n(95079),_=n(89440);function w(t,e){1&t&&l.GkF(0)}const x=function(t){return{$implicit:t}};function C(t,e){if(1&t&&(l.TgZ(0,"div",1),l.YNc(1,w,1,0,"ng-container",2),l.qZA()),2&t){const t=e.$implicit;l.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",t.activeZone||null),l.xp6(1),l.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",l.VKq(4,x,t))}}let k=(()=>{var t;class e{constructor(){this.hints$=(0,l.f3M)(_.B),this.destroyRef=(0,l.f3M)(l.ktI),this.cdr=(0,l.f3M)(l.sBO),this.hints=[]}ngOnInit(){this.hints$.pipe((0,y.sL)(this.destroyRef)).subscribe((t=>{this.hints=t,this.cdr.detectChanges()}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["tui-hints"]],hostAttrs:["aria-live","polite"],standalone:!0,features:[l.jDz],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&l.YNc(0,C,2,6,"div",0),2&t&&l.Q6J("ngForOf",e.hints)},dependencies:[v.sg,b.d,m.s$],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;height:0}"],data:{animation:[g.B_]}}),e})()},98549:(t,e,n)=>{n.d(e,{p:()=>a});var i=n(20755),r=n(73740),o=n(41589);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-icons"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiIcons]:before,[tuiIcons]:after{font-size:1.5rem}[tuiIcons]._icon-left:before,[tuiIcons]._icon-right:after{content:"";width:1em;height:1em;flex-shrink:0;background:currentColor;-webkit-mask:var(--t-mask-left) no-repeat center / contain;mask:var(--t-mask-left) no-repeat center / contain}[tuiIcons]._icon-right:after{-webkit-mask:var(--t-mask-right) no-repeat center / contain;mask:var(--t-mask-right) no-repeat center / contain}\n'],encapsulation:2,changeDetection:0}),e})(),a=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(s),this.resolver=(0,o.Ps)(),this.iconLeft=(0,i.f3M)(o.SX),this.iconRight=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiIcons",""]],hostAttrs:["tuiIcons",""],hostVars:8,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask-left","url("+e.resolver(e.iconLeft)+")")("--t-mask-right","url("+e.resolver(e.iconRight)+")"),i.ekj("_icon-left",e.iconLeft)("_icon-right",e.iconRight))},inputs:{iconLeft:"iconLeft",iconRight:"iconRight"},standalone:!0}),e})()},42690:(t,e,n)=>{n.d(e,{Nm:()=>i.Nm,td:()=>r.td,Bb:()=>r.Bb,Ek:()=>r.Ek,UA:()=>r.UA,JY:()=>r.JY,eW:()=>o.eW,D:()=>o.D,fx:()=>r.fx});var i=n(10426);n(73740),n(41589);var r=n(71938),o=n(75430);n(98549),n(66858),n(65026),n(86253),n(2239)},66858:(t,e,n)=>{n.d(e,{E:()=>u});var i=n(20755),r=n(73740),o=n(41589),s=n(48132),a=n(38442),l=n(92425),c=n(35484);let u=(()=>{var t;class e extends s.y{constructor(){super((t=>(0,a.a)([this.parent,this.settings]).pipe((0,l.U)((([t,e])=>({...t,...e})))).subscribe(t))),this.settings=new c.t(1),this.parent=(0,i.f3M)(o.HO,{skipSelf:!0})}set tuiNumberFormat(t){this.settings.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNumberFormat",""]],inputs:{tuiNumberFormat:"tuiNumberFormat"},standalone:!0,features:[i._Bn([(0,r.Q2)(o.HO,t)]),i.qOj]}),e})()},68704:(t,e,n)=>{n.d(e,{GcO:()=>f.Gc,iSh:()=>p.iS,NmR:()=>A.Nm,xGO:()=>o.xG,qiE:()=>s.qi,ROA:()=>a.RO,kkl:()=>r.kk,tdC:()=>A.td,Bb2:()=>A.Bb,Ekv:()=>A.Ek,UAE:()=>A.UA,eRn:()=>_,hMP:()=>w.hM,eWJ:()=>A.eW,Dae:()=>A.D,RJr:()=>x.R,XCq:()=>P.XC,lI3:()=>C.lI,A61:()=>k.A6,tK9:()=>O.tK,c45:()=>s.c4,bHd:()=>s.bH,O4x:()=>r.O4,D1O:()=>M.D1,MBc:()=>S.MB,bfP:()=>S.bf,qmE:()=>S.qm,UKU:()=>r.UK,Ic9:()=>r.Ic,ckU:()=>p.ck,fxH:()=>A.fx,ic8:()=>f.ic,DII:()=>f.DI});var i=n(34138),r=n(52540),o=(n(75097),n(11679)),s=(n(31447),n(63098)),a=n(67587),l=n(76733),c=n(20755),u=n(94267),h=n(81929),d=n(73740),p=n(41589),f=n(82510),g=n(25690);function m(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}const v=function(){return{}};function y(t,e){if(1&t&&(c.TgZ(0,"div",2),c.YNc(1,m,2,1,"ng-container",3),c.qZA()),2&t){const t=c.oxw().tuiLet,e=c.oxw();c.Q6J("@tuiFadeIn",e.options)("@tuiHeightCollapse",e.options),c.xp6(1),c.Q6J("polymorpheusOutlet",e.error.message||t)("polymorpheusOutletContext",e.error.context||c.DdM(4,v))}}function b(t,e){if(1&t&&(c.ynx(0),c.YNc(1,y,2,5,"div",1),c.BQk()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",t.error&&t.visible)}}let _=(()=>{var t;class e{constructor(){this.options=(0,f.qS)((0,c.f3M)(p.ZW)),this.error=null,this.visible=!0,this.defaultErrorMessage$=(0,c.f3M)(p.PL)}set errorSetter(t){this.error=(0,d.Aj)(t)?new u.T8(t):t}onAnimation(t){this.visible=t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=c.Xpm({type:t,selectors:[["tui-error"]],hostBindings:function(t,e){1&t&&c.NdJ("animationcancel.self",(function(){return e.onAnimation(!1)}))("animationstart.self",(function(){return e.onAnimation(!0)}))},inputs:{errorSetter:["error","errorSetter"]},standalone:!0,features:[c.jDz],decls:2,vars:3,consts:[[4,"tuiLet"],["automation-id","tui-error__text","class","t-message-text",4,"ngIf"],["automation-id","tui-error__text",1,"t-message-text"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(c.YNc(0,b,2,1,"ng-container",0),c.ALo(1,"async")),2&t&&c.Q6J("tuiLet",c.lcZ(1,1,e.defaultErrorMessage$))},dependencies:[l.Ov,l.O5,g.s$,h.i],styles:["[_nghost-%COMP%]{display:block;font:var(--tui-font-text-s);color:var(--tui-status-negative);word-wrap:break-word;animation:tuiPresent 1s infinite}.t-message-text[_ngcontent-%COMP%]{margin-top:.25rem;white-space:pre-line}"],data:{animation:[i.eu,i.QF]},changeDetection:0}),e})();n(93745);var w=n(44501),x=n(9368),C=(n(57981),n(16100)),k=n(32097),O=n(94030),M=(n(38525),n(88543)),S=(n(82509),n(2239)),A=n(42690),P=n(88283);n(94457)},13027:(t,e,n)=>{n.d(e,{$:()=>o});var i=n(82510),r=n(20755);let o=(()=>{var t;class e{transform(t){return(0,i.sn)(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiAutoColor",type:t,pure:!0,standalone:!0}),e})()},18639:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.staticPath=(0,i.f3M)(r.AW)}transform(t){return t?`${this.staticPath}/icons/flags/${t}.svg`:null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiFlag",type:t,pure:!0,standalone:!0}),e})()},64128:(t,e,n)=>{n(94457)},88283:(t,e,n)=>{n.d(e,{hp:()=>a,XC:()=>l,$7:()=>c.$,q2:()=>d}),n(13027);var i=n(20755),r=n(28351),o=n(41589);n(23880);const s=({month:t,rowIndex:e,colIndex:n,firstDayOfWeek:i})=>{let o=e*r.NA+n-((t,e)=>{const n=new Date(t.year,t.month,1).getDay();return n>=e?n-e:r.NA-(e-n)})(t,i)+1;return o>t.daysCount&&(o-=t.daysCount,t=t.append({month:1})),o<=0&&(o=(t=t.append({month:-1})).daysCount+o),new r.TU(t.year,t.month,o)};let a=(()=>{var t;class e{constructor(){this.firstDayOfWeek=(0,i.f3M)(o.Sy),this.currentMonth=null,this.currentSheet=[]}transform(t,e=!1){if(this.currentMonth?.monthSame(t))return this.currentSheet;const n=[];for(let i=0;i<6;i++){const o=[];for(let n=0;ne.yeare.year>n.year||e.month>n.month;if(!a(r)||e){if(l(r)&&!e)break;o.push(r)}}n.push(o)}return this.currentSheet=n.filter((t=>t.length)),this.currentMonth=t,this.currentSheet}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiCalendarSheet",type:t,pure:!0,standalone:!0}),e})();n(55181),n(18639),n(64128),n(80567);let l=(()=>{var t;class e{transform(t){return t.toUpperCase().split(" ").map((([t])=>t)).join("").slice(0,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiInitials",type:t,pure:!0,standalone:!0}),e})();var c=n(15625),u=n(92425);function h(t){const e=t.length-1;return[t[e],...t.slice(0,e)]}let d=(()=>{var t;class e{constructor(){this.firstDayOfWeekIndex=(0,i.f3M)(o.Sy)}transform(t){return t.pipe((0,u.U)(h),(0,u.U)((t=>[...t.slice(this.firstDayOfWeekIndex),...t.slice(0,this.firstDayOfWeekIndex)])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiOrderWeekDays",type:t,pure:!0,standalone:!0}),e})()},15625:(t,e,n)=>{n.d(e,{$:()=>s});var i=n(20755),r=n(41589),o=n(92425);let s=(()=>{var t;class e{constructor(){this.months$=(0,i.f3M)(r.$R)}transform({month:t}){return this.months$.pipe((0,o.U)((e=>e[t])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMonth",type:t,pure:!0,standalone:!0}),e})()},94457:(t,e,n)=>{n.d(e,{zE:()=>h,KG:()=>v,Lp:()=>y});var i=n(20755),r=n(65026),o=n(86253),s=n(41589),a=n(48132),l=n(92425),c=n(18004),u=n(20530);let h=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.media=(0,i.f3M)(s.J_),this.sorted=Object.values(this.media).sort(((t,e)=>t-e)),this.invert=Object.keys(this.media).reduce(((t,e)=>({...t,[this.media[e]]:e})),{}),this.stream$=(0,i.f3M)(o.fM).pipe((0,l.U)((({width:t})=>this.sorted.find((e=>e>t)))),(0,l.U)((t=>this.invert[t||this.sorted[this.sorted.length-1]])),(0,c.x)(),(0,r.Yr)((0,i.f3M)(i.R0b)),(0,u.d)({bufferSize:1,refCount:!0}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var d=n(42772),p=n(11892),f=n(55181),g=n(52540),m=n(36293);let v=(()=>{var t;class e extends a.y{constructor(){const t=(0,i.f3M)(d.L1),e=(0,i.f3M)(i.R0b);super((n=>t.pipe((0,l.U)((()=>this.el.getBoundingClientRect())),(0,l.U)((t=>this.accessor.getPosition(t))),(0,r.fL)(e),(0,m.x)((()=>this.accessor.getPosition(p.Jy)))).subscribe(n))),this.el=(0,f.AG)(),this.accessor=(0,i.f3M)(g.uG)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),y=(()=>{var t;class e{constructor(){this.isWebkit=(0,i.f3M)(o.jF),this.win=(0,i.f3M)(d.m9)}correct(t){return this.isWebkit?[t[0]+(this.win.visualViewport?.offsetTop??0),t[1]+(this.win.visualViewport?.offsetLeft??0)]:t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},41589:(t,e,n)=>{n.d(e,{ZW:()=>a,AW:()=>l,U0:()=>y,Gs:()=>c,P_:()=>d,rJ:()=>p,ZD:()=>h,PL:()=>_,Jl:()=>A,Sy:()=>g,SX:()=>C,J_:()=>S,$R:()=>v,PH:()=>b,HO:()=>P,TK:()=>s,$_:()=>E,iS:()=>F,P:()=>x,oC:()=>L,U4:()=>w,r2:()=>R,EO:()=>j,ck:()=>H,Ps:()=>M});var i=n(20755),r=n(73740),o=n(76733);const s=(0,r.N1)((()=>(0,i.f3M)(o.K0).defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1)),a=(0,r.N1)((()=>(0,i.f3M)(s)?0:1)),l=(0,r.JN)("assets/taiga-ui"),c=(0,r.JN)({check:"@tui.check",close:"@tui.x",error:"@tui.circle-alert",more:"@tui.chevron-right"});var u=n(71209);const h={mode:"DMY",separator:"."},d=(0,r.JN)((0,u.of)(h)),p=(0,r.JN)((t=>t.isWeekend?"weekend":"weekday"));var f=n(28351);const g=(0,r.JN)(f.Lr.Monday);var m=n(49335);const v=(0,r.N1)((0,m.v)("months")),y=(0,r.N1)((0,m.v)("close")),b=(0,r.N1)((0,m.v)("nothingFoundMessage")),_=(0,r.N1)((0,m.v)("defaultErrorMessage")),w=(0,r.N1)((0,m.v)("spinTexts")),x=(0,r.N1)((0,m.v)("shortWeekDays")),C=(0,r.JN)(""),k=(0,r.JN)({}),O=(0,r.N1)((()=>{const t=(0,i.f3M)(l);return e=>!e||e.includes("/")?e:`${t}/icons/${e.replace("@tui.","").split(".").join("/")}.svg`}));function M(){const t=(0,i.f3M)(k),e=(0,i.f3M)(O);return n=>t[n]||e(n)}const S=(0,r.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),A={precision:NaN,decimalSeparator:",",thousandSeparator:n(11892).f$,rounding:"truncate",decimalMode:"pad"},P=(0,r.JN)((0,u.of)(A)),E=(0,r.N1)((()=>new i.SBq((0,i.f3M)(o.K0).documentElement)));var T=n(65026),I=n(45047),D=n(84787),z=n(81749),N=n(88557);const F=(0,r.N1)((()=>{const t=(0,i.f3M)(o.K0);return(0,I.T)((0,T.mL)(t,"selectionchange"),(0,T.mL)(t,"mouseup"),(0,T.mL)(t,"mousedown").pipe((0,D.w)((()=>(0,T.mL)(t,"mousemove").pipe((0,z.R)((0,T.mL)(t,"mouseup")))))),(0,T.mL)(t,"keydown"),(0,T.mL)(t,"keyup")).pipe((0,N.B)())})),L=(0,r.JN)({decrement:"@tui.chevron-left",increment:"@tui.chevron-right"}),R=(0,r.JN)("Taiga");var B=n(42772);const j=(0,r.N1)((()=>{const t=(0,i.f3M)(B.m9);return{type:"viewport",getClientRect(){const e={top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight,x:0,y:0};return{...e,toJSON:()=>JSON.stringify(e)}}}}));function H(t){return(0,r.Q2)(j,t)}},80567:(t,e,n)=>{n.d(e,{lx:()=>l,Lf:()=>a,sn:()=>c});var i=n(11892),r=n(72478),o=n(41589),s=n(73740);function a(t,e){const[,n=""]=function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+(e?.length||0);r=t.toFixed(o)}return r}(t).split(".");return(0,s.dt)(e)?n.slice(0,Math.max(0,e)):n}function l(t,e={}){const{precision:n,decimalSeparator:s,thousandSeparator:l,decimalMode:c,rounding:u}={...o.Jl,decimalMode:"always",precision:1/0,...e},h=Number.isFinite(n)?function({value:t,precision:e,method:n}){switch(n){case"round":return(0,r.FG)(t,e);case"ceil":return(0,r.Br)(t,e);case"floor":return(0,r.OT)(t,e);default:return(0,r.h4)(t,e)}}({value:t,precision:n,method:u}):t,d=String(Math.floor(Math.abs(h)));let p=a(h,n);const f=Number(p)>0;if(Number.isFinite(n))if("always"===c||f&&"pad"===c){const t=Math.max(n-p.length,0);p=`${p}${"0".repeat(t)}`}else p=p.replace(/0*$/,"");const g=d.length%3;let m=(t<0?i.fv:"")+d.charAt(0);for(let t=1;t3&&(m+=l),m+=d.charAt(t);return p?m+s+p:m}function c(t){if(""===t)return"";let e=0;for(let n=0;n{function i(t){return!!t&&(function(t){return"fixed"===t.ownerDocument.defaultView?.getComputedStyle(t).getPropertyValue("position")}(t)||i(t.parentElement))}function r({document:t,innerWidth:e}){return Math.max(t.documentElement.clientWidth||0,e||0)}n.d(e,{Gc:()=>l.Gc,qK:()=>i,cZ:()=>l.cZ,ic:()=>r,DI:()=>s,mn:()=>l.mn,lp:()=>l.lp,sn:()=>a.sn,qS:()=>l.qS});var o=n(11892);function s(t){const e=t.cloneRange(),{startContainer:n,startOffset:i,endContainer:r,endOffset:s}=e,{ownerDocument:a}=n;if(!a)return e;const l=a.createTreeWalker(a.body,NodeFilter.SHOW_TEXT,o.Lw);l.currentNode=n;do{const t=l.currentNode,r=t.textContent||"",s=t===n?r.slice(0,Math.max(0,i+1)):r,a=Math.max(s.lastIndexOf(" "),s.lastIndexOf(o.f$),s.lastIndexOf(o.tU))+1;if(e.setStart(t,0),a){e.setStart(t,a);break}}while(l.previousNode());l.currentNode=r;do{const t=l.currentNode,n=t.textContent||"",i=t===r?n.slice(s+1):n,a=[i.indexOf(" "),i.indexOf(o.f$),i.indexOf(o.tU)].reduce(((t,e)=>-1===t||-1===e?Math.max(t,e):Math.min(t,e)),-1);if(e.setEnd(t,n.length),-1!==a){e.setEnd(t,a+n.length-i.length);break}}while(l.nextNode());return e}var a=n(80567),l=n(16931)},16931:(t,e,n)=>{n.d(e,{Gc:()=>u,cZ:()=>d,kL:()=>r,mn:()=>s,lp:()=>a,R9:()=>c,qS:()=>h});const i=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"];function r(t=""){return 1===t.length||i.includes(t)}var o=n(55181);function s(t,e="tui-hints"){return!!(0,o.PU)(t)?.some((t=>!t.closest(e)))}function a(t,e){return(n,i)=>{const r=n||{...i||e};return Object.keys(t).forEach((e=>{r[e]=t[e]})),r}}const l={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function c(t,e="s"){return l[t]>l[e]}const u=300;function h(t){return{value:"",params:{duration:d(t)}}}function d(t){return t&&u/t}},62057:(t,e,n)=>{n.d(e,{V6:()=>r,ZI:()=>i});const i={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"St. Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Congo - Kinshasa",CF:"Central African Republic",CG:"Congo - Brazzaville",CH:"Switzerland",CI:"Côte d’Ivoire",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"St. Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"St. Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"St. Martin",MG:"Madagascar",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"São Tomé & Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks & Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Türkiye",TT:"Trinidad & Tobago",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"St. Vincent & Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",AC:"Ascension Island",AS:"American Samoa",AX:"Åland Islands",CC:"Cocos (Keeling) Islands",CK:"Cook Islands",CX:"Christmas Island",EH:"Western Sahara",FO:"Faroe Islands",GG:"Guernsey",GU:"Guam",IM:"Isle of Man",JE:"Jersey",IO:"British Indian Ocean Territory",KI:"Kiribati",MH:"Marshall Islands",MP:"Northern Mariana Islands",NF:"Norfolk Island",NR:"Nauru",NU:"Niue",PM:"Saint Pierre and Miquelon",PR:"Puerto Rico",PS:"Palestine",SJ:"Svalbard and Jan Mayen",SS:"South Sudan",TA:"Tristan da Cunha",TK:"Tokelau",TV:"Tuvalu",VA:"Holy See",VI:"Virgin Islands",WF:"Wallis and Futuna"},r={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,cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],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","KiB","MiB"],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 it here",defaultLabelMultiple:"or drop them here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is larger than ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},confirm:{yes:"Yes",no:"No"},previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"},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"}}},3667:(t,e,n)=>{n(79815)},79815:(t,e,n)=>{n.d(e,{Co:()=>a});var i=n(20755),r=n(62057),o=n(71209);const s=new i.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>r.V6}),a=new i.OlP("[TUI_LANGUAGE]",{factory:()=>(0,o.of)((0,i.f3M)(s))});new i.OlP("[TUI_LANGUAGE_LOADER]"),new i.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"})},49335:(t,e,n)=>{n.d(e,{v:()=>c});var i=n(20755),r=n(79815),o=n(84787),s=n(11070),a=n(71209),l=n(92425);function c(t){return()=>(0,i.f3M)(r.Co).pipe((0,o.w)((t=>(0,s.b)(t)?t:(0,a.of)(t))),(0,l.U)((e=>e[t])))}},24149:(t,e,n)=>{n.d(e,{tR:()=>E,z0:()=>P,Z0:()=>b});var i=n(20755),r=n(62022),o=n(11892),s=n(65026),a=n(73740),l=n(44501),c=n(74114),u=n(92425),h=n(55333),d=n(45047),p=n(84787),f=n(69401),g=n(76733),m=n(9368),v=n(95173),y=n(25690);let b=(()=>{var t;class e extends y.GL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiAccordionItemContent",""]],standalone:!0,features:[i.qOj]}),e})(),_=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]],standalone:!0}),e})();var w=n(93745);function x(t,e){if(1&t&&(i.ynx(0),i._UZ(1,"tui-icon",7),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("tuiChevron",t.open)}}function C(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 k(t,e){if(1&t&&(i.TgZ(0,"div",9),i.YNc(1,C,2,1,"ng-container",10),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("polymorpheusOutlet",t.lazyContent)}}function O(t,e){if(1&t&&i.YNc(0,k,2,1,"div",8),2&t){const t=i.oxw();i.Q6J("ngIf",t.lazyContent)}}function M(t,e){1&t&&(i.TgZ(0,"div",11),i.Hsn(1,1),i.qZA())}const S=["*",[["","tuiAccordionItemContent",""]]],A=["*","[tuiAccordionItemContent]"];let P=(()=>{var t;class e{constructor(){this.cdr=(0,i.f3M)(i.sBO),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 i.vpe}close(){this.updateOpen(!1),this.cdr.markForCheck()}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(t){this.open&&(t.stopPropagation(),this.updateOpen(!1))}updateOpen(t){this.open!==t&&(this.open=t,this.openChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-accordion-item"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,_,5),i.Suo(n,b,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.eagerContent=t.first),i.iGM(t=i.CRH())&&(e.lazyContent=t.first)}},hostVars:8,hostBindings:function(t,e){2&t&&(i.uIk("data-borders",e.borders)("data-size",e.size),i.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"},standalone:!0,features:[i.jDz],ngContentSelectors:A,decls:8,vars:9,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","click","keydown.esc"],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],[1,"t-icon",3,"tuiChevron"],["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&&(i.F$t(S),i.TgZ(0,"div",0)(1,"button",1),i.NdJ("click",(function(){return e.onRowToggle()}))("keydown.esc",(function(t){return e.onItemKeyDownEsc(t)})),i.TgZ(2,"span",2),i.Hsn(3),i.qZA(),i.YNc(4,x,2,1,"ng-container",3),i.qZA(),i.TgZ(5,"tui-expand",4),i.YNc(6,O,1,1,"ng-template",5),i.YNc(7,M,2,0,"div",6),i.qZA()()),2&t&&(i.xp6(1),i.ekj("t-header_hoverable",!e.disableHover)("t-header_open",e.open),i.Q6J("disabled",e.disabled),i.xp6(3),i.Q6J("ngIf",e.showArrow),i.xp6(1),i.Q6J("async",e.async)("expanded",e.open),i.xp6(2),i.Q6J("ngIf",e.eagerContent))},dependencies:[g.O5,y.s$,m.R,v.HT,w.SV,w.d0],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} tui-accordion{width:100%}.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-border-normal);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}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;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-border-normal);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-primary);cursor:pointer;text-align:left;outline:none}.t-header[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[tuiTheme="dark"][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1)}[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}.t-wrapper[_ngcontent-%COMP%]:hover > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-background-base-alt)}.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:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-left:auto;color:var(--tui-text-tertiary)}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-secondary)}.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}),e})(),E=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.accordionItems=o.Mm,this.closeOthers=!0}ngAfterContentInit(){const{accordionItems:t}=this,e=(0,s.ll)(t),n=e.pipe((0,c.G)(),(0,u.U)((([t,e])=>e.find((e=>!t.includes(e)&&e.open)))),(0,h.h)(a.Pc));(0,d.T)(e.pipe((0,p.w)((t=>(0,d.T)(...t.map((t=>t.openChange.pipe((0,h.h)(f.y),(0,u.U)((()=>t))))))))),n).pipe((0,h.h)((()=>this.closeOthers)),(0,r.sL)(this.destroyRef)).subscribe((e=>{t.forEach((t=>{e!==t&&t.close()}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,P,4),2&t){let t;i.iGM(t=i.CRH())&&(e.accordionItems=t)}},inputs:{closeOthers:"closeOthers"},standalone:!0,features:[i._Bn([(0,l.vJ)({orientation:"vertical",size:"l",collapsed:!0})]),i.zW0([{directive:l.hM,inputs:["rounded","rounded"]}])]}),e})()},75391:(t,e,n)=>{n.d(e,{nV:()=>m,ug:()=>u});var i=n(76733),r=n(20755),o=n(73740),s=n(9368),a=n(10426);const l={appearance:"",round:!0,size:"l"},c=(0,o.JN)(l);function u(t){return(0,o.vK)(c,t,l)}function h(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=r.oxw();r.Q6J("src",t.value,r.LSH)}}function d(t,e){if(1&t&&r._UZ(0,"tui-icon",6),2&t){const t=r.oxw();r.Q6J("icon",t.value.toString())}}function p(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.value)}}function f(t,e){1&t&&(r.ynx(0),r.Hsn(1),r.BQk())}const g=["*"];let m=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(c),this.size=this.options.size,this.round=this.options.round}get safeSrc(){return this.src?.toString()??""}get value(){return this.src||""}get svg(){return(0,o.Aj)(this.value)&&this.value.endsWith(".svg")}get type(){return this.value&&!(0,o.Aj)(this.value)?"img":this.value.startsWith("@tui.")?"icon":this.value.length>0&&this.value.length<3?"text":this.value.length?"img":"content"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-avatar"],["button","tuiAvatar",""],["a","tuiAvatar",""]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size)("data-type",e.type),r.ekj("_round",e.round)("_svg",e.svg))},inputs:{size:"size",round:"round",src:"src"},standalone:!0,features:[r._Bn([(0,a.mS)(c)]),r.jDz,r.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]}])],ngContentSelectors:g,decls:5,vars:4,consts:[[3,"ngSwitch"],["alt","","loading","lazy",3,"src",4,"ngSwitchCase"],[3,"icon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["alt","","loading","lazy",3,"src"],[3,"icon"]],template:function(t,e){1&t&&(r.F$t(),r.ynx(0,0),r.YNc(1,h,1,1,"img",1),r.YNc(2,d,1,1,"tui-icon",2),r.YNc(3,p,2,1,"ng-container",3),r.YNc(4,f,2,0,"ng-container",4),r.BQk()),2&t&&(r.Q6J("ngSwitch",e.type),r.xp6(1),r.Q6J("ngSwitchCase","img"),r.xp6(1),r.Q6J("ngSwitchCase","icon"),r.xp6(1),r.Q6J("ngSwitchCase","text"))},dependencies:[i.RF,i.n9,i.ED,s.R],styles:['[_nghost-%COMP%]{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}[data-size=xs][_nghost-%COMP%]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}[data-size=xs][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-size:.5625rem}[data-size=s][_nghost-%COMP%]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}[data-size=s][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-xs);font-weight:700}[data-size=m][_nghost-%COMP%]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}[data-size=m][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-weight:700}[data-size=l][_nghost-%COMP%]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}[data-size=l][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-l);font-weight:700}[data-size=xl][_nghost-%COMP%]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}[data-size=xl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-4)}[data-size=xxl][_nghost-%COMP%]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}[data-size=xxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-size=xxxl][_nghost-%COMP%]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}[data-size=xxxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-type=img][_nghost-%COMP%]:not(._svg){background:transparent}[data-type=icon][_nghost-%COMP%]:before{content:""}._round[_nghost-%COMP%]{--t-radius: calc(var(--t-size) / 2)}._svg[_nghost-%COMP%] img[_ngcontent-%COMP%]{padding:20%}[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60%;height:60%}[_nghost-%COMP%] img, [_nghost-%COMP%] picture, [_nghost-%COMP%] video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;box-sizing:border-box}'],changeDetection:0}),e})();var v,y=n(84911),b=n(95173);function _(t,e){if(1&t&&(r.TgZ(0,"span",2),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t," ")}}function w(t,e){if(1&t&&(r.ynx(0),r.YNc(1,_,2,1,"span",1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngForOf",t.split(t.label))}}class x{constructor(){this.label=""}split(t){return t.split(" ")}}(v=x).ɵfac=function(t){return new(t||v)},v.ɵcmp=r.Xpm({type:v,selectors:[["tui-avatar-labeled"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("title",e.label)},inputs:{label:"label"},standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:1,consts:[[4,"ngIf"],["tuiFade","",4,"ngFor","ngForOf"],["tuiFade",""]],template:function(t,e){1&t&&(r.F$t(),r.Hsn(0),r.YNc(1,w,2,1,"ng-container",0)),2&t&&(r.xp6(1),r.Q6J("ngIf",e.label.length))},dependencies:[i.sg,i.O5,b.Uo],styles:["tui-avatar-labeled{display:flex;width:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-bottom:.375rem}tui-avatar-labeled [tuiFade]{width:calc(100% + 1rem)}\n"],encapsulation:2,changeDetection:0}),(0,y.gn)([o.UM],x.prototype,"split",null)},44713:(t,e,n)=>{n.d(e,{Cb:()=>c});var i=n(20755),r=n(73740),o=n(10426);const s=(0,r.JN)({appearance:"",size:"l",dot:!1});var a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-badge"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['tui-badge,[tuiBadge]{--t-gap: 0rem;--t-dot: currentColor;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));border-radius:6rem;background:#959595;color:var(--tui-background-base);padding:var(--t-padding);height:var(--t-size);min-width:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-s)}tui-badge>img,[tuiBadge]>img,tui-badge>tui-svg,[tuiBadge]>tui-svg,tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge>tui-avatar,[tuiBadge]>tui-avatar,tui-badge>tui-badge,[tuiBadge]>tui-badge,tui-badge>[tuiBadge],[tuiBadge]>[tuiBadge],tui-badge>[tuiRadio],[tuiBadge]>[tuiRadio],tui-badge>[tuiSwitch],[tuiBadge]>[tuiSwitch],tui-badge>[tuiCheckbox],[tuiBadge]>[tuiCheckbox],tui-badge._icon-left:before,[tuiBadge]._icon-left:before,tui-badge._icon-right:after,[tuiBadge]._icon-right:after{margin:var(--t-margin)}tui-badge._dot:before,[tuiBadge]._dot:before{content:"";display:block;width:.375rem;height:.375rem;background:var(--t-dot);border-radius:100%}tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-badge[data-appearance=error],[tuiBadge][data-appearance=error]{--t-dot: var(--tui-status-negative)}tui-badge[data-appearance=success],[tuiBadge][data-appearance=success]{--t-dot: var(--tui-status-positive)}tui-badge[data-appearance=warning],[tuiBadge][data-appearance=warning]{--t-dot: var(--tui-status-warning)}tui-badge[data-appearance=info],[tuiBadge][data-appearance=info]{--t-dot: var(--tui-status-info)}tui-badge[data-appearance=neutral],[tuiBadge][data-appearance=neutral]{--t-dot: var(--tui-status-neutral)}tui-badge[data-size=s],[tuiBadge][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem}tui-badge[data-size=s]._dot:before,[tuiBadge][data-size=s]._dot:before{width:.25rem;height:.25rem;margin-inline-end:-.125rem}tui-badge[data-size=m],[tuiBadge][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}tui-badge[data-size=l],[tuiBadge][data-size=l]{--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem}tui-badge[data-size=l]._dot:before,[tuiBadge][data-size=l]._dot:before{margin-inline-end:-.25rem}tui-badge[data-size=xl],[tuiBadge][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}tui-badge[data-size=xl]._dot:before,[tuiBadge][data-size=xl]._dot:before{width:.5rem;height:.5rem;margin-inline-end:-.125rem}tui-badge[tuiAppearance][data-appearance=error],[tuiBadge][tuiAppearance][data-appearance=error],tui-badge[tuiAppearance][data-appearance=success],[tuiBadge][tuiAppearance][data-appearance=success],tui-badge[tuiAppearance][data-appearance=warning],[tuiBadge][tuiAppearance][data-appearance=warning],tui-badge[tuiAppearance][data-appearance=info],[tuiBadge][tuiAppearance][data-appearance=info],tui-badge[tuiAppearance][data-appearance=neutral],[tuiBadge][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}img[tuiBadge]{padding:0}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;height:var(--t-size);width:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.size=this.options.size,this.dot=this.options.dot}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-badge"],["","tuiBadge",""]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size),i.ekj("_dot",e.dot))},inputs:{size:"size",dot:"dot"},standalone:!0,features:[i._Bn([(0,o.mS)(s)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},62427:(t,e,n)=>{n.d(e,{u:()=>f});var i=n(20755),r=n(62022),o=n(43226),s=n(65026),a=n(55181),l=n(73740),c=n(10426),u=n(41589),h=n(64418),d=n(82527);const p=["type","checkbox","tuiCheckbox",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(c.Nm),this.options=(0,i.f3M)(h.Y2),this.resolver=(0,u.Ps)(),this.destroyRef=(0,i.f3M)(i.ktI),this.el=(0,a.AG)(),this.size=this.options.size,this.control=(0,i.f3M)(o.a5,{optional:!0,self:!0})}ngOnInit(){this.control?.valueChanges&&(0,s.EK)(this.control).pipe((0,r.sL)(this.destroyRef)).subscribe((t=>{const e=this.control instanceof o.On?this.control.model:t;this.el.indeterminate=null===e}))}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}getIcon(t){const e=this.options.icons[t],n=(0,l.Aj)(e)?e:e(this.size);return`url(${this.resolver(n)})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiCheckbox",""]],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-checked",e.getIcon("checked"))("--t-indeterminate",e.getIcon("indeterminate")),i.ekj("_readonly",!e.control))},inputs:{size:"size"},standalone:!0,features:[i.jDz,i.zW0([{directive:c.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{--t-size: 1.5rem;--t-radius: var(--tui-radius-s);width:var(--t-size);height:var(--t-size);border-radius:var(--t-radius);cursor:pointer;margin:0;flex-shrink:0}[_nghost-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%;transform:scale(0);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:checked:before, [_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-checked);mask-image:var(--t-checked);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out,-webkit-mask 0s ease-in-out}[_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-indeterminate);mask-image:var(--t-indeterminate)}[data-size=s][_nghost-%COMP%]{--t-size: 1rem;--t-radius: var(--tui-radius-xs)}'],changeDetection:0}),e})()},64418:(t,e,n)=>{n.d(e,{Y2:()=>o,im:()=>s});var i=n(73740);const r={size:"m",appearance:t=>t.checked||t.indeterminate?"primary":"whiteblock",icons:{checked:()=>"@tui.check",indeterminate:()=>"@tui.minus"}},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},4216:(t,e,n)=>{n.d(e,{im:()=>i.im}),n(62427);var i=n(64418)},73378:(t,e,n)=>{n.d(e,{Xt:()=>p});var i=n(20755),r=n(73740),o=n(11679),s=n(10426),a=n(75391),l=n(4216),c=n(92840);const u=(0,r.JN)({appearance:"neutral",size:"s"});var h=n(98549);let d=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chip"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["tui-chip,[tuiChip]{--t-gap: .125rem;--t-margin: -.125rem;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);padding:var(--t-padding);height:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}tui-chip>img,[tuiChip]>img,tui-chip>tui-svg,[tuiChip]>tui-svg,tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip>tui-avatar,[tuiChip]>tui-avatar,tui-chip>tui-badge,[tuiChip]>tui-badge,tui-chip>[tuiBadge],[tuiChip]>[tuiBadge],tui-chip>[tuiRadio],[tuiChip]>[tuiRadio],tui-chip>[tuiSwitch],[tuiChip]>[tuiSwitch],tui-chip>[tuiCheckbox],[tuiChip]>[tuiCheckbox],tui-chip._icon-left:before,[tuiChip]._icon-left:before,tui-chip._icon-right:after,[tuiChip]._icon-right:after{margin:var(--t-margin)}tui-chip:-webkit-any(a,button,select,textarea,input,label),[tuiChip]:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip:-moz-any(a,button,select,textarea,input,label),[tuiChip]:-moz-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip[tuiIcons]:before,[tuiChip][tuiIcons]:before,tui-chip[tuiIcons]:after,[tuiChip][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-chip[data-size=xxs],[tuiChip][data-size=xxs]{--t-gap: 0rem;--t-padding: 0 .25rem;--t-size: 1rem;--t-icon-size: .75rem;font:var(--tui-font-text-xs);border-radius:var(--tui-radius-xs)}tui-chip[data-size=xxs]>[tuiIconButton],[tuiChip][data-size=xxs]>[tuiIconButton]{margin:-.5rem;transform:scale(.75)}tui-chip[data-size=xs],[tuiChip][data-size=xs]{--t-padding: 0 .375rem;--t-size: 1.25rem;border-radius:var(--tui-radius-xs)}tui-chip[data-size=xs]>[tuiIconButton],[tuiChip][data-size=xs]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s],[tuiChip][data-size=s]{--t-padding: 0 .625rem;--t-size: var(--tui-height-s)}tui-chip[data-size=s]>[tuiIconButton],[tuiChip][data-size=s]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s]>img,[tuiChip][data-size=s]>img,tui-chip[data-size=s] tui-avatar,[tuiChip][data-size=s] tui-avatar{margin-inline-start:-.375rem}tui-chip[data-size=m],[tuiChip][data-size=m]{--t-margin: -.375rem;--t-icon-size: 1.5rem;--t-padding: 0 1rem;--t-size: var(--tui-height-m);font:var(--tui-font-text-m)}tui-chip[data-size=m]>[tuiIconButton],[tuiChip][data-size=m]>[tuiIconButton]{margin:-.75rem}tui-chip>img,[tuiChip]>img{width:1.5rem}tui-chip>input[tuiChip],[tuiChip]>input[tuiChip]{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}tui-chip[tuiAppearance][data-appearance=error],[tuiChip][tuiAppearance][data-appearance=error],tui-chip[tuiAppearance][data-appearance=success],[tuiChip][tuiAppearance][data-appearance=success],tui-chip[tuiAppearance][data-appearance=warning],[tuiChip][tuiAppearance][data-appearance=warning],tui-chip[tuiAppearance][data-appearance=info],[tuiChip][tuiAppearance][data-appearance=info],tui-chip[tuiAppearance][data-appearance=neutral],[tuiChip][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}\n"],encapsulation:2,changeDetection:0}),e})(),p=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(u),this.nothing=(0,r.__)(d),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-chip"],["","tuiChip",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,s.mS)(u),(0,c.wt)({size:"s"}),(0,l.im)({size:"s"}),(0,a.ug)({size:"xs"}),(0,o.O0)({size:"xs",appearance:"icon"})]),i.zW0([{directive:s.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},61819:(t,e,n)=>{n.d(e,{Q:()=>m});var i=n(76733),r=n(49148),o=n(63098),s=n(32097),a=n(25690),l=n(67917),c=n(20755);const u=["labels",""];function h(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}function d(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",6,7),c.NdJ("click",(function(){const e=c.CHM(t).$implicit,n=c.oxw(3);return c.KtG(n.itemClick.emit(e))})),c.YNc(2,h,2,1,"ng-container",8),c.qZA()}if(2&t){const t=e.$implicit,n=c.MAs(1),i=c.oxw(3);c.Q6J("disabled",i.disabledItemHandler(t))("value",t),c.xp6(2),c.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function p(t,e){if(1&t&&(c.TgZ(0,"tui-opt-group",4),c.YNc(1,d,3,4,"button",5),c.qZA()),2&t){const t=e.$implicit,n=e.index,i=c.oxw(2);c.Q6J("label",i.labels[n]),c.xp6(1),c.Q6J("ngForOf",t)}}function f(t,e){if(1&t&&(c.TgZ(0,"tui-data-list",2),c.YNc(1,p,2,2,"tui-opt-group",3),c.qZA()),2&t){const t=c.oxw();c.Q6J("emptyContent",t.emptyContent)("size",t.size),c.xp6(1),c.Q6J("ngForOf",t.items)}}function g(t,e){1&t&&c._UZ(0,"tui-loader",9)}let m=(()=>{var t;class e extends l.e{constructor(){super(...arguments),this.items=[],this.labels=[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.ɵcmp=c.Xpm({type:t,selectors:[["tui-data-list-wrapper","labels",""]],inputs:{items:"items",labels:"labels"},standalone:!0,features:[c._Bn([(0,o.RB)(t)]),c.qOj,c.jDz],attrs:u,decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-loader"]],template:function(t,e){if(1&t&&(c.YNc(0,f,2,3,"tui-data-list",0),c.YNc(1,g,1,0,"ng-template",null,1,c.W1O)),2&t){const t=c.MAs(2);c.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[o.qi,o.bH,o.c4,i.O5,i.sg,r.v,a.s$,s.A6],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},67917:(t,e,n)=>{n.d(e,{e:()=>v});var i=n(76733),r=n(20755),o=n(11892),s=n(49148),a=n(52674),l=n(73740),c=n(63098),u=n(32097),h=n(11637),d=n(25690);function p(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 f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",4,5),r.NdJ("click",(function(){const e=r.CHM(t).$implicit,n=r.oxw(2);return r.KtG(n.itemClick.emit(e))})),r.TgZ(2,"span",6),r.YNc(3,p,2,1,"ng-container",7),r.qZA()()}if(2&t){const t=e.$implicit,n=r.MAs(1),i=r.oxw(2);r.Q6J("disabled",i.disabledItemHandler(t))("value",t),r.xp6(3),r.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function g(t,e){if(1&t&&(r.TgZ(0,"tui-data-list",2),r.YNc(1,f,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 m(t,e){1&t&&r._UZ(0,"tui-loader",8)}let v=(()=>{var t;class e{constructor(){this.itemsHandlers=(0,r.f3M)(h.Ys),this.optionsQuery=o.Mm,this.items=[],this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=(0,c.lt)(),this.itemClick=new r.vpe,this.itemContent=({$implicit:t})=>this.itemsHandlers.stringify(t)}getContext(t,{nativeElement:e}){return{$implicit:t,active:(0,a.V8)(e)}}getOptions(t=!1){return this.optionsQuery.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(l.Pc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],viewQuery:function(t,e){if(1&t&&r.Gf(c.bH,5),2&t){let t;r.iGM(t=r.CRH())&&(e.optionsQuery=t)}},inputs:{items:"items",disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"},standalone:!0,features:[r._Bn([(0,c.RB)(t)]),r.jDz],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["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,g,2,3,"tui-data-list",0),r.YNc(1,m,1,0,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[c.qi,c.bH,i.O5,i.sg,s.v,u.A6,d.s$],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},94187:(t,e,n)=>{var i=n(61819),r=n(67917),o=n(63098);r.e,i.Q,o.gX},92840:(t,e,n)=>{n.d(e,{AE:()=>f,wt:()=>h});var i=n(20755),r=n(43226),o=n(55181),s=n(73740),a=n(10426),l=n(41589);const c={showIcons:!0,size:"m",icon:"@tui.check",appearance:t=>t.checked?"primary":"secondary"},u=(0,s.JN)(c);function h(t){return(0,s.vK)(u,t,c)}var d=n(82527);const p=["type","checkbox","tuiSwitch",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(a.Nm),this.resolver=(0,l.Ps)(),this.options=(0,i.f3M)(u),this.el=(0,o.AG)(),this.control=(0,i.f3M)(r.a5,{optional:!0,self:!0}),this.size=this.options.size,this.showIcons=this.options.showIcons}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}get icon(){const{options:t,resolver:e,size:n}=this;return`url(${e((0,s.Aj)(t.icon)?t.icon:t.icon(n))})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiSwitch",""]],hostAttrs:["role","switch"],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-mask",e.icon),i.ekj("_readonly",!e.control)("_icons",e.showIcons))},inputs:{size:"size",showIcons:"showIcons"},standalone:!0,features:[i.jDz,i.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:3rem;height:1.5rem;border-radius:2rem;overflow:hidden;cursor:pointer;margin:0}[data-appearance=secondary][_nghost-%COMP%], [data-appearance=secondary][_nghost-%COMP%]:invalid{color:#fff}[data-size=s][_nghost-%COMP%]{height:1rem;width:2rem}[data-size=s][_nghost-%COMP%]:before{width:1rem;transform:translate(-1rem);-webkit-mask-size:.75rem;mask-size:.75rem}[data-size=s][_nghost-%COMP%]:after{width:1rem;box-shadow:-2rem 0 0 .25rem currentColor}[data-size=s][_nghost-%COMP%]:checked:after{transform:scale(.5) translate(2rem)}[_nghost-%COMP%]:checked:before{transform:none}[_nghost-%COMP%]:checked:after{transform:scale(.5) translate(3rem)}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;height:100%;width:1.5rem}[_nghost-%COMP%]:before{display:none;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center;mask:var(--t-mask) no-repeat center;-webkit-mask-size:1rem;mask-size:1rem;transform:translate(-1.5rem)}[_nghost-%COMP%]:after{right:0;border-radius:100%;transform:scale(.5);box-shadow:-3rem 0 0 .25rem currentColor}._icons[_nghost-%COMP%]:before{display:block}._icons[_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .25rem var(--tui-background-neutral-2-pressed),-3rem 0 0 .25rem currentColor}._icons[data-size=s][_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .125rem var(--tui-background-neutral-2-pressed),-2rem 0 0 .25rem currentColor}'],changeDetection:0}),e})()},2115:(t,e,n)=>{n.d(e,{Yh:()=>f,Pk:()=>G});var i=n(20755),r=n(62022),o=n(99222),s=n(81695),a=n(65026),l=n(55181),c=n(52674),u=n(55333),h=n(45047),d=n(30453),p=n(98549);let f=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.rla=(0,i.f3M)(o.Od,{optional:!0}),this.observer=this.rla&&(0,i.f3M)(s.IM,{optional:!0})?.pipe((0,u.h)((()=>!!this.rla?.isActive))),this.sub=(0,h.T)(this.observer||d.E,this.rla?.isActiveChange.pipe((0,u.h)(Boolean))||d.E,this.el.matches("button")?(0,a.mL)(this.el,"click"):d.E).pipe((0,r.sL)()).subscribe((()=>this.el.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}ngOnDestroy(){(0,c.V8)(this.el)&&this.el.blur()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],standalone:!0,features:[i.zW0([{directive:p.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})();var g=n(62417),m=n(73740);const v=(0,m.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0,size:"l"});let y=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-tabs"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:24px}tui-tabs[data-size=m]+[tuiTab],tui-tabs[data-size=m] [tuiTab],[tuiTabs][data-size=m] [tuiTab]{margin-left:16px;font:var(--tui-font-text-s)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:2px solid var(--tui-border-focus);outline-offset:-2px}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -2px var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-left:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-left:var(--tui-tab-margin, 1.5rem)}[tuiTab]._icon-left:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab]._icon-right:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){height:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){height:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;height:2px;width:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:""}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]: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-background-accent-1);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -2px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-height:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset 2px 0 var(--tui-border-normal)}\n'],encapsulation:2,changeDetection:0}),e})(),b=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.injector=(0,i.f3M)(i.gxx),this.nothing=(0,m.__)(y),this.size=(0,i.f3M)(v).size,this.activeItemIndex=0,this.activeItemIndexChange=new i.vpe}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}moveFocus(t,e){const{tabs:n}=this;(0,c.VR)(n.indexOf(t),n,e)}ngAfterViewChecked(){(0,i.T8G)((()=>{this.markTabAsActive()}),{injector:this.injector})}onActivate(t,e){const n=this.tabs.findIndex((t=>t===e));t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}markTabAsActive(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never"]],hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("tui-tab-activate",(function(t){return e.onActivate(t,t.target)})),2&t&&i.uIk("data-size",e.size)},inputs:{size:"size",activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"},standalone:!0}),e})();var _,w=n(84911),x=n(11892);class C{constructor(){this.el=(0,l.AG)(),this.options=(0,i.f3M)(v),this.tabs=(0,i.f3M)(b),this.children=x.Mm,this.sub=(0,i.f3M)(s.IM).pipe((0,a.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>this.refresh())),this.underline=this.options.underline}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex),this.refresh()}onKeyDownArrow(t,e){this.tabs.moveFocus(t,e)}refresh(){const{activeElement:t}=this.tabs;if(t&&!t.isConnected)return;const{offsetLeft:e=0,offsetWidth:n=0}=t||{};this.el.style.setProperty("--t-left",(0,m.O9)(e)),this.el.style.setProperty("--t-width",(0,m.O9)(n))}scrollTo(t){const e=this.tabs.tabs[t];if(!e)return;const{offsetLeft:n,offsetWidth:i}=e;nthis.el.scrollLeft+this.el.offsetWidth&&(this.el.scrollLeft=n+i-this.el.offsetWidth)}}(_=C).ɵfac=function(t){return new(t||_)},_.ɵdir=i.lG2({type:_,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,f,4),2&t){let t;i.iGM(t=i.CRH())&&(e.children=t)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowRight.prevent",(function(t){return e.onKeyDownArrow(t.target,1)}))("keydown.arrowLeft.prevent",(function(t){return e.onKeyDownArrow(t.target,-1)}))("animationend",(function(){return e.refresh()})),2&t&&(i.Udp("--t-color",!0===e.underline?"var(--tui-background-accent-1)":e.underline),i.ekj("_underline",e.underline))},inputs:{underline:"underline"},standalone:!0,features:[i._Bn([s.IM,{provide:s.k2,useValue:{childList:!0,characterData:!0,subtree:!0}}]),i.zW0([{directive:b,inputs:["activeItemIndex","activeItemIndex","size","size"],outputs:["activeItemIndexChange","activeItemIndexChange"]}])]}),(0,w.gn)([m.UM],C.prototype,"scrollTo",null);var k=n(76733),O=n(58373),M=n(95173),S=n(11637),A=n(25690),P=n(92425),E=n(31570),T=n(34749),I=n(71938),D=n(20155),z=n(73843);const N=new i.OlP("[TUI_TABS_REFRESH]"),F=[T.ax,s.IM,(0,I.fx)({align:"right"}),{provide:s.k2,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:N,deps:[T.ax,s.IM,k.K0,i.SBq,i.sBO],useFactory:(t,e,{body:n},{nativeElement:i},o)=>(0,h.T)(t,e.pipe((0,E.b)((()=>o.detectChanges())))).pipe((0,u.h)((()=>n.contains(i))),(0,D.b)(0),(0,z.O)(null),(0,r.sL)())}];function L(t,e){1&t&&i.GkF(0)}function R(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function B(t,e){if(1&t&&(i.TgZ(0,"div",9),i.GkF(1,8),i.qZA()),2&t){const t=i.oxw(),e=t.index,n=t.$implicit,r=i.oxw();i.ekj("t-overflown",r.isOverflown(e)),i.xp6(1),i.Q6J("ngTemplateOutlet",n)}}function j(t,e){if(1&t&&(i.ynx(0),i.YNc(1,R,1,1,"ng-container",6),i.YNc(2,B,2,3,"ng-template",null,7,i.W1O),i.BQk()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngIf",t<=r.lastVisibleIndex)("ngIfElse",n)}}function H(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 V(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",10),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i.YNc(1,H,2,1,"ng-container",11),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.Q6J("polymorpheusOutlet",t.moreContent)}}function $(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",12),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i._uU(1),i.ALo(2,"async"),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.hij(" ",i.lcZ(2,10,t.moreWord$)," ")}}function q(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function Z(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",16),i.NdJ("tui-tab-activate",(function(){const e=i.CHM(t).index,n=i.oxw(2);return i.KtG(n.onClick(e))})),i.YNc(1,q,1,1,"ng-container",17),i.qZA()}if(2&t){const t=e.index,n=i.oxw(2);i.xp6(1),i.Q6J("ngIf",n.shouldShow(t))}}function U(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",13,14),i.NdJ("keydown.arrowDown.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!1))}))("keydown.arrowUp.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!0))})),i.YNc(2,Z,2,1,"div",15),i.qZA()}if(2&t){const t=i.oxw();i.uIk("data-size",t.size),i.xp6(2),i.Q6J("ngForOf",t.items)}}let G=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(v),this.refresh$=(0,i.f3M)(N),this.el=(0,l.AG)(),this.cdr=(0,i.f3M)(i.sBO),this.maxIndex=1/0,this.items=x.Mm,this.moreWord$=(0,i.f3M)(S.ue),this.open=!1,this.size=this.options.size,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new i.vpe,this.activeItemIndex=0}set itemIndex(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}get lastVisibleIndex(){if(this.itemsLimit+1>=this.items.length)return this.maxIndex;const t=this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2;return Math.min(this.itemsLimit-t,this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,P.U)((()=>this.getMaxIndex())),(0,E.b)((()=>this.refresh())),(0,u.h)((t=>this.maxIndex!==t))).subscribe((t=>{this.maxIndex=t,this.cdr.detectChanges()}))}ngAfterViewChecked(){this.refresh()}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){const{tabs:t}=this,e=(0,O.K)(this.activeItemIndex||0,0,t.length-2);return this.options.exposeActive||this.lastVisibleIndex>=e?t[e]||null:this.moreButton?.nativeElement||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=0;){if(t[e].focus(),(0,c.V8)(t[e]))return;e--}}onWrapperArrow(t,e,n){const i=t.target,r=(0,c.BW)({initial:i,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)}get margin(){return"l"===this.size?24:16}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:t,activeItemIndex:e,margin:n}=this;if(t.length<2)return 0;const{exposeActive:i,minMoreWidth:r}=this.options,{clientWidth:o}=this.el,s=t[e]?t[e].scrollWidth:0,a=Math.max(t[t.length-1].scrollWidth,r);let l=t.length-2,c=t.reduce(((t,{scrollWidth:e})=>t+e),0)+l*n-t[t.length-1].scrollWidth;if(Number.isNaN(c)||c<=o)return 1/0;for(;l;)if(c-=t[l].scrollWidth+n,l--,c+(i&&e>l?s+n:0)+a+n+(this.maxIndex===l-1?1:0){n.d(e,{H:()=>h});var i=n(20755),r=n(55181),o=n(73740),s=n(9368),a=n(71938),l=n(98549);let c=(()=>{var t;class e{getHandler(t){return()=>"@tui.chevron-down"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),u=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chevron"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiChevron][tuiIcons]:after,tui-icon[tuiChevron]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-block;cursor:pointer}[tuiChevron][tuiIcons]._chevron-rotated:after,tui-icon[tuiChevron]._chevron-rotated:after{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),h=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.dropdown=(0,i.f3M)(a.td,{optional:!0}),this.icons=(0,i.f3M)(l.p,{optional:!0}),this.icon=(0,i.f3M)(s.R,{optional:!0}),this.handler=(0,i.f3M)(c).getHandler((0,i.f3M)(i.gxx)),this.nothing=(0,o.__)(u),this.tuiChevron=""}ngDoCheck(){this.set(this.handler()),this.el.classList.toggle("_chevron-rotated",!!this.dropdown?.dropdownBoxRef||!0===this.tuiChevron)}set(t){this.icon&&(this.icon.icon=t),this.icons&&(this.icons.iconRight=t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiChevron",""]],hostAttrs:["tuiChevron",""],inputs:{tuiChevron:"tuiChevron"},standalone:!0}),e})()},95173:(t,e,n)=>{n.d(e,{HT:()=>s.H,Uo:()=>P}),n(11679);var i=n(41589),r=n(73740);(0,r.JN)("@tui.x");var o,s=n(3223),a=n(84911),l=n(20755),c=n(62022),u=n(11892),h=n(65026),d=n(52674),p=n(71938),f=n(45047),g=n(84787),m=n(30453),v=n(21813),y=n(55333),b=n(31570),_=n(92425),w=n(20530),x=n(20155);class C{constructor(){this.dropdowns=u.Mm,this.els=u.Mm,this.destroyRef=(0,l.f3M)(l.ktI)}ngAfterViewInit(){this.right$.pipe((0,c.sL)(this.destroyRef)).subscribe((t=>{this.tryToFocus(t)})),(0,f.T)(this.immediate$,this.debounce$).pipe((0,g.w)((t=>{this.dropdowns.forEach(((e,n)=>{e.toggle(n===t)}));const e=this.els.get(t),n=this.dropdowns.get(t);if(!e||!n?.dropdownBoxRef)return m.E;const{nativeElement:i}=n.dropdownBoxRef.location,r=(0,h.mL)(i,"mouseenter").pipe((0,v.q)(1)),o=(0,f.T)((0,h.mL)(e.nativeElement,"keydown"),(0,h.mL)(i,"keydown")).pipe((0,y.h)((({key:t})=>"Escape"===t)));return(0,f.T)(r,o).pipe((0,b.b)((t=>{n.dropdownBoxRef&&t.stopPropagation(),e.nativeElement.focus(),n.toggle("offsetX"in t)})))})),(0,c.sL)(this.destroyRef)).subscribe()}get elements$(){return(0,h.ll)(this.els).pipe((0,_.U)((t=>t.map((({nativeElement:t})=>t)))),(0,w.d)({bufferSize:1,refCount:!0}))}get right$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"keydown").pipe((0,y.h)((({key:t})=>"ArrowRight"===t)),(0,h.mp)(),(0,_.U)((()=>e)))))))))}get immediate$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"click").pipe((0,_.U)((()=>e)))))))))}get debounce$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,f.T)((0,h.mL)(t,"focus"),(0,h.mL)(t,"blur")).pipe((0,y.h)((({relatedTarget:t})=>this.notInDropdown(t,e))),(0,_.U)((({type:t})=>"focus"===t?e:NaN)))))))),(0,x.b)(300))}notInDropdown(t,e){return!this.dropdowns.get(e)?.dropdownBoxRef?.location.nativeElement.contains(t)}tryToFocus(t){const e=this.dropdowns.get(t)?.dropdownBoxRef?.location.nativeElement;if(!e)return;const n=(0,d.BW)({initial:e,root:e}),i=(0,d.BW)({initial:n||e,root:e});i&&i.focus()}}(o=C).ɵfac=function(t){return new(t||o)},o.ɵdir=l.lG2({type:o,selectors:[["tui-data-list","tuiDataListDropdownManager",""]],contentQueries:function(t,e,n){if(1&t&&(l.Suo(n,p.td,5),l.Suo(n,p.td,5,l.SBq)),2&t){let t;l.iGM(t=l.CRH())&&(e.dropdowns=t),l.iGM(t=l.CRH())&&(e.els=t)}},standalone:!0}),(0,a.gn)([r.UM],C.prototype,"elements$",null),(0,a.gn)([r.UM],C.prototype,"right$",null),(0,a.gn)([r.UM],C.prototype,"immediate$",null),(0,a.gn)([r.UM],C.prototype,"debounce$",null);var k=n(81695),O=n(34749),M=n(55181),S=n(10409);let A=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-fade-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiFade]{scrollbar-width:none;-ms-overflow-style:none;transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;overflow:auto;text-overflow:unset!important;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[tuiFade]::-webkit-scrollbar,[tuiFade]::-webkit-scrollbar-thumb{display:none}[tuiFade]:not([data-orientation=vertical]){overflow-y:hidden;-webkit-mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;-webkit-mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%));mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%))}[tuiFade]:not([data-orientation=vertical])._start{-webkit-mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top}[tuiFade]:not([data-orientation=vertical])._end{-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top}[tuiFade]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[tuiFade][data-orientation=vertical]{overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));-webkit-mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset));mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom;mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom}[tuiFade][data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"],encapsulation:2,changeDetection:0}),e})(),P=(()=>{var t;class e{constructor(){this.lineHeight=null,this.size="1.5em",this.offset="0em",this.orientation="horizontal";const t=(0,M.AG)();(0,r.__)(A),(0,f.T)((0,l.f3M)(O.ax),(0,l.f3M)(k.IM),(0,S.R)(t,"scroll")).pipe((0,h.fL)((0,l.f3M)(l.R0b)),(0,c.sL)()).subscribe((()=>{t.classList.toggle("_start",!!t.scrollLeft||!!t.scrollTop),t.classList.toggle("_end",this.isEnd(t))}))}isEnd(t){return"vertical"===this.orientation?Math.round(t.scrollTop)t.clientHeight+4}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiFade",""]],hostVars:9,hostBindings:function(t,e){2&t&&(l.uIk("data-orientation",e.orientation),l.Udp("line-height",e.lineHeight)("--line-height",e.lineHeight)("--fade-size",e.size)("--fade-offset",e.offset))},inputs:{lineHeight:["tuiFadeHeight","lineHeight"],size:["tuiFadeSize","size"],offset:["tuiFadeOffset","offset"],orientation:["tuiFade","orientation"]},standalone:!0,features:[l._Bn([O.ax,k.IM,{provide:k.k2,useValue:{characterData:!0,subtree:!0}}])]}),e})();var E,T=n(16931);const I=[{opacity:.06},{opacity:1}];let D=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-skeleton-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["@keyframes tuiSkeleton{0%{opacity:.03}to{opacity:.06}}[tuiSkeleton]._skeleton{color:transparent;background:var(--tui-background-base)!important;box-shadow:none!important;filter:contrast(0) brightness(0);animation:tuiSkeleton ease-in-out 1s infinite alternate}[tuiSkeleton]._skeleton[data-tui-skeleton]{background:transparent!important}[tuiSkeleton]._skeleton[data-tui-skeleton]:before{content:attr(data-tui-skeleton);background:var(--tui-background-base);font-size:smaller;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.25rem}[tuiTheme=dark] [tuiSkeleton]._skeleton,[tuiTheme=dark][tuiSkeleton]._skeleton{filter:contrast(0) brightness(0) invert(1)}\n"],encapsulation:2,changeDetection:0}),e})();class z{constructor(){this.el=(0,M.AG)(),this.duration=(0,l.f3M)(i.ZW)*T.Gc*2,this.nothing=(0,r.__)(D),this.tuiSkeleton=!1}ngOnChanges({tuiSkeleton:t}){this.animation?.cancel(),t.currentValue||t.firstChange||(this.animation=this.el.animate(I,this.duration))}getPlaceholder(t){switch(typeof t){case"number":return Array.from({length:t}).map((()=>u.f$.repeat(Math.floor(11*Math.random())+5))).join(" ");case"string":return t;default:return null}}}(E=z).ɵfac=function(t){return new(t||E)},E.ɵdir=l.lG2({type:E,selectors:[["","tuiSkeleton",""]],hostAttrs:["tuiSkeleton",""],hostVars:3,hostBindings:function(t,e){2&t&&(l.uIk("data-tui-skeleton",e.getPlaceholder(e.tuiSkeleton)),l.ekj("_skeleton",e.tuiSkeleton))},inputs:{tuiSkeleton:"tuiSkeleton"},standalone:!0,features:[l.TTD]}),(0,a.gn)([r.UM],z.prototype,"getPlaceholder",null),n(94267),n(7618)},11637:(t,e,n)=>{n.d(e,{s3:()=>l,qE:()=>O,Fu:()=>m,UV:()=>k,Hw:()=>E,LD:()=>d,zf:()=>x,Mu:()=>p,HF:()=>h,rV:()=>C,qk:()=>M,vy:()=>y,WB:()=>N,BV:()=>A,Ys:()=>R,vk:()=>H,xC:()=>V,ue:()=>v,E6:()=>P,q5:()=>_,yI:()=>S,v3:()=>$,tp:()=>T,xP:()=>I,jV:()=>b,Yq:()=>w,Z4:()=>q,_V:()=>c});var i=n(20755),r=n(43226),o=n(65026),s=n(92425),a=n(71209);const l=new i.OlP("[TUI_CALENDAR_DATE_STREAM]");function c(t){return{provide:l,deps:[[new i.FiY,new i.PiD,r.a5],[new i.FiY,t]],useFactory:u}}function u(t,e){return t?(0,o.EK)(t).pipe((0,s.U)((t=>e?e?.fromControlValue(t):t))):(0,a.of)(null)}const h=new i.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),d=new i.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),p=new i.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]");var f=n(73740),g=n(49335);const m=(0,f.N1)((0,g.v)("confirm")),v=((0,f.N1)((0,g.v)("cancel")),(0,f.N1)((0,g.v)("done")),(0,f.N1)((0,g.v)("more"))),y=(0,f.N1)((0,g.v)("hide")),b=(0,f.N1)((0,g.v)("showAll")),_=(0,f.N1)((0,g.v)("otherDate")),w=((0,f.N1)((0,g.v)("mobileCalendarTexts")),(0,f.N1)((0,g.v)("range")),(0,f.N1)((0,g.v)("countTexts")),(0,f.N1)((0,g.v)("time"))),x=(0,f.N1)((0,g.v)("dateTexts")),C=(0,f.N1)((0,g.v)("digitalInformationUnits")),k=(0,f.N1)((0,g.v)("copyTexts")),O=((0,f.N1)((0,g.v)("passwordTexts")),(0,f.N1)((0,g.v)("shortCalendarMonths"))),M=(0,f.N1)((0,g.v)("fileTexts")),S=(0,f.N1)((0,g.v)("pagination")),A=(0,f.N1)((0,g.v)("inputFileTexts")),P=(0,f.N1)((0,g.v)("multiSelectTexts")),E=(0,f.N1)((0,g.v)("countries")),T=(0,f.N1)((0,g.v)("previewTexts")),I=(0,f.N1)((0,g.v)("zoomTexts"));var D=n(28351);const z={icon:()=>"@tui.calendar",min:D.K1,max:D.Oy,nativePicker:!1},N=(0,f.JN)(z);var F=n(11892);const L={stringify:String,identityMatcher:F.bg,disabledItemHandler:F.tD},R=(0,f.JN)(L);var B=n(86253),j=n(71938);const H=new i.OlP("[TUI_MOBILE_CALENDAR]"),V={provide:j.WH,useFactory:()=>(0,i.f3M)(B.fL)&&(0,i.f3M)(H,{optional:!0})||(0,i.f3M)(j.WH,{skipSelf:!0})},$=(0,f.JN)({rotate:"@tui.rotate-ccw-square",prev:"@tui.arrow-left",next:"@tui.arrow-right",zoomIn:"@tui.plus",zoomOut:"@tui.minus",zoomReset:"@tui.minimize"}),q=(0,f.JN)({})},11978:(t,e,n)=>{n.d(e,{M$:()=>C,Xn:()=>x,m6:()=>S,sC:()=>O,F9:()=>A,D1:()=>M,rE:()=>P,wB:()=>k});var i=n(20755),r=n(10676),o=n(55181),s=n(63098),a=n(11637),l=n(83140),c=n(62022),u=n(43226),h=n(94267),d=n(11892),p=n(73740),f=n(78748),g=n(69286),m=n(73843),v=n(92425),y=n(55333),b=n(18004),_=n(84787),w=n(45047);let x=(()=>{var t;class e{constructor(){this.focusVisible=!1,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.autoIdString=`tui_interactive_${e.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocused(){return!this.computedDisabled&&(this.pseudoFocus??this.focused)}get computedFocusVisible(){return!this.computedDisabled&&(this.pseudoFocus??this.focusVisible)}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}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=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-focused",e.pseudoFocus),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"}}),e})(),C=(()=>{var t;class e extends x{constructor(){super(),this.ngControl=(0,i.f3M)(u.a5,{optional:!0}),this.refresh$=new f.x,this.onTouched=d.iD,this.onChange=d.iD,this.fallbackValue=this.getFallbackValue(),this.destroyRef=(0,i.f3M)(i.ktI),this.cdr=(0,i.f3M)(i.sBO),this.valueTransformer=(0,i.f3M)(h.R4,{optional:!0}),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(){return this.previousInternalValue??this.fallbackValue}set value(t){this.updateValue(t)}get safeCurrentValue(){return this.rawValue??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(){return this.controlName?.toString()??null}get controlName(){return this.ngControl?.name?.toString()??null}ngOnInit(){this.refresh$.pipe((0,g.g)(0),(0,m.O)(null),(0,v.U)((()=>this.ngControl?.control)),(0,y.h)(p.Pc),(0,b.x)(),(0,_.w)((t=>(0,w.T)(t.valueChanges,t.statusChanges))),(0,c.sL)(this.destroyRef)).subscribe((()=>{this.refreshLocalValue(this.safeCurrentValue)}))}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(t){this.onChange=e=>{t(this.toControlValue(e))},this.refresh$.next()}registerOnTouched(t){this.onTouched=t}setDisabledState(){this.checkControlUpdate()}writeValue(t){const e=this.ngControl instanceof u.On&&void 0===this.previousInternalValue?this.ngControl.model:t;this.refreshLocalValue(this.fromControlValue(e))}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}get rawValue(){const{ngControl:t}=this;if(null===t)return;const e=t instanceof u.On&&void 0===this.previousInternalValue?t.viewModel:t.value;return this.fromControlValue(e)}safeNgControlData(t,e){return(this.ngControl&&t(this.ngControl))??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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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]}),e})();function k(t){return(0,p.Q2)(C,t)}let O=(()=>{var t;class e{constructor(){this.idService=(0,i.f3M)(r.ll),this.datalist=null,this.el=(0,o.AG)(),this.host=(0,i.f3M)(l.S0),this.control=(0,i.f3M)(C),this.itemsHandlers=(0,i.f3M)(a.Ys),this.disabledItemHandler=null}get id(){return this.el.id||this.idService.generate()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(s.gX,7,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("id",e.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),e})(),M=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(C,{optional:!0})}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(){return this.host.value?.toString()||""}process(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})(),S=(()=>{var t;class e extends C{clear(){this.value=[]}getFallbackValue(){return[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})(),A=(()=>{var t;class e extends C{getFallbackValue(){return null}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();class P{constructor(t,e){this.item=t,this.stringify=e}toString(){return this.stringify(this.item)}}},83239:(t,e,n)=>{n.d(e,{SX:()=>m,Ii:()=>y});var i=n(76733),r=n(20755),o=n(9368),s=n(71938),a=n(16931),l=n(11978),c=n(55466),u=n(25690),h=n(73740);const d=(0,h.JN)({iconSmall:"@tui.chevron-down",iconLarge:"@tui.chevron-down"});function p(t,e){if(1&t&&r._UZ(0,"tui-icon",2),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function f(t,e){1&t&&r.GkF(0)}let g=(()=>{var t;class e{constructor(){this.control=(0,r.f3M)(l.M$,{optional:!0}),this.textfieldSize=(0,r.f3M)(c.kI),this.options=(0,r.f3M)(d),this.directive=(0,r.f3M)(s.Bb,{optional:!0})}get rotated(){return this.directive?.tuiDropdownOpen||!!this.control.pseudoOpen||!1}get small(){return!(0,a.R9)(this.textfieldSize.size)}get arrowIcon(){return this.small?this.options.iconSmall:this.options.iconLarge}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("_rotated",e.rotated)("_small",e.small)},standalone:!0,features:[r.jDz],decls:3,vars:4,consts:[[3,"icon",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"icon"]],template:function(t,e){1&t&&(r.YNc(0,p,1,1,"tui-icon",0),r.YNc(1,f,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,null==e.directive?null:e.directive.tuiDropdownOpenChange)))},dependencies:[u.s$,i.O5,i.Ov,o.R],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)}._small[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})();const m=new u.Al(g),v={interactive:m,disabled:m},y=(0,h.JN)(v)},59679:(t,e,n)=>{n.d(e,{qS:()=>i.q,_H:()=>l});var i=n(98015),r=(n(16737),n(76733)),o=n(90621),s=n(55466),a=n(20755);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[r.ez,o.KW,s.cn,s.SC]}),e})();n(58025)},98015:(t,e,n)=>{n.d(e,{q:()=>F});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11262),l=n(11892),c=n(65026),u=n(86253),h=n(58373),d=n(73740),p=n(41589),f=n(80567),g=n(11978),m=n(90621),v=n(55466),y=n(83140),b=n(25690),_=n(58025),w=n(76733),x=n(28858),C=n(9997),k=n(38001),O=n(2365),M=n(36344),S=n(77430),A=n(14863);function P(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 E(t,e){if(1&t&&(o.TgZ(0,"div",6),o.YNc(1,P,2,1,"ng-container",7),o.qZA()),2&t){o.oxw();const t=o.MAs(9);o.xp6(1),o.Q6J("polymorpheusOutlet",t)}}function T(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"section",8)(1,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(2," + "),o.qZA(),o.TgZ(3,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(-e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(4," - "),o.qZA()()}if(2&t){const t=o.oxw(),e=o.MAs(1);o.xp6(1),o.Q6J("appearance",e.appearance)("disabled",!t.canIncrement)("iconLeft",t.icons.up),o.xp6(2),o.Q6J("appearance",e.appearance)("disabled",!t.canDecrement)("iconLeft",t.icons.down)}}function I(t,e){1&t&&o.GkF(0)}function D(t,e){1&t&&o.Hsn(0,2)}const z=["*",[["input"]],[["tuiContent"]]],N=new o.OlP("");class F extends g.F9{constructor(){super(...arguments),this.isIOS=(0,o.f3M)(u.FA),this.textfieldSize=(0,o.f3M)(v.kI),this.options=(0,o.f3M)(_.vy),this.unfinishedValue="",this.polymorpheusValueContent=l.Mm,this.valueTransformer=(0,o.f3M)(N,{optional:!0}),this.numberFormat=p.Jl,this.controller=(0,o.f3M)(v.Cs),this.numberFormat$=(0,o.f3M)(p.HO).pipe((0,c.NA)(this.cdr),(0,s.sL)()).subscribe((t=>{this.numberFormat=t})),this.min=this.options.min,this.max=this.options.max,this.step=this.options.step}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){return!!this.textfield?.focused}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":this.precision?"decimal":"numeric"}get calculatedMaxLength(){return 18+(this.precision&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}onValueChange(t){const e=(0,a.vZ)(t,this.numberFormat.decimalSeparator);if(this.unfinishedValue=null,!Number.isNaN(e))return this.isNativeValueNotFinished?(this.unfinishedValue=t,void this.cdr.markForCheck()):void(ethis.computedMax||(this.value=e));this.value=null}writeValue(t){super.writeValue(t),this.nativeValue=this.formattedValue}get size(){return this.textfieldSize.size}get icons(){return this.options.icons}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get isNegativeAllowed(){return this.computedMin<0}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax:t[s.length,t.length-l.length]))]}}}(i=F).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-input-number"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,b.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.polymorpheusValueContent=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(m.yc,5),2&t){let t;o.iGM(t=o.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&o.NdJ("keydown.arrowDown",(function(){return e.onArrow(-e.step)}))("keydown.arrowUp",(function(){return e.onArrow(e.step)})),2&t&&o.uIk("data-size",e.size)},inputs:{min:"min",max:"max",step:"step"},features:[o._Bn([(0,y.FT)(i),(0,g.wB)(i),v.Y0]),o.qOj],ngContentSelectors:["*","input","tuiContent"],decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tabindex","-1","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","iconLeft","click.prevent","mousedown.prevent"]],template:function(t,e){1&t&&(o.F$t(z),o.TgZ(0,"tui-primitive-textfield",0,1),o.NdJ("focusedChange",(function(t){return e.onFocused(t)}))("valueChange",(function(t){return e.onValueChange(t)})),o.Hsn(2),o.Hsn(3,1,["ngProjectAs","input",5,["input"]]),o.YNc(4,E,2,1,"div",2),o.qZA(),o.YNc(5,T,5,6,"section",3),o.YNc(6,I,1,0,"ng-container",4),o.ALo(7,"async"),o.YNc(8,D,1,0,"ng-template",null,5,o.W1O)),2&t&&(o.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("invalid",e.computedInvalid)("maskito",e.mask)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.computedValue),o.xp6(4),o.Q6J("ngIf",e.polymorpheusValueContent.length),o.xp6(1),o.Q6J("ngIf",e.step),o.xp6(1),o.Q6J("ngIf",o.lcZ(7,12,e.polymorpheusValueContent.changes)))},dependencies:[w.O5,x.ro,C.y,k.B,O.A,M.T,b.s$,S.n,A.x,w.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;align-items:center;justify-content:center;border-radius:0}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,r.gn)([d.UM],F.prototype,"computeMin",null),(0,r.gn)([d.UM],F.prototype,"computeMax",null),(0,r.gn)([d.UM],F.prototype,"calculateMask",null)},16737:(t,e,n)=>{n.d(e,{g:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}ngDoCheck(){this.host.nativeFocusableElement&&(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input-number"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},58025:(t,e,n)=>{n.d(e,{vy:()=>o});var i=n(73740);const r={icons:{up:"@tui.plus",down:"@tui.minus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0},o=(0,i.JN)(r)},71918:(t,e,n)=>{n.d(e,{Qf:()=>s}),n(14814),n(5583);var i=n(76733),r=n(90621),o=n(20755);n(71938);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({imports:[i.ez,r.KW]}),e})()},14814:(t,e,n)=>{n.d(e,{K:()=>y});var i=n(20755),r=n(52674),o=n(63098),s=n(71938),a=n(11978),l=n(90621),c=n(55466),u=n(83140),h=n(82673),d=n(9997),p=n(38001),f=n(10938),g=n(1);const m=["*",[["input"]]],v=["*","input"];let y=(()=>{var t;class e extends a.M${constructor(){super(...arguments),this.textfieldSize=(0,i.f3M)(c.kI),this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,r.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}handleOption(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}onValueChange(t){this.value=t,this.open=!0}get canOpen(){return this.interactive&&!!this.datalist}onActiveZone(t){this.updateFocused(t)}getFallbackValue(){return""}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}setNativeValue(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-input"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,o.gX,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(s.Bb,5),i.Gf(l.yc,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.dropdown=t.first),i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([c.E2,(0,u.FT)(t),(0,o.oE)(t),(0,a.wB)(t)],[h.yn]),i.qOj],ngContentSelectors:v,decls:4,vars:11,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(m),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA()()),2&t&&(i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.canOpen)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},dependencies:[d.y,p.B,f.t,g.B],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}),e})()},5583:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},90621:(t,e,n)=>{n.d(e,{iQ:()=>i.i,yc:()=>i.y,KW:()=>c,MB:()=>u.M});var i=n(9997),r=(n(38001),n(76733)),o=n(43226),s=n(61573),a=n(44806),l=n(20755);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=l.oAB({type:t}),t.ɵinj=l.cJS({imports:[r.ez,o.u5,a.W,s.R]}),e})();n(55466);var u=n(20633);n(21842)},9997:(t,e,n)=>{n.d(e,{i:()=>H,y:()=>V});var i,r=n(84911),o=n(20755),s=n(55181),a=n(52674),l=n(73740),c=n(2239),u=n(75430),h=n(11978),d=n(55466),p=n(83140),f=n(82673),g=n(25690),m=n(10409),v=n(92425),y=n(76733),b=n(43226),_=n(5362),w=n(70380),x=n(8355),C=n(93714),k=n(21842);const O=["focusableElement"];function M(t,e){1&t&&o.GkF(0)}function S(t,e){1&t&&o.GkF(0)}function A(t,e){1&t&&(o.TgZ(0,"div",17),o.Hsn(1,2),o.qZA())}function P(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}const E=function(t){return{$implicit:t}};function T(t,e){if(1&t&&(o.TgZ(0,"div",18),o.YNc(1,P,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconLeftContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function I(t,e){if(1&t&&(o.TgZ(0,"label",21),o.Hsn(1,3),o.qZA()),2&t){const t=o.oxw();o.ekj("t-placeholder_raised",t.placeholderRaised),o.Q6J("for",t.computedId)}}function D(t,e){if(1&t&&o._UZ(0,"tui-icon",24),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t)}}function z(t,e){if(1&t&&(o.TgZ(0,"div",22),o.YNc(1,D,1,1,"tui-icon",23),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.controller.customContent)}}function N(t,e){if(1&t&&o._UZ(0,"tui-icon",27),2&t){const t=e.polymorpheusOutlet;o.Udp("border","0.25rem solid transparent"),o.Q6J("icon",t.toString())}}function F(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"span",25),o.NdJ("click.stop",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.clear())})),o.YNc(1,N,1,3,"tui-icon",26),o.qZA()}if(2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconCleaner||t.controller.options.iconCleaner)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function L(t,e){if(1&t&&o._UZ(0,"tui-tooltip",28),2&t){const t=o.oxw();o.Q6J("content",null==t.hintOptions?null:t.hintOptions.content)("describeId",t.computedId)}}function R(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}function B(t,e){if(1&t&&(o.TgZ(0,"div",29),o.YNc(1,R,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}const j=[[["input"]],[["select"]],[["tuiContent"]],"*"],H={s:1.25,m:1.75,l:2.25};class V extends h.Xn{constructor(){super(...arguments),this.legacyOptions=(0,o.f3M)(d.z1),this.el=(0,s.AG)(),this.options=(0,o.f3M)(c.z1),this.controller=(0,o.f3M)(d.Cs),this.hintOptions=(0,o.f3M)(u.bZ,{optional:!0}),this.autofilled=!1,this.editable=!0,this.iconCleaner=this.legacyOptions.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.value="",this.valueChange=new o.vpe}get prefix(){return this.controller.prefix}get postfix(){return this.controller.postfix}get filler(){return 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,a.zb)(this.el)}get appearance(){return"table"===this.options.appearance?"table":this.controller.appearance}onModelChange(t){this.updateValue(t)}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){return!!this.content?.length}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,f._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){return!!this.hintOptions?.content&&!this.computedDisabled}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){const t=(this.nativeFocusableElement?.placeholder||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!t}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){return!!this.hintOptions?.content&&(this.legacyOptions.hintOnDisabled||!this.computedDisabled)}get name(){return"cc-exp"===this.nativeFocusableElement?.autocomplete?"ccexpiryyear":null}get computedId(){return this.nativeFocusableElement?.id||""}onFocused(t){this.updateFocused(t)}getIndent$(t){return(0,m.R)(t,"scroll").pipe((0,v.U)((()=>-1*Math.max(t.scrollLeft,0))))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(t){const{nativeFocusableElement:e}=this;e&&t.target!==e&&(t.preventDefault(),e.focus())}onAutofilled(t){this.updateAutofilled(t)}detectRetargetFromLabel(t){(0,s.UP)(t)&&t.stopImmediatePropagation()}get iconPaddingLeft(){return H[this.size]}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)}}(i=V).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,g.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.content=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(O,5),2&t){let t;o.iGM(t=o.CRH())&&(e.focusableElement=t.first)}},hostVars:15,hostBindings:function(t,e){1&t&&o.NdJ("focusin",(function(){return e.onFocused(!0)}))("focusout",(function(){return e.onFocused(!1)})),2&t&&(o.uIk("data-size",e.size),o.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),o.ekj("_autofilled",e.autofilled)("_label-outside","table"===e.options.appearance||e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},features:[o._Bn([(0,p.FT)(i),d.Y0]),o.qOj],ngContentSelectors:["input","select","tuiContent","*"],decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown"],["automation-id","tui-primitive-textfield__native-input",1,"t-input",3,"disabled","id","ngModel","readOnly","tabIndex","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"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",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"],["tuiAppearance","icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiAppearance","icon",3,"icon"],["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,"icon",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"icon"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"icon","border",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"icon"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(o.F$t(j),o.YNc(0,M,1,0,"ng-container",0),o.ALo(1,"async"),o.YNc(2,S,1,0,"ng-container",0),o.ALo(3,"async"),o.TgZ(4,"div",1),o.NdJ("click.prevent.silent",(function(t){return e.detectRetargetFromLabel(t)}))("mousedown",(function(t){return e.onMouseDown(t)})),o.ALo(5,"async"),o.Hsn(6),o.Hsn(7,1),o.TgZ(8,"input",2,3),o.NdJ("ngModelChange",(function(t){return e.onModelChange(t)})),o.qZA(),o.YNc(10,A,2,0,"div",4),o.TgZ(11,"div",5),o.YNc(12,T,2,4,"div",6),o.TgZ(13,"div",7),o.YNc(14,I,2,3,"label",8),o.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),o.ALo(18,"async"),o.qZA()()(),o.TgZ(19,"div",12),o.YNc(20,z,2,1,"div",13),o.YNc(21,F,2,4,"span",14),o.YNc(22,L,1,2,"tui-tooltip",15),o.YNc(23,B,2,4,"div",16),o.qZA()()()),2&t){const t=o.MAs(9),n=o.MAs(17);o.Q6J("ngIf",o.lcZ(1,29,null==e.content?null:e.content.changes)),o.xp6(2),o.Q6J("ngIf",o.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),o.xp6(2),o.Udp("--text-indent",o.lcZ(5,33,n.pre$),"px"),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),o.xp6(4),o.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tabIndex",e.computedFocusable?0:-1),o.uIk("aria-invalid",e.computedInvalid)("name",e.name),o.xp6(2),o.Q6J("ngIf",e.inputHidden),o.xp6(2),o.Q6J("ngIf",e.iconLeftContent),o.xp6(2),o.Q6J("ngIf",e.hasPlaceholder),o.xp6(2),o.Udp("text-indent",o.lcZ(18,35,e.getIndent$(t)),"px"),o.ekj("t-has-value",e.value),o.xp6(4),o.Q6J("ngIf",e.hasCustomContent),o.xp6(1),o.Q6J("ngIf",e.hasCleaner),o.xp6(1),o.Q6J("ngIf",e.showHint),o.xp6(1),o.Q6J("ngIf",e.iconContent)}},dependencies:[y.O5,b.Fj,b.JJ,b.On,g.s$,_.o,w.w,x.R,C.N,k.Z,y.Ov],styles:['[_nghost-%COMP%]{position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){.t-input[_ngcontent-%COMP%]:active{font-size:1rem}}.t-input[inputMode=none][_ngcontent-%COMP%]{caret-color:transparent}.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-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .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=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]{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%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-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%;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=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;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-status-negative)}._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-tertiary)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[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-primary)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto;border:.25rem solid transparent}._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;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size=s]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}[data-size=s][_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}.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-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;padding-inline-end:0}.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)([l.UM],V.prototype,"getIndent$",null)},38001:(t,e,n)=>{n.d(e,{B:()=>a});var i=n(20755),r=n(11978),o=n(83140),s=n(9997);let a=(()=>{var t;class e extends r.D1{constructor(){super(...arguments),this.host=(0,i.f3M)(s.y)}get readOnly(){return this.host.readOnly||!this.host.editable}onValueChange(t){this.host.onModelChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[i._Bn([(0,o.cp)(t)]),i.qOj]}),e})()},20633:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(20755),r=n(10676),o=n(55181),s=n(55466),a=n(83140);const l=["tuiTextfieldLegacy",""];let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.idService=(0,i.f3M)(r.ll),this.controller=(0,i.f3M)(s.Cs),this.host=(0,i.f3M)(a.S0),this.host.process(this.el)}get id(){return this.el.id||this.idService.generate()}get inputMode(){return this.el.inputMode||this.host.inputMode}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","tuiTextfieldLegacy",""],["textarea","tuiTextfieldLegacy",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("input",(function(t){return 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([s.Y0])],attrs:l,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){[_nghost-%COMP%]:active{font-size:1rem}}[inputMode=none][_nghost-%COMP%]{caret-color:transparent}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_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}[_nghost-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_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=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost{padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-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}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),e})()},21842:(t,e,n)=>{n.d(e,{Z:()=>d});var i=n(20755),r=n(83140),o=n(56424),s=n(45047),a=n(69286),l=n(55333),c=n(92425),u=n(18004);const h=["pre"];let d=(()=>{var t;class e{constructor(){this.textfield=(0,i.f3M)(r.KZ),this.fontsReady$=(0,i.f3M)(r.tS),this.prefix$=new o.X(""),this.pre$=(0,s.T)(this.fontsReady$,this.prefix$).pipe((0,a.g)(0),(0,l.h)((()=>!!this.pre?.nativeElement.isConnected)),(0,c.U)((()=>this.pre?.nativeElement.offsetWidth||0)),(0,u.x)())}ngDoCheck(){this.prefix$.next(this.prefix)}get isContextTable(){return"table"===this.textfield.appearance}get filler(){const{focused:t,placeholder:e,exampleText:n,value:i,textfield:r}=this;return e&&n?"":t?n||r.filler.slice(i.length):""}get value(){return this.textfield.value}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}get placeholder(){return this.textfield.nativeFocusableElement?.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=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){if(1&t&&i.Gf(h,7,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.pre=t.first)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("animationstart",(function(){return e.ngDoCheck()})),2&t&&i.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&i._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(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;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-tertiary);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-primary)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),e})()},76459:(t,e,n)=>{n.d(e,{Q4:()=>O,TA:()=>k,Ig:()=>M});var i=n(20755),r=n(43226),o=n(11892),s=n(65026),a=n(55181),l=n(73740),c=n(63098),u=n(41589),h=n(11978),d=n(25690),p=n(78748),f=n(45047),g=n(30453),m=n(73843),v=n(92425),y=n(18004),b=n(76733),_=n(46877),w=n(8355);function x(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=i.oxw();i.Q6J("icon",t.icons.check)("tuiScrollIntoView",!0)}}function C(t,e){1&t&&i._UZ(0,"span",4)}let k=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(c.N1),this.el=(0,a.AG)(),this.changeDetection$=new p.x,this.abstractControl=(0,i.f3M)(h.M$,{optional:!0}),this.control=(0,i.f3M)(r.a5),this.option=(0,i.f3M)(c.bH),this.dataList=(0,i.f3M)(c.qi,{optional:!0}),this.icons=(0,i.f3M)(u.Gs),this.context=(0,i.f3M)(d.yf),this.selected$=(0,f.T)(this.changeDetection$,this.control.valueChanges||g.E,(0,s.mL)(this.el,"animationstart")).pipe((0,m.O)(null),(0,v.U)((()=>this.selected)),(0,y.x)())}ngOnInit(){Promise.resolve().then((()=>{(0,l.Pc)(this.option.value)&&!this.option.disabled&&this.host.checkOption?.(this.option.value)}))}ngDoCheck(){this.changeDetection$.next()}get value(){return this.abstractControl?.value??this.control.value}get matcher(){return this.host.identityMatcher||o.bg}get selected(){return(0,l.Pc)(this.option.value)&&(0,l.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"icon","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"icon","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(i.GkF(0,0),i.YNc(1,x,1,2,"tui-icon",1),i.ALo(2,"async"),i.YNc(3,C,1,0,"ng-template",null,2,i.W1O)),2&t){const t=i.MAs(4);i.Q6J("ngTemplateOutlet",e.context.$implicit),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,3,e.selected$))("ngIfElse",t)}},dependencies:[b.O5,b.tP,_._,w.R,b.Ov],styles:['@keyframes _ngcontent-%COMP%_retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:_ngcontent-%COMP%_retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{margin-inline-start:auto;width:1.75rem;border:.25rem solid transparent;border-inline-start-width:.5rem}tui-data-list[data-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.375rem}tui-data-list[data-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),e})();const O=new d.Al(k);let M=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[b.ez]}),e})()},83368:(t,e,n)=>{n.d(e,{Jy:()=>l}),n(73740),n(63098),n(11978),n(19975),n(67917),n(61819),n(26505),n(61122);var i=n(76733),r=n(90621),o=n(76459),s=n(55466),a=n(20755);n(71938),n(94187);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[i.ez,r.KW,o.Ig,s.WU,s.cn]}),e})();n(46914)},26505:(t,e,n)=>{n.d(e,{u:()=>F});var i=n(20755),r=n(86253),o=n(52674),s=n(63098),a=n(71938),l=n(11637),c=n(11978),u=n(83239),h=n(90621),d=n(76459),p=n(55466),f=n(83140),g=n(82673),m=n(46914),v=n(76733),y=n(25690),b=n(9997),_=n(38001),w=n(5362),x=n(20857),C=n(60732),k=n(10938),O=n(1);function M(t,e){1&t&&i.Hsn(0,2,["*ngIf","isMobile"])}function S(t,e){if(1&t&&i.YNc(0,M,1,0,"ng-content",6),2&t){const t=i.oxw();i.Q6J("ngIf",t.isMobile)}}function A(t,e){1&t&&i.GkF(0,7)}function P(t,e){if(1&t&&i._UZ(0,"div",10),2&t){const t=e.polymorpheusOutlet;i.Q6J("textContent",t)}}const E=function(t,e){return{$implicit:t,active:e}};function T(t,e){if(1&t&&(i.TgZ(0,"div",8),i.YNc(1,P,1,1,"div",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.computedContent)("polymorpheusOutletContext",i.WLB(2,E,t.value,t.computedFocused))}}function I(t,e){1&t&&i.GkF(0)}function D(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,I,1,0,"ng-container",12),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.arrow)}}const z=["*",[["input"]],[["select"]]],N=["*","input","select"];let F=(()=>{var t;class e extends c.F9{constructor(){super(...arguments),this.itemsHandlers=(0,i.f3M)(l.Ys),this.textfieldCleaner=(0,i.f3M)(p.Ym),this.textfieldSize=(0,i.f3M)(p.kI),this.arrowMode=(0,i.f3M)(u.Ii),this.options=(0,i.f3M)(m.l),this.isMobile=(0,i.f3M)(r.fL),this.open=!1,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.textfield?.nativeFocusableElement??null}get focused(){return(0,o.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}onValueChange(t){this.value=t||null}handleOption(t){this.focusInput(),this.value=t,this.open=!1}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedContent(){return this.valueContent||this.computedValue}onActiveZone(t){this.updateFocused(t)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,c.sC,7),i.Suo(n,s.gX,5,i.Rgc)),2&t){let t;i.iGM(t=i.CRH())&&(e.nativeSelect=t.first),i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(h.yc,5),i.Gf(a.Bb,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first),i.iGM(t=i.CRH())&&(e.dropdown=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[i._Bn([(0,f.FT)(t),(0,c.wB)(t),(0,s.oE)(t),(0,s.P7)(d.Q4)],[g.yn]),i.qOj],ngContentSelectors:N,decls:10,vars:16,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(i.F$t(z),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("keydown.backspace.prevent",(function(){return e.onKeyDownDelete()}))("keydown.delete.prevent",(function(){return e.onKeyDownDelete()}))("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,S,1,1,"ng-template",null,2,i.W1O),i.YNc(6,A,1,0,"ng-container",3),i.YNc(7,T,2,5,"div",4),i.qZA(),i.YNc(8,D,2,1,"ng-template",null,5,i.W1O),i.qZA()),2&t){const t=i.MAs(5),n=i.MAs(9);i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.interactive&&!e.nativeDropdownMode)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?n:"")("value",e.computedValue),i.xp6(5),i.Q6J("ngTemplateOutlet",t),i.xp6(1),i.Q6J("ngIf",null!==e.value)}},dependencies:[v.O5,v.tP,y.s$,b.y,_.B,w.o,x.A,C.C,k.t,O.B],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}),e})()},61122:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-select"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},46914:(t,e,n)=>{n.d(e,{l:()=>i});const i=(0,n(73740).JN)({valueContent:""})},61573:(t,e,n)=>{n.d(e,{R:()=>o}),n(70380);var i=n(76733),r=n(20755);n(75430);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({imports:[i.ez]}),e})()},70380:(t,e,n)=>{n.d(e,{w:()=>p});var i=n(20755),r=n(86253),o=n(75430),s=n(8355),a=n(25690),l=n(93714),c=n(25932),u=n(7183),h=n(76733);function d(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=e.polymorpheusOutlet;i.Q6J("icon",t)}}let p=(()=>{var t;class e extends o.bZ{constructor(){super(...arguments),this.isMobile=(0,i.f3M)(r.fL),this.describeId=""}get computedAppearance(){return this.appearance||""}stopOnMobile(t){this.isMobile&&(t.preventDefault(),t.stopPropagation()),this.driver$?.toggle()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(t,e){if(1&t&&i.Gf(o.Hr,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",context:"context"},features:[i.qOj],decls:4,vars:11,consts:[["automation-id","tui-tooltip__icon","tuiAppearance","icon",1,"t-tooltip-icon",3,"tuiAppearanceState","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"]],template:function(t,e){if(1&t&&(i.TgZ(0,"span",0,1),i.ALo(2,"async"),i.YNc(3,d,1,1,"tui-icon",2),i.qZA()),2&t){const t=i.MAs(1);i.Q6J("tuiAppearanceState",i.lcZ(2,9,t)?"hover":null)("tuiHint",e.content)("tuiHintAppearance",e.computedAppearance)("tuiHintContext",e.context)("tuiHintDescribe",e.describeId)("tuiHintDirection",e.direction)("tuiHintHideDelay",e.hideDelay)("tuiHintShowDelay",e.showDelay),i.xp6(3),i.Q6J("polymorpheusOutlet",e.icon)}},dependencies:[s.R,a.s$,l.N,c.D,u.e,h.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;pointer-events:auto;cursor:pointer;color:var(--tui-text-primary)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-status-negative)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%}.t-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})()},55466:(t,e,n)=>{n.d(e,{Y0:()=>r.Y0,Ym:()=>r.Ym,z1:()=>r.z1,kI:()=>r.kI,Cs:()=>r.Cs,E2:()=>a.E,Cd:()=>i.C,cn:()=>r.cn,SC:()=>s,WU:()=>l.W});var i=n(60732),r=n(71641);n(94267),n(55181),n(73740),n(83140),n(77430);var o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({}),e})();var a=n(33490),l=n(44806)},60732:(t,e,n)=>{n.d(e,{C:()=>c});var i=n(20755),r=n(62022),o=n(55181),s=n(52674),a=n(71938),l=n(55333);let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.host=(0,i.f3M)(a.Bb,{self:!0}),this.external=(0,i.f3M)(a.Bb,{skipSelf:!0,optional:!0}),this.external?.driver.pipe((0,l.h)((()=>this.host.dropdown===this.external?.dropdown&&!this.host.focused)),(0,r.sL)()).subscribe((t=>{t&&(0,s.BW)({initial:this.el,root:this.el})?.focus(),this.host.toggle(t)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],standalone:!0}),e})()},71641:(t,e,n)=>{n.d(e,{Y0:()=>C,Ym:()=>o.Y,z1:()=>i,kI:()=>w.k,Cs:()=>x,cn:()=>a});const i=(0,n(73740).JN)({iconCleaner:"@tui.x",hintOnDisabled:!1});var r=n(75086),o=n(70388),s=n(20755);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=s.oAB({type:t}),t.ɵinj=s.cJS({}),e})();var l=n(62022),c=n(65026),u=n(83140),h=n(45047),d=n(14553);class p{constructor(t,e,n,i,r,o,s,a,l,c,u,h,d){this.change$=t,this.options=e,this.legacyAppearance=n,this.appearanceDirective=i,this.cleanerDirective=r,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}}var f=n(54447),g=n(23127),m=n(20857),v=n(28021),y=n(97017),b=n(36344),_=n(2365),w=n(62515);const x=new s.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),C=[{provide:x,deps:[s.sBO,i,u.jt,r.x,o.Y,f.U,m.Z,v.G,y.r,w.k,_.x,b.f,g.s],useFactory:(t,e,n,...i)=>{const r=(0,h.T)(...i.map((({change$:t})=>t||d.C))).pipe((0,c.NA)(t),(0,l.sL)());return r.subscribe(),new p(r,e,n,...i)}}]},75086:(t,e,n)=>{n.d(e,{q:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.appearance=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},70388:(t,e,n)=>{n.d(e,{Y:()=>s,b:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.cleaner=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},54447:(t,e,n)=>{n.d(e,{B:()=>a,U:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},23127:(t,e,n)=>{n.d(e,{k:()=>a,s:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.filler=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},28021:(t,e,n)=>{n.d(e,{G:()=>s,a:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},20857:(t,e,n)=>{n.d(e,{A:()=>a,Z:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},97017:(t,e,n)=>{n.d(e,{r:()=>s,x:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},36344:(t,e,n)=>{n.d(e,{T:()=>a,f:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.postfix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},2365:(t,e,n)=>{n.d(e,{A:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.prefix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},62515:(t,e,n)=>{n.d(e,{k:()=>s,s:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.size="l"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},77430:(t,e,n)=>{n.d(e,{n:()=>o});var i=n(33490),r=n(20755);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[r._Bn([i.E])]}),e})()},33490:(t,e,n)=>{n.d(e,{E:()=>a});var i=n(20755),r=n(43226),o=n(83140),s=n(69401);const a={provide:o.sE,deps:[[new i.FiY,new i.PiD,r.JU]],useFactory:s.y}},5362:(t,e,n)=>{n.d(e,{o:()=>r});var i=n(20755);let r=(()=>{var t;class e{constructor(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.appearance)("data-state",e.interactiveState),i.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"}}),e})()},44806:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})()},83140:(t,e,n)=>{n.d(e,{iN:()=>r,KZ:()=>s,tS:()=>d,It:()=>p,hm:()=>v,jt:()=>y,S0:()=>b,sE:()=>w,FT:()=>a,cp:()=>_});var i=n(73740);const r=(0,i.JN)({AD:"+376###-###",AE:"+971-##-###-####",AF:"+93##-###-####",AG:"+1(268) ###-####",AI:"+1(264) ###-####",AL:"+355(###) ###-###",AM:"+374##-###-###",AO:"+244(###) ###-###",AR:"+54(###) ####-####",AT:"+43(###) ###-####",AU:"+61#-####-####",AW:"+297###-####",AZ:"+994##-###-##-##",BA:"+387 ###-####-##",BB:"+1(246) ###-####",BD:"+880##-###-###",BE:"+32(###) ###-###",BF:"+226##-##-####",BG:"+359(###) ###-###",BH:"+973####-####",BI:"+257##-##-####",BJ:"+229##-##-####",BL:"+590 ## ## ## ## ##",BM:"+1(441) ###-####",BN:"+673###-####",BO:"+591#-###-####",BQ:"+599-###-####",BR:"+55(##) ####-####",BS:"+1(242) ###-####",BT:"+975#-###-###",BW:"+267##-###-###",BY:"+375(##) ###-##-##",BZ:"+501###-####",CA:"+1(###) ###-####",CD:"+243(###) ###-###",CF:"+236-##-##-####",CG:"+242##-###-####",CH:"+41##-###-####",CI:"+225##-##-###-###",CL:"+56#-####-####",CM:"+237#####-####",CN:"+86(###) ####-####",CO:"+57(###) ###-####",CR:"+506####-####",CU:"+53#-###-####",CV:"+238(###) ##-##",CW:"+5999-###-####",CY:"+357##-###-###",CZ:"+420(###) ###-###",DE:"+49(###) ###-###-##",DJ:"+253##-##-##-##",DK:"+45##-##-##-##",DM:"+1(767) ###-####",DO:"+1(###) ###-####",DZ:"+213##-###-####",EC:"+593##-###-####",EE:"+372####-####",EG:"+20(###) ###-####",ER:"+291#-###-###",ES:"+34(###) ###-###",ET:"+251##-###-####",FI:"+358(###) ###-##-##",FJ:"+679##-#####",FK:"+500#####",FM:"+691###-####",FR:"+33 ## ## ## ## ##",GA:"+241##-##-##-##",GB:"+44##-####-####",GD:"+1(473) ###-####",GE:"+995(###) ###-###",GF:"+594 ## ## ## ## ##",GH:"+233(###) ###-###",GI:"+350###-#####",GL:"+299##-##-##",GM:"+220(###) ##-##",GN:"+224##-###-###",GP:"+590 ## ## ## ## ##",GQ:"+240##-###-####",GR:"+30(###) ###-####",GT:"+502#-###-####",GW:"+245#-######",GY:"+592###-####",HK:"+852####-####",HN:"+504####-####",HR:"+385##-###-####",HT:"+509##-##-####",HU:"+36(###) ###-###",ID:"+62(###) ###-##-###",IE:"+353(###) ###-###",IL:"+972##-###-####",IN:"+91(####) ###-###",IQ:"+964(###) ###-####",IR:"+98(###) ###-####",IS:"+354###-####",IT:"+39(###) ####-###",JM:"+1(876) ###-####",JO:"+962#-####-####",JP:"+81-##-####-####",KE:"+254###-######",KG:"+996(###) ###-###",KH:"+855##-###-###",KM:"+269##-#####",KN:"+1(869) ###-####",KP:"+850####-#############",KR:"+82##-###-####",KW:"+965####-####",KY:"+1(345) ###-####",KZ:"+7(###) ###-##-##",LA:"+856##-##-###-###",LB:"+961##-###-###",LC:"+1(758) ###-####",LI:"+423(###) ###-####",LK:"+94##-###-####",LR:"+231##-###-###",LS:"+266#-###-####",LT:"+370(###) ##-###",LU:"+352(###) ###-###",LV:"+371##-###-###",LY:"+218##-###-####",MA:"+212##-####-###",MC:"+377###-###-###",MD:"+373####-####",ME:"+382##-###-###",MF:"+590 ## ## ## ## ##",MG:"+261##-##-#####",MK:"+389##-###-###",ML:"+223##-##-####",MM:"+95##-###-###",MN:"+976##-##-####",MO:"+853####-####",MQ:"+596 ## ## ## ## ##",MR:"+222##-##-####",MS:"+1(664) ###-####",MT:"+356####-####",MU:"+230####-####",MV:"+960###-####",MW:"+265#-####-####",MX:"+52(###) ###-####",MY:"+60(###) ###-###",MZ:"+258##-###-###",NA:"+264##-###-####",NC:"+687 ### ###",NE:"+227##-##-####",NG:"+234(###) ###-####",NI:"+505####-####",NL:"+31##-###-####",NO:"+47(###) ##-###",NP:"+977##-###-###",NZ:"+64(###) ###-####",OM:"+968##-###-###",PA:"+507###-####",PE:"+51(###) ###-###",PF:"+689 ## ## ## ##",PG:"+675(###) ##-###",PH:"+63(###) ###-####",PK:"+92(###) ###-####",PL:"+48(###) ###-###",PT:"+351##-###-####",PW:"+680###-####",PY:"+595(###) ###-###",QA:"+974####-####",RE:"+262 ## ## ## ## ##",RO:"+40##-###-####",RS:"+381##-###-####",RU:"+7### ###-##-##",RW:"+250(###) ###-###",SA:"+966#-####-####",SB:"+677###-####",SC:"+248#-###-###",SD:"+249##-###-####",SE:"+46##-###-####",SG:"+65####-####",SH:"+290####",SI:"+386##-###-###",SK:"+421(###) ###-###",SL:"+232##-######",SM:"+378####-######",SN:"+221##-###-####",SO:"+252##-###-###",SR:"+597###-####",ST:"+239##-#####",SV:"+503##-##-####",SX:"+1(721) ###-####",SY:"+963##-####-###",SZ:"+268##-##-####",TC:"+1(649) ###-####",TD:"+235##-##-##-##",TG:"+228##-###-###",TH:"+66##-###-####",TJ:"+992##-###-####",TL:"+670###-#####",TM:"+993#-###-####",TN:"+216##-###-###",TO:"+676#####",TR:"+90(###) ###-####",TT:"+1(868) ###-####",TW:"+886#-####-####",TZ:"+255##-###-####",UA:"+380(##) ###-##-##",UG:"+256(###) ###-###",US:"+1(###) ###-####",UY:"+598#-###-##-##",UZ:"+998##-###-####",VC:"+1(784) ###-####",VE:"+58(###) ###-####",VG:"+1(284)###-####",VN:"+84(###) ####-###",VU:"+678##-#####",WS:"+685##-####",XK:"+383##-###-###",YE:"+967###-###-###",YT:"+262 ## ## ## ## ##",ZA:"+27##-###-####",ZM:"+260##-###-####",ZW:"+263#-######",VA:"+39 #### ###-####",WF:"+681 ## ##-##",VI:"+1(340) ###-####",JE:"+44(####) ######",AC:"+247###-####",TV:"+686###-####",TK:"+690###-####",TA:"+290###-####",SS:"+211### ###-###",SJ:"+47 ## ##-##-##",PS:"+970 #### ###-###",PR:"+1(###) ###-####",PM:"+508 ### ##-##-##",NU:"+683 ###-####",NR:"+674 ###-####",NF:"+672##-####",MP:"+1(670) ###-####",MH:"+692 ###-####",KI:"+686 ####-####",IO:"+246 ### ####",IM:"+44(####) ######",GU:"+1(###) ###-###",GG:"+44(###) ###-####",FO:"+298 ######",EH:"+212 #### #####",CX:"+61 # ####-####",CK:"+682 ## ###",CC:"+61 # ####-####",AX:"+358 ## ###-####",AS:"+1(###) ###-####"});var o=n(20755);const s=new o.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function a(t){return(0,i.Q2)(s,t)}var l=n(76733),c=n(3489),u=n(30453),h=n(20530);const d=new o.OlP("[TUI_FONTS_READY]",{factory:()=>(0,c.D)((0,o.f3M)(l.K0).fonts?.ready||u.E).pipe((0,h.d)({bufferSize:1,refCount:!1}))}),p=(0,i.JN)({});var f=n(42772),g=n(82673);(0,i.N1)((()=>(0,g.lx)((0,o.f3M)(f.s5)))),(0,i.N1)((()=>!!(0,o.f3M)(f.m9).chrome)),(0,i.N1)((()=>void 0!==(0,o.f3M)(f.m9)?.mozCancelFullScreen)),(0,i.N1)((()=>(0,o.f3M)(f.m9).location.host.endsWith("stackblitz.io")));var m=n(15625);n(92425),n(71209),new o.OlP("[TUI_MONTH_FORMATTER]"),m.$;const v=new o.OlP("[TUI_SANITIZER]"),y=(0,i.JN)("textfield"),b=new o.OlP("[TUI_TEXTFIELD_HOST]");function _(t){return(0,i.Q2)(b,t)}(0,i.N1)((()=>(0,o.f3M)(f.m9).matchMedia("(any-pointer: coarse)").matches));const w=new o.OlP("[TUI_VALUE_ACCESSOR]")},82673:(t,e,n)=>{n.d(e,{yn:()=>C,uJ:()=>c,ux:()=>i,_X:()=>a,fn:()=>l,ht:()=>h,lx:()=>f,jL:()=>g,zm:()=>v,u7:()=>y,NK:()=>x});const i={DMY:"dd/mm/yyyy",MDY:"mm/dd/yyyy",YMD:"yyyy/mm/dd"};var r=n(11892);const o=1.5,s=2.5;function a(t,e=!1,n=!1,i=!1,r="m"){const a="s"===r?0:.25;let l=0;return t&&(l+=o+a),e&&(l+=o+a),n&&(l+=o+a),i&&(l+=s+a),l}function l(t,e){return t[e].replaceAll(/[()\- ]/g,"").length}const c=`?v=${r.Ml}`,u=t=>t.includes(".svg#")?t:`#${t}`;function h(t){const e=t.endsWith("/")?t:`${t}/`;return t=>t.startsWith("tuiIcon")?`${e}${t}.svg${c}#${t}`:u(t)}var d=n(21247);const p=/^((?!chrome|android).)*safari/i;function f(t){return(0,d.i)(t)||p.test(t.userAgent.toLowerCase())}function g(t){const e=t.trim();return e.startsWith("<")&&e.endsWith(">")}const m=/\([#]+\)|[#\- ]/g;function v(t,e){return t[e].replaceAll(m,"")}function y(t){const e=Number(t.slice(1,4));return e<600||e>799}const b='width="',_='height="',w="")));if(!i?.includes(b)||!i.includes(_))return`${n.replace(w,``;const r=i.indexOf(b),o=i.indexOf(_),s=r+b.length,a=o+_.length,l=i.slice(s,i.indexOf('"',s)),c=i.slice(a,i.indexOf('"',a));if(!c||!l||l.includes("%")||c.includes("%")||l.includes("em")||c.includes("em"))return n.replace(w,`${n}`}const C=(0,n(71938).fx)({limitWidth:"fixed",align:"right"})},12405:(t,e,n)=>{n.d(e,{EY:()=>p,IO:()=>d,LC:()=>r,X$:()=>s,ZE:()=>g,ZN:()=>f,_j:()=>i,eR:()=>u,jt:()=>a,k1:()=>m,l3:()=>o,oB:()=>c,pV:()=>h,vP:()=>l});class i{}class r{}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}}class f{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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(){queueMicrotask((()=>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,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}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 g{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,i=0;const r=this.players.length;0==r?queueMicrotask((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++e==r&&this._onFinish()})),t.onDestroy((()=>{++n==r&&this._onDestroy()})),t.onStart((()=>{++i==r&&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 m="!"},80396:(t,e,n)=>{n.d(e,{Ar:()=>mt,DT:()=>Wt,NH:()=>ft,Th:()=>Gt,Vi:()=>_,nV:()=>b});var i=n(12405),r=n(20755);function o(t){return new r.vHH(3e3,!1)}function s(t){switch(t.length){case 0:return new i.ZN;case 1:return t[0];default:return new i.ZE(t)}}function a(t,e,n=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(e.forEach((e=>{const r=e.get("offset"),u=r==l,h=u&&c||new Map;e.forEach(((e,r)=>{let a=r,l=e;if("offset"!==r)switch(a=t.normalizePropertyName(a,s),l){case i.k1:l=n.get(r);break;case i.l3:l=o.get(r);break;default:l=t.normalizeStyleValue(r,a,l,s)}h.set(a,l)})),u||a.push(h),c=h,l=r})),s.length)throw new r.vHH(3502,!1);return a}function l(t,e,n,i){switch(e){case"start":t.onStart((()=>i(n&&c(n,"start",t))));break;case"done":t.onDone((()=>i(n&&c(n,"done",t))));break;case"destroy":t.onDestroy((()=>i(n&&c(n,"destroy",t))))}}function c(t,e,n){const i=n.totalTime,r=!!n.disabled,o=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,r),s=t._data;return null!=s&&(o._data=s),o}function u(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function h(t,e,n){let i=t.get(e);return i||t.set(e,i=n),i}function d(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}const p=(()=>"undefined"==typeof document?null:document.documentElement)();function f(t){const e=t.parentNode||t.host||null;return e===p?null:e}let g=null,m=!1;function v(t,e){for(;e;){if(e===t)return!0;e=f(e)}return!1}function y(t,e,n){if(n)return Array.from(t.querySelectorAll(e));const i=t.querySelector(e);return i?[i]:[]}let b=(()=>{var t;class e{validateStyleProperty(t){return function(t){g||(g=("undefined"!=typeof document?document.body:null)||{},m=!!g.style&&"WebkitAppearance"in g.style);let e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in g.style,!e&&m)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in g.style),e}(t)}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,o,s=[],a){return new i.ZN(n,r)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})(),_=(()=>{class t{}return t.NOOP=new b,t})();const w=1e3,x="ng-enter",C="ng-leave",k="ng-trigger",O=".ng-trigger",M="ng-animating",S=".ng-animating";function A(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:P(parseFloat(e[1]),e[2])}function P(t,e){return"s"===e?t*w:t}function E(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){const i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let s,a=0,l="";if("string"==typeof t){const n=t.match(i);if(null===n)return e.push(o()),{duration:0,delay:0,easing:""};s=P(parseFloat(n[1]),n[2]);const r=n[3];null!=r&&(a=P(parseFloat(r),n[4]));const c=n[5];c&&(l=c)}else s=t;if(!n){let t=!1,n=e.length;s<0&&(e.push(new r.vHH(3100,!1)),t=!0),a<0&&(e.push(new r.vHH(3101,!1)),t=!0),t&&e.splice(n,0,o())}return{duration:s,delay:a,easing:l}}(t,e,n)}function T(t,e={}){return Object.keys(t).forEach((n=>{e[n]=t[n]})),e}function I(t){const e=new Map;return Object.keys(t).forEach((n=>{const i=t[n];e.set(n,i)})),e}function D(t,e=new Map,n){if(n)for(let[t,i]of n)e.set(t,i);for(let[n,i]of t)e.set(n,i);return e}function z(t,e,n){e.forEach(((e,i)=>{const r=V(i);n&&!n.has(i)&&n.set(i,t.style[r]),t.style[r]=e}))}function N(t,e){e.forEach(((e,n)=>{const i=V(n);t.style[i]=""}))}function F(t){return Array.isArray(t)?1==t.length?t[0]:(0,i.vP)(t):t}const L=new RegExp("{{\\s*(.+?)\\s*}}","g");function R(t){let e=[];if("string"==typeof t){let n;for(;n=L.exec(t);)e.push(n[1]);L.lastIndex=0}return e}function B(t,e,n){const i=t.toString(),o=i.replace(L,((t,i)=>{let o=e[i];return null==o&&(n.push(new r.vHH(3003,!1)),o=""),o.toString()}));return o==i?t:o}function j(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function V(t){return t.replace(H,((...t)=>t[1].toUpperCase()))}function $(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw e.type,new r.vHH(3004,!1)}}function q(t,e){return window.getComputedStyle(t)[e]}const Z="*";function U(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach((t=>function(t,e,n){if(":"==t[0]){const i=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 i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(new r.vHH(3015,!1)),e;const o=i[1],s=i[2],a=i[3];e.push(J(o,a));const l=o==Z&&a==Z;"<"!=s[0]||l||e.push(J(a,o))}(t,n,e))):n.push(t),n}const G=new Set(["true","1"]),Q=new Set(["false","0"]);function J(t,e){const n=G.has(t)||Q.has(t),i=G.has(e)||Q.has(e);return(r,o)=>{let s=t==Z||t==r,a=e==Z||e==o;return!s&&n&&"boolean"==typeof r&&(s=r?G.has(t):Q.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?G.has(e):Q.has(e)),s&&a}}const Y=":self",W=new RegExp(`s*${Y}s*,?`,"g");function K(t,e,n,i){return new X(t).build(e,n,i)}class X{constructor(t){this._driver=t}build(t,e,n){const i=new tt(e);return this._resetContextStyleTimingState(i),$(this,F(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(new r.vHH(3006,!1)),t.definitions.forEach((t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach((t=>{n.name=t,o.push(this.visitState(n,e))})),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push(new r.vHH(3007,!1))})),{type:7,name:t.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const o=new Set,s=i||{};n.styles.forEach((t=>{t instanceof Map&&t.forEach((t=>{R(t).forEach((t=>{s.hasOwnProperty(t)||o.add(t)}))}))})),o.size&&(j(o.values()),e.errors.push((t.name,new r.vHH(3008,!1))))}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=$(this,F(t.animation),e);return{type:1,matchers:U(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map((t=>$(this,t,e))),options:et(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map((t=>{e.currentTime=n;const r=$(this,t,e);return i=Math.max(i,e.currentTime),r}));return e.currentTime=i,{type:3,steps:r,options:et(t.options)}}visitAnimate(t,e){const n=function(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return nt(E(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some((t=>"{"==t.charAt(0)&&"{"==t.charAt(1)))){const t=nt(0,0,"");return t.dynamic=!0,t.strValue=n,t}const i=E(n,e);return nt(i.duration,i.delay,i.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let o=t.styles?t.styles:(0,i.oB)({});if(5==o.type)r=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,i.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,r=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let t of o)"string"==typeof t?t===i.l3?n.push(t):e.errors.push(new r.vHH(3002,!1)):n.push(I(t));let s=!1,a=null;return n.forEach((t=>{if(t instanceof Map&&(t.has("easing")&&(a=t.get("easing"),t.delete("easing")),!s))for(let e of t.values())if(e.toString().indexOf("{{")>=0){s=!0;break}})),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,n)=>{const s=e.collectedStyles.get(e.currentQuerySelector),a=s.get(n);let l=!0;a&&(o!=i&&o>=a.startTime&&i<=a.endTime&&(e.errors.push((a.startTime,a.endTime,new r.vHH(3010,!1))),l=!1),o=a.startTime),l&&s.set(n,{startTime:o,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},o=R(t);o.length&&o.forEach((t=>{i.hasOwnProperty(t)||n.push(new r.vHH(3001,!1))}))}(t,e.options,e.errors)}))}))}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(new r.vHH(3011,!1)),n;let i=0;const o=[];let s=!1,a=!1,l=0;const c=t.steps.map((t=>{const n=this._makeStyleAst(t,e);let r=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach((t=>{if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}}));else if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}(n.styles),c=0;return null!=r&&(i++,c=n.offset=r),a=a||c<0||c>1,s=s||c0&&i{const r=h>0?i==d?1:h*i:o[i],s=r*g;e.currentTime=p+f.delay+s,f.duration=s,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)})),n}visitReference(t,e){return{type:8,animation:$(this,F(t.animation),e),options:et(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:et(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function(t){const e=!!t.split(/\s*,\s*/).find((t=>t==Y));return e&&(t=t.replace(W,"")),[t=t.replace(/@\*/g,O).replace(/@\w+/g,(t=>O+"-"+t.slice(1))).replace(/:animating/g,S),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,h(e.collectedStyles,e.currentQuerySelector,new Map);const s=$(this,F(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:et(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(new r.vHH(3013,!1));const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:E(t.timings,e.errors,!0);return{type:12,animation:$(this,F(t.animation),e),timings:n,options:null}}}class tt{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function et(t){var e;return t?(t=T(t)).params&&(t.params=(e=t.params)?T(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function it(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class rt{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}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 ot=new RegExp(":enter","g"),st=new RegExp(":leave","g");function at(t,e,n,i,r,o=new Map,s=new Map,a,l,c=[]){return(new lt).buildKeyframes(t,e,n,i,r,o,s,a,l,c)}class lt{buildKeyframes(t,e,n,i,r,o,s,a,l,c=[]){l=l||new rt;const u=new ut(t,e,l,i,r,c,[]);u.options=a;const h=a.delay?A(a.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([o],null,u.errors,a),$(this,n,u);const d=u.timelines.filter((t=>t.containsAnimation()));if(d.length&&s.size){let t;for(let n=d.length-1;n>=0;n--){const i=d[n];if(i.element===e){t=i;break}}t&&!t.allowOnlyTimelineStyles()&&t.setStyles([s],null,u.errors,a)}return d.length?d.map((t=>t.buildKeyframes())):[it(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const i of t){const t=i?.delay;if(t){const r="number"==typeof t?t:A(B(t,i?.params??{},e.errors));n.delayNextStep(r)}}}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==r&&t.forEach((t=>{const n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)})),i}visitReference(t,e){e.updateOptions(t.options,!0),$(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ct);const t=A(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach((t=>$(this,t,i))),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?A(t.options.delay):0;t.steps.forEach((o=>{const s=e.createSubContext(t.options);r&&s.delayNextStep(r),$(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)})),n.forEach((t=>e.currentTimeline.mergeTimelineCollectedStyles(t))),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return E(e.params?B(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),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((t=>{const n=t.offset||0;o.forwardTime(n*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?A(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ct);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach(((n,i)=>{e.currentQueryIndex=i;const s=e.createSubContext(t.options,n);r&&s.delayNextStep(r),n===e.element&&(a=s.currentTimeline),$(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe();const l=s.currentTimeline.currentTime;o=Math.max(o,l)})),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,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;$(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ct={};class ut{constructor(t,e,n,i,r,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ct,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ht(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=A(n.duration)),null!=n.delay&&(i.delay=A(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach((n=>{e&&t.hasOwnProperty(n)||(t[n]=B(r[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 i=e||this.element,r=new ut(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ct,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new dt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(st,"."+this._leaveClassName);const e=1!=n;let i=this._driver.query(this.element,t,e);0!==n&&(i=n<0?i.slice(i.length+n,i.length):i.slice(0,n)),a.push(...i)}return o||0!=a.length||s.push(new r.vHH(3014,!1)),a}}class ht{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ht(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[t,e]of this._globalTimelineStyles)this._backFill.set(t,e||i.l3),this._currentKeyframe.set(t,i.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function(t,e){const n=new Map;let r;return t.forEach((t=>{if("*"===t){r=r||e.keys();for(let t of r)n.set(t,i.l3)}else D(t,n)})),n}(t,this._globalTimelineStyles);for(let[t,e]of s){const r=B(e,o,n);this._pendingStyles.set(t,r),this._localTimelineStyles.has(t)||this._backFill.set(t,this._globalTimelineStyles.get(t)??i.l3),this._updateStyle(t,r)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((t,e)=>{this._currentKeyframe.set(e,t)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)})))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach(((t,e)=>{const n=this._styleSummary.get(e);(!n||t.time>n.time)&&this._updateStyle(e,t.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach(((o,s)=>{const a=D(o,new Map,this._backFill);a.forEach(((n,r)=>{n===i.k1?t.add(r):n===i.l3&&e.add(r)})),n||a.set("offset",s/this.duration),r.push(a)}));const o=t.size?j(t.values()):[],s=e.size?j(e.values()):[];if(n){const t=r[0],e=new Map(t);t.set("offset",0),e.set("offset",1),r=[t,e]}return it(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class dt extends ht{constructor(t,e,n,i,r,o,s=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,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:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=n+e,s=e/o,a=D(t[0]);a.set("offset",0),r.push(a);const l=D(t[0]);l.set("offset",pt(s)),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let s=D(t[i]);const a=e+s.get("offset")*n;s.set("offset",pt(a/o)),r.push(s)}n=o,e=0,i="",t=r}return it(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}const gt=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class mt extends ft{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let o="";const s=n.toString().trim();if(gt.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(new r.vHH(3005,!1))}return s+o}}function vt(t,e,n,i,r,o,s,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const yt={};class bt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some((t=>t(e,n,i,r)))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,n):new Map}build(t,e,n,i,r,o,s,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||yt,p=s&&s.params||yt,f=this.buildStyles(n,p,u),g=a&&a.params||yt,m=this.buildStyles(i,g,u),v=new Set,y=new Map,b=new Map,_="void"===i,w={params:_t(g,d),delay:this.ast.options?.delay},x=c?[]:at(t,e,this.ast.animation,r,o,f,m,w,l,u);let C=0;if(x.forEach((t=>{C=Math.max(t.duration+t.delay,C)})),u.length)return vt(e,this._triggerName,n,i,_,f,m,[],[],y,b,C,u);x.forEach((t=>{const n=t.element,i=h(y,n,new Set);t.preStyleProps.forEach((t=>i.add(t)));const r=h(b,n,new Set);t.postStyleProps.forEach((t=>r.add(t))),n!==e&&v.add(n)}));const k=j(v.values());return vt(e,this._triggerName,n,i,_,f,m,x,k,y,b,C)}}function _t(t,e){const n=T(e);for(const e in t)t.hasOwnProperty(e)&&null!=t[e]&&(n[e]=t[e]);return n}class wt{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,i=T(this.defaultParams);return Object.keys(t).forEach((e=>{const n=t[e];null!==n&&(i[e]=n)})),this.styles.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,r)=>{t&&(t=B(t,i,e));const o=this.normalizer.normalizePropertyName(r,e);t=this.normalizer.normalizeStyleValue(r,o,t,e),n.set(r,t)}))})),n}}class xt{constructor(t,e,n){var i,r;this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach((t=>{const e=t.options&&t.options.params||{};this.states.set(t.name,new wt(t.style,e,n))})),Ct(this.states,"true","1"),Ct(this.states,"false","0"),e.transitions.forEach((e=>{this.transitionFactories.push(new bt(t,e,this.states))})),this.fallbackTransition=(i=t,r=this.states,this._normalizer,new bt(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find((r=>r.match(t,e,n,i)))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ct(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}const kt=new rt;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],i=K(this._driver,e,n,[]);if(n.length)throw new r.vHH(3503,!1);this._animations.set(t,i)}_buildPlayer(t,e,n){const i=t.element,r=a(this._normalizer,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const o=[],a=this._animations.get(t);let l;const c=new Map;if(a?(l=at(this._driver,e,a,x,C,new Map,new Map,n,kt,o),l.forEach((t=>{const e=h(c,t.element,new Map);t.postStyleProps.forEach((t=>e.set(t,null)))}))):(o.push(new r.vHH(3300,!1)),l=[]),o.length)throw new r.vHH(3504,!1);c.forEach(((t,e)=>{t.forEach(((n,r)=>{t.set(r,this._driver.computeStyle(e,r,i.l3))}))}));const u=s(l.map((t=>{const e=c.get(t.element);return this._buildPlayer(t,new Map,e)})));return this._playersById.set(t,u),u.onDestroy((()=>this.destroy(t))),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw new r.vHH(3301,!1);return e}listen(t,e,n,i){const r=u(e,"","","");return l(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n){const n=i[0]||{};return void this.create(t,e,n)}const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Mt="ng-animate-queued",St="ng-animate-disabled",At=[],Pt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Et={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed";class It{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value"),i=n?t.value:t;if(this.value=function(t){return null!=t?t:null}(i),n){const e=T(t);delete e.value,this.options=e}else this.options={};this.options.params||(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 Dt="void",zt=new It(Dt);class Nt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Vt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.has(e))throw new r.vHH(3302,!1);if(null==n||0==n.length)throw new r.vHH(3303,!1);if("start"!=(o=n)&&"done"!=o)throw new r.vHH(3400,!1);var o;const s=h(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);const l=h(this._engine.statesByElement,t,new Map);return l.has(e)||(Vt(t,k),Vt(t,k+"-"+e),l.set(e,zt)),()=>{this._engine.afterFlush((()=>{const t=s.indexOf(a);t>=0&&s.splice(t,1),this._triggers.has(e)||l.delete(e)}))}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw new r.vHH(3401,!1);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),o=new Lt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Vt(t,k),Vt(t,k+"-"+e),this._engine.statesByElement.set(t,s=new Map));let a=s.get(e);const l=new It(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s.set(e,l),a||(a=zt),l.value!==Dt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let i=0;i{N(t,n),z(t,i)}))}return}const c=h(this._engine.playersByElement,t,[]);c.forEach((t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()}));let u=r.matchTransition(a.value,l.value,t,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(Vt(t,Mt),o.onStart((()=>{$t(t,Mt)}))),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){this._triggers.delete(t),this._engine.statesByElement.forEach((e=>e.delete(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,O,!0);n.forEach((t=>{if(t[Tt])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,i){const r=this._engine.statesByElement.get(t),o=new Map;if(r){const a=[];if(r.forEach(((e,n)=>{if(o.set(n,e.value),this._triggers.has(n)){const e=this.trigger(t,n,Dt,i);e&&a.push(e)}})),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),n&&s(a).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 i=new Set;e.forEach((e=>{const r=e.name;if(i.has(r))return;i.add(r);const o=this._triggers.get(r).fallbackTransition,s=n.get(r)||zt,a=new It(Dt),l=new Lt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,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 i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[Tt];i&&i!==Pt||(n.afterFlush((()=>this.clearElementCache(t))),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Vt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach((n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach((e=>{if(e.name==n.triggerName){const i=u(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,l(n.player,e.phase,i,e.callback)}})),i.markedForDestroy?this._engine.afterFlush((()=>{i.destroy()})):e.push(n)})),this._queue=[],e.sort(((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1}))}destroy(t){this.players.forEach((t=>t.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class Ft{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}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)=>{}}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 Nt(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,i=this.namespacesByHostElement;if(n.length-1>=0){let r=!1,o=this.driver.getParentElement(e);for(;o;){const e=i.get(o);if(e){const i=n.indexOf(e);n.splice(i+1,0,t),r=!0;break}o=this.driver.getParentElement(o)}r||n.unshift(t)}else n.push(t);return i.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 i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush((()=>{})),this.afterFlushAnimationsDone((()=>{const n=this._fetchNamespace(t);this.namespacesByHostElement.delete(n.hostElement);const i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(e),delete this._namespaceLookup[t]})))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let t of n.values())if(t.namespaceId){const n=this._fetchNamespace(t.namespaceId);n&&e.add(n)}return e}trigger(t,e,n,i){if(Rt(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Rt(e))return;const r=e[Tt];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Vt(t,St)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),$t(t,St))}removeNode(t,e,n){if(Rt(e)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n);const r=this.namespacesByHostElement.get(e);r&&r.id!==t&&r.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,n,i,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,n,i,r){return Rt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,O,!0);e.forEach((t=>this.destroyActiveAnimationsForElement(t))),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,S,!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 s(this.players).onDone((()=>t()));t()}))}processLeaveNode(t){const e=t[Tt];if(e&&e.setForRemoval){if(t[Tt]=Pt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(St)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!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 t=0;tt())),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone((()=>{t.forEach((t=>t()))})):t.forEach((t=>t()))}}reportError(t){throw new r.vHH(3402,!1)}_flushAnimations(t,e){const n=new rt,o=[],a=new Map,l=[],c=new Map,u=new Map,d=new Map,p=new Set;this.disabledNodes.forEach((t=>{p.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let t=0;t{const n=x+y++;v.set(e,n),t.forEach((t=>Vt(t,n)))}));const b=[],_=new Set,w=new Set;for(let t=0;t_.add(t))):w.add(e))}const k=new Map,O=Ht(g,Array.from(_));O.forEach(((t,e)=>{const n=C+y++;k.set(e,n),t.forEach((t=>Vt(t,n)))})),t.push((()=>{m.forEach(((t,e)=>{const n=v.get(e);t.forEach((t=>$t(t,n)))})),O.forEach(((t,e)=>{const n=k.get(e);t.forEach((t=>$t(t,n)))})),b.forEach((t=>{this.processLeaveNode(t)}))}));const M=[],A=[];for(let t=this._namespaceList.length-1;t>=0;t--)this._namespaceList[t].drainQueuedTransitions(e).forEach((t=>{const e=t.player,i=t.element;if(M.push(e),this.collectedEnterElements.length){const n=i[Tt];if(n&&n.setForMove){if(n.previousTriggersValues&&n.previousTriggersValues.has(t.triggerName)){const e=n.previousTriggersValues.get(t.triggerName),i=this.statesByElement.get(t.element);if(i&&i.has(t.triggerName)){const n=i.get(t.triggerName);n.value=e,i.set(t.triggerName,n)}}return void e.destroy()}}const r=!f||!this.driver.containsElement(f,i),s=k.get(i),a=v.get(i),p=this._buildInstruction(t,n,a,s,r);if(p.errors&&p.errors.length)return void A.push(p);if(r)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);if(t.isFallbackTransition)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);const g=[];p.timelines.forEach((t=>{t.stretchStartingKeyframe=!0,this.disabledNodes.has(t.element)||g.push(t)})),p.timelines=g,n.append(i,p.timelines);const m={instruction:p,player:e,element:i};l.push(m),p.queriedElements.forEach((t=>h(c,t,[]).push(e))),p.preStyleProps.forEach(((t,e)=>{if(t.size){let n=u.get(e);n||u.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}})),p.postStyleProps.forEach(((t,e)=>{let n=d.get(e);n||d.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}))}));if(A.length){const t=[];A.forEach((e=>{t.push((e.triggerName,e.errors,new r.vHH(3505,!1)))})),M.forEach((t=>t.destroy())),this.reportError(t)}const P=new Map,E=new Map;l.forEach((t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))})),o.forEach((t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((t=>{h(P,e,[]).push(t),t.destroy()}))}));const T=b.filter((t=>Ut(t,u,d))),I=new Map;jt(I,this.driver,w,d,i.l3).forEach((t=>{Ut(t,u,d)&&T.push(t)}));const D=new Map;m.forEach(((t,e)=>{jt(D,this.driver,new Set(t),u,i.k1)})),T.forEach((t=>{const e=I.get(t),n=D.get(t);I.set(t,new Map([...e?.entries()??[],...n?.entries()??[]]))}));const F=[],L=[],R={};l.forEach((t=>{const{element:e,player:i,instruction:r}=t;if(n.has(e)){if(p.has(e))return i.onDestroy((()=>z(e,r.toStyles))),i.disabled=!0,i.overrideTotalTime(r.totalTime),void o.push(i);let t=R;if(E.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}i.push(n)}i.forEach((e=>E.set(e,t)))}const n=this._buildAnimation(i.namespaceId,r,P,a,D,I);if(i.setRealPlayer(n),t===R)F.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=s(e)),o.push(i)}}else N(e,r.fromStyles),i.onDestroy((()=>z(e,r.toStyles))),L.push(i),p.has(e)&&o.push(i)})),L.forEach((t=>{const e=a.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}})),o.forEach((t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(let t=0;t!t.destroyed));r.length?qt(this,e,r):this.processLeaveNode(e)}return b.length=0,F.forEach((t=>{this.players.push(t),t.onDone((()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)})),t.play()})),F}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Dt;e.forEach((e=>{e.queued||(t||e.triggerName==i)&&o.push(e)}))}}return(n||i)&&(o=o.filter((t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName)))),o}_beforeAnimationBuild(t,e,n){const i=e.triggerName,r=e.element,o=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:i;for(const t of e.timelines){const i=t.element,a=i!==r,l=h(n,i,[]);this._getPreviousPlayers(i,a,o,s,e.toState).forEach((t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)}))}N(r,e.fromStyles)}_buildAnimation(t,e,n,r,o,l){const c=e.triggerName,u=e.element,d=[],p=new Set,f=new Set,g=e.timelines.map((e=>{const s=e.element;p.add(s);const h=s[Tt];if(h&&h.removedBeforeQueried)return new i.ZN(e.duration,e.delay);const g=s!==u,m=function(t){const e=[];return Zt(t,e),e}((n.get(s)||At).map((t=>t.getRealPlayer()))).filter((t=>{const e=t;return!!e.element&&e.element===s})),v=o.get(s),y=l.get(s),b=a(this._normalizer,e.keyframes,v,y),_=this._buildPlayer(e,b,m);if(e.subTimeline&&r&&f.add(s),g){const e=new Lt(t,c,s);e.setRealPlayer(_),d.push(e)}return _}));d.forEach((t=>{h(this.playersByQueriedElement,t.element,[]).push(t),t.onDone((()=>function(t,e,n){let i=t.get(e);if(i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}return i}(this.playersByQueriedElement,t.element,t)))})),p.forEach((t=>Vt(t,M)));const m=s(g);return m.onDestroy((()=>{p.forEach((t=>$t(t,M))),z(u,e.toStyles)})),f.forEach((t=>{h(r,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 i.ZN(t.duration,t.delay)}}class Lt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach(((e,n)=>{e.forEach((e=>l(t,n,void 0,e)))})),this._queuedCallbacks.clear(),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){h(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 Rt(t){return t&&1===t.nodeType}function Bt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function jt(t,e,n,i,r){const o=[];n.forEach((t=>o.push(Bt(t))));const s=[];i.forEach(((n,i)=>{const o=new Map;n.forEach((t=>{const n=e.computeStyle(i,t,r);o.set(t,n),n&&0!=n.length||(i[Tt]=Et,s.push(i))})),t.set(i,o)}));let a=0;return n.forEach((t=>Bt(t,o[a++]))),s}function Ht(t,e){const n=new Map;if(t.forEach((t=>n.set(t,[]))),0==e.length)return n;const i=new Set(e),r=new Map;function o(t){if(!t)return 1;let e=r.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:i.has(s)?1:o(s),r.set(t,e),e}return e.forEach((t=>{const e=o(t);1!==e&&n.get(e).push(t)})),n}function Vt(t,e){t.classList?.add(e)}function $t(t,e){t.classList?.remove(e)}function qt(t,e,n){s(n).onDone((()=>t.processLeaveNode(e)))}function Zt(t,e){for(let n=0;nr.add(t))):e.set(t,i),n.delete(t),!0}class Gt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ft(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const t=[],e=[],n=K(this._driver,o,t,e);if(t.length)throw new r.vHH(3404,!1);e.length,a=function(t,e,n){return new xt(t,e,n)}(i,n,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n){this._transitionEngine.removeNode(t,e,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=d(n),o=i;this._timelineEngine.command(t,e,r,o)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=d(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let Qt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(z(this._element,this._initialStyles),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),z(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Jt(t){let e=null;return t.forEach(((t,n)=>{(function(t){return"display"===t||"position"===t})(n)&&(e=e||new Map,e.set(n,t))})),e}class Yt{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=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]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy((()=>{this.domPlayer.removeEventListener("finish",e)}))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach((t=>{e.push(Object.fromEntries(t))})),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((e,n)=>{"offset"!==n&&t.set(n,this._finished?e:q(this.element,n))})),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class Wt{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,i,r,o=[]){const s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);const a=new Map,l=o.filter((t=>t instanceof Yt));(function(t,e){return 0===t||0===e})(n,i)&&l.forEach((t=>{t.currentSnapshot.forEach(((t,e)=>a.set(e,t)))}));let c=function(t){return t.length?t[0]instanceof Map?t:t.map((t=>I(t))):[]}(e).map((t=>D(t)));c=function(t,e,n){if(n.size&&e.length){let i=e[0],r=[];if(n.forEach(((t,e)=>{i.has(e)||r.push(e),i.set(e,t)})),r.length)for(let n=1;ni.set(e,q(t,e))))}}return e}(t,c,a);const u=function(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Jt(e[0]),e.length>1&&(i=Jt(e[e.length-1]))):e instanceof Map&&(n=Jt(e)),n||i?new Qt(t,n,i):null}(t,c);return new Yt(t,c,s,u)}}},62561:(t,e,n)=>{function i(t){return null!=t&&"false"!=`${t}`}function r(t){return Array.isArray(t)?t:[t]}n.d(e,{Eq:()=>r,Ig:()=>i})},76733:(t,e,n)=>{n.d(e,{$G:()=>N,ED:()=>U,EM:()=>pt,Gx:()=>it,HT:()=>s,JF:()=>gt,K0:()=>l,Mx:()=>T,NF:()=>ht,Nd:()=>ot,O5:()=>j,Ov:()=>tt,PC:()=>G,PM:()=>dt,RF:()=>q,S$:()=>f,Ts:()=>rt,Ye:()=>v,Zx:()=>at,b0:()=>m,bD:()=>ct,ez:()=>lt,i8:()=>et,mk:()=>z,n9:()=>Z,q:()=>o,sg:()=>R,tP:()=>Q,w_:()=>a});var i=n(20755);let r=null;function o(){return r}function s(t){r||(r=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(u)},providedIn:"platform"}),e})(),u=(()=>{var t;class e extends c{constructor(){super(),this._doc=(0,i.f3M)(l),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){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new t},providedIn:"platform"}),e})();function h(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 d(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,i=n-("/"===t[n-1]?1:0);return t.slice(0,i)+t.slice(n)}function p(t){return t&&"?"!==t[0]?"?"+t:t}let f=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(m)},providedIn:"root"}),e})();const g=new i.OlP("appBaseHref");let m=(()=>{var t;class e extends f{constructor(t,e){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(l).location?.origin??""}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 h(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+p(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(c),i.LFG(g,8))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),v=(()=>{var t;class e{constructor(t){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(d(b(e))),this._locationStrategy.onPopState((t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+p(e))}normalize(t){return e.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,b(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((t=>{this._notifyUrlChangeListeners(t.url,t.state)}))),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_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=e).normalizeQueryParams=p,t.joinWithSlash=h,t.stripTrailingSlash=d,t.ɵfac=function(e){return new(e||t)(i.LFG(f))},t.ɵprov=i.Yz7({token:t,factory:function(){return y()},providedIn:"root"}),e})();function y(){return new v((0,i.LFG)(f))}function b(t){return t.replace(/\/index.html$/,"")}var _=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(_||{}),w=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(w||{}),x=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(x||{});function C(t,e){const n=(0,i.cg1)(t),r=n[i.wAp.NumberSymbols][e];if(void 0===r){if(e===x.CurrencyDecimal)return n[i.wAp.NumberSymbols][x.Decimal];if(e===x.CurrencyGroup)return n[i.wAp.NumberSymbols][x.Group]}return r}const k=i.kL8,O=/^(\d+)?\.((\d+)(-(\d+))?)?$/,M=".",S="0";function A(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}let P=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;var n;return t?e=new t:(n=i.LFG(i.soG),e=new E(n)),e},providedIn:"root"}),e})(),E=(()=>{var t;class e extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(k(e||this.locale)(t)){case w.Zero:return"zero";case w.One:return"one";case w.Two:return"two";case w.Few:return"few";case w.Many:return"many";default:return"other"}}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.soG))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function T(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}const I=/\s+/,D=[];let z=(()=>{var t;class e{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this.initialClasses=D,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(I):D}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(I):t}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const e of t)this._updateState(e,!0);else if(null!=t)for(const e of Object.keys(t))this._updateState(e,Boolean(t[e]));this._applyStateDiff()}_updateState(t,e){const n=this.stateMap.get(t);void 0!==n?(n.enabled!==e&&(n.changed=!0,n.enabled=e),n.touched=!0):this.stateMap.set(t,{enabled:e,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const e=t[0],n=t[1];n.changed?(this._toggleClass(e,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(e,!1),this.stateMap.delete(e)),n.touched=!1}}_toggleClass(t,e){(t=t.trim()).length>0&&t.split(I).forEach((t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)}))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})(),N=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=(0,i.Lck)(this.ngComponentOutletNgModule,F(e)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(F(e)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:e,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[e,n]of this._inputsUsed)n?(t.setInput(e,this.ngComponentOutletInputs[e]),this._inputsUsed.set(e,!1)):(t.setInput(e,void 0),this._inputsUsed.delete(e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[i.TTD]}),e})();function F(t){return t.get(i.h0i).injector}class L{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 R=(()=>{var t;class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation(((t,n,i)=>{if(null==t.previousIndex)e.createEmbeddedView(this._template,new L(t.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)e.remove(null===n?void 0:n);else if(null!==n){const r=e.get(n);e.move(r,i),B(r,t)}}));for(let t=0,n=e.length;t{B(e.get(t.currentIndex),t)}))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.ɵdir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function B(t,e){t.context.$implicit=e.item}let j=(()=>{var t;class e{constructor(t,e){this._viewContainer=t,this._context=new H,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){V("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){V("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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.ɵdir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class H{constructor(){this.$implicit=null,this.ngIf=null}}function V(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class ${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 q=(()=>{var t;class e{constructor(){this._defaultViews=[],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.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.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const e of this._defaultViews)e.enforceState(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),e})(),Z=(()=>{var t;class e{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new $(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),e})(),U=(()=>{var t;class e{constructor(t,e,n){n._addDefault(new $(t,e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),e})(),G=(()=>{var t;class e{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split("."),o=-1===n.indexOf("-")?void 0:i.JOm.DashCase;null!=e?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${e}${r}`:e,o):this._renderer.removeStyle(this._ngEl.nativeElement,n,o)}_applyChanges(t){t.forEachRemovedItem((t=>this._setStyle(t.key,null))),t.forEachAddedItem((t=>this._setStyle(t.key,t.currentValue))),t.forEachChangedItem((t=>this._setStyle(t.key,t.currentValue)))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),Q=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:e,ngTemplateOutletContext:n,ngTemplateOutletInjector:i}=this;this._viewRef=t.createEmbeddedView(e,n,i?{injector:i}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]}),e})();function J(t,e){return new i.vHH(2100,!1)}class Y{createSubscription(t,e){return(0,i.rg0)((()=>t.subscribe({next:e,error:t=>{throw t}})))}dispose(t){(0,i.rg0)((()=>t.unsubscribe()))}}class W{createSubscription(t,e){return t.then(e,(t=>{throw t}))}dispose(t){}}const K=new W,X=new Y;let tt=(()=>{var t;class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}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(t){if((0,i.QGY)(t))return K;if((0,i.F4k)(t))return X;throw J()}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.ɵpipe=i.Yjl({name:"async",type:t,pure:!1,standalone:!0}),e})(),et=(()=>{var t;class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw J();return t.toLowerCase()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"lowercase",type:t,pure:!0,standalone:!0}),e})();const nt=/#/g;let it=(()=>{var t;class e{constructor(t){this._localization=t}transform(t,e,n){if(null==t)return"";if("object"!=typeof e||null===e)throw J();return e[function(t,e,n,i){let r=`=${t}`;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}(t,Object.keys(e),this._localization,n)].replace(nt,t.toString())}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(P,16))},t.ɵpipe=i.Yjl({name:"i18nPlural",type:t,pure:!0,standalone:!0}),e})(),rt=(()=>{var t;class e{transform(t){return JSON.stringify(t,null,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"json",type:t,pure:!1,standalone:!0}),e})(),ot=(()=>{var t;class e{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=st}transform(t,e=st){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t),i=e!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem((t=>{this.keyValues.push({key:t.key,value:t.currentValue})}))),(n||i)&&(this.keyValues.sort(e),this.compareFn=e),this.keyValues}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.aQg,16))},t.ɵpipe=i.Yjl({name:"keyvalue",type:t,pure:!1,standalone:!0}),e})();function st(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n{var t;class e{constructor(t){this._locale=t}transform(t,e,n){if(!function(t){return!(null==t||""===t||t!=t)}(t))return null;n=n||this._locale;try{return function(t,e,n){return function(t,e,n,i,r,o,s=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,o,s=Math.abs(t)+"",a=0;for((n=s.indexOf(M))>-1&&(s=s.replace(M,"")),(i=s.search(/e/i))>0?(n<0&&(n=i),n+=+s.slice(i+1),s=s.substring(0,i)):n<0&&(n=s.length),i=0;s.charAt(i)===S;i++);if(i===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===S;)o--;for(n-=i,e=[],r=0;i<=o;i++,r++)e[r]=Number(s.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);s&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(o){const t=o.match(O);if(null===t)throw new Error(`${o} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(u=A(e)),null!=n&&(h=A(n)),null!=i?d=A(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const o=Math.min(Math.max(e,r),n);let s=o+t.integerLen,a=i[s];if(s>0){i.splice(Math.max(t.integerLen,s));for(let t=s;t=5)if(s-1<0){for(let e=0;e>s;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[s-1]++;for(;r=c?i.pop():l=!1),e>=10?1:0}),0);u&&(i.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let m=[];for(l=p.every((t=>!t));f0?m=p.splice(f,p.length):(m=p,p=[0]);const v=[];for(p.length>=e.lgSize&&v.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)v.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),a=v.join(C(n,i)),m.length&&(a+=C(n,r)+m.join("")),g&&(a+=C(n,x.Exponential)+"+"+g)}else a=C(n,x.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(M)?r.split(M):[r.substring(0,r.lastIndexOf(S)+1),r.substring(r.lastIndexOf(S)+1)],a=s[0],l=s[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let t=0;t{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})();const ct="browser",ut="server";function ht(t){return t===ct}function dt(t){return t===ut}let pt=(()=>{var t;class e{}return(t=e).ɵprov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new ft((0,i.LFG)(l),window)}),e})();class ft{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=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&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class gt{}},20755:(t,e,n)=>{n.d(e,{$8M:()=>tr,$WT:()=>Bt,$Z:()=>Oa,$Zp:()=>Pe,AFp:()=>ms,ALo:()=>Pu,AaK:()=>f,AsE:()=>qc,BQk:()=>Xl,CHM:()=>jn,CRH:()=>ch,DdM:()=>bu,Dn7:()=>Iu,EJc:()=>bh,EiD:()=>Ro,EpF:()=>nc,F$t:()=>uc,F4k:()=>rc,FYo:()=>Is,FiY:()=>ur,Flj:()=>Je,G48:()=>Lh,G7q:()=>zu,Gf:()=>ah,GfV:()=>Ns,GkF:()=>tc,Gpc:()=>v,HDt:()=>_h,HTZ:()=>ku,Hsn:()=>hc,Ikx:()=>Zc,JOm:()=>fr,JVY:()=>fo,JZr:()=>w,Jf7:()=>oa,KtG:()=>Hn,L6k:()=>go,LAX:()=>vo,LFG:()=>Y,LMc:()=>ed,LSH:()=>Vo,Lbi:()=>bs,Lck:()=>du,MAs:()=>Zl,MMx:()=>mu,MR2:()=>Yo,NdJ:()=>oc,O4$:()=>di,Ojb:()=>ws,OlP:()=>H,Oqu:()=>Vc,P3R:()=>qo,PiD:()=>hr,Q6J:()=>Ul,QGY:()=>ic,QbO:()=>_s,Qsj:()=>Ds,R0b:()=>Ws,RDi:()=>to,Rgc:()=>Ru,SBq:()=>Es,Sil:()=>xh,Suo:()=>lh,T8G:()=>la,TTD:()=>gn,TgZ:()=>Ql,Tiy:()=>zs,Tol:()=>Ac,Udp:()=>Mc,VKq:()=>_u,VuI:()=>td,W1O:()=>ph,WLB:()=>wu,XFs:()=>N,Xpm:()=>Pt,Xq5:()=>Dl,Xts:()=>Uo,Y36:()=>ka,YKP:()=>hu,YNc:()=>$l,Yjl:()=>Nt,Yz7:()=>O,Z0I:()=>A,ZZ4:()=>Wh,_Bn:()=>cu,_UZ:()=>Yl,_Vd:()=>Ss,_uU:()=>jc,aQg:()=>Xh,c2e:()=>vh,cEC:()=>sl,cJS:()=>M,cg1:()=>Yc,d8E:()=>Uc,dDg:()=>Mh,dqk:()=>j,eBb:()=>mo,eJc:()=>fh,ekj:()=>Sc,eoX:()=>Sh,evT:()=>sa,f3M:()=>W,g9A:()=>ys,gHi:()=>Rs,gM2:()=>Du,gxx:()=>Go,h0i:()=>uu,hij:()=>$c,iGM:()=>sh,iPO:()=>Th,ifc:()=>it,jDz:()=>yu,kL8:()=>Wc,kcU:()=>pi,ktI:()=>qs,l5B:()=>xu,lG2:()=>zt,lcZ:()=>Eu,lqb:()=>us,lri:()=>Ch,mCW:()=>xo,n5z:()=>Wi,n_E:()=>Lu,oAB:()=>It,oJD:()=>Ho,oxw:()=>lc,pB0:()=>yo,q3G:()=>jo,qLn:()=>$s,qOj:()=>kl,qZA:()=>Jl,qbA:()=>Cu,qzn:()=>po,rWj:()=>kh,rg0:()=>hn,s9C:()=>dc,sBO:()=>Rh,s_b:()=>$u,soG:()=>yh,tb:()=>Eh,tdS:()=>rn,tp0:()=>dr,uIk:()=>Hl,uOi:()=>$o,vHH:()=>x,vpe:()=>Js,wAp:()=>Xc,xi3:()=>Tu,xp6:()=>xa,ynx:()=>Kl,z2F:()=>Ih,z3N:()=>ho,zSh:()=>os,zW0:()=>Pl,zs3:()=>Hs});var i=n(78748),r=n(902),o=n(48132),s=n(45047),a=n(56424),l=n(71209),c=n(88557),u=n(84787),h=n(18004);function d(t){for(let e in t)if(t[e]===d)return e;throw Error("Could not find renamed property on target object.")}function p(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function f(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(f).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 g(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const m=d({__forward_ref__:d});function v(t){return t.__forward_ref__=v,t.toString=function(){return f(this())},t}function y(t){return b(t)?t():t}function b(t){return"function"==typeof t&&t.hasOwnProperty(m)&&t.__forward_ref__===v}function _(t){return t&&!!t.ɵproviders}const w="https://g.co/ng/security#xss";class x extends Error{constructor(t,e){super(function(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}(t,e)),this.code=t}}function C(t){return"string"==typeof t?t:null==t?"":String(t)}function k(t,e){throw new x(-201,!1)}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function M(t){return{providers:t.providers||[],imports:t.imports||[]}}function S(t){return P(t,T)||P(t,D)}function A(t){return null!==S(t)}function P(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(I)||t.hasOwnProperty(z))?t[I]:null}const T=d({ɵprov:d}),I=d({ɵinj:d}),D=d({ngInjectableDef:d}),z=d({ngInjectorDef:d});var N=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(N||{});let F;function L(){return F}function R(t){const e=F;return F=t,e}function B(t,e,n){const i=S(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&N.Optional?null:void 0!==e?e:void k(f(t))}const j=globalThis;class H{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=O({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const V={},$="__NG_DI_FLAG__",q="ngTempTokenPath",Z=/\n/gm,U="__source";let G;function Q(t){const e=G;return G=t,e}function J(t,e=N.Default){if(void 0===G)throw new x(-203,!1);return null===G?B(t,void 0,e):G.get(t,e&N.Optional?null:void 0,e)}function Y(t,e=N.Default){return(L()||J)(y(t),e)}function W(t,e=N.Default){return Y(t,K(e))}function K(t){return void 0===t||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function X(t){const e=[];for(let n=0;ne){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==pt(e,c,0)||2&i&&c!==t){if(Ct(i))return!1;s=!0}}}}else{if(!s&&!Ct(i)&&!Ct(l))return!1;if(s&&Ct(l))continue;s=!1,i=l|1&i}}return Ct(i)||s}function Ct(t){return!(1&t)}function kt(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||Ct(s)||(e+=St(o,r),r=""),i=s,o=o||!Ct(i);n++}return""!==r&&(e+=St(o,r)),e}function Pt(t){return et((()=>{const e=Ht(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||it.Emulated,styles:t.styles||ot,_:null,schemas:t.schemas||null,tView:null,id:""};Vt(n);const i=t.dependencies;return n.directiveDefs=$t(i,!1),n.pipeDefs=$t(i,!0),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const t of n)e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n}))}function Et(t){return Ft(t)||Lt(t)}function Tt(t){return null!==t}function It(t){return et((()=>({type:t.type,bootstrap:t.bootstrap||ot,declarations:t.declarations||ot,imports:t.imports||ot,exports:t.exports||ot,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null})))}function Dt(t,e){if(null==t)return rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}function zt(t){return et((()=>{const e=Ht(t);return Vt(e),e}))}function Nt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ft(t){return t[st]||null}function Lt(t){return t[at]||null}function Rt(t){return t[lt]||null}function Bt(t){const e=Ft(t)||Lt(t)||Rt(t);return null!==e&&e.standalone}function jt(t,e){const n=t[ct]||null;if(!n&&!0===e)throw new Error(`Type ${f(t)} does not have 'ɵmod' property.`);return n}function Ht(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||rt,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||ot,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Dt(t.inputs,e),outputs:Dt(t.outputs)}}function Vt(t){t.features?.forEach((e=>e(t)))}function $t(t,e){if(!t)return null;const n=e?Rt:Et;return()=>("function"==typeof t?t():t).map((t=>n(t))).filter(Tt)}const qt=0,Zt=1,Ut=2,Gt=3,Qt=4,Jt=5,Yt=6,Wt=7,Kt=8,Xt=9,te=10,ee=11,ne=12,ie=13,re=14,oe=15,se=16,ae=17,le=18,ce=19,ue=20,he=21,de=22,pe=23,fe=24,ge=25,me=1,ve=2,ye=7,be=9,_e=11;function we(t){return Array.isArray(t)&&"object"==typeof t[me]}function xe(t){return Array.isArray(t)&&!0===t[me]}function Ce(t){return!!(4&t.flags)}function ke(t){return t.componentOffset>-1}function Oe(t){return!(1&~t.flags)}function Me(t){return!!t.template}function Se(t,e){return t.hasOwnProperty(ut)?t[ut]:null}const Ae=Symbol("SIGNAL");function Pe(t){return"function"==typeof t&&void 0!==t[Ae]}function Ee(t,e){return(null===t||"object"!=typeof t)&&Object.is(t,e)}let Te=null,Ie=!1;function De(t){const e=Te;return Te=t,e}const ze={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Ne(t){if(Ie)throw new Error("");if(null===Te)return;const e=Te.nextProducerIndex++;Ge(Te),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ve(t){Ge(t);for(let e=0;e0}function Ge(t){t.producerNode??(t.producerNode=[]),t.producerIndexOfThis??(t.producerIndexOfThis=[]),t.producerLastReadVersion??(t.producerLastReadVersion=[])}function Qe(t){t.liveConsumerNode??(t.liveConsumerNode=[]),t.liveConsumerIndexOfThis??(t.liveConsumerIndexOfThis=[])}function Je(t,e){const n=Object.create(Xe);n.computation=t,e?.equal&&(n.equal=e.equal);const i=()=>{if(Fe(n),Ne(n),n.value===Ke)throw n.error;return n.value};return i[Ae]=n,i}const Ye=Symbol("UNSET"),We=Symbol("COMPUTING"),Ke=Symbol("ERRORED"),Xe=(()=>({...ze,value:Ye,dirty:!0,error:null,equal:Ee,producerMustRecompute:t=>t.value===Ye||t.value===We,producerRecomputeValue(t){if(t.value===We)throw new Error("Detected cycle in computations.");const e=t.value;t.value=We;const n=je(t);let i;try{i=t.computation()}catch(e){i=Ke,t.error=e}finally{He(t,n)}e!==Ye&&e!==Ke&&i!==Ke&&t.equal(e,i)?t.value=e:(t.value=i,t.version++)}}))();let tn=function(){throw new Error};function en(){tn()}let nn=null;function rn(t,e){const n=Object.create(on);function i(){return Ne(n),n.value}return n.value=t,e?.equal&&(n.equal=e.equal),i.set=an,i.update=ln,i.mutate=cn,i.asReadonly=un,i[Ae]=n,i}const on=(()=>({...ze,equal:Ee,readonlyFn:void 0}))();function sn(t){t.version++,Le(t),nn?.()}function an(t){const e=this[Ae];Re()||en(),e.equal(e.value,t)||(e.value=t,sn(e))}function ln(t){Re()||en(),an.call(this,t(this[Ae].value))}function cn(t){const e=this[Ae];Re()||en(),t(e.value),sn(e)}function un(){const t=this[Ae];if(void 0===t.readonlyFn){const e=()=>this();e[Ae]=t,t.readonlyFn=e}return t.readonlyFn}function hn(t){const e=De(null);try{return t()}finally{De(e)}}const dn=()=>{},pn=(()=>({...ze,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:dn}))();class fn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function gn(){return mn}function mn(t){return t.type.prototype.ngOnChanges&&(t.setInput=yn),vn}function vn(){const t=_n(this),e=t?.current;if(e){const n=t.previous;if(n===rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yn(t,e,n,i){const r=this.declaredInputs[n],o=_n(t)||function(t,e){return t[bn]=e}(t,{previous:rt,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new fn(l&&l.currentValue,e,a===rt),t[i]=e}gn.ngInherit=!0;const bn="__ngSimpleChanges__";function _n(t){return t[bn]||null}const wn=function(t,e,n){},xn="svg";function Cn(t){for(;Array.isArray(t);)t=t[qt];return t}function kn(t,e){return Cn(e[t])}function On(t,e){return Cn(e[t.index])}function Mn(t,e){return t.data[e]}function Sn(t,e){return t[e]}function An(t,e){const n=e[t];return we(n)?n:n[qt]}function Pn(t,e){return null==e?null:t[e]}function En(t){t[ae]=0}function Tn(t){1024&t[Ut]||(t[Ut]|=1024,Dn(t,1))}function In(t){1024&t[Ut]&&(t[Ut]&=-1025,Dn(t,-1))}function Dn(t,e){let n=t[Gt];if(null===n)return;n[Jt]+=e;let i=n;for(n=n[Gt];null!==n&&(1===e&&1===i[Jt]||-1===e&&0===i[Jt]);)n[Jt]+=e,i=n,n=n[Gt]}function zn(t,e){if(!(256&~t[Ut]))throw new x(911,!1);null===t[he]&&(t[he]=[]),t[he].push(e)}const Nn={lFrame:oi(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fn(){return Nn.bindingsEnabled}function Ln(){return null!==Nn.skipHydrationRootTNode}function Rn(){return Nn.lFrame.lView}function Bn(){return Nn.lFrame.tView}function jn(t){return Nn.lFrame.contextLView=t,t[Kt]}function Hn(t){return Nn.lFrame.contextLView=null,t}function Vn(){let t=$n();for(;null!==t&&64===t.type;)t=t.parent;return t}function $n(){return Nn.lFrame.currentTNode}function qn(t,e){const n=Nn.lFrame;n.currentTNode=t,n.isParent=e}function Zn(){return Nn.lFrame.isParent}function Un(){Nn.lFrame.isParent=!1}function Gn(){const t=Nn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qn(){return Nn.lFrame.bindingIndex++}function Jn(t){const e=Nn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Yn(t,e){const n=Nn.lFrame;n.bindingIndex=n.bindingRootIndex=t,Wn(e)}function Wn(t){Nn.lFrame.currentDirectiveIndex=t}function Kn(t){const e=Nn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Xn(){return Nn.lFrame.currentQueryIndex}function ti(t){Nn.lFrame.currentQueryIndex=t}function ei(t){const e=t[Zt];return 2===e.type?e.declTNode:1===e.type?t[Yt]:null}function ni(t,e,n){if(n&N.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&N.Host||(i=ei(r),null===i)||(r=r[re],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Nn.lFrame=ri();return i.currentTNode=e,i.lView=t,!0}function ii(t){const e=ri(),n=t[Zt];Nn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ri(){const t=Nn.lFrame,e=null===t?null:t.child;return null===e?oi(t):e}function oi(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 si(){const t=Nn.lFrame;return Nn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ai=si;function li(){const t=si();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 ci(){return Nn.lFrame.selectedIndex}function ui(t){Nn.lFrame.selectedIndex=t}function hi(){const t=Nn.lFrame;return Mn(t.tView,t.selectedIndex)}function di(){Nn.lFrame.currentNamespace=xn}function pi(){Nn.lFrame.currentNamespace=null}let fi=!0;function gi(){return fi}function mi(t){fi=t}function vi(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[l]<0&&(t[ae]+=65536),(a>13>16&&(3&t[Ut])===e&&(t[Ut]+=8192,xi(s,o)):xi(s,o)}const ki=-1;class Oi{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Mi(t){return t!==ki}function Si(t){return 32767&t}function Ai(t,e){let n=t>>16,i=e;for(;n>0;)i=i[re],n--;return i}let Pi=!0;function Ei(t){const e=Pi;return Pi=t,e}const Ti=255,Ii=5;let Di=0;const zi={};function Ni(t,e){const n=Li(t,e);if(-1!==n)return n;const i=e[Zt];i.firstCreatePass&&(t.injectorIndex=e.length,Fi(i.data,t),Fi(e,null),Fi(i.blueprint,null));const r=Ri(t,e),o=t.injectorIndex;if(Mi(r)){const t=Si(r),n=Ai(r,e),i=n[Zt].data;for(let r=0;r<8;r++)e[o+r]=n[t+r]|i[t+r]}return e[o+8]=r,o}function Fi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Li(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ri(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){if(i=Xi(r),null===i)return ki;if(n++,r=r[re],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return ki}function Bi(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ht)&&(i=n[ht]),null==i&&(i=n[ht]=Di++);const r=i&Ti,o=1<>Ii)]|=o}(t,e,n)}function ji(t,e,n){if(n&N.Optional||void 0!==t)return t;k()}function Hi(t,e,n,i){if(n&N.Optional&&void 0===i&&(i=null),!(n&(N.Self|N.Host))){const r=t[Xt],o=R(void 0);try{return r?r.get(e,i,n&N.Optional):B(e,i,n&N.Optional)}finally{R(o)}}return ji(i,0,n)}function Vi(t,e,n,i=N.Default,r){if(null!==t){if(2048&e[Ut]&&!(i&N.Self)){const r=function(t,e,n,i,r){let o=t,s=e;for(;null!==o&&null!==s&&2048&s[Ut]&&!(512&s[Ut]);){const t=$i(o,s,n,i|N.Self,zi);if(t!==zi)return t;let e=o.parent;if(!e){const t=s[ue];if(t){const e=t.get(n,zi,i);if(e!==zi)return e}e=Xi(s),s=s[re]}o=e}return r}(t,e,n,i,zi);if(r!==zi)return r}const r=$i(t,e,n,i,zi);if(r!==zi)return r}return Hi(e,n,i,r)}function $i(t,e,n,i,r){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(ht)?t[ht]:void 0;return"number"==typeof e?e>=0?e&Ti:Yi:e}(n);if("function"==typeof o){if(!ni(e,t,i))return i&N.Host?ji(r,0,i):Hi(e,n,i,r);try{let t;if(t=o(i),null!=t||i&N.Optional)return t;k()}finally{ai()}}else if("number"==typeof o){let r=null,s=Li(t,e),a=ki,l=i&N.Host?e[oe][Yt]:null;for((-1===s||i&N.SkipSelf)&&(a=-1===s?Ri(t,e):e[s+8],a!==ki&&Qi(i,!1)?(r=e[Zt],s=Si(a),e=Ai(a,e)):s=-1);-1!==s;){const t=e[Zt];if(Gi(o,s,t.data)){const t=qi(s,e,n,r,i,l);if(t!==zi)return t}a=e[s+8],a!==ki&&Qi(i,e[Zt].data[s+8]===l)&&Gi(o,s,e)?(r=t,s=Si(a),e=Ai(a,e)):s=-1}}return r}function qi(t,e,n,i,r,o){const s=e[Zt],a=s.data[t+8],l=Zi(a,s,n,null==i?ke(a)&&Pi:i!=s&&!!(3&a.type),r&N.Host&&o===a);return null!==l?Ui(e,s,l,a):zi}function Zi(t,e,n,i,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=t.directiveEnd,u=o>>20,h=r?a+u:c;for(let t=i?a:a+u;t=l&&e.type===n)return t}if(r){const t=s[l];if(t&&Me(t)&&t.type===n)return l}return null}function Ui(t,e,n,i){let r=t[n];const o=e.data;if(r instanceof Oi){const s=r;s.resolving&&function(t,e){throw new x(-200,`Circular dependency in DI detected for ${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():C(t)}(o[n]));const a=Ei(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?R(s.injectImpl):null;ni(t,i,N.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const i=mn(e);(n.preOrderHooks??(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-t,r),o&&((n.preOrderHooks??(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&R(l),Ei(a),s.resolving=!1,ai()}}return r}function Gi(t,e,n){const i=1<>Ii)]&i)}function Qi(t,e){return!(t&N.Self||t&N.Host&&e)}class Ji{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return Vi(this._tNode,this._lView,t,K(n),e)}}function Yi(){return new Ji(Vn(),Rn())}function Wi(t){return et((()=>{const e=t.prototype.constructor,n=e[ut]||Ki(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[ut]||Ki(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t}))}function Ki(t){return b(t)?()=>{const e=Ki(y(t));return e&&e()}:Se(t)}function Xi(t){const e=t[Zt],n=e.type;return 2===n?e.declTNode:1===n?t[Yt]:null}function tr(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 i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(er)?t[er]:Object.defineProperty(t,er,{value:[]})[er];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}))}function ir(t,e){t.forEach((t=>Array.isArray(t)?ir(t,e):e(t)))}function rr(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function or(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function sr(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;){const e=r-2;t[r]=t[e],r--}t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function lr(t,e){const n=cr(t,e);if(n>=0)return t[1|n]}function cr(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=t[n<<1];if(e===o)return n<<1;o>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ur=tt(nr("Optional"),8),hr=tt(nr("Self"),2),dr=tt(nr("SkipSelf"),4);function pr(t){return!(128&~t.flags)}var fr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(fr||{});const gr=/^>|^->||--!>|)/g,vr=new Map;let yr=0;const br="__ngContext__";function _r(t,e){var n;we(e)?(t[br]=e[ce],n=e,vr.set(n[ce],n)):t[br]=e}let wr;function xr(t,e){return wr(t,e)}function Cr(t){const e=t[Gt];return xe(e)?e[Gt]:e}function kr(t){return Mr(t[ne])}function Or(t){return Mr(t[Qt])}function Mr(t){for(;null!==t&&!xe(t);)t=t[Qt];return t}function Sr(t,e,n,i,r){if(null!=i){let o,s=!1;xe(i)?o=i:we(i)&&(s=!0,i=i[qt]);const a=Cn(i);0===t&&null!==n?null==r?Nr(e,n,a):zr(e,n,a,r||null,!0):1===t&&null!==n?zr(e,n,a,r||null,!0):2===t?function(t,e,n){const i=Lr(t,e);i&&function(t,e,n,i){t.removeChild(e,n,i)}(t,i,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,i,r){const o=n[ye];o!==Cn(n)&&Sr(e,t,i,o,r);for(let r=_e;r0&&(t[n-1][Qt]=i[Qt]);const s=or(t,_e+e);Jr(i[Zt],r=i,r[ee],2,null,null),r[qt]=null,r[Yt]=null;const a=s[le];null!==a&&a.detachView(s[Zt]),i[Gt]=null,i[Qt]=null,i[Ut]&=-129}var r;return i}function Tr(t,e){if(!(256&e[Ut])){const n=e[ee];e[pe]&&$e(e[pe]),e[fe]&&$e(e[fe]),n.destroyNode&&Jr(t,e,n,3,null,null),function(t){let e=t[ne];if(!e)return Ir(t[Zt],t);for(;e;){let n=null;if(we(e))n=e[ne];else{const t=e[_e];t&&(n=t)}if(!n){for(;e&&!e[Qt]&&e!==t;)we(e)&&Ir(e[Zt],e),e=e[Gt];null===e&&(e=t),we(e)&&Ir(e[Zt],e),n=e&&e[Qt]}e=n}}(e)}}function Ir(t,e){if(!(256&e[Ut])){e[Ut]&=-129,e[Ut]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t=0?i[e]():i[-e].unsubscribe(),t+=2}else{const e=i[n[t+1]];n[t].call(e)}null!==i&&(e[Wt]=null);const r=e[he];if(null!==r){e[he]=null;for(let t=0;t-1){const{encapsulation:n}=t.data[i.directiveStart+e];if(n===it.None||n===it.Emulated)return null}return On(i,n)}}(t,e.parent,n)}function zr(t,e,n,i,r){t.insertBefore(e,n,i,r)}function Nr(t,e,n){t.appendChild(e,n)}function Fr(t,e,n,i,r){null!==i?zr(t,e,n,i,r):Nr(t,e,n)}function Lr(t,e){return t.parentNode(e)}function Rr(t,e,n){return $r(t,e,n)}let Br,jr,Hr,Vr,$r=function(t,e,n){return 40&t.type?On(t,n):null};function qr(t,e,n,i){const r=Dr(t,i,e),o=e[ee],s=Rr(i.parent||e[Yt],i,e);if(null!=r)if(Array.isArray(n))for(let t=0;tt,createScript:t=>t,createScriptURL:t=>t})}catch{}return jr}()?.createHTML(t)||t}function to(t){Hr=t}function eo(){if(void 0!==Hr)return Hr;if("undefined"!=typeof document)return document;throw new x(210,!1)}function no(){if(void 0===Vr&&(Vr=null,j.trustedTypes))try{Vr=j.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vr}function io(t){return no()?.createHTML(t)||t}function ro(t){return no()?.createScriptURL(t)||t}class oo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${w})`}}class so extends oo{getTypeName(){return"HTML"}}class ao extends oo{getTypeName(){return"Style"}}class lo extends oo{getTypeName(){return"Script"}}class co extends oo{getTypeName(){return"URL"}}class uo extends oo{getTypeName(){return"ResourceURL"}}function ho(t){return t instanceof oo?t.changingThisBreaksApplicationSecurity:t}function po(t,e){const n=function(t){return t instanceof oo&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${w})`)}return n===e}function fo(t){return new so(t)}function go(t){return new ao(t)}function mo(t){return new lo(t)}function vo(t){return new co(t)}function yo(t){return new uo(t)}class bo{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Xr(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class _o{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Xr(t),e}}const wo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xo(t){return(t=String(t)).match(wo)?t:"unsafe:"+t}function Co(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ko(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Oo=Co("area,br,col,hr,img,wbr"),Mo=Co("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),So=Co("rp,rt"),Ao=ko(So,Mo),Po=ko(Oo,ko(Mo,Co("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ko(So,Co("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ao),Eo=Co("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),To=ko(Eo,Co("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Co("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Io=Co("script,style,template");class Do{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Po.hasOwnProperty(e))return this.sanitizedSomething=!0,!Io.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t"),!0}endElement(t){const e=t.nodeName.toLowerCase();Po.hasOwnProperty(e)&&!Oo.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Fo(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 zo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,No=/([^\#-~ |!])/g;function Fo(t){return t.replace(/&/g,"&").replace(zo,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(No,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let Lo;function Ro(t,e){let n=null;try{Lo=Lo||function(t){const e=new _o(t);return function(){try{return!!(new window.DOMParser).parseFromString(Xr(""),"text/html")}catch{return!1}}()?new bo(e):e}(t);let i=e?String(e):"";n=Lo.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Lo.getInertBodyElement(i)}while(i!==o);return Xr((new Do).sanitizeChildren(Bo(n)||n))}finally{if(n){const t=Bo(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Bo(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var jo=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(jo||{});function Ho(t){const e=Zo();return e?io(e.sanitize(jo.HTML,t)||""):po(t,"HTML")?io(ho(t)):Ro(eo(),C(t))}function Vo(t){const e=Zo();return e?e.sanitize(jo.URL,t)||"":po(t,"URL")?ho(t):xo(C(t))}function $o(t){const e=Zo();if(e)return ro(e.sanitize(jo.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return ro(ho(t));throw new x(904,!1)}function qo(t,e,n){return function(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?$o:Vo}(e,n)(t)}function Zo(){const t=Rn();return t&&t[te].sanitizer}const Uo=new H("ENVIRONMENT_INITIALIZER"),Go=new H("INJECTOR",-1),Qo=new H("INJECTOR_DEF_TYPES");class Jo{get(t,e=V){if(e===V){const e=new Error(`NullInjectorError: No provider for ${f(t)}!`);throw e.name="NullInjectorError",e}return e}}function Yo(t){return{ɵproviders:t}}function Wo(...t){return{ɵproviders:Ko(0,t),ɵfromNgModule:!0}}function Ko(t,...e){const n=[],i=new Set;let r;const o=t=>{n.push(t)};return ir(e,(t=>{const e=t;ts(e,o,[],i)&&(r||(r=[]),r.push(e))})),void 0!==r&&Xo(r,o),n}function Xo(t,e){for(let n=0;n{e(t,i)}))}}function ts(t,e,n,i){if(!(t=y(t)))return!1;let r=null,o=E(t);const s=!o&&Ft(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const e=t.ngModule;if(o=E(e),!o)return!1;r=e}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const t="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const r of t)ts(r,e,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let t;i.add(r);try{ir(o.imports,(r=>{ts(r,e,n,i)&&(t||(t=[]),t.push(r))}))}finally{}void 0!==t&&Xo(t,e)}if(!a){const t=Se(r)||(()=>new r);e({provide:r,useFactory:t,deps:ot},r),e({provide:Qo,useValue:r,multi:!0},r),e({provide:Uo,useValue:()=>Y(r),multi:!0},r)}const s=o.providers;if(null!=s&&!a){const n=t;es(s,(t=>{e(t,n)}))}}}return r!==t&&void 0!==t.providers}function es(t,e){for(let n of t)_(n)&&(n=n.ɵproviders),Array.isArray(n)?es(n,e):e(n)}const ns=d({provide:String,useValue:d});function is(t){return null!==t&&"object"==typeof t&&ns in t}function rs(t){return"function"==typeof t}const os=new H("Set Injector scope."),ss={},as={};let ls;function cs(){return void 0===ls&&(ls=new Jo),ls}class us{}class hs extends us{get destroyed(){return this._destroyed}constructor(t,e,n,i){super(),this.parent=e,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gs(t,(t=>this.processProvider(t))),this.records.set(Go,fs(void 0,this)),i.has("environment")&&this.records.set(us,fs(void 0,this));const r=this.records.get(os);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Qo.multi,ot,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=Q(this),n=R(void 0);try{return t()}finally{Q(e),R(n)}}get(t,e=V,n=N.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(dt))return t[dt](this);n=K(n);const i=Q(this),r=R(void 0);try{if(!(n&N.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof H)&&S(t);e=n&&this.injectableDefInScope(n)?fs(ds(t),ss):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}const i=n&N.Self?cs():this.parent;return e=n&N.Optional&&e===V?null:e,i.get(t,e)}catch(e){if("NullInjectorError"===e.name){if((e[q]=e[q]||[]).unshift(f(t)),i)throw e;return function(t,e,n,i){const r=t[q];throw e[U]&&r.unshift(e[U]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"ɵ"==t.charAt(1)?t.slice(2):t;let r=f(e);if(Array.isArray(e))r=e.map(f).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):f(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(Z,"\n ")}`}("\n"+t.message,r,"R3InjectorError",i),t.ngTokenPath=r,t[q]=null,t}(e,t,0,this.source)}throw e}finally{R(r),Q(i)}var o}resolveInjectorInitializers(){const t=Q(this),e=R(void 0);try{const t=this.get(Uo.multi,ot,N.Self);for(const e of t)e()}finally{Q(t),R(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(f(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){let e=rs(t=y(t))?t:y(t&&t.provide);const n=function(t){return is(t)?fs(void 0,t.useValue):fs(ps(t),ss)}(t);if(rs(t)||!0!==t.multi)this.records.get(e);else{let n=this.records.get(e);n||(n=fs(void 0,ss,!0),n.factory=()=>X(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e){var n;return e.value===ss&&(e.value=as,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=y(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function ds(t){const e=S(t),n=null!==e?e.factory:Se(t);if(null!==n)return n;if(t instanceof H)throw new x(204,!1);if(t instanceof Function)return function(t){const e=t.length;if(e>0)throw sr(e,"?"),new x(204,!1);const n=(i=t)&&(i[T]||i[D])||null;var i;return null!==n?()=>n.factory(t):()=>new t}(t);throw new x(204,!1)}function ps(t,e,n){let i;if(rs(t)){const e=y(t);return Se(e)||ds(e)}if(is(t))i=()=>y(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...X(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Y(y(t.useExisting));else{const e=y(t&&(t.useClass||t.provide));if(!t.deps)return Se(e)||ds(e);i=()=>new e(...X(t.deps))}var r;return i}function fs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function gs(t,e){for(const n of t)Array.isArray(n)?gs(n,e):n&&_(n)?gs(n.ɵproviders,e):e(n)}const ms=new H("AppId",{providedIn:"root",factory:()=>vs}),vs="ng",ys=new H("Platform Initializer"),bs=new H("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_s=new H("AnimationModuleType"),ws=new H("CSP nonce",{providedIn:"root",factory:()=>eo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let xs=(t,e,n)=>null;function Cs(t,e,n=!1){return xs(t,e,n)}class ks{}class Os{}class Ms{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${f(t)}.`);return e.ngComponent=t,e}(t)}}let Ss=(()=>{class t{}return t.NULL=new Ms,t})();function As(){return Ps(Vn(),Rn())}function Ps(t,e){return new Es(On(t,e))}let Es=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=As,t})();function Ts(t){return t instanceof Es?t.nativeElement:t}class Is{}let Ds=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function(){const t=Rn(),e=An(Vn().index,t);return(we(e)?e:t)[ee]}(),t})(),zs=(()=>{var t;class e{}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>null}),e})();class Ns{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Fs=new Ns("16.2.12"),Ls={};function Rs(t){if(!L()&&!G)throw new x(-203,!1)}function Bs(t,e=null,n=null,i){const r=js(t,e,n,i);return r.resolveInjectorInitializers(),r}function js(t,e=null,n=null,i,r=new Set){const o=[n||ot,Wo(t)];return i=i||("object"==typeof t?void 0:f(t)),new hs(o,e||cs(),i||null,r)}let Hs=(()=>{var t;class e{static create(t,e){if(Array.isArray(t))return Bs({name:""},e,t,"");{const e=t.name??"";return Bs({name:e},t.parent,t.providers,e)}}}return(t=e).THROW_IF_NOT_FOUND=V,t.NULL=new Jo,t.ɵprov=O({token:t,providedIn:"any",factory:()=>Y(Go)}),t.__NG_ELEMENT_ID__=-1,e})();function Vs(t){return t.ngOriginalError}class $s{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Vs(t);for(;e&&Vs(e);)e=Vs(e);return e||null}}let qs=(()=>{var t;class e{}return(t=e).__NG_ELEMENT_ID__=Us,t.__NG_ENV_ID__=t=>t,e})();class Zs extends qs{constructor(t){super(),this._lView=t}onDestroy(t){return zn(this._lView,t),()=>function(t,e){if(null===t[he])return;const n=t[he].indexOf(e);-1!==n&&t[he].splice(n,1)}(this._lView,t)}}function Us(){return new Zs(Rn())}class Gs extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i=t,o=e||(()=>null),s=n;if(t&&"object"==typeof t){const e=t;i=e.next?.bind(e),o=e.error?.bind(e),s=e.complete?.bind(e)}this.__isAsync&&(o=Qs(o),i&&(i=Qs(i)),s&&(s=Qs(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof r.w0&&t.add(a),a}}function Qs(t){return e=>{setTimeout(t,void 0,e)}}const Js=Gs;function Ys(...t){}class Ws{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Js(!1),this.onMicrotaskEmpty=new Js(!1),this.onStable=new Js(!1),this.onError=new Js(!1),"undefined"==typeof Zone)throw new x(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){const t="function"==typeof j.requestAnimationFrame;let e=j[t?"requestAnimationFrame":"setTimeout"],n=j[t?"cancelAnimationFrame":"clearTimeout"];if("undefined"!=typeof Zone&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(j,(()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{t.lastRequestAnimationFrameId=-1,ta(t),t.isCheckStableRunning=!0,Xs(t),t.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),t.fakeTopEventTask.invoke()})),ta(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(function(t){return!!Array.isArray(t)&&1===t.length&&!0===t[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(r,o,s,a);try{return ea(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),na(t)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return ea(t),n.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),na(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,ta(t),Xs(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular((()=>t.onError.emit(r))),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ws.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(Ws.isInAngularZone())throw new x(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,Ks,Ys,Ys);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Ks={};function Xs(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 ta(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ea(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function na(t){t._nesting--,Xs(t)}const ia=new H("",{providedIn:"root",factory:ra});function ra(){const t=W(Ws);let e=!0;const n=new o.y((n=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular((()=>{n.next(e),n.complete()}))})),i=new o.y((n=>{let i;t.runOutsideAngular((()=>{i=t.onStable.subscribe((()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{e||t.hasPendingMacrotasks||t.hasPendingMicrotasks||(e=!0,n.next(!0))}))}))}));const r=t.onUnstable.subscribe((()=>{Ws.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular((()=>{n.next(!1)})))}));return()=>{i.unsubscribe(),r.unsubscribe()}}));return(0,s.T)(n,i.pipe((0,c.B)()))}function oa(t){return t.ownerDocument.defaultView}function sa(t){return t.ownerDocument}function aa(t){return t instanceof Function?t():t}function la(t,e){!e&&Rs();const n=e?.injector??W(Hs);if(!function(t){return"browser"===(t??W(Hs)).get(bs)}(n))return{destroy(){}};let i;const r=n.get(qs).onDestroy((()=>i?.())),o=n.get(ha),s=o.handler??(o.handler=new ua),a=n.get(Ws),l=n.get($s,null,{optional:!0}),c=new ca(a,l,(()=>{i?.(),t()}));return i=()=>{s.unregister(c),r()},s.register(c),{destroy:i}}class ca{constructor(t,e,n){this.zone=t,this.errorHandler=e,this.callbackFn=n}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class ua{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new x(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(t)}unregister(t){this.callbacks.delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of this.callbacks)t.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.callbacks.add(t);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let ha=(()=>{var t;class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function da(t){for(;t;){t[Ut]|=64;const e=Cr(t);if(512&t[Ut]&&!e)return t;t=e}return null}const pa=!1,fa=new H("",{providedIn:"root",factory:()=>pa});let ga=null;function ma(t,e){return t[e]??_a()}function va(t,e){const n=_a();n.producerNode?.length&&(t[e]=ga,n.lView=t,ga=ba())}const ya={...ze,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{da(t.lView)},lView:null};function ba(){return Object.create(ya)}function _a(){return ga??(ga=ba()),ga}const wa={};function xa(t){Ca(Bn(),Rn(),ci()+t,!1)}function Ca(t,e,n,i){if(!i)if(3&~e[Ut]){const i=t.preOrderHooks;null!==i&&bi(e,i,0,n)}else{const i=t.preOrderCheckHooks;null!==i&&yi(e,i,n)}ui(n)}function ka(t,e=N.Default){const n=Rn();return null===n?Y(t,e):Vi(Vn(),n,y(t),e)}function Oa(){throw new Error("invalid")}function Ma(t,e,n,i,r,o,s,a,l,c,u){const h=e.blueprint.slice();return h[qt]=r,h[Ut]=140|i,(null!==c||t&&2048&t[Ut])&&(h[Ut]|=2048),En(h),h[Gt]=h[re]=t,h[Kt]=n,h[te]=s||t&&t[te],h[ee]=a||t&&t[ee],h[Xt]=l||t&&t[Xt]||null,h[Yt]=o,h[ce]=yr++,h[de]=u,h[ue]=c,h[oe]=2==e.type?t[oe]:h,h}function Sa(t,e,n,i,r){let o=t.data[e];if(null===o)o=function(t,e,n,i,r){const o=$n(),s=Zn(),a=s?o:o&&o.parent,l=t.data[e]=function(t,e,n,i,r,o){let s=e?e.injectorIndex:-1,a=0;return Ln()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a,n,e,i,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(t,e,n,i,r),Nn.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const t=function(){const t=Nn.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===t?-1:t.injectorIndex}return qn(o,!0),o}function Aa(t,e,n,i){if(0===n)return-1;const r=e.length;for(let r=0;rge&&Ca(t,e,ge,!1),wn(a?2:0,r);const s=a?o:null,l=je(s);try{null!==s&&(s.dirty=!1),n(i,r)}finally{He(s,l)}}finally{a&&null===e[pe]&&va(e,pe),ui(s),wn(a?3:1,r)}}function Ea(t,e,n){if(Ce(e)){const i=De(null);try{const i=e.directiveStart,r=e.directiveEnd;for(let e=i;e0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(r)!=s&&r.push(s),r.push(n,i,o)}}(t,e,i,Aa(t,n,r.hostVars,wa),r)}function Za(t,e,n,i,r,o){const s=o[e];if(null!==s)for(let t=0;t{var t;class e{constructor(){this.all=new Set,this.queue=new Map}create(t,e,n){const i="undefined"==typeof Zone?null:Zone.current,r=function(t,e,n){const i=Object.create(pn);n&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=e;const r=t=>{i.cleanupFn=t};return i.ref={notify:()=>Be(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Ve(i))return;i.hasRun=!0;const t=je(i);try{i.cleanupFn(),i.cleanupFn=dn,i.fn(r)}finally{He(i,t)}},cleanup:()=>i.cleanupFn()},i.ref}(t,(t=>{this.all.has(t)&&this.queue.set(t,i)}),n);let o;this.all.add(r),r.notify();const s=()=>{r.cleanup(),o?.(),this.all.delete(r),this.queue.delete(r)};return o=e?.onDestroy(s),{destroy:s}}flush(){if(0!==this.queue.size)for(const[t,e]of this.queue)this.queue.delete(t),e?e.run((()=>t.run())):t.run()}get isQueueEmpty(){return 0===this.queue.size}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function sl(t,e){!e?.injector&&Rs();const n=e?.injector??W(Hs),i=n.get(ol),r=!0!==e?.manualCleanup?n.get(qs):null;return i.create(t,r,!!e?.allowSignalWrites)}function al(t,e,n){let i=n?t.styles:null,r=n?t.classes:null,o=0;if(null!==e)for(let t=0;t0){dl(t,1);const e=n.components;null!==e&&gl(t,e,1)}}function gl(t,e,n){for(let i=0;i-1&&(Er(t,n),or(e,n))}this._attachedToViewContainer=!1}Tr(this._lView[Zt],this._lView)}onDestroy(t){zn(this._lView,t)}markForCheck(){da(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ut]&=-129}reattach(){this._lView[Ut]|=128}detectChanges(){ul(this._lView[Zt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Jr(this._lView[Zt],t=this._lView,t[ee],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t}}class vl extends ml{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ul(t[Zt],t,t[Kt],!1)}checkNoChanges(){}get context(){return null}}class yl extends Ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ft(t);return new wl(e,this.ngModule)}}function bl(t){const e=[];for(let n in t)if(t.hasOwnProperty(n)){const i=t[n];e.push({propName:i,templateName:n})}return e}class _l{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=K(n);const i=this.injector.get(t,Ls,n);return i!==Ls||e===Ls?i:this.parentInjector.get(t,e,n)}}class wl extends Os{get inputs(){const t=this.componentDef,e=t.inputTransforms,n=bl(t.inputs);if(null!==e)for(const t of n)e.hasOwnProperty(t.propName)&&(t.transform=e[t.propName]);return n}get outputs(){return bl(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(At).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,n,i){let r=(i=i||this.ngModule)instanceof us?i:i?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const o=r?new _l(t,r):t,s=o.get(Is,null);if(null===s)throw new x(407,!1);const a={rendererFactory:s,sanitizer:o.get(zs,null),effectManager:o.get(ol,null),afterRenderEventManager:o.get(ha,null)},l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n,i){const r=i.get(fa,pa)||n===it.ShadowDom,o=t.selectRootElement(e,r);return o}(l,n,this.componentDef.encapsulation,o):Ar(l,c,function(t){const e=t.toLowerCase();return"svg"===e?xn:"math"===e?"math":null}(c)),h=this.componentDef.onPush?576:528,d=this.componentDef.signals?4608:h;let p=null;null!==u&&(p=Cs(u,o,!0));const f=za(0,null,null,1,0,null,null,null,null,null,null),g=Ma(null,f,null,d,null,null,a,l,o,null,p);let m,v;ii(g);try{const t=this.componentDef;let i,r=null;t.findHostDirectiveDefs?(i=[],r=new Map,t.findHostDirectiveDefs(t,i,r),i.push(t)):i=[t];const o=function(t,e,n,i,r,o,s){const a=r[Zt];!function(t,e,n,i){for(const n of t)e.mergedAttrs=mt(e.mergedAttrs,n.hostAttrs);null!==e.mergedAttrs&&(al(e,e.mergedAttrs,!0),null!==n&&Kr(i,n,e))}(i,t,e,s);let l=null;null!==e&&(l=Cs(e,r[Xt]));const c=o.rendererFactory.createRenderer(e,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const h=Ma(r,Da(n),null,u,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Va(a,t,i.length-1),Ya(r,h),r[t.index]=h}(function(t,e){const n=t[Zt],i=ge;return t[i]=e,Sa(n,i,2,"#host",null)}(g,u),u,t,i,g,a,l);v=Mn(f,ge),u&&function(t,e,n,i){if(i)ft(t,n,["ng-version",Fs.full]);else{const{attrs:i,classes:r}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&Wr(t,n,r.join(" "))}}(l,t,u,n),void 0!==e&&function(t,e,n){const i=t.projection=[];for(let t=0;t=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=mt(r.hostAttrs,n=mt(n,r.hostAttrs))}}(r)}function Ol(t){return t===rt?{}:t===ot?[]:t}function Ml(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Sl(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Al(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}function Pl(t){return e=>{e.findHostDirectiveDefs=El,e.hostDirectives=(Array.isArray(t)?t:t()).map((t=>"function"==typeof t?{directive:y(t),inputs:rt,outputs:rt}:{directive:y(t.directive),inputs:Tl(t.inputs),outputs:Tl(t.outputs)}))}}function El(t,e,n){if(null!==t.hostDirectives)for(const i of t.hostDirectives){const t=Lt(i.directive);Il(t.declaredInputs,i.inputs),El(t,e,n),n.set(t,i),e.push(t)}}function Tl(t){if(void 0===t||0===t.length)return rt;const e={};for(let n=0;n(mi(!0),Ar(i,r,Nn.lFrame.currentNamespace));function Kl(t,e,n){const i=Rn(),r=Bn(),o=t+ge,s=r.firstCreatePass?function(t,e,n,i,r){const o=e.consts,s=Pn(o,i),a=Sa(e,t,8,"ng-container",s);return null!==s&&al(a,s,!0),Ra(e,n,a,Pn(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,i,e,n):r.data[o];qn(s,!0);const a=ec(r,i,s,t);return i[o]=a,gi()&&qr(r,i,a,s),_r(a,i),Oe(s)&&(Ta(r,i,s),Ea(r,s,i)),null!=n&&Ia(i,s),Kl}function Xl(){let t=Vn();const e=Bn();return Zn()?Un():(t=t.parent,qn(t,!1)),e.firstCreatePass&&(vi(e,t),Ce(t)&&e.queries.elementEnd(t)),Xl}function tc(t,e,n){return Kl(t,e,n),Xl(),tc}let ec=(t,e,n,i)=>{return mi(!0),r=e[ee],o="",r.createComment(function(t){return t.replace(gr,(t=>t.replace(mr,"​$1​")))}(o));var r,o};function nc(){return Rn()}function ic(t){return!!t&&"function"==typeof t.then}function rc(t){return!!t&&"function"==typeof t.subscribe}function oc(t,e,n,i){const r=Rn(),o=Bn(),s=Vn();return function(t,e,n,i,r,o,s){const a=Oe(i),l=t.firstCreatePass&&Xa(t),c=e[Kt],u=Ka(e);let h=!0;if(3&i.type||s){const d=On(i,e),p=s?s(d):d,f=u.length,g=s?t=>s(Cn(t[i.index])):i.index;let m=null;if(!s&&a&&(m=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let t=0;ti?n[i]:null}"string"==typeof o&&(t+=2)}return null}(t,e,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,h=!1;else{o=ac(i,e,c,o,!1);const t=n.listen(p,r,o);u.push(o,t),l&&l.push(r,g,f,f+1)}}else o=ac(i,e,c,o,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){const t=p.length;if(t)for(let n=0;n-1?An(t.index,e):e);let a=sc(e,n,i,s),l=o.__ngNextListenerFn__;for(;l;)a=sc(e,n,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&s.preventDefault(),a}}function lc(t=1){return function(t){return(Nn.lFrame.contextLView=function(t,e){for(;t>0;)e=e[re],t--;return e}(t,Nn.lFrame.contextLView))[Kt]}(t)}function cc(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(t);for(let r=0;r>17&32767}function mc(t){return 2|t}function vc(t){return(131068&t)>>2}function yc(t,e){return-131069&t|e<<2}function bc(t){return 1|t}function _c(t,e,n,i,r){const o=t[n+1],s=null===e;let a=i?gc(o):vc(o),l=!1;for(;0!==a&&(!1===l||s);){const n=t[a],r=t[a+1];wc(n,e)&&(l=!0,t[a+1]=i?bc(r):mc(r)),a=i?gc(r):vc(r)}l&&(t[n+1]=i?mc(o):bc(o))}function wc(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&cr(t,e)>=0}const xc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cc(t){return t.substring(xc.key,xc.keyEnd)}function kc(t,e){const n=xc.textEnd;return n===e?-1:(e=xc.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,xc.key=e,n),Oc(t,e,n))}function Oc(t,e,n){for(;e=0;n=kc(e,n))ar(t,Cc(e),!0)}function Ec(t,e,n,i){const r=Rn(),o=Bn(),s=Jn(2);o.firstUpdatePass&&Ic(o,t,s,i),e!==wa&&Rl(r,s,e)&&Fc(o,o.data[ci()],r,r[ee],t,r[s+1]=function(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=f(ho(t)))),t}(e,n),i,s)}function Tc(t,e){return e>=t.expandoStartIndex}function Ic(t,e,n,i){const r=t.data;if(null===r[n+1]){const o=r[ci()],s=Tc(t,n);Bc(o,i)&&null===e&&!s&&(e=!1),e=function(t,e,n,i){const r=Kn(t);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=zc(n=Dc(null,t,e,n,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(n=Dc(r,t,e,n,i),null===o){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==vc(i))return t[gc(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Dc(null,t,e,n[1],i),n=zc(n,e.attrs,i),function(t,e,n,i){t[gc(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else o=function(t,e,n){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=gc(t[a+1]);t[i+1]=fc(e,a),0!==e&&(t[e+1]=yc(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=fc(a,0),0!==a&&(t[a+1]=yc(t[a+1],i)),a=i;else t[i+1]=fc(l,0),0===a?a=i:t[l+1]=yc(t[l+1],i),l=i;u&&(t[i+1]=mc(t[i+1])),_c(t,c,i,!0),_c(t,c,i,!1),function(t,e,n,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&cr(o,e)>=0&&(n[i+1]=bc(n[i+1]))}(e,c,t,i,o),s=fc(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,n,s,i)}}function Dc(t,e,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[r],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[r+1];u===wa&&(u=c?ot:void 0);let h=c?lr(u,i):l===i?u:void 0;if(o&&!Rc(h)&&(h=lr(e,i)),Rc(h)&&(a=h,s))return a;const d=t[r+1];r=s?gc(d):vc(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=lr(t,i))}return a}function Rc(t){return void 0!==t}function Bc(t,e){return!!(t.flags&(e?8:16))}function jc(t,e=""){const n=Rn(),i=Bn(),r=t+ge,o=i.firstCreatePass?Sa(i,r,1,e,null):i.data[r],s=Hc(i,n,o,e,t);n[r]=s,gi()&&qr(i,n,s,o),qn(o,!1)}let Hc=(t,e,n,i,r)=>(mi(!0),function(t,e){return t.createText(e)}(e[ee],i));function Vc(t){return $c("",t,""),Vc}function $c(t,e,n){const i=Rn(),r=Vl(i,t,e,n);return r!==wa&&nl(i,ci(),r),$c}function qc(t,e,n,i,r){const o=Rn(),s=function(t,e,n,i,r,o){const s=Bl(t,Nn.lFrame.bindingIndex,n,r);return Jn(2),s?e+C(n)+i+C(r)+o:wa}(o,t,e,n,i,r);return s!==wa&&nl(o,ci(),s),qc}function Zc(t,e,n){const i=Rn();return Rl(i,Qn(),e)&&La(Bn(),hi(),i,t,e,i[ee],n,!0),Zc}function Uc(t,e,n){const i=Rn();if(Rl(i,Qn(),e)){const r=Bn(),o=hi();La(r,o,i,t,e,function(t,e,n){return(null===t||Me(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[me])return t;t=t[qt]}return null}(n[e.index])),n[ee]}(Kn(r.data),o,i),n,!0)}return Uc}const Gc=void 0;var Qc=["en",[["a","p"],["AM","PM"],Gc],[["AM","PM"],Gc,Gc],[["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"]],Gc,[["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"]],Gc,[["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}",Gc,"{1} 'at' {0}",Gc],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##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 Jc={};function Yc(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Kc(e);if(n)return n;const i=e.split("-")[0];if(n=Kc(i),n)return n;if("en"===i)return Qc;throw new x(701,!1)}function Wc(t){return Yc(t)[Xc.PluralCase]}function Kc(t){return t in Jc||(Jc[t]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[t]),Jc[t]}var Xc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Xc||{});const tu="en-US";let eu=tu;function nu(t,e,n,i,r){if(t=y(t),Array.isArray(t))for(let o=0;o>20;if(rs(t)||!t.multi){const i=new Oi(c,r,ka),p=ou(l,e,r?u:u+d,h);-1===p?(Bi(Ni(a,s),o,l),iu(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=ou(l,e,u+d,h),f=ou(l,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){Bi(Ni(a,s),o,l);const u=function(t,e,n,i,r){const o=new Oi(t,n,ka);return o.multi=[],o.index=e,o.componentProviders=0,ru(o,r,i&&!n),o}(r?au:su,n.length,r,i,c);!r&&m&&(n[f].providerFactory=u),iu(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(u),s.push(u)}else iu(o,t,p>-1?p:f,ru(n[r?f:p],c,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function iu(t,e,n,i){const r=rs(e),o=!!e.useClass;if(r||o){const s=(o?y(e.useClass):e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function ru(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ou(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=Bn();if(i.firstCreatePass){const r=Me(t);nu(n,i.data,i.blueprint,r,!0),nu(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class uu{}class hu{}function du(t,e){return new pu(t,e??null,[])}class pu extends uu{constructor(t,e,n){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yl(this);const i=jt(t);this._bootstrapComponents=aa(i.bootstrap),this._r3Injector=js(t,e,[{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver},...n],f(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((t=>t())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class fu extends hu{constructor(t){super(),this.moduleType=t}create(t){return new pu(this.moduleType,t,[])}}class gu extends uu{constructor(t){super(),this.componentFactoryResolver=new yl(this),this.instance=null;const e=new hs([...t.providers,{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],t.parent||cs(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mu(t,e,n=null){return new gu({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let vu=(()=>{var t;class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=Ko(0,t.type),n=e.length>0?mu([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return(t=e).ɵprov=O({token:t,providedIn:"environment",factory:()=>new t(Y(us))}),e})();function yu(t){t.getStandaloneInjector=e=>e.get(vu).getOrCreateStandaloneInjector(t)}function bu(t,e,n){const i=Gn()+t,r=Rn();return r[i]===wa?Fl(r,i,n?e.call(n):e()):Ll(r,i)}function _u(t,e,n,i){return Mu(Rn(),Gn(),t,e,n,i)}function wu(t,e,n,i,r){return Su(Rn(),Gn(),t,e,n,i,r)}function xu(t,e,n,i,r,o,s){return Au(Rn(),Gn(),t,e,n,i,r,o,s)}function Cu(t,e,n,i,r,o,s,a){const l=Gn()+t,c=Rn(),u=jl(c,l,n,i,r,o);return Rl(c,l+4,s)||u?Fl(c,l+5,a?e.call(a,n,i,r,o,s):e(n,i,r,o,s)):Ll(c,l+5)}function ku(t,e,n,i,r,o,s,a,l){const c=Gn()+t,u=Rn(),h=jl(u,c,n,i,r,o);return Bl(u,c+4,s,a)||h?Fl(u,c+6,l?e.call(l,n,i,r,o,s,a):e(n,i,r,o,s,a)):Ll(u,c+6)}function Ou(t,e){const n=t[e];return n===wa?void 0:n}function Mu(t,e,n,i,r,o){const s=e+n;return Rl(t,s,r)?Fl(t,s+1,o?i.call(o,r):i(r)):Ou(t,s+1)}function Su(t,e,n,i,r,o,s){const a=e+n;return Bl(t,a,r,o)?Fl(t,a+2,s?i.call(s,r,o):i(r,o)):Ou(t,a+2)}function Au(t,e,n,i,r,o,s,a,l){const c=e+n;return jl(t,c,r,o,s,a)?Fl(t,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):Ou(t,c+4)}function Pu(t,e){const n=Bn();let i;const r=t+ge;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Se(i.type)),s=R(ka);try{const t=Ei(!1),e=o();return Ei(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Rn(),r,e),e}finally{R(s)}}function Eu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?Mu(r,Gn(),e,o.transform,n,o):o.transform(n)}function Tu(t,e,n,i){const r=t+ge,o=Rn(),s=Sn(o,r);return Nu(o,r)?Su(o,Gn(),e,s.transform,n,i,s):s.transform(n,i)}function Iu(t,e,n,i,r){const o=t+ge,s=Rn(),a=Sn(s,o);return Nu(s,o)?function(t,e,n,i,r,o,s,a){const l=e+n;return function(t,e,n,i,r){const o=Bl(t,e,n,i);return Rl(t,e+2,r)||o}(t,l,r,o,s)?Fl(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Ou(t,l+3)}(s,Gn(),e,a.transform,n,i,r,a):a.transform(n,i,r)}function Du(t,e,n,i,r,o){const s=t+ge,a=Rn(),l=Sn(a,s);return Nu(a,s)?Au(a,Gn(),e,l.transform,n,i,r,o,l):l.transform(n,i,r,o)}function zu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?function(t,e,n,i,r,o){let s=e+n,a=!1;for(let e=0;e{class t{}return t.__NG_ELEMENT_ID__=Hu,t})();const Bu=Ru,ju=class extends Bu{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){const i=function(t,e,n,i){const r=e.tView,o=Ma(t,r,n,4096&t[Ut]?4096:16,null,e,null,null,null,i?.injector??null,i?.hydrationInfo??null),s=t[e.index];o[se]=s;const a=t[le];return null!==a&&(o[le]=a.createEmbeddedView(r)),rl(r,o,n),o}(this._declarationLView,this._declarationTContainer,t,{injector:e,hydrationInfo:n});return new ml(i)}};function Hu(){return Vu(Vn(),Rn())}function Vu(t,e){return 4&t.type?new ju(e,t,Ps(t,e)):null}let $u=(()=>{class t{}return t.__NG_ELEMENT_ID__=qu,t})();function qu(){return Ju(Vn(),Rn())}const Zu=$u,Uu=class extends Zu{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ps(this._hostTNode,this._hostLView)}get injector(){return new Ji(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ri(this._hostTNode,this._hostLView);if(Mi(t)){const e=Ai(t,this._hostLView),n=Si(t),i=e[Zt].data[n+8];return new Ji(i,e)}return new Ji(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Gu(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-_e}createEmbeddedView(t,e,n){let i,r;"number"==typeof n?i=n:null!=n&&(i=n.index,r=n.injector);const o=(this._lContainer,t.ssrId,null),s=t.createEmbeddedViewImpl(e||{},r,o),a=!!o&&!pr(this._hostTNode);return this.insertImpl(s,i,a),s}createComponent(t,e,n,i,r){const o=t&&!("function"==typeof t);let s;if(o)s=e;else{const t=e||{};s=t.index,n=t.injector,i=t.projectableNodes,r=t.environmentInjector||t.ngModuleRef}const a=o?t:new wl(Ft(t)),l=n||this.parentInjector;if(!r&&null==a.ngModule){const t=(o?l:this.parentInjector).get(us,null);t&&(r=t)}Ft(a.componentType??{});const c=(this._lContainer,null),u=c?.firstChild??null,h=a.create(l,i,u,r),d=!!c&&!pr(this._hostTNode);return this.insertImpl(h.hostView,s,d),h}insert(t,e){return this.insertImpl(t,e,!1)}insertImpl(t,e,n){const i=t._lView;if(i[Zt],xe(i[Gt])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[Gt],n=new Uu(e,e[Yt],e[Gt]);n.detach(n.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;return function(t,e,n,i=!0){const r=e[Zt];if(function(t,e,n,i){const r=_e+i,o=n.length;i>0&&(n[r-1][Qt]=e),i0)i.push(s[t/2]);else{const r=o[t+1],s=e[-n];for(let t=_e;t{var t;class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise(((t,e)=>{this.resolve=t,this.reject=e})),this.appInits=W(gh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=e();if(ic(n))t.push(n);else if(rc(n)){const e=new Promise(((t,e)=>{n.subscribe({complete:t,error:e})}));t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then((()=>{e()})).catch((t=>{this.reject(t)})),0===t.length&&e(),this.initialized=!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),vh=(()=>{var t;class e{log(t){console.log(t)}warn(t){console.warn(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})();const yh=new H("LocaleId",{providedIn:"root",factory:()=>W(yh,N.Optional|N.SkipSelf)||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||tu)}),bh=new H("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let _h=(()=>{var t;class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new a.X(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class wh{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let xh=(()=>{var t;class e{compileModuleSync(t){return new fu(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=aa(jt(t).declarations).reduce(((t,e)=>{const n=Ft(e);return n&&t.push(new wl(n)),t}),[]);return new wh(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const Ch=new H(""),kh=new H("");let Oh,Mh=(()=>{var t;class e{constructor(t,e,n){this._ngZone=t,this.registry=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Oh||(Oh=n,n.addToWindow(e)),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:()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{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())queueMicrotask((()=>{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 i=-1;e&&e>0&&(i=setTimeout((()=>{this._callbacks=this._callbacks.filter((t=>t.timeoutId!==i)),t(this._didWork,this.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,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}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,n){return[]}}return(t=e).ɵfac=function(e){return new(e||t)(Y(Ws),Y(Sh),Y(kh))},t.ɵprov=O({token:t,factory:t.ɵfac}),e})(),Sh=(()=>{var t;class e{constructor(){this._applications=new Map}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 Oh?.findTestabilityInTree(this,t,e)??null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})(),Ah=null;const Ph=new H("PlatformDestroyListeners"),Eh=new H("appBootstrapListener");function Th(t){try{const{rootComponent:n,appProviders:i,platformProviders:r}=t,o=function(t=[]){if(Ah)return Ah;const e=function(t=[],e){return Hs.create({name:e,providers:[{provide:os,useValue:"platform"},{provide:Ph,useValue:new Set([()=>Ah=null])},...t]})}(t);return Ah=e,tn=()=>{throw new x(600,!1)},function(t){const e=t.get(ys,null);e?.forEach((t=>t()))}(e),e}(r),s=[Yo([[],(e=()=>new Ws({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!1,shouldCoalesceRunChangeDetection:!1}),[{provide:Ws,useFactory:e},{provide:Uo,multi:!0,useFactory:()=>{const t=W(Fh,{optional:!0});return()=>t.initialize()}},{provide:zh,useFactory:Nh},{provide:ia,useFactory:ra}])]),...i||[]],a=new gu({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ws);return l.run((()=>{a.resolveInjectorInitializers();const t=a.get($s,null);let e;l.runOutsideAngular((()=>{e=l.onError.subscribe({next:e=>{t.handleError(e)}})}));const i=()=>a.destroy(),r=o.get(Ph);return r.add(i),a.onDestroy((()=>{e.unsubscribe(),r.delete(i)})),function(t,e,i){try{const i=(()=>{const t=a.get(mh);return t.runInitializers(),t.donePromise.then((()=>{var t,e,i;e=t=a.get(yh,tu)||tu,i="Expected localeId to be defined",null==e&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(eu=t.toLowerCase().replace(/_/g,"-"));const r=a.get(Ih);return void 0!==n&&r.bootstrap(n),r}))})();return ic(i)?i.catch((n=>{throw e.runOutsideAngular((()=>t.handleError(n))),n})):i}catch(n){throw e.runOutsideAngular((()=>t.handleError(n))),n}}(t,l)}))}catch(t){return Promise.reject(t)}var e}let Ih=(()=>{var t;class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(zh),this.zoneIsStable=W(ia),this.componentTypes=[],this.components=[],this.isStable=W(_h).hasPendingTasks.pipe((0,u.w)((t=>t?(0,l.of)(!1):this.zoneIsStable)),(0,h.x)(),(0,c.B)()),this._injector=W(us)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,e){const n=t instanceof Os;if(!this._injector.get(mh).done)throw!n&&Bt(t),new x(405,!1);let i;i=n?t:this._injector.get(Ss).resolveComponentFactory(t),this.componentTypes.push(i.componentType);const r=i.isBoundToModule?void 0:this._injector.get(uu),o=e||i.selector,s=i.create(Hs.NULL,[],o,r),a=s.location.nativeElement,l=s.injector.get(Ch,null);return l?.registerApplication(a),s.onDestroy((()=>{this.detachView(s.hostView),Dh(this.components,s),l?.unregisterApplication(a)})),this._loadComponent(s),s}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Dh(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const e=this._injector.get(Eh,[]);e.push(...this._bootstrapListeners),e.forEach((e=>e(t)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((t=>t())),this._views.slice().forEach((t=>t.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Dh(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new x(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const zh=new H("",{providedIn:"root",factory:()=>W($s).handleError.bind(void 0)});function Nh(){const t=W(Ws),e=W($s);return n=>t.runOutsideAngular((()=>e.handleError(n)))}let Fh=(()=>{var t;class e{constructor(){this.zone=W(Ws),this.applicationRef=W(Ih)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Lh(){}let Rh=(()=>{class t{}return t.__NG_ELEMENT_ID__=Bh,t})();function Bh(t){return function(t,e,n){if(ke(t)&&!n){const n=An(t.index,e);return new ml(n,n)}if(47&t.type){const t=e[oe];return new ml(t,e)}return null}(Vn(),Rn(),!(16&~t))}class jh{constructor(){}supports(t){return zl(t)}create(t){return new Vh(t)}}const Hh=(t,e)=>e;class Vh{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||Hh}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const o=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),o=!0),r=r._next,e++})),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=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,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new $h(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Zh),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||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zh),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class $h{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 qh{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 Zh{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qh,this.map.set(e,n)),n.add(t)}get(t,e){const n=t,i=this.map.get(n);return i?i.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 Uh(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}})),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Jh(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 Jh{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 Yh(){return new Wh([new jh])}let Wh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Yh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(null!=e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Yh}),e})();function Kh(){return new Xh([new Gh])}let Xh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Kh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Kh}),e})();function td(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function ed(t,e){const n=Ft(t),i=e.elementInjector||cs();return new wl(n).create(i,e.projectableNodes,e.hostElement,e.environmentInjector)}},62022:(t,e,n)=>{n.d(e,{O4:()=>u,sL:()=>s});var i=n(20755),r=n(48132),o=n(81749);function s(t){t||((0,i.gHi)(s),t=(0,i.f3M)(i.ktI));const e=new r.y((e=>t.onDestroy(e.next.bind(e))));return t=>t.pipe((0,o.R)(e))}class a extends Error{constructor(t,e){super(function(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(t,e)),this.code=t}}let l=null;function c(t){const e=l;return l=t,e}function u(t,e){const n=!e?.manualCleanup;n&&!e?.injector&&(0,i.gHi)(u);const r=n?e?.injector?.get(i.ktI)??(0,i.f3M)(i.ktI):null;let o;return o=e?.requireSync?(0,i.tdS)({kind:0}):(0,i.tdS)({kind:1,value:e?.initialValue}),function(e){const n=c(null);try{return(()=>{const e=t.subscribe({next:t=>o.set({kind:1,value:t}),error:t=>o.set({kind:2,error:t})});r?.onDestroy(e.unsubscribe.bind(e))})()}finally{c(n)}}(),(0,i.Flj)((()=>{const t=o();switch(t.kind){case 1:return t.value;case 2:throw t.error;case 0:throw new a(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}}))}},43226:(t,e,n)=>{n.d(e,{Cf:()=>y,Fj:()=>g,JJ:()=>$,JL:()=>q,JU:()=>u,NI:()=>dt,On:()=>gt,UX:()=>Et,Wl:()=>d,_:()=>_t,_Y:()=>mt,a5:()=>H,cw:()=>X,eT:()=>xt,gN:()=>j,kI:()=>w,oH:()=>Ot,sg:()=>St,u5:()=>Pt});var i=n(20755),r=n(76733),o=n(3489),s=n(30319),a=n(92425);let l=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.ɵdir=i.lG2({type:t}),e})(),c=(()=>{var t;class e extends l{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();const u=new i.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,i.Gpc)((()=>d)),multi:!0};let d=(()=>{var t;class e extends c{writeValue(t){this.setProperty("checked",t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([h]),i.qOj]}),e})();const p={provide:u,useExisting:(0,i.Gpc)((()=>g)),multi:!0},f=new i.OlP("CompositionEventMode");let g=(()=>{var t;class e extends l{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(f,8))},t.ɵdir=i.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&&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)}))},features:[i._Bn([p]),i.qOj]}),e})();function m(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function v(t){return null!=t&&"number"==typeof t.length}const y=new i.OlP("NgValidators"),b=new i.OlP("NgAsyncValidators"),_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class w{static min(t){return function(t){return e=>{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return function(t){return m(t.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return m(t.value)||_.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>m(e.value)||!v(e.value)?null:e.value.lengthv(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return x;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(m(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return A(t)}static composeAsync(t){return E(t)}}function x(t){return null}function C(t){return null!=t}function k(t){return(0,i.QGY)(t)?(0,o.D)(t):t}function O(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function M(t,e){return e.map((e=>e(t)))}function S(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function A(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return O(M(t,e))}}function P(t){return null!=t?A(S(t)):null}function E(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const n=M(t,e).map(k);return(0,s.D)(n).pipe((0,a.U)(O))}}function T(t){return null!=t?E(S(t)):null}function I(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function D(t){return t._rawValidators}function z(t){return t._rawAsyncValidators}function N(t){return t?Array.isArray(t)?t:[t]:[]}function F(t,e){return Array.isArray(t)?t.includes(e):t===e}function L(t,e){const n=N(e);return N(t).forEach((t=>{F(n,t)||n.push(t)})),n}function R(t,e){return N(e).filter((e=>!F(t,e)))}class B{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=P(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=T(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=void 0){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}}class j extends B{get formDirective(){return null}get path(){return null}}class H extends B{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class V{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let $=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(H,2))},t.ɵdir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)},features:[i.qOj]}),e})(),q=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,10))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)("ng-submitted",e.isSubmitted)},features:[i.qOj]}),e})();const Z="VALID",U="INVALID",G="PENDING",Q="DISABLED";function J(t){return(W(t)?t.validators:t)||null}function Y(t,e){return(W(e)?e.asyncValidators:t)||null}function W(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class K{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}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===Z}get invalid(){return this.status===U}get pending(){return this.status==G}get disabled(){return this.status===Q}get enabled(){return this.status!==Q}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._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(L(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(L(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(R(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(R(t,this._rawAsyncValidators))}hasValidator(t){return F(this._rawValidators,t)}hasAsyncValidator(t){return F(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=G,!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=Q,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Z,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...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}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Z&&this.status!==G||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()?Q:Z}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=G,this._hasOwnPendingAsyncValidator=!0;const e=k(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){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}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 i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Q:this.errors?U:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(G)?G:this._anyControlsHaveStatus(U)?U:Z}_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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){W(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?P(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?T(e):e||null)}}class X extends K{constructor(t,e,n){super(J(e),Y(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={}){(function(t,e,n){t._forEachChild(((t,e)=>{if(void 0===n[e])throw new i.vHH(1002,"")}))})(this,0,t),Object.keys(t).forEach((n=>{(function(t,e,n){const r=t.controls;if(!Object.keys(r).length)throw new i.vHH(1e3,"");if(!r[n])throw new i.vHH(1001,"")})(this,0,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=>{const i=this.controls[n];i&&i.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((n,i)=>{n.reset(t?t[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,n)=>(t[n]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),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,n]of Object.entries(this.controls))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,i)=>{n=e(n,t,i)})),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}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const tt=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>et}),et="always";function nt(t,e,n=et){ot(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===n)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&at(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&&at(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 it(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),st(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function rt(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function ot(t,e){const n=D(t);null!==e.validator?t.setValidators(I(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=z(t);null!==e.asyncValidator?t.setAsyncValidators(I(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();rt(e._rawValidators,r),rt(e._rawAsyncValidators,r)}function st(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=D(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.validator));r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=z(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.asyncValidator));r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return rt(e._rawValidators,i),rt(e._rawAsyncValidators,i),n}function at(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function ct(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===g?n=t:(e=t,Object.getPrototypeOf(e.constructor)===c?i=t:r=t)})),r||i||n||null}function ut(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ht(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const dt=class extends K{constructor(t=null,e,n){super(J(e),Y(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),W(e)&&(e.nonNullable||e.initialValueIsDefault)&&(ht(t)?this.defaultValue=t.value:this.defaultValue=t)}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=this.defaultValue,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){ut(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ut(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){ht(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}},pt={provide:H,useExisting:(0,i.Gpc)((()=>gt))},ft=(()=>Promise.resolve())();let gt=(()=>{var t;class e extends H{constructor(t,e,n,r,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new dt,this._registered=!1,this.name="",this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=ct(0,r)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),lt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){nt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){ft.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,n=0!==e&&(0,i.VuI)(e);ft.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?(e=t,[...this._parent.path,e]):[t];var e}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,9),i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(i.sBO,8),i.Y36(tt,8))},t.ɵdir=i.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:[i._Bn([pt]),i.qOj,i.TTD]}),e})(),mt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const vt={provide:u,useExisting:(0,i.Gpc)((()=>_t)),multi:!0};let yt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})(),bt=(()=>{var t;class e{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:yt}),e})(),_t=(()=>{var t;class e extends c{constructor(t,e,n,r){super(t,e),this._registry=n,this._injector=r,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,i.f3M)(tt,{optional:!0})??et}ngOnInit(){this._control=this._injector.get(H),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(bt),i.Y36(i.zs3))},t.ɵdir=i.lG2({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i._Bn([vt]),i.qOj]}),e})();const wt={provide:u,useExisting:(0,i.Gpc)((()=>xt)),multi:!0};let xt=(()=>{var t;class e extends c{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([wt]),i.qOj]}),e})();const Ct=new i.OlP("NgModelWithFormControlWarning"),kt={provide:H,useExisting:(0,i.Gpc)((()=>Ot))};let Ot=(()=>{var t;class e extends H{set isDisabled(t){}constructor(t,e,n,r,o){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=ct(0,n)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&it(e,this,!1),nt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}lt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&it(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=e)._ngModelWarningSentOnce=!1,t.ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(Ct,8),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([kt]),i.qOj,i.TTD]}),e})();const Mt={provide:j,useExisting:(0,i.Gpc)((()=>St))};let St=(()=>{var t;class e extends j{constructor(t,e,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.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&&(st(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 nt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){it(t.control||null,t,!1),function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,e=this.form,n=this.directives,e._syncPendingControls(),n.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),"dialog"===t?.target?.method;var e,n}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(it(e||null,t),n instanceof dt&&(nt(n,t,this.callSetDisabledState),t.control=n))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){ot(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const n=function(t,e){return st(t,e)}(e,t);n&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){ot(this.form,this),this._oldForm&&st(this._oldForm,this)}_checkFormPresent(){this.form}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Mt]),i.qOj,i.TTD]}),e})(),At=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[yt]}),e})(),Pt=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})(),Et=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ct,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})()},43232:(t,e,n)=>{n.d(e,{Cg:()=>D,Dx:()=>R,H7:()=>B,s3:()=>u,se:()=>x});var i=n(20755),r=n(76733);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),()=>{t.removeEventListener(e,n)}}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,c=(()=>{var t;class e{build(){return new XMLHttpRequest}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const u=new i.OlP("EventManagerPlugins");let h=(()=>{var t;class e{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)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find((e=>e.supports(t))),!e)throw new i.vHH(5101,!1);return this._eventNameToPlugin.set(t,e),e}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(u),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class d{constructor(t){this._doc=t}}const p="ng-app-id";let f=(()=>{var t;class e{constructor(t,e,n,i={}){this.doc=t,this.appId=e,this.nonce=n,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,r.PM)(i),this.resetHostNodes()}addStyles(t){for(const e of t)1===this.changeUsageCount(e,1)&&this.onStyleAdded(e)}removeStyles(t){for(const e of t)this.changeUsageCount(e,-1)<=0&&this.onStyleRemoved(e)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach((t=>t.remove())),t.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const e of this.getAllStyles())this.addStyleToHost(t,e)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const e of this.hostNodes)this.addStyleToHost(e,t)}onStyleRemoved(t){const e=this.styleRef;e.get(t)?.elements?.forEach((t=>t.remove())),e.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${p}="${this.appId}"]`);if(t?.length){const e=new Map;return t.forEach((t=>{null!=t.textContent&&e.set(t.textContent,t)})),e}return null}changeUsageCount(t,e){const n=this.styleRef;if(n.has(t)){const i=n.get(t);return i.usage+=e,i.usage}return n.set(t,{usage:e,elements:[]}),e}getStyleElement(t,e){const n=this.styleNodesInDOM,i=n?.get(e);if(i?.parentNode===t)return n.delete(e),i.removeAttribute(p),i;{const t=this.doc.createElement("style");return this.nonce&&t.setAttribute("nonce",this.nonce),t.textContent=e,this.platformIsServer&&t.setAttribute(p,this.appId),t}}addStyleToHost(t,e){const n=this.getStyleElement(t,e);t.appendChild(n);const i=this.styleRef,r=i.get(e)?.elements;r?r.push(n):i.set(e,{elements:[n],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.AFp),i.LFG(i.Ojb,8),i.LFG(i.Lbi))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},m=/%COMP%/g,v="%COMP%",y=`_nghost-${v}`,b=`_ngcontent-${v}`,_=new i.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function w(t,e){return e.map((e=>e.replace(m,t)))}let x=(()=>{var t;class e{constructor(t,e,n,i,o,s,a,l=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=i,this.doc=o,this.platformId=s,this.ngZone=a,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=(0,r.PM)(s),this.defaultRenderer=new C(t,o,a,this.platformIsServer)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;this.platformIsServer&&e.encapsulation===i.ifc.ShadowDom&&(e={...e,encapsulation:i.ifc.Emulated});const n=this.getOrCreateRenderer(t,e);return n instanceof S?n.applyToHost(t):n instanceof M&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const o=this.doc,s=this.ngZone,a=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(e.encapsulation){case i.ifc.Emulated:r=new S(a,l,e,this.appId,c,o,s,u);break;case i.ifc.ShadowDom:return new O(a,l,t,e,o,s,this.nonce,u);default:r=new M(a,l,e,c,o,s,u)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(h),i.LFG(f),i.LFG(i.AFp),i.LFG(_),i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(i.R0b),i.LFG(i.Ojb))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class C{constructor(t,e,n,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(g[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(k(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(k(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new i.vHH(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=g[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=g[n];i?t.removeAttributeNS(i,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){if("string"==typeof t&&!(t=(0,r.q)().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(n))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>t(e))):t(e))&&e.preventDefault()}}}function k(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class O extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,a),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=w(i.id,i.styles);for(const t of l){const e=document.createElement("style");s&&e.setAttribute("nonce",s),e.textContent=t,this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class M extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?w(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class S extends M{constructor(t,e,n,i,r,o,s,a){const l=i+"-"+n.id;var c;super(t,e,n,r,o,s,a,l),this.contentAttr=(c=l,b.replace(m,c)),this.hostAttr=function(t){return y.replace(m,t)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}let A=(()=>{var t;class e extends d{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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const P=["alt","control","meta","shift"],E={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{var t;class e extends d{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,r.q)().onAndCancel(t,o.domEventName,s)))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),o="code."),P.forEach((t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")})),o+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(t,e){let n=E[t.key]||t.key,i="";return e.indexOf("code.")>-1&&(n=t.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),P.forEach((e=>{e!==n&&(0,T[e])(t)&&(i+=e+".")})),i+=n,i===e)}static eventCallback(t,n,i){return r=>{e.matchEventFullKeyCode(r,t)&&i.runGuarded((()=>n(r)))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function D(t,e){return(0,i.iPO)({rootComponent:t,...z(e)})}function z(t){return{appProviders:[...F,...t?.providers??[]],platformProviders:N}}const N=[{provide:i.Lbi,useValue:r.bD},{provide:i.g9A,useValue:function(){s.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}],F=(i.rWj,i.lri,i.dDg,i.R0b,i.eoX,i.rWj,i.dDg,i.dDg,i.R0b,i.eoX,i.rWj,[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:u,useClass:A,multi:!0,deps:[r.K0,i.R0b,i.Lbi]},{provide:u,useClass:I,multi:!0,deps:[r.K0]},x,f,h,{provide:i.FYo,useExisting:x},{provide:r.JF,useClass:c,deps:[]},[]]);function L(){return new R((0,i.LFG)(r.K0))}let R=(()=>{var t;class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:L(),e},providedIn:"root"}),e})();"undefined"!=typeof window&&window;let B=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(e){let n=null;return n=e?new(e||t):i.LFG(H),n},providedIn:"root"}),e})();function j(t){return new H(t.get(r.K0))}let H=(()=>{var t;class e extends B{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 i.vHH(5200,!1);case i.q3G.URL:return(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 i.vHH(5201,!1);default:throw new i.vHH(5202,!1)}}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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:j(i.LFG(i.zs3)),e},providedIn:"root"}),e})()},99222:(t,e,n)=>{n.d(e,{gz:()=>be,m2:()=>Ut,F0:()=>In,rH:()=>zn,Od:()=>Nn,lC:()=>Se,Xs:()=>ae,Hx:()=>ct,bU:()=>Rn,ZU:()=>jn});var i=n(20755),r=n(11070),o=n(3489),s=n(71209),a=n(56424);const l=(0,n(99046).d)((t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}));var c=n(38442),u=n(45623),h=n(83562),d=n(22222),p=n(51960),f=n(30453),g=n(48132),m=n(902),v=n(96142),y=n(70134);function b(){return(0,v.e)(((t,e)=>{let n=null;t._refCount++;const i=new y.Q(e,void 0,void 0,void 0,(()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const i=t._connection,r=n;n=null,!i||r&&i!==r||i.unsubscribe(),e.unsubscribe()}));t.subscribe(i),i.closed||(n=t.connect())}))}class _ extends g.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,v.A)(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new m.w0;const e=this.getSubject();t.add(this.source.subscribe(new y.Q(e,void 0,(()=>{this._teardown(),e.complete()}),(t=>{this._teardown(),e.error(t)}),(()=>this._teardown())))),t.closed&&(this._connection=null,t=m.w0.EMPTY)}return t}refCount(){return b()(this)}}var w=n(78748),x=n(76733),C=n(92425),k=n(84787),O=n(21813),M=n(73843),S=n(55333),A=n(45130),P=n(80407);function E(t=T){return(0,v.e)(((e,n)=>{let i=!1;e.subscribe(new y.Q(n,(t=>{i=!0,n.next(t)}),(()=>i?n.complete():n.error(t()))))}))}function T(){return new l}var I=n(69401);function D(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,(0,O.q)(1),n?(0,P.d)(e):E((()=>new l)))}var z=n(70109),N=n(31570),F=n(17560),L=n(27795);function R(t){return t<=0?()=>f.E:(0,v.e)(((e,n)=>{let i=[];e.subscribe(new y.Q(n,(e=>{i.push(e),t{for(const t of i)n.next(t);n.complete()}),void 0,(()=>{i=null})))}))}var B=n(97376),j=n(36293),H=n(81749),V=n(42605),$=n(43232);const q="primary",Z=Symbol("RouteTitle");class U{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function G(t){return new U(t)}function Q(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t))}return t===e}function W(t){return t.length>0?t[t.length-1]:null}function K(t){return(0,r.b)(t)?t:(0,i.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,s.of)(t)}const X={exact:function t(e,n,i){if(!lt(e.segments,n.segments))return!1;if(!rt(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r],i))return!1}return!0},subset:nt},tt={exact:function(t,e){return J(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((n=>Y(t[n],e[n])))},ignored:()=>!0};function et(t,e,n){return X[n.paths](t.root,e.root,n.matrixParams)&&tt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function nt(t,e,n){return it(t,e,e.segments,n)}function it(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!!lt(r,n)&&!e.hasChildren()&&!!rt(r,n,i)}if(t.segments.length===n.length){if(!lt(t.segments,n))return!1;if(!rt(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!nt(t.children[n],e.children[n],i))return!1}return!0}{const r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!lt(t.segments,r)&&!!rt(t.segments,r,i)&&!!t.children[q]&&it(t.children[q],e,o,i)}}function rt(t,e,n){return e.every(((e,i)=>tt[n](t[i].parameters,e.parameters)))}class ot{constructor(t=new st([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return ht.serialize(this)}}class st{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach((t=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class at{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=G(this.parameters)),this._parameterMap}toString(){return bt(this)}}function lt(t,e){return t.length===e.length&&t.every(((t,n)=>t.path===e[n].path))}let ct=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new ut},providedIn:"root"}),e})();class ut{parse(t){const e=new Ot(t);return new ot(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${pt(t.root,!0)}`,n=function(t){const e=Object.keys(t).map((e=>{const n=t[e];return Array.isArray(n)?n.map((t=>`${gt(e)}=${gt(t)}`)).join("&"):`${gt(e)}=${gt(n)}`})).filter((t=>!!t));return e.length?`?${e.join("&")}`:""}(t.queryParams);var i;return`${e}${n}${"string"==typeof t.fragment?`#${i=t.fragment,encodeURI(i)}`:""}`}}const ht=new ut;function dt(t){return t.segments.map((t=>bt(t))).join("/")}function pt(t,e){if(!t.hasChildren())return dt(t);if(e){const e=t.children[q]?pt(t.children[q],!1):"",n=[];return Object.entries(t.children).forEach((([t,e])=>{t!==q&&n.push(`${t}:${pt(e,!1)}`)})),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach((([t,i])=>{t===q&&(n=n.concat(e(i,t)))})),Object.entries(t.children).forEach((([t,i])=>{t!==q&&(n=n.concat(e(i,t)))})),n}(t,((e,n)=>n===q?[pt(t.children[q],!1)]:[`${n}:${pt(e,!1)}`]));return 1===Object.keys(t.children).length&&null!=t.children[q]?`${dt(t)}/${e[0]}`:`${dt(t)}/(${e.join("//")})`}}function ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gt(t){return ft(t).replace(/%3B/gi,";")}function mt(t){return ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vt(t){return decodeURIComponent(t)}function yt(t){return vt(t.replace(/\+/g,"%20"))}function bt(t){return`${mt(t.path)}${e=t.parameters,Object.keys(e).map((t=>`;${mt(t)}=${mt(e[t])}`)).join("")}`;var e}const _t=/^[^\/()?;#]+/;function wt(t){const e=t.match(_t);return e?e[0]:""}const xt=/^[^\/()?;=#]+/,Ct=/^[^=?&#]+/,kt=/^[^&#]+/;class Ot{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new st([],{}):new st([],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[q]=new st(t,e)),n}parseSegment(){const t=wt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new i.vHH(4009,!1);return this.capture(t),new at(vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(xt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=wt(this.remaining);t&&(n=t,this.capture(n))}t[vt(e)]=vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Ct);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(kt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=yt(e),r=yt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=wt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new i.vHH(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=q);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[q]:new st([],s),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 i.vHH(4011,!1)}}function Mt(t){return t.segments.length>0?new st([],{[q]:t}):t}function St(t){const e={};for(const n of Object.keys(t.children)){const i=St(t.children[n]);if(n===q&&0===i.segments.length&&i.hasChildren())for(const[t,n]of Object.entries(i.children))e[t]=n;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[q]){const e=t.children[q];return new st(t.segments.concat(e.segments),e.children)}return t}(new st(t.segments,e))}function At(t){return t instanceof ot}function Pt(t){let e;const n=Mt(function n(i){const r={};for(const t of i.children){const e=n(t);r[t.outlet]=e}const o=new st(i.url,r);return i===t&&(e=o),o}(t.root));return e??n}function Et(t,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(0===e.length)return Dt(o,o,o,n,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Nt(!0,0,t);let e=0,n=!1;const i=t.reduce(((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return Object.entries(i.outlets).forEach((([t,n])=>{e[t]="string"==typeof n?n.split("/"):n})),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach(((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))})),t):[...t,i]}),[]);return new Nt(n,e,i)}(e);if(s.toRoot())return Dt(o,o,new st([],{}),n,r);const a=function(t,e,n){if(t.isAbsolute)return new Ft(e,!0,0);if(!n)return new Ft(e,!1,NaN);if(null===n.parent)return new Ft(n,!0,0);const r=Tt(t.commands[0])?0:1;return function(t,e,n){let r=t,o=e,s=n;for(;s>o;){if(s-=o,r=r.parent,!r)throw new i.vHH(4005,!1);o=r.segments.length}return new Ft(r,!1,o-s)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(s,o,t),l=a.processChildren?Rt(a.segmentGroup,a.index,s.commands):Lt(a.segmentGroup,a.index,s.commands);return Dt(o,a.segmentGroup,l,n,r)}function Tt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function It(t){return"object"==typeof t&&null!=t&&t.outlets}function Dt(t,e,n,i,r){let o,s={};i&&Object.entries(i).forEach((([t,e])=>{s[t]=Array.isArray(e)?e.map((t=>`${t}`)):`${e}`})),o=t===e?n:zt(t,e,n);const a=Mt(St(o));return new ot(a,s,r)}function zt(t,e,n){const i={};return Object.entries(t.children).forEach((([t,r])=>{i[t]=r===e?n:zt(r,e,n)})),new st(t.segments,i)}class Nt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Tt(n[0]))throw new i.vHH(4003,!1);const r=n.find(It);if(r&&r!==W(n))throw new i.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ft{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Lt(t,e,n){if(t||(t=new st([],{})),0===t.segments.length&&t.hasChildren())return Rt(t,e,n);const i=function(t,e,n){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const e=t.segments[r],s=n[i];if(It(s))break;const a=`${s}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Vt(a,l,e))return o;i+=2}else{if(!Vt(a,{},e))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndext!==q))&&t.children[q]&&1===t.numberOfChildren&&0===t.children[q].segments.length){const i=Rt(t.children[q],e,n);return new st(t.segments,i.children)}return Object.entries(i).forEach((([n,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(r[n]=Lt(t.children[n],e,i))})),Object.entries(t.children).forEach((([t,e])=>{void 0===i[t]&&(r[t]=e)})),new st(t.segments,r)}}function Bt(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=Bt(new st([],{}),0,n))})),e}function Ht(t){const e={};return Object.entries(t).forEach((([t,n])=>e[t]=`${n}`)),e}function Vt(t,e,n){return t==n.path&&J(e,n.parameters)}const $t="imperative";class qt{constructor(t,e){this.id=t,this.url=e}}class Zt extends qt{constructor(t,e,n="imperative",i=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends qt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Gt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=16}}class Jt extends qt{constructor(t,e,n,i){super(t,e),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt extends qt{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ne{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ie{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}class le{}class ce{constructor(t){this.url=t}}class ue{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new he,this.attachRef=null}}let he=(()=>{var t;class e{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 ue,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class de{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=pe(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=pe(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=fe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return fe(t,this._root).map((t=>t.value))}}function pe(t,e){if(t===e.value)return e;for(const n of e.children){const e=pe(t,n);if(e)return e}return null}function fe(t,e){if(t===e.value)return[e];for(const n of e.children){const i=fe(t,n);if(i.length)return i.unshift(e),i}return[]}class ge{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function me(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class ve extends de{constructor(t,e){super(t),this.snapshot=e,Ce(this,t)}toString(){return this.snapshot.toString()}}function ye(t,e){const n=function(t,e){const n=new we([],{},{},"",{},q,e,null,{});return new xe("",new ge(n,[]))}(0,e),i=new a.X([new at("",{})]),r=new a.X({}),o=new a.X({}),s=new a.X({}),l=new a.X(""),c=new be(i,r,s,l,o,q,e,n.root);return c.snapshot=n.root,new ve(new ge(c,[]),n)}class be{constructor(t,e,n,i,r,o,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=r,this.outlet=o,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe((0,C.U)((t=>t[Z])))??(0,s.of)(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r}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,C.U)((t=>G(t))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)((t=>G(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _e(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce(((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}})),{params:{},data:{},resolve:{}})}(n.slice(i))}class we{get title(){return this.data?.[Z]}constructor(t,e,n,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._resolve=l}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=G(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((t=>t.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xe extends de{constructor(t,e){super(e),this.url=t,Ce(this,e)}toString(){return ke(this._root)}}function Ce(t,e){e.value._routerState=t,e.children.forEach((e=>Ce(t,e)))}function ke(t){const e=t.children.length>0?` { ${t.children.map(ke).join(", ")} } `:"";return`${t.value}${e}`}function Oe(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,J(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),J(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nJ(t.parameters,r[e].parameters)));var i,r;const o=!t.parent!=!e.parent;return n&&!o&&(!t.parent||Me(t.parent,e.parent))}let Se=(()=>{var t;class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(he),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb),this.inputBinder=(0,i.f3M)(Pe,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}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 i.vHH(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,o=this.parentContexts.getOrCreateContext(this.name).children,s=new Ae(t,o,n.injector);this.activated=n.createComponent(r,{index:n.length,injector:s,environmentInjector:e??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]}),e})();class Ae{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===be?this.route:t===he?this.childContexts:this.parent.get(t,e)}}const Pe=new i.OlP("");function Ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map((e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return Ee(t,e,i);return Ee(t,e)}))}(t,e,n);return new ge(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const i=n.route;return i.value._futureSnapshot=e.value,i.children=e.children.map((e=>Ee(t,e))),i}}const n=(i=e.value,new be(new a.X(i.url),new a.X(i.params),new a.X(i.queryParams),new a.X(i.fragment),new a.X(i.data),i.outlet,i.component,i)),r=e.children.map((e=>Ee(t,e)));return new ge(n,r)}var i}const Te="ngNavigationCancelingError";function Ie(t,e){const{redirectTo:n,navigationBehaviorOptions:i}=At(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=De(!1,0,e);return r.url=n,r.navigationBehaviorOptions=i,r}function De(t,e,n){const i=new Error("NavigationCancelingError: "+(t||""));return i[Te]=!0,i.cancellationCode=e,n&&(i.url=n),i}function ze(t){return t&&t[Te]}let Ne=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},dependencies:[Se],encapsulation:2}),e})();function Fe(t){const e=t.children&&t.children.map(Fe),n=e?{...t,children:e}:{...t};return n.component||n.loadComponent||!e&&!n.loadChildren||!n.outlet||n.outlet===q||(n.component=Ne),n}function Le(t){return t.outlet||q}function Re(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Be{constructor(t,e,n,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Oe(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]})),Object.values(i).forEach((t=>{this.deactivateRouteAndItsChildren(t,n)}))}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new se(t.value.snapshot))})),t.children.length&&this.forwardEvent(new re(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(Oe(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const n=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),Oe(n.route.value),this.activateChildRoutes(t,null,e.children)}else{const n=Re(i.snapshot);e.attachRef=null,e.route=i,e.injector=n,e.outlet&&e.outlet.activateWith(i,e.injector),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}class je{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class He{constructor(t,e){this.component=t,this.route=e}}function Ve(t,e,n){const i=t._root;return qe(i,e?e._root:null,n,[i.value])}function $e(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||(0,i.Z0I)(t)?e.get(t):t:r}function qe(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=me(e);return t.children.forEach((t=>{!function(t,e,n,i,r={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!lt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!lt(t.url,e.url)||!J(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Me(t,e)||!J(t.queryParams,e.queryParams);default:return!Me(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new je(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?qe(t,e,a?a.children:null,i,r):qe(t,e,n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new He(a.outlet.component,s))}else s&&Ze(e,a,r),r.canActivateChecks.push(new je(i)),o.component?qe(t,null,a?a.children:null,i,r):qe(t,null,n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]})),Object.entries(o).forEach((([t,e])=>Ze(e,n.getContext(t),r))),r}function Ze(t,e,n){const i=me(t),r=t.value;Object.entries(i).forEach((([t,i])=>{r.component?Ze(i,e?e.children.getContext(t):null,n):Ze(i,e,n)})),r.component&&e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new He(e.outlet.component,r)):n.canDeactivateChecks.push(new He(null,r))}function Ue(t){return"function"==typeof t}function Ge(t){return t instanceof l||"EmptyError"===t?.name}const Qe=Symbol("INITIAL_VALUE");function Je(){return(0,k.w)((t=>(0,c.a)(t.map((t=>t.pipe((0,O.q)(1),(0,M.O)(Qe))))).pipe((0,C.U)((t=>{for(const e of t)if(!0!==e){if(e===Qe)return Qe;if(!1===e||e instanceof ot)return e}return!0})),(0,S.h)((t=>t!==Qe)),(0,O.q)(1))))}function Ye(t){return(0,d.z)((0,N.b)((t=>{if(At(t))throw Ie(0,t)})),(0,C.U)((t=>!0===t)))}class We{constructor(t){this.segmentGroup=t||null}}class Ke{constructor(t){this.urlTree=t}}function Xe(t){return(0,p._)(new We(t))}function tn(t){return(0,p._)(new Ke(t))}class en{constructor(t,e){this.urlSerializer=t,this.urlTree=e}noMatchError(t){return new i.vHH(4002,!1)}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[q])return t.redirectTo,(0,p._)(new i.vHH(4e3,!1));r=r.children[q]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new ot(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach((([t,i])=>{if("string"==typeof i&&i.startsWith(":")){const r=i.substring(1);n[t]=e[r]}else n[t]=i})),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let o={};return Object.entries(e.children).forEach((([e,r])=>{o[e]=this.createSegmentGroup(t,r,n,i)})),new st(r,o)}createSegments(t,e,n,i){return e.map((e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n)))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new i.vHH(4001,!1);return r}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}const nn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rn(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...nn}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(e.matcher||Q)(n,t,e);if(!i)return{...nn};const r={};Object.entries(i.posParams??{}).forEach((([t,e])=>{r[t]=e.path}));const o=i.consumed.length>0?{...r,...i.consumed[i.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function on(t,e,n,i){if(n.length>0&&function(t,e,n){return n.some((n=>sn(t,e,n)&&Le(n)!==q))}(t,n,i))return{segmentGroup:new st(e,function(t,e){const n={};n[q]=e;for(const e of t)if(""===e.path&&Le(e)!==q){const t=new st([],{});n[Le(e)]=t}return n}(i,new st(n,t.children))),slicedSegments:[]};if(0===n.length&&function(t,e,n){return n.some((n=>sn(t,e,n)))}(t,n,i)){const e=new st(t.segments,function(t,e,n,i,r){const o={};for(const e of i)if(sn(t,n,e)&&!r[Le(e)]){const t=new st([],{});o[Le(e)]=t}return{...r,...o}}(t,0,n,i,t.children));return{segmentGroup:e,slicedSegments:n}}return{segmentGroup:new st(t.segments,t.children),slicedSegments:n}}function sn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class an{constructor(t,e,n,i,r,o,s){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=r,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new en(this.urlSerializer,this.urlTree)}noMatchError(t){return new i.vHH(4002,!1)}recognize(){const t=on(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,q).pipe((0,F.K)((t=>{if(t instanceof Ke)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);if(t instanceof We)throw this.noMatchError(t);throw t})),(0,C.U)((t=>{const e=new we([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,{}),n=new ge(e,t),i=new xe("",n),r=function(t,e,n=null,i=null){return Et(Pt(t),e,n,i)}(e,[],this.urlTree.queryParams,this.urlTree.fragment);return r.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(r),this.inheritParamsAndData(i._root),{state:i,tree:r}})))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,q).pipe((0,F.K)((t=>{if(t instanceof We)throw this.noMatchError(t);throw t})))}inheritParamsAndData(t){const e=t.value,n=_e(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,i){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,i,!0)}processChildren(t,e,n){const i=[];for(const t of Object.keys(n.children))"primary"===t?i.unshift(t):i.push(t);return(0,o.D)(i).pipe((0,z.b)((i=>{const r=n.children[i],o=function(t,e){const n=t.filter((t=>Le(t)===e));return n.push(...t.filter((t=>Le(t)!==e))),n}(e,i);return this.processSegmentGroup(t,o,r,i)})),(0,L.R)(((t,e)=>(t.push(...e),t))),(0,P.d)(null),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,R(1),n?(0,P.d)(e):E((()=>new l)))}(),(0,A.z)((t=>{if(null===t)return Xe(n);const e=cn(t);return e.sort(((t,e)=>t.value.outlet===q?-1:e.value.outlet===q?1:t.value.outlet.localeCompare(e.value.outlet))),(0,s.of)(e)})))}processSegment(t,e,n,i,r,a){return(0,o.D)(e).pipe((0,z.b)((o=>this.processSegmentAgainstRoute(o._injector??t,e,o,n,i,r,a).pipe((0,F.K)((t=>{if(t instanceof We)return(0,s.of)(null);throw t}))))),D((t=>!!t)),(0,F.K)((t=>{if(Ge(t))return function(t,e,n){return 0===e.length&&!t.children[n]}(n,i,r)?(0,s.of)([]):Xe(n);throw t})))}processSegmentAgainstRoute(t,e,n,i,r,o,s){return function(t,e,n,i){return!!(Le(t)===i||i!==q&&sn(e,n,t))&&("**"===t.path||rn(e,t,n).matched)}(n,i,r,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,i,n,r,o,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,i,e,n,r,o):Xe(i):Xe(i)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?tn(r):this.applyRedirects.lineralizeSegments(n,r).pipe((0,A.z)((n=>{const r=new st(n,{});return this.processSegment(t,e,r,n,i,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){const{matched:s,consumedSegments:a,remainingSegments:l,positionalParamSegments:c}=rn(e,i,r);if(!s)return Xe(e);const u=this.applyRedirects.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?tn(u):this.applyRedirects.lineralizeSegments(i,u).pipe((0,A.z)((i=>this.processSegment(t,n,e,i.concat(l),o,!1))))}matchSegmentAgainstRoute(t,e,n,r,o,a){let l;if("**"===n.path){const t=r.length>0?W(r).parameters:{},i=new we(r,t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n));l=(0,s.of)({snapshot:i,consumedSegments:[],remainingSegments:[]}),e.children={}}else l=function(t,e,n,r,o){const a=rn(t,e,n);return a.matched?(r=function(t,e){return t.providers&&!t._injector&&(t._injector=(0,i.MMx)(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n,i){const r=e.canMatch;if(!r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canMatch)}(r)?r.canMatch(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(r,e,n).pipe((0,C.U)((t=>!0===t?a:{...nn})))):(0,s.of)(a)}(e,n,r,t,this.urlSerializer).pipe((0,C.U)((({matched:t,consumedSegments:e,remainingSegments:i,parameters:r})=>t?{snapshot:new we(e,r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n)),consumedSegments:e,remainingSegments:i}:null)));return l.pipe((0,k.w)((i=>null===i?Xe(e):(t=n._injector??t,this.getChildConfig(t,n,r).pipe((0,k.w)((({routes:r})=>{const a=n._loadedInjector??t,{snapshot:l,consumedSegments:c,remainingSegments:u}=i,{segmentGroup:h,slicedSegments:d}=on(e,c,u,r);if(0===d.length&&h.hasChildren())return this.processChildren(a,r,h).pipe((0,C.U)((t=>null===t?null:[new ge(l,t)])));if(0===r.length&&0===d.length)return(0,s.of)([new ge(l,[])]);const p=Le(n)===o;return this.processSegment(a,r,h,d,p?q:o,!0).pipe((0,C.U)((t=>[new ge(l,t)])))})))))))}getChildConfig(t,e,n){return e.children?(0,s.of)({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector}):function(t,e,n,i){const r=e.canLoad;if(void 0===r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canLoad)}(r)?r.canLoad(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(t,e,n,this.urlSerializer).pipe((0,A.z)((n=>n?this.configLoader.loadChildren(t,e).pipe((0,N.b)((t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector}))):(0,p._)(De(!1,3))))):(0,s.of)({routes:[],injector:t})}}function ln(t){const e=t.value.routeConfig;return e&&""===e.path}function cn(t){const e=[],n=new Set;for(const i of t){if(!ln(i)){e.push(i);continue}const t=e.find((t=>i.value.routeConfig===t.value.routeConfig));void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const t of n){const n=cn(t.children);e.push(new ge(t.value,n))}return e.filter((t=>!n.has(t)))}function un(t){return t.data||{}}function hn(t){return t.resolve||{}}function dn(t){return"string"==typeof t.title||null===t.title}function pn(t){return(0,k.w)((e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,C.U)((()=>e))):(0,s.of)(e)}))}const fn=new i.OlP("ROUTES");let gn=(()=>{var t;class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return(0,s.of)(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const e=K(t.loadComponent()).pipe((0,C.U)(mn),(0,N.b)((e=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=e})),(0,j.x)((()=>{this.componentLoaders.delete(t)}))),n=new _(e,(()=>new w.x)).pipe(b());return this.componentLoaders.set(t,n),n}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const n=function(t,e,n,r){return K(t.loadChildren()).pipe((0,C.U)(mn),(0,A.z)((t=>t instanceof i.YKP||Array.isArray(t)?(0,s.of)(t):(0,o.D)(e.compileModuleAsync(t)))),(0,C.U)((e=>{let i,o;r&&r(t);return Array.isArray(e)?o=e:(i=e.create(n).injector,o=i.get(fn,[],{optional:!0,self:!0}).flat()),{routes:o.map(Fe),injector:i}})))}(e,this.compiler,t,this.onLoadEndListener),r=n.pipe((0,j.x)((()=>{this.childrenLoaders.delete(e)}))),a=new _(r,(()=>new w.x)).pipe(b());return this.childrenLoaders.set(e,a),a}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function mn(t){return(e=t)&&"object"==typeof e&&"default"in e?t.default:t;var e}let vn=(()=>{var t;class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new w.x,this.transitionAbortSubject=new w.x,this.configLoader=(0,i.f3M)(gn),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(ct),this.rootContexts=(0,i.f3M)(he),this.inputBindingEnabled=null!==(0,i.f3M)(Pe,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,s.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=t=>this.events.next(new ne(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new ee(t))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:e})}setupNavigations(t,e,n){return this.transitions=new a.X({id:0,currentUrlTree:e,currentRawUrl:e,currentBrowserUrl:e,extractedUrl:t.urlHandlingStrategy.extract(e),urlAfterRedirects:t.urlHandlingStrategy.extract(e),rawUrl:e,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:$t,restoredState:null,currentSnapshot:n.snapshot,targetSnapshot:null,currentRouterState:n,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,S.h)((t=>0!==t.id)),(0,C.U)((e=>({...e,extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)}))),(0,k.w)((e=>{this.currentTransition=e;let n=!1,i=!1;return(0,s.of)(e).pipe((0,N.b)((t=>{this.currentNavigation={id:t.id,initialUrl:t.rawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),(0,k.w)((n=>{const i=n.currentBrowserUrl.toString(),r=!t.navigated||n.extractedUrl.toString()!==i||i!==n.currentUrlTree.toString(),o=n.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!r&&"reload"!==o){const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.rawUrl),t,0)),n.resolve(null),f.E}if(t.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return(0,s.of)(n).pipe((0,k.w)((t=>{const e=this.transitions?.getValue();return this.events.next(new Zt(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),e!==this.transitions?.getValue()?f.E:Promise.resolve(t)})),(a=this.environmentInjector,l=this.configLoader,c=this.rootComponentType,u=t.config,h=this.urlSerializer,d=t.paramsInheritanceStrategy,(0,A.z)((t=>function(t,e,n,i,r,o,s="emptyOnly"){return new an(t,e,n,i,r,s,o).recognize()}(a,l,c,u,t.extractedUrl,h,d).pipe((0,C.U)((({state:e,tree:n})=>({...t,targetSnapshot:e,urlAfterRedirects:n}))))))),(0,N.b)((t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:t.urlAfterRedirects};const n=new Yt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(n)})));var a,l,c,u,h,d;if(r&&t.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:i,source:r,restoredState:o,extras:a}=n,l=new Zt(t,this.urlSerializer.serialize(i),r,o);this.events.next(l);const c=ye(0,this.rootComponentType).snapshot;return this.currentTransition=e={...n,targetSnapshot:c,urlAfterRedirects:i,extras:{...a,skipLocationChange:!1,replaceUrl:!1}},(0,s.of)(e)}{const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.extractedUrl),t,1)),n.resolve(null),f.E}})),(0,N.b)((t=>{const e=new Wt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,C.U)((t=>(this.currentTransition=e={...t,guards:Ve(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e))),function(t,e){return(0,A.z)((n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,s.of)({...n,guardsResult:!0}):function(t,e,n,i){return(0,o.D)(t).pipe((0,A.z)((t=>function(t,e,n,i,r){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=Re(e)??r,a=$e(o,s);return K(function(t){return t&&Ue(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,i):s.runInContext((()=>a(t,e,n,i)))).pipe(D())}));return(0,s.of)(a).pipe(Je())}(t.component,t.route,n,e,i))),D((t=>!0!==t),!0))}(l,i,r,t).pipe((0,A.z)((n=>n&&"boolean"==typeof n?function(t,e,n,i){return(0,o.D)(e).pipe((0,z.b)((e=>(0,u.z)(function(t,e){return null!==t&&e&&e(new ie(t)),(0,s.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new oe(t)),(0,s.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=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,h.P)((()=>{const r=e.guards.map((r=>{const o=Re(e.node)??n,s=$e(r,o);return K(function(t){return t&&Ue(t.canActivateChild)}(s)?s.canActivateChild(i,t):o.runInContext((()=>s(i,t)))).pipe(D())}));return(0,s.of)(r).pipe(Je())}))));return(0,s.of)(r).pipe(Je())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map((i=>(0,h.P)((()=>{const r=Re(e)??n,o=$e(i,r);return K(function(t){return t&&Ue(t.canActivate)}(o)?o.canActivate(e,t):r.runInContext((()=>o(e,t)))).pipe(D())}))));return(0,s.of)(r).pipe(Je())}(t,e.route,n)))),D((t=>!0!==t),!0))}(i,a,t,e):(0,s.of)(n))),(0,C.U)((t=>({...n,guardsResult:t}))))}))}(this.environmentInjector,(t=>this.events.next(t))),(0,N.b)((t=>{if(e.guardsResult=t.guardsResult,At(t.guardsResult))throw Ie(this.urlSerializer,t.guardsResult);const n=new Kt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(n)})),(0,S.h)((t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",3),!1))),pn((e=>{if(e.guards.canActivateChecks.length)return(0,s.of)(e).pipe((0,N.b)((t=>{const e=new Xt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,k.w)((e=>{let n=!1;return(0,s.of)(e).pipe((i=t.paramsInheritanceStrategy,r=this.environmentInjector,(0,A.z)((t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return(0,s.of)(t);let a=0;return(0,o.D)(n).pipe((0,z.b)((t=>function(t,e,n,i){const r=t.routeConfig,a=t._resolve;return void 0===r?.title||dn(r)||(a[Z]=r.title),function(t,e,n,i){const r=(a=t,[...Object.keys(a),...Object.getOwnPropertySymbols(a)]);var a;if(0===r.length)return(0,s.of)({});const l={};return(0,o.D)(r).pipe((0,A.z)((r=>function(t,e,n,i){const r=Re(e)??i,o=$e(t,r);return K(o.resolve?o.resolve(e,n):r.runInContext((()=>o(e,n))))}(t[r],e,n,i).pipe(D(),(0,N.b)((t=>{l[r]=t}))))),R(1),(0,B.h)(l),(0,F.K)((t=>Ge(t)?f.E:(0,p._)(t))))}(a,t,e,i).pipe((0,C.U)((e=>(t._resolvedData=e,t.data=_e(t,n).resolve,r&&dn(r)&&(t.data[Z]=r.title),null))))}(t.route,e,i,r))),(0,N.b)((()=>a++)),R(1),(0,A.z)((e=>a===n.length?(0,s.of)(t):f.E)))}))),(0,N.b)({next:()=>n=!0,complete:()=>{n||this.cancelNavigationTransition(e,"",2)}}));var i,r})),(0,N.b)((t=>{const e=new te(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})))})),pn((t=>{const e=t=>{const n=[];t.routeConfig?.loadComponent&&!t.routeConfig._loadedComponent&&n.push(this.configLoader.loadComponent(t.routeConfig).pipe((0,N.b)((e=>{t.component=e})),(0,C.U)((()=>{}))));for(const i of t.children)n.push(...e(i));return n};return(0,c.a)(e(t.targetSnapshot.root)).pipe((0,P.d)(),(0,O.q)(1))})),pn((()=>this.afterPreactivation())),(0,C.U)((n=>{const i=function(t,e,n){const i=Ee(t,e._root,n?n._root:void 0);return new ve(i,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e={...n,targetRouterState:i},e})),(0,N.b)((()=>{this.events.next(new le)})),(r=this.rootContexts,a=t.routeReuseStrategy,l=t=>this.events.next(t),d=this.inputBindingEnabled,(0,C.U)((t=>(new Be(a,t.targetRouterState,t.currentRouterState,l,d).activate(r),t)))),(0,O.q)(1),(0,N.b)({next:e=>{n=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ut(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects))),t.titleStrategy?.updateTitle(e.targetRouterState.snapshot),e.resolve(!0)},complete:()=>{n=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,N.b)((t=>{throw t})))),(0,j.x)((()=>{if(!n&&!i){const t="";this.cancelNavigationTransition(e,t,1)}this.currentNavigation?.id===e.id&&(this.currentNavigation=null)})),(0,F.K)((n=>{if(i=!0,ze(n))this.events.next(new Gt(e.id,this.urlSerializer.serialize(e.extractedUrl),n.message,n.cancellationCode)),ze(r=n)&&At(r.url)?this.events.next(new ce(n.url)):e.resolve(!1);else{this.events.next(new Jt(e.id,this.urlSerializer.serialize(e.extractedUrl),n,e.targetSnapshot??void 0));try{e.resolve(t.errorHandler(n))}catch(t){e.reject(t)}}var r;return f.E})));var r,a,l,d})))}cancelNavigationTransition(t,e,n){const i=new Gt(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(i),t.resolve(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function yn(t){return t!==$t}let bn=(()=>{var t;class e{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find((t=>t.outlet===q));return e}getResolvedTitleForRoute(t){return t.data[Z]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(_n)},providedIn:"root"}),e})(),_n=(()=>{var t;class e extends bn{constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG($.Dx))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),wn=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Cn)},providedIn:"root"}),e})();class xn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Cn=(()=>{var t;class e extends xn{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const kn=new i.OlP("",{providedIn:"root",factory:()=>({})});let On=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Mn)},providedIn:"root"}),e})(),Mn=(()=>{var t;class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var Sn=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Sn||{});function An(t){throw t}function Pn(t,e,n){return e.parse("/")}const En={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Tn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let In=(()=>{var t;class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.ɵrouterPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this._events=new w.x,this.options=(0,i.f3M)(kn,{optional:!0})||{},this.pendingTasks=(0,i.f3M)(i.HDt),this.errorHandler=this.options.errorHandler||An,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Pn,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(On),this.routeReuseStrategy=(0,i.f3M)(wn),this.titleStrategy=(0,i.f3M)(bn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,i.f3M)(fn,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.f3M)(vn),this.urlSerializer=(0,i.f3M)(ct),this.location=(0,i.f3M)(x.Ye),this.componentInputBindingEnabled=!!(0,i.f3M)(Pe,{optional:!0}),this.eventsSubscription=new m.w0,this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ot,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ye(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe((t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId}),(t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe((t=>{try{const{currentTransition:e}=this.navigationTransitions;if(null===e)return void(Dn(t)&&this._events.next(t));if(t instanceof Zt)yn(e.source)&&(this.browserUrlTree=e.extractedUrl);else if(t instanceof Qt)this.rawUrlTree=e.rawUrl;else if(t instanceof Yt){if("eager"===this.urlUpdateStrategy){if(!e.extras.skipLocationChange){const t=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl);this.setBrowserUrl(t,e)}this.browserUrlTree=e.urlAfterRedirects}}else if(t instanceof le)this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects);else if(t instanceof Gt)0!==t.code&&1!==t.code&&(this.navigated=!0),3!==t.code&&2!==t.code||this.restoreHistory(e);else if(t instanceof ce){const n=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),i={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yn(e.source)};this.scheduleNavigation(n,$t,null,i,{resolve:e.resolve,reject:e.reject,promise:e.promise})}t instanceof Jt&&this.restoreHistory(e,!0),t instanceof Ut&&(this.navigated=!0),Dn(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}}));this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),$t,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((t=>{const e="popstate"===t.type?"popstate":"hashchange";"popstate"===e&&setTimeout((()=>{this.navigateToSyncWithBrowser(t.url,e,t.state)}),0)})))}navigateToSyncWithBrowser(t,e,n){const i={replaceUrl:!0},r=n?.navigationId?n:null;if(n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,0!==Object.keys(t).length&&(i.state=t)}const o=this.parseUrl(t);this.scheduleNavigation(o,e,r,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Fe),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=e,a=s?this.currentUrlTree.fragment:r;let l,c=null;switch(o){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{l=Pt(n?n.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof t[0]&&t[0].startsWith("/")||(t=[]),l=this.currentUrlTree.root}return Et(l,t,c,a??null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=At(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,$t,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e}),{})}scheduleNavigation(t,e,n,i,r){if(this.disposed)return Promise.resolve(!1);let o,s,a;r?(o=r.resolve,s=r.reject,a=r.promise):a=new Promise(((t,e)=>{o=t,s=e}));const l=this.pendingTasks.add();return c=()=>{queueMicrotask((()=>this.pendingTasks.remove(l)))},this.events.pipe((0,S.h)((t=>t instanceof Ut||t instanceof Gt||t instanceof Jt||t instanceof Qt)),(0,C.U)((t=>t instanceof Ut||t instanceof Qt?Sn.COMPLETE:t instanceof Gt&&(0===t.code||1===t.code)?Sn.REDIRECTING:Sn.FAILED)),(0,S.h)((t=>t!==Sn.REDIRECTING)),(0,O.q)(1)).subscribe((()=>{c()})),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((t=>Promise.reject(t)));var c}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl){const t=this.browserPageId,i={...e.extras.state,...this.generateNgRouterState(e.id,t)};this.location.replaceState(n,"",i)}else{const t={...e.extras.state,...this.generateNgRouterState(e.id,this.browserPageId+1)};this.location.go(n,"",t)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.browserPageId,n=this.currentPageId-e;0!==n?this.location.historyGo(n):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===n&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}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))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e}:{navigationId:t}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dn(t){return!(t instanceof le||t instanceof ce)}let zn=(()=>{var t;class e{constructor(t,e,n,i,r,o){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=i,this.el=r,this.locationStrategy=o,this.href=null,this.commands=null,this.onChanges=new w.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const s=r.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===s||"area"===s,this.isAnchorElement?this.subscription=t.events.subscribe((t=>{t instanceof Ut&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,e,n,i,r){if(null===this.urlTree)return!0;if(this.isAnchorElement){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const o={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,o),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,e){const n=this.renderer,i=this.el.nativeElement;null!==e?n.setAttribute(i,t,e):n.removeAttribute(i,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(be),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(x.S$))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLink",""]],hostVars:1,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.uIk("target",e.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",i.VuI],replaceUrl:["replaceUrl","replaceUrl",i.VuI],routerLink:"routerLink"},standalone:!0,features:[i.Xq5,i.TTD]}),e})(),Nn=(()=>{var t;class e{get isActive(){return this._isActive}constructor(t,e,n,r,o){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.vpe,this.routerEventsSubscription=t.events.subscribe((t=>{t instanceof Ut&&this.update()}))}ngAfterContentInit(){(0,s.of)(this.links.changes,(0,s.of)(null)).pipe((0,V.J)()).subscribe((t=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter((t=>!!t)).map((t=>t.onChanges));this.linkInputChangesSubscription=(0,o.D)(t).pipe((0,V.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(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask((()=>{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)})),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))}))}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>!!n.urlTree&&t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(zn,8))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,zn,5),2&t){let t;i.iGM(t=i.CRH())&&(e.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[i.TTD]}),e})();const Fn=new i.OlP("");let Ln=(()=>{var t;class e{constructor(t,e,n,i,r={}){this.urlSerializer=t,this.transitions=e,this.viewportScroller=n,this.zone=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof Zt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ut?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qt&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof ae&&(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.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new ae(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function Rn(t,...e){return(0,i.MR2)([{provide:fn,multi:!0,useValue:t},[],{provide:be,useFactory:Bn,deps:[In]},{provide:i.tb,multi:!0,useFactory:Hn},e.map((t=>t.ɵproviders))])}function Bn(t){return t.routerState.root}function jn(t={}){return{ɵkind:4,ɵproviders:[{provide:Fn,useFactory:()=>{const e=(0,i.f3M)(x.EM),n=(0,i.f3M)(i.R0b),r=(0,i.f3M)(vn),o=(0,i.f3M)(ct);return new Ln(o,r,e,n,t)}}]}}function Hn(){const t=(0,i.f3M)(i.zs3);return e=>{const n=t.get(i.z2F);if(e!==n.components[0])return;const r=t.get(In),o=t.get(Vn);1===t.get($n)&&r.initialNavigation(),t.get(qn,null,i.XFs.Optional)?.setUpPreloading(),t.get(Fn,null,i.XFs.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}i.Xts;const Vn=new i.OlP("",{factory:()=>new w.x}),$n=new i.OlP("",{providedIn:"root",factory:()=>1}),qn=new i.OlP("");x.Ye},28858:(t,e,n)=>{n.d(e,{ro:()=>a});var i=n(8239),r=n(20755),o=n(43226),s=n(7618);let a=(()=>{class t{constructor(){this.elementRef=(0,r.f3M)(r.SBq).nativeElement,this.ngZone=(0,r.f3M)(r.R0b),this.maskedElement=null,this.options=null,this.elementPredicate=s.gI;const t=(0,r.f3M)(o.Fj,{self:!0,optional:!0});if(t){const e=t.writeValue.bind(t);t.writeValue=t=>{e(this.options?(0,s.CV)(String(t??""),this.options):t)}}}ngOnChanges(){var t=this;return(0,i.Z)((function*(){const{elementPredicate:e,options:n}=t;if(t.maskedElement?.destroy(),!n)return;const i=yield e(t.elementRef);t.elementPredicate===e&&t.ngZone.runOutsideAngular((()=>{t.maskedElement=new s.C8(i,n)}))}))()}ngOnDestroy(){this.maskedElement?.destroy()}}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","maskito",""]],inputs:{options:["maskito","options"],elementPredicate:["maskitoElement","elementPredicate"]},standalone:!0,features:[r.TTD]}),t})()},42772:(t,e,n)=>{n.d(e,{Ct:()=>g,H3:()=>f,KS:()=>y,L1:()=>p,de:()=>v,m9:()=>d,s5:()=>m,yZ:()=>b});var i=n(20755),r=n(48132),o=n(88557),s=n(10409),a=n(73843),l=n(92425),c=n(18004),u=n(20530),h=n(76733);const d=new i.OlP("[WINDOW]: An abstraction over global window object",{factory:()=>{const{defaultView:t}=(0,i.f3M)(h.K0);if(!t)throw new Error("Window is not available");return t}}),p=new i.OlP("[ANIMATION_FRAME]: Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:t,cancelAnimationFrame:e}=(0,i.f3M)(d);return new r.y((n=>{let i=NaN;const r=e=>{n.next(e),i=t(r)};return i=t(r),()=>{e(i)}})).pipe((0,o.B)())}}),f=(new i.OlP("[CACHES]: An abstraction over window.caches object",{factory:()=>(0,i.f3M)(d).caches}),new i.OlP("[CRYPTO]: An abstraction over window.crypto object",{factory:()=>(0,i.f3M)(d).crypto}),new i.OlP("[TOKEN_CSS]: An abstraction over window.CSS object",{factory:()=>(0,i.f3M)(d).CSS??{escape:t=>t,supports:()=>!1}}),new i.OlP("[HISTORY]: An abstraction over window.history object",{factory:()=>(0,i.f3M)(d).history}),new i.OlP("[LOCAL_STORAGE]: An abstraction over window.localStorage object",{factory:()=>(0,i.f3M)(d).localStorage})),g=new i.OlP("[LOCATION]: An abstraction over window.location object",{factory:()=>(0,i.f3M)(d).location}),m=new i.OlP("[NAVIGATOR]: An abstraction over window.navigator object",{factory:()=>(0,i.f3M)(d).navigator}),v=(new i.OlP("[MEDIA_DEVICES]: An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,i.f3M)(m).mediaDevices}),new i.OlP("[NETWORK_INFORMATION]: An abstraction over window.navigator.connection object",{factory:()=>(0,i.f3M)(m).connection||null}),new i.OlP("[PAGE_VISIBILITY]: Shared Observable based on `document visibility changed`",{factory:()=>{const t=(0,i.f3M)(h.K0);return(0,s.R)(t,"visibilitychange").pipe((0,a.O)(0),(0,l.U)((()=>"hidden"!==t.visibilityState)),(0,c.x)(),(0,u.d)({refCount:!1,bufferSize:1}))}})),y=new i.OlP("[PERFORMANCE]: An abstraction over window.performance object",{factory:()=>(0,i.f3M)(d).performance}),b=(new i.OlP("[SCREEN]: An abstraction over window.screen object",{factory:()=>(0,i.f3M)(d).screen}),new i.OlP("[SESSION_STORAGE]: An abstraction over window.sessionStorage object",{factory:()=>(0,i.f3M)(d).sessionStorage}),new i.OlP("[SPEECH_RECOGNITION]: An abstraction over SpeechRecognition class",{factory:()=>{const t=(0,i.f3M)(d);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new i.OlP("[SPEECH_SYNTHESIS]: An abstraction over window.speechSynthesis object",{factory:()=>(0,i.f3M)(d).speechSynthesis}),new i.OlP("[USER_AGENT]: An abstraction over window.navigator.userAgent object",{factory:()=>(0,i.f3M)(m).userAgent}))},81695:(t,e,n)=>{n.d(e,{IM:()=>h,Vi:()=>u,k2:()=>a});var i=n(86889),r=n(20755),o=n(48132);const s="undefined"!=typeof MutationObserver?MutationObserver:class{observe(){}disconnect(){}takeRecords(){return[]}},a=new r.OlP("[MUTATION_OBSERVER_INIT]: MutationObserver config");function l(t,e){return null!==t.getAttribute(e)||void 0}function c({nativeElement:t}){const e=t.getAttribute("attributeFilter");return{attributeFilter:e?.split(",").map((t=>t.trim())),attributeOldValue:l(t,"attributeOldValue"),attributes:l(t,"attributes"),characterData:l(t,"characterData"),characterDataOldValue:l(t,"characterDataOldValue"),childList:l(t,"childList"),subtree:l(t,"subtree")}}let u=(()=>{var t;class e extends s{constructor(t,e,n,o,s,l,c){super((t=>{this.waMutationObserver.emit(t)})),(0,i.Z)(this,"nativeElement",(0,r.f3M)(r.SBq).nativeElement),(0,i.Z)(this,"config",(0,r.f3M)(a)),(0,i.Z)(this,"waMutationObserver",new r.vpe),this.observe(this.nativeElement,this.config)}ngOnDestroy(){this.disconnect()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("attributeFilter"),r.$8M("attributeOldValue"),r.$8M("attributes"),r.$8M("characterData"),r.$8M("characterDataOldValue"),r.$8M("childList"),r.$8M("subtree"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waMutationObserver",""]],outputs:{waMutationObserver:"waMutationObserver"},exportAs:["MutationObserver"],standalone:!0,features:[r._Bn([{provide:a,deps:[r.SBq],useFactory:c}]),r.qOj]})),e})(),h=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(a);super((n=>{const i=new s((t=>{n.next(t)}));return i.observe(t,e),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})()},34749:(t,e,n)=>{n.d(e,{P:()=>h,ax:()=>u});var i=n(86889),r=n(20755),o=n(48132),s=n(42772);const a="undefined"!=typeof ResizeObserver?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},l="content-box",c=new r.OlP("[RESIZE_OPTION_BOX]: Box model to observe changes",{providedIn:"root",factory:()=>l});let u=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(c);super((n=>{const i=new a((t=>n.next(t)));return i.observe(t,{box:e}),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})(),h=(()=>{var t;class e{constructor(t){(0,i.Z)(this,"box",void 0),(0,i.Z)(this,"waResizeObserver",(0,r.f3M)(u)),this.box=t}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("waResizeBox"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waResizeObserver",""]],outputs:{waResizeObserver:"waResizeObserver"},standalone:!0,features:[r._Bn([u,{provide:c,deps:[r.SBq],useFactory:({nativeElement:t})=>t.getAttribute("waResizeBox")||l}])]})),e})();new r.OlP("[RESIZE_OBSERVER_SUPPORT]: Resize Observer API support",{providedIn:"root",factory:()=>!!(0,r.f3M)(s.m9).ResizeObserver})},25797:(t,e,n)=>{n.d(e,{J0:()=>f,uX:()=>g});var i=n(43232),r=n(76733),o=n(20755);class s{supports(t){return t.includes(this.modifier)}unwrap(t){return t.split(".").filter((t=>!this.modifier.includes(t))).join(".")}}const a=new o.OlP("[GLOBAL_HANDLER]: Global event target handler",{factory:()=>{const t=(0,o.f3M)(r.K0);return e=>"body"===e?t.body:t.defaultView[e]||t.createElement("div")}});let l=(()=>{var t;class e extends s{constructor(){super(...arguments),this.handler=(0,o.f3M)(a),this.modifier=">"}addEventListener(t,e,n){return this.manager.addEventListener(this.handler(e.split(">")[0]),e.split(">")[1],n)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),c=(()=>{var t;class e extends s{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,e.includes(".capture"))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),u=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),h=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier="resize"}supports(t){return"resize"===t}addEventListener(t,e,n){if("undefined"==typeof ResizeObserver||!(t instanceof Element))return()=>{};const i=new ResizeObserver((t=>this.manager.getZone().run((()=>n(t)))));return i.observe(t),()=>i.disconnect()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),d=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),p=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(t,n,i){return e.ngZone=this.manager.getZone(),e.ngZone.runOutsideAngular((()=>this.manager.addEventListener(t,this.unwrap(n),i)))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();const f=[p,l,c,u,h,d,(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})()].map((t=>({provide:i.s3,multi:!0,useClass:t})));function g(t){return(e,n,i)=>{const{value:r}=i;i.value=function(...e){t.apply(this,e)&&(p.ngZone?p.ngZone.run((()=>r.apply(this,e))):r.apply(this,e))}}}},25690:(t,e,n)=>{n.d(e,{Al:()=>s,GL:()=>l,s$:()=>c,yf:()=>o});var i=n(86889),r=n(20755);const o=new r.OlP("POLYMORPHEUS_CONTEXT");class s{constructor(t,e){(0,i.Z)(this,"component",void 0),(0,i.Z)(this,"i",void 0),this.component=t,this.i=e}createInjector(t,e){return r.zs3.create({parent:this.i||t,providers:[{provide:o,useValue:e}]})}}class a{constructor(t){(0,i.Z)(this,"$implicit",void 0),this.$implicit=t}get polymorpheusOutlet(){return this.$implicit}}let l=(()=>{var t;class e{constructor(t=(0,r.f3M)(r.Rgc,{self:!0}),e=(0,r.f3M)(r.sBO)){(0,i.Z)(this,"template",void 0),(0,i.Z)(this,"cdr",void 0),(0,i.Z)(this,"polymorpheus",""),this.template=t,this.cdr=e}static ngTemplateContextGuard(t,e){return!0}check(){this.cdr.markForCheck()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.sBO))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"],standalone:!0})),e})(),c=(()=>{var t;class e{constructor(){(0,i.Z)(this,"vcr",(0,r.f3M)(r.s_b)),(0,i.Z)(this,"i",(0,r.f3M)(r.gxx)),(0,i.Z)(this,"t",(0,r.f3M)(r.Rgc)),(0,i.Z)(this,"c",void 0),(0,i.Z)(this,"content",""),(0,i.Z)(this,"context",void 0)}static ngTemplateContextGuard(t,e){return!0}ngOnChanges({content:t}){const e=this.getContext();if(this.c?.injector.get(r.sBO).markForCheck(),!t)return;this.vcr.clear();const n=e&&new Proxy(e,{get:(t,e)=>this.getContext()?.[e]});h(this.content)?this.process(this.content,n):null!=(e instanceof a&&e.$implicit)&&this.vcr.createEmbeddedView(this.template,n,{injector:this.i})}ngDoCheck(){u(this.content)&&this.content.check()}get template(){return u(this.content)?this.content.template:this.content instanceof r.Rgc?this.content:this.t}getContext(){return u(t=this.content)||t instanceof r.Rgc||h(this.content)?this.context:new a(this.context&&"function"==typeof this.content?this.content(this.context):this.content);var t}process(t,e){const n=t.createInjector(this.i,e);this.c=this.vcr.createComponent(t.component,{injector:n})}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},standalone:!0,features:[r.TTD]})),e})();function u(t){return t instanceof l}function h(t){return t instanceof s}},89088:(t,e,n)=>{n.d(e,{Z:()=>pn});var i={};n.r(i),n.d(i,{decode:()=>c,encode:()=>d,format:()=>p,parse:()=>M});var r={};n.r(r),n.d(r,{Any:()=>P,Cc:()=>E,Cf:()=>T,P:()=>S,S:()=>A,Z:()=>I});var o={};n.r(o),n.d(o,{arrayReplaceAt:()=>et,assign:()=>tt,escapeHtml:()=>pt,escapeRE:()=>gt,fromCodePoint:()=>it,has:()=>X,isMdAsciiPunct:()=>bt,isPunctChar:()=>yt,isSpace:()=>mt,isString:()=>W,isValidEntityCode:()=>nt,isWhiteSpace:()=>vt,lib:()=>wt,normalizeReference:()=>_t,unescapeAll:()=>lt,unescapeMd:()=>at});var s={};n.r(s),n.d(s,{parseLinkDestination:()=>Ct,parseLinkLabel:()=>xt,parseLinkTitle:()=>kt});const a={};function l(t,e){"string"!=typeof e&&(e=l.defaultChars);const n=function(t){let e=a[t];if(e)return e;e=a[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);e.push(n)}for(let n=0;n=55296&&t<=57343?"���":String.fromCharCode(t),i+=6;continue}}if(240==(248&o)&&i+91114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),i+=9;continue}}e+="�"}}return e}))}l.defaultChars=";/?:@&=+$,#",l.componentChars="";const c=l,u={};function h(t,e,n){"string"!=typeof e&&(n=e,e=h.defaultChars),void 0===n&&(n=!0);const i=function(t){let e=u[t];if(e)return e;e=u[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&e+1=56320&&n<=57343){r+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(t[e])}return r}h.defaultChars=";/?:@&=+$,-_.!~*'()#",h.componentChars="-_.!~*'()";const d=h;function p(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function f(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const g=/^([a-z0-9.+-]+:)/i,m=/:[0-9]*$/,v=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,y=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),b=["'"].concat(y),_=["%","/","?",";","#"].concat(b),w=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,C=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,k={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};f.prototype.parse=function(t,e){let n,i,r,o=t;if(o=o.trim(),!e&&1===t.split("#").length){const t=v.exec(o);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let s=g.exec(o);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,o=o.substr(s.length)),(e||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),!r||s&&k[s]||(o=o.substr(2),this.slashes=!0)),!k[s]&&(r||s&&!O[s])){let t,e,n=-1;for(let t=0;t127?i+="x":i+=n[t];if(!i.match(x)){const i=t.slice(0,e),r=t.slice(e+1),s=n.match(C);s&&(i.push(s[1]),r.unshift(s[2])),r.length&&(o=r.join(".")+o),this.hostname=i.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),O[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},f.prototype.parseHost=function(t){let e=m.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const M=function(t,e){if(t&&t instanceof f)return t;const n=new f;return n.parse(t,e),n},S=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,A=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,P=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,E=/[\0-\x1F\x7F-\x9F]/,T=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,I=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,D=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),z=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var N;const F=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),L=null!==(N=String.fromCodePoint)&&void 0!==N?N:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var R=function(t){return t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",t}(R||{}),B=function(t){return t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE",t}(B||{});function j(t){return t>=R.ZERO&&t<=R.NINE}var H=function(t){return t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity",t}(H||{}),V=function(t){return t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute",t}(V||{});class ${constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=H.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=V.Strict}startEntity(t){this.decodeMode=t,this.state=H.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case H.EntityStart:return t.charCodeAt(e)===R.NUM?(this.state=H.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=H.NamedEntity,this.stateNamedEntity(t,e));case H.NumericStart:return this.stateNumericStart(t,e);case H.NumericDecimal:return this.stateNumericDecimal(t,e);case H.NumericHex:return this.stateNumericHex(t,e);case H.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===R.LOWER_X?(this.state=H.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=H.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e=R.UPPER_A&&i<=R.UPPER_F||i>=R.LOWER_A&&i<=R.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}var i;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=F.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==R.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14;for(;e=R.UPPER_A&&t<=R.UPPER_Z||t>=R.LOWER_A&&t<=R.LOWER_Z||j(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14,0!==r){if(s===R.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==V.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var o;return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,i=(n[e]&B.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~B.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case H.NamedEntity:return 0===this.result||this.decodeMode===V.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case H.NumericDecimal:return this.emitNumericEntity(0,2);case H.NumericHex:return this.emitNumericEntity(0,3);case H.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case H.EntityStart:return 0}}}function q(t){let e="";const n=new $(t,(t=>e+=L(t)));return function(t,i){let r=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(r,o),n.startEntity(i);const s=n.write(t,o+1);if(s<0){r=o+n.end();break}r=o+s,o=0===s?r+1:r}const s=e+t.slice(r);return e="",s}}function Z(t,e,n,i){const r=(e&B.BRANCH_LENGTH)>>7,o=e&B.JUMP_TABLE;if(0===r)return 0!==o&&i===o?n:-1;if(o){const e=i-o;return e<0||e>=r?-1:t[n+e]-1}let s=n,a=s+r-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(ni))return t[e+r];a=e-1}}return-1}const U=q(D);function G(t,e=V.Legacy){return U(t,e)}function Q(t){for(let e=1;e'"]/g,J),Y(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Y(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));const K=Object.prototype.hasOwnProperty;function X(t,e){return K.call(t,e)}function tt(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function et(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function nt(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||!(65535&~t&&65534!=(65535&t))||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function it(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const rt=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ot=new RegExp(rt.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),st=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function at(t){return t.indexOf("\\")<0?t:t.replace(rt,"$1")}function lt(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ot,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&st.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return nt(n)?it(n):t}const n=G(t);return n!==t?n:t}(t,n)}))}const ct=/[&<>"]/,ut=/[&<>"]/g,ht={"&":"&","<":"<",">":">",'"':"""};function dt(t){return ht[t]}function pt(t){return ct.test(t)?t.replace(ut,dt):t}const ft=/[.?*+^$[\]\\(){}|-]/g;function gt(t){return t.replace(ft,"\\$&")}function mt(t){switch(t){case 9:case 32:return!0}return!1}function vt(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function yt(t){return S.test(t)||A.test(t)}function bt(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function _t(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const wt={mdurl:i,ucmicro:r};function xt(t,e,n){let i,r,o,s;const a=t.posMax,l=t.pos;for(t.pos=e+1,i=1;t.pos32))return o;if(41===i){if(0===s)break;s--}r++}return e===r||0!==s||(o.str=lt(t.slice(e,r)),o.pos=r,o.ok=!0),o}function kt(t,e,n,i){let r,o=e;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)s.str=i.str,s.marker=i.marker;else{if(o>=n)return s;let i=t.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return s;e++,o++,40===i&&(i=41),s.marker=i}for(;o"+pt(o.content)+""},Ot.code_block=function(t,e,n,i,r){const o=t[e];return""+pt(t[e].content)+"\n"},Ot.fence=function(t,e,n,i,r){const o=t[e],s=o.info?lt(o.info).trim():"";let a,l="",c="";if(s){const t=s.split(/(\s+)/g);l=t[0],c=t.slice(2).join("")}if(a=n.highlight&&n.highlight(o.content,l,c)||pt(o.content),0===a.indexOf("${a}\n`}return`
    ${a}
    \n`},Ot.image=function(t,e,n,i,r){const o=t[e];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(t,e,n)},Ot.hardbreak=function(t,e,n){return n.xhtmlOut?"
    \n":"
    \n"},Ot.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},Ot.text=function(t,e){return pt(t[e].content)},Ot.html_block=function(t,e){return t[e].content},Ot.html_inline=function(t,e){return t[e].content},Mt.prototype.renderAttrs=function(t){let e,n,i;if(!t.attrs)return"";for(i="",e=0,n=t.attrs.length;e\n":">",r},Mt.prototype.renderInline=function(t,e,n){let i="";const r=this.rules;for(let o=0,s=t.length;o=0&&(n=this.attrs[e][1]),n},Et.prototype.attrJoin=function(t,e){const n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e};const Tt=Et;function It(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}It.prototype.Token=Tt;const Dt=It,zt=/\r\n?|\n/g,Nt=/\0/g;function Ft(t){return/^<\/a\s*>/i.test(t)}const Lt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Rt=/\((c|tm|r)\)/i,Bt=/\((c|tm|r)\)/gi,jt={c:"©",r:"®",tm:"™"};function Ht(t,e){return jt[e.toLowerCase()]}function Vt(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||(i.content=i.content.replace(Bt,Ht)),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}function $t(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||Lt.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}const qt=/['"]/,Zt=/['"]/g;function Ut(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Gt(t,e){let n;const i=[];for(let r=0;r=0&&!(i[n].level<=s);n--);if(i.length=n+1,"text"!==o.type)continue;let a=o.content,l=0,c=a.length;t:for(;l=0)f=a.charCodeAt(u.index-1);else for(n=r-1;n>=0&&"softbreak"!==t[n].type&&"hardbreak"!==t[n].type;n--)if(t[n].content){f=t[n].content.charCodeAt(t[n].content.length-1);break}let g=32;if(l=48&&f<=57&&(d=h=!1),h&&d&&(h=m,d=v),h||d){if(d)for(n=i.length-1;n>=0;n--){let h=i[n];if(i[n].level=0;s--){const a=r[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&o>0&&o--,Ft(a.content)&&o++),!(o>0)&&"text"===a.type&&t.md.linkify.test(a.content)){const n=a.content;let o=t.md.linkify.match(n);const l=[];let c=a.level,u=0;o.length>0&&0===o[0].index&&s>0&&"text_special"===r[s-1].type&&(o=o.slice(1));for(let e=0;eu){const e=new t.Token("text","",0);e.content=n.slice(u,a),e.level=c,l.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",r]],h.level=c++,h.markup="linkify",h.info="auto",l.push(h);const d=new t.Token("text","",0);d.content=s,d.level=c,l.push(d);const p=new t.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=o[e].lastIndex}if(u=0;e--)"inline"===t.tokens[e].type&&(Rt.test(t.tokens[e].content)&&Vt(t.tokens[e].children),Lt.test(t.tokens[e].content)&&$t(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&qt.test(t.tokens[e].content)&&Gt(t.tokens[e].children,t)}],["text_join",function(t){let e,n;const i=t.tokens,r=i.length;for(let t=0;t0&&this.level++,this.tokens.push(i),i},Wt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Wt.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;te;)if(!mt(this.src.charCodeAt(--t)))return t+1;return t},Wt.prototype.skipChars=function(t,e){for(let n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Wt.prototype.getLines=function(t,e,n,i){if(t>=e)return"";const r=new Array(e-t);for(let o=0,s=t;sn?new Array(t-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},Wt.prototype.Token=Tt;const Kt=Wt;function Xt(t,e){const n=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];return t.src.slice(n,i)}function te(t){const e=[],n=t.length;let i=0,r=t.charCodeAt(i),o=!1,s=0,a="";for(;i=i)return-1;let o=t.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=i)return-1;if(o=t.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",re="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",oe=new RegExp("^(?:"+ie+"|"+re+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),se=new RegExp("^(?:"+ie+"|"+re+")"),ae=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(se.source+"\\s*$"),/^$/,!1]],le=[["table",function(t,e,n,i){if(e+2>n)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let o=t.bMarks[r]+t.tShift[r];if(o>=t.eMarks[r])return!1;const s=t.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s)return!1;if(o>=t.eMarks[r])return!1;const a=t.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a&&!mt(a))return!1;if(45===s&&mt(a))return!1;for(;o=4)return!1;c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const h=c.length;if(0===h||h!==u.length)return!1;if(i)return!0;const d=t.parentType;t.parentType="table";const p=t.md.block.ruler.getRules("blockquote"),f=[e,0];t.push("table_open","table",1).map=f,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e=4)break;if(c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=h-c.length,m>65536)break;r===e+2&&(t.push("tbody_open","tbody",1).map=g=[e+2,0]),t.push("tr_open","tr",1).map=[r,r+1];for(let e=0;e=4))break;i++,r=i}t.line=r;const o=t.push("code_block","code",0);return o.content=t.getLines(e,r,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}],["fence",function(t,e,n,i){let r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(r+3>o)return!1;const s=t.src.charCodeAt(r);if(126!==s&&96!==s)return!1;let a=r;r=t.skipChars(r,s);let l=r-a;if(l<3)return!1;const c=t.src.slice(a,r),u=t.src.slice(r,o);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(i)return!0;let h=e,d=!1;for(;h++,!(h>=n||(r=a=t.bMarks[h]+t.tShift[h],o=t.eMarks[h],r=4||(r=t.skipChars(r,s),r-a=4)return!1;if(62!==t.src.charCodeAt(r))return!1;if(i)return!0;const a=[],l=[],c=[],u=[],h=t.md.block.ruler.getRules("blockquote"),d=t.parentType;t.parentType="blockquote";let p,f=!1;for(p=e;p=o)break;if(62===t.src.charCodeAt(r++)&&!e){let e,n,i=t.sCount[p]+1;32===t.src.charCodeAt(r)?(r++,i++,n=!1,e=!0):9===t.src.charCodeAt(r)?(e=!0,(t.bsCount[p]+i)%4==3?(r++,i++,n=!1):n=!0):e=!1;let s=i;for(a.push(t.bMarks[p]),t.bMarks[p]=r;r=o,l.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(e?1:0),c.push(t.sCount[p]),t.sCount[p]=s-i,u.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(f)break;let i=!1;for(let e=0,r=h.length;e";const v=[e,0];m.map=v,t.md.block.tokenize(t,e,p),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=s,t.parentType=d,v[1]=t.line;for(let n=0;n=4)return!1;let o=t.bMarks[e]+t.tShift[e];const s=t.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o=4)return!1;if(t.listIndent>=0&&t.sCount[l]-t.listIndent>=4&&t.sCount[l]=t.blkIndent&&(p=!0),(d=ne(t,l))>=0){if(u=!0,s=t.bMarks[l]+t.tShift[l],h=Number(t.src.slice(s,d-1)),p&&1!==h)return!1}else{if(!((d=ee(t,l))>=0))return!1;u=!1}if(p&&t.skipSpaces(d)>=t.eMarks[l])return!1;if(i)return!0;const f=t.src.charCodeAt(d-1),g=t.tokens.length;u?(a=t.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=t.push("bullet_list_open","ul",1);const m=[l,0];a.map=m,a.markup=String.fromCharCode(f);let v=!1;const y=t.md.block.ruler.getRules("list"),b=t.parentType;for(t.parentType="list";l=r?1:i-e,p>4&&(p=1);const g=e+p;a=t.push("list_item_open","li",1),a.markup=String.fromCharCode(f);const m=[l,0];a.map=m,u&&(a.info=t.src.slice(s,d-1));const b=t.tight,_=t.tShift[l],w=t.sCount[l],x=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=g,t.tight=!0,t.tShift[l]=h-t.bMarks[l],t.sCount[l]=i,h>=r&&t.isEmpty(l+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,l,n,!0),t.tight&&!v||(c=!1),v=t.line-l>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=x,t.tShift[l]=_,t.sCount[l]=w,t.tight=b,a=t.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=t.line,m[1]=l,l>=n)break;if(t.sCount[l]=4)break;let C=!1;for(let e=0,i=y.length;e=4)return!1;if(91!==t.src.charCodeAt(r))return!1;function a(e){const n=t.lineMax;if(e>=n||t.isEmpty(e))return null;let i=!1;if(t.sCount[e]-t.blkIndent>3&&(i=!0),t.sCount[e]<0&&(i=!0),!i){const i=t.md.block.ruler.getRules("reference"),r=t.parentType;t.parentType="reference";let o=!1;for(let r=0,s=i.length;r=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(r))return!1;let s=t.src.slice(r,o),a=0;for(;a=4)return!1;let s=t.src.charCodeAt(r);if(35!==s||r>=o)return!1;let a=1;for(s=t.src.charCodeAt(++r);35===s&&r6||rr&&mt(t.src.charCodeAt(l-1))&&(o=l),t.line=e+1;const c=t.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[e,t.line];const u=t.push("inline","",0);return u.content=t.src.slice(r,o).trim(),u.map=[e,t.line],u.children=[],t.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,n){const i=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let o,s=0,a=e+1;for(;a3)continue;if(t.sCount[a]>=t.blkIndent){let e=t.bMarks[a]+t.tShift[a];const n=t.eMarks[a];if(e=n))){s=61===o?1:2;break}}if(t.sCount[a]<0)continue;let e=!1;for(let r=0,o=i.length;r3)continue;if(t.sCount[o]<0)continue;let e=!1;for(let r=0,s=i.length;r=n))&&!(t.sCount[s]=o){t.line=n;break}const e=t.line;let l=!1;for(let o=0;o=t.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),s=t.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i},he.prototype.scanDelims=function(t,e){const n=this.posMax,i=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let o=t;for(;o?@[]^_`{|}~-".split("").forEach((function(t){ge[t.charCodeAt(0)]=1}));const ve={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(126!==i)return!1;const r=t.scanDelims(t.pos,!0);let o=r.length;const s=String.fromCharCode(i);if(o<2)return!1;let a;o%2&&(a=t.push("text","",0),a.content=s,o--);for(let e=0;e=0;n--){const i=e[n];if(95!==i.marker&&42!==i.marker)continue;if(-1===i.end)continue;const r=e[i.end],o=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===r.token+1,s=String.fromCharCode(i.marker),a=t.tokens[i.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const l=t.tokens[r.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--)}}const be={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(95!==i&&42!==i)return!1;const r=t.scanDelims(t.pos,42===i);for(let e=0;e\x00-\x20]*)$/,xe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ce=/^&([a-z][a-z0-9]{1,31});/i;function ke(t){const e={},n=t.length;if(!n)return;let i=0,r=-2;const o=[];for(let s=0;sa;l-=o[l]+1){const e=t[l];if(e.marker===n.marker&&e.open&&e.end<0){let i=!1;if((e.close||n.open)&&(e.length+n.length)%3==0&&(e.length%3==0&&n.length%3==0||(i=!0)),!i){const i=l>0&&!t[l-1].open?o[l-1]+1:0;o[s]=s-l+i,o[l]=i,n.open=!1,e.end=s,e.close=!1,c=-1,r=-2;break}}}-1!==c&&(e[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Oe=[["text",function(t,e){let n=t.pos;for(;n0)return!1;const n=t.pos;if(n+3>t.posMax)return!1;if(58!==t.src.charCodeAt(n))return!1;if(47!==t.src.charCodeAt(n+1))return!1;if(47!==t.src.charCodeAt(n+2))return!1;const i=t.pending.match(fe);if(!i)return!1;const r=i[1],o=t.md.linkify.matchAtStart(t.src.slice(n-r.length));if(!o)return!1;let s=o.url;if(s.length<=r.length)return!1;s=s.replace(/\*+$/,"");const a=t.md.normalizeLink(s);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-r.length);const e=t.push("link_open","a",1);e.attrs=[["href",a]],e.markup="linkify",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(s);const n=t.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return t.pos+=s.length-r.length,!0}],["newline",function(t,e){let n=t.pos;if(10!==t.src.charCodeAt(n))return!1;const i=t.pending.length-1,r=t.posMax;if(!e)if(i>=0&&32===t.pending.charCodeAt(i))if(i>=1&&32===t.pending.charCodeAt(i-1)){let e=i-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n=i)return!1;let r=t.src.charCodeAt(n);if(10===r){for(e||t.push("hardbreak","br",0),n++;n=55296&&r<=56319&&n+1=56320&&e<=57343&&(o+=t.src[n+1],n++)}const s="\\"+o;if(!e){const e=t.push("text_special","",0);r<256&&0!==ge[r]?e.content=o:e.content=s,e.markup=s,e.info="escape"}return t.pos=n+1,!0}],["backticks",function(t,e){let n=t.pos;if(96!==t.src.charCodeAt(n))return!1;const i=n;n++;const r=t.posMax;for(;n=h)return!1;if(l=f,r=t.md.helpers.parseLinkDestination(t.src,f,t.posMax),r.ok){for(s=t.md.normalizeLink(r.str),t.md.validateLink(s)?f=r.pos:s="",l=f;f=h||41!==t.src.charCodeAt(f))&&(c=!0),f++}if(c){if(void 0===t.env.references)return!1;if(f=0?i=t.src.slice(l,f++):f=p+1):f=p+1,i||(i=t.src.slice(d,p)),o=t.env.references[_t(i)],!o)return t.pos=u,!1;s=o.href,a=o.title}if(!e){t.pos=d,t.posMax=p;const e=[["href",s]];t.push("link_open","a",1).attrs=e,a&&e.push(["title",a]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=f,t.posMax=h,!0}],["image",function(t,e){let n,i,r,o,s,a,l,c,u="";const h=t.pos,d=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const p=t.pos+2,f=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(f<0)return!1;if(o=f+1,o=d)return!1;for(c=o,a=t.md.helpers.parseLinkDestination(t.src,o,t.posMax),a.ok&&(u=t.md.normalizeLink(a.str),t.md.validateLink(u)?o=a.pos:u=""),c=o;o=d||41!==t.src.charCodeAt(o))return t.pos=h,!1;o++}else{if(void 0===t.env.references)return!1;if(o=0?r=t.src.slice(c,o++):o=f+1):o=f+1,r||(r=t.src.slice(p,f)),s=t.env.references[_t(r)],!s)return t.pos=h,!1;u=s.href,l=s.title}if(!e){i=t.src.slice(p,f);const e=[];t.md.inline.parse(i,t.md,t.env,e);const n=t.push("image","img",0),r=[["src",u],["alt",""]];n.attrs=r,n.children=e,n.content=i,l&&r.push(["title",l])}return t.pos=o,t.posMax=d,!0}],["autolink",function(t,e){let n=t.pos;if(60!==t.src.charCodeAt(n))return!1;const i=t.pos,r=t.posMax;for(;;){if(++n>=r)return!1;const e=t.src.charCodeAt(n);if(60===e)return!1;if(62===e)break}const o=t.src.slice(i+1,n);if(we.test(o)){const n=t.md.normalizeLink(o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}if(_e.test(o)){const n=t.md.normalizeLink("mailto:"+o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const n=t.posMax,i=t.pos;if(60!==t.src.charCodeAt(i)||i+2>=n)return!1;const r=t.src.charCodeAt(i+1);if(33!==r&&63!==r&&47!==r&&!function(t){const e=32|t;return e>=97&&e<=122}(r))return!1;const o=t.src.slice(i).match(oe);if(!o)return!1;if(!e){const e=t.push("html_inline","",0);e.content=o[0],s=e.content,/^\s]/i.test(s)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var s;return t.pos+=o[0].length,!0}],["entity",function(t,e){const n=t.pos,i=t.posMax;if(38!==t.src.charCodeAt(n))return!1;if(n+1>=i)return!1;if(35===t.src.charCodeAt(n+1)){const i=t.src.slice(n).match(xe);if(i){if(!e){const e="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n=t.push("text_special","",0);n.content=nt(e)?it(e):it(65533),n.markup=i[0],n.info="entity"}return t.pos+=i[0].length,!0}}else{const i=t.src.slice(n).match(Ce);if(i){const n=G(i[0]);if(n!==i[0]){if(!e){const e=t.push("text_special","",0);e.content=n,e.markup=i[0],e.info="entity"}return t.pos+=i[0].length,!0}}}return!1}]],Me=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length;ke(t.delimiters);for(let t=0;t0&&i++,"text"===r[e].type&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;s||t.pos++,o[e]=t.pos},Se.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,i=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(s){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Se.prototype.parse=function(t,e,n,i){const r=new this.State(t,e,n,i);this.tokenize(r);const o=this.ruler2.getRules(""),s=o.length;for(let t=0;t=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const i=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},Ne="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Fe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Le(t){const e=t.re=function(t){const e={};return t=t||{},e.src_Any=P.source,e.src_Cc=E.source,e.src_Z=I.source,e.src_P=S.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|"),e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice();function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(Ne),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(i(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(i(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(i(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(i(e.tpl_host_fuzzy_test),"i");const r=[];function o(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e];if(null===n)return;const i={validate:null,link:null};if(t.__compiled__[e]=i,"[object Object]"===Ee(n))return"[object RegExp]"!==Ee(n.validate)?Te(n.validate)?i.validate=n.validate:o(e,n):i.validate=function(t){return function(e,n){const i=e.slice(n);return t.test(i)?i.match(t)[0].length:0}}(n.validate),void(Te(n.normalize)?i.normalize=n.normalize:n.normalize?o(e,n):i.normalize=function(t,e){e.normalize(t)});"[object String]"!==Ee(n)?o(e,n):r.push(e)})),r.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const s=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Ie).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function Re(t,e){const n=t.__index__,i=t.__last_index__,r=t.__text_cache__.slice(n,i);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}function Be(t,e){const n=new Re(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function je(t,e){if(!(this instanceof je))return new je(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||De.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Pe({},De,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Pe({},ze,t),this.__compiled__={},this.__tlds__=Fe,this.__tlds_replaced__=!1,this.re={},Le(this)}je.prototype.add=function(t,e){return this.__schemas__[t]=e,Le(this),this},je.prototype.set=function(t){return this.__opts__=Pe(this.__opts__,t),this},je.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let e,n,i,r,o,s,a,l,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(r=this.testSchemaAt(t,e[2],a.lastIndex),r){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0},je.prototype.pretest=function(t){return this.re.pretest.test(t)},je.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},je.prototype.match=function(t){const e=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(e.push(Be(this,n)),n=this.__last_index__);let i=n?t.slice(n):t;for(;this.test(i);)e.push(Be(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},je.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,Be(this,0)):null},je.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),Le(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Le(this),this)},je.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},je.prototype.onCompile=function(){};const He=je,Ve=2147483647,$e=36,qe=/^xn--/,Ze=/[^\0-\x7F]/,Ue=/[\x2E\u3002\uFF0E\uFF61]/g,Ge={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qe=Math.floor,Je=String.fromCharCode;function Ye(t){throw new RangeError(Ge[t])}function We(t,e){const n=t.split("@");let i="";n.length>1&&(i=n[0]+"@",t=n[1]);const r=function(t,e){const n=[];let i=t.length;for(;i--;)n[i]=e(t[i]);return n}((t=t.replace(Ue,".")).split("."),e).join(".");return i+r}function Ke(t){const e=[];let n=0;const i=t.length;for(;n=55296&&r<=56319&&n>1,t+=Qe(t/e);t>455;i+=$e)t=Qe(t/35);return Qe(i+36*t/(t+38))},en=function(t){const e=[],n=t.length;let i=0,r=128,o=72,s=t.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&Ye("not-basic"),e.push(t.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&Ye("invalid-input");const s=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:$e;s>=$e&&Ye("invalid-input"),s>Qe((Ve-i)/e)&&Ye("overflow"),i+=s*e;const c=r<=o?1:r>=o+26?26:r-o;if(sQe(Ve/u)&&Ye("overflow"),e*=u}const c=e.length+1;o=tn(i-s,c,0==s),Qe(i/c)>Ve-r&&Ye("overflow"),r+=Qe(i/c),i%=c,e.splice(i++,0,r)}var a;return String.fromCodePoint(...e)},nn=function(t){const e=[],n=(t=Ke(t)).length;let i=128,r=0,o=72;for(const n of t)n<128&&e.push(Je(n));const s=e.length;let a=s;for(s&&e.push("-");a=i&&eQe((Ve-r)/l)&&Ye("overflow"),r+=(n-i)*l,i=n;for(const n of t)if(nVe&&Ye("overflow"),n===i){let t=r;for(let n=$e;;n+=$e){const i=n<=o?1:n>=o+26?26:n-o;if(tString.fromCodePoint(...t)},decode:en,encode:nn,toASCII:function(t){return We(t,(function(t){return Ze.test(t)?"xn--"+nn(t):t}))},toUnicode:function(t){return We(t,(function(t){return qe.test(t)?en(t.slice(4).toLowerCase()):t}))}},on={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},sn=/^(vbscript|javascript|file|data):/,an=/^data:image\/(gif|png|jpeg|webp);/;function ln(t){const e=t.trim().toLowerCase();return!sn.test(e)||an.test(e)}const cn=["http:","https:","mailto:"];function un(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toASCII(e.hostname)}catch(t){}return d(p(e))}function hn(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toUnicode(e.hostname)}catch(t){}return c(p(e),c.defaultChars+"%")}function dn(t,e){if(!(this instanceof dn))return new dn(t,e);e||W(t)||(e=t||{},t="default"),this.inline=new Ae,this.block=new ue,this.core=new Yt,this.renderer=new St,this.linkify=new He,this.validateLink=ln,this.normalizeLink=un,this.normalizeLinkText=hn,this.utils=o,this.helpers=tt({},s),this.options={},this.configure(t),e&&this.set(e)}dn.prototype.set=function(t){return tt(this.options,t),this},dn.prototype.configure=function(t){const e=this;if(W(t)){const e=t;if(!(t=on[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},dn.prototype.enable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},dn.prototype.disable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},dn.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},dn.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");const n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},dn.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},dn.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},dn.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const pn=dn},8239:(t,e,n)=>{function i(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(i,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var s=t.apply(e,n);function a(t){i(s,r,o,a,l,"next",t)}function l(t){i(s,r,o,a,l,"throw",t)}a(void 0)}))}}n.d(e,{Z:()=>r})},86889:(t,e,n)=>{function i(t){return i="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},i(t)}function r(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:()=>r})},84911:(t,e,n)=>{function i(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function a(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((i=i.apply(t,e||[])).next())}))}function s(t){return this instanceof s?(this.v=t,this):new s(t)}function a(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return",(function(t){return function(e){return Promise.resolve(e).then(t,u)}})),i[Symbol.asyncIterator]=function(){return this},i;function a(t,e){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||l(t,e)}))},e&&(i[t]=e(i[t])))}function l(t,e){try{(n=r[t](e)).value instanceof s?Promise.resolve(n.value.v).then(c,u):h(o[0][2],n)}catch(t){h(o[0][3],t)}var n}function c(t){l("next",t)}function u(t){l("throw",t)}function h(t,e){t(e),o.shift(),o.length&&l(o[0][0],o[0][1])}}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){!function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}(i,r,(e=t[n](e)).done,e.value)}))}}}n.d(e,{FC:()=>a,KL:()=>l,_T:()=>i,gn:()=>r,mG:()=>o,qq:()=>s}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}},t=>{t(t.s=1679)}]); \ No newline at end of file +(self.webpackChunkeditor_demo=self.webpackChunkeditor_demo||[]).push([[179],{7618:(t,e,n)=>{function i(t){const{anchorOffset:e=0,focusOffset:n=0}=t.ownerDocument.getSelection()||{};return[Math.min(e,n),Math.max(e,n)]}n.d(e,{A_:()=>s,C8:()=>O,CV:()=>k,fD:()=>m,gI:()=>o});class r{constructor(t){this.element=t,this.maxLength=1/0}get value(){return this.element.innerText.replace(/\n\n$/,"\n")}set value(t){this.element.innerHTML=t.replace(/\n$/,"\n\n")}get selectionStart(){return i(this.element)[0]}get selectionEnd(){return i(this.element)[1]}setSelectionRange(t,e){!function(t,[e,n]){var i,r;const o=t.ownerDocument,s=o.createRange();s.setStart(t.firstChild||t,Math.min(e,(null===(i=t.textContent)||void 0===i?void 0:i.length)||0)),s.setEnd(t.lastChild||t,Math.min(n,(null===(r=t.textContent)||void 0===r?void 0:r.length)||0));const a=o.getSelection();a&&(a.removeAllRanges(),a.addRange(s))}(this.element,[t||0,e||0])}select(){this.setSelectionRange(0,this.value.length)}}const o=t=>t.isContentEditable?function(t){const e=new r(t);return new Proxy(t,{get(t,n){if(n in e)return e[n];const i=t[n];return"function"==typeof i?i.bind(t):i},set:(t,n,i,r)=>Reflect.set(n in e?e:t,n,i,r)})}(t):t.querySelector("input,textarea")||t,s={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class a{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}redo(){const t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}updateHistory(t){if(!this.now)return void(this.now=t);const e=this.now.value!==t.value,n=this.now.selection.some(((e,n)=>e!==t.selection[n]));(e||n)&&(e&&(this.past.push(this.now),this.future=[]),this.now=t)}updateElement(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}function l(t){return"string"==typeof t}function c(t,e,n,i){let r="";for(let o=e.length;o{const i=e[n];return l(i)?t===i:t.match(i)})):e.test(t)}function h(t,e,n=null){if(u(t.value,e))return t;const{value:i,selection:r}=Array.isArray(e)?function(t,e,n){let i=null,r=null;const o=Array.from(t.value).reduce(((o,s,a)=>{const u=o+c(e,o,s,n),h=e[u.length];return l(h)?u+h:s.match(h)?(null===i&&a>=t.selection[0]&&(i=u.length),null===r&&a>=t.selection[1]&&(r=u.length),u+s):u}),""),s=c(e,o,"",n);return{value:u(o+s,e)?o+s:o,selection:[null!=i?i:o.length,null!=r?r:o.length]}}(t,e,n):function({value:t,selection:e},n){const[i,r]=e;let o=i,s=r;return{value:Array.from(t).reduce(((t,e,a)=>{const l=t+e;return i===a&&(o=t.length),r===a&&(s=t.length),l.match(n)?l:t}),""),selection:[o,s]}}(t,e);return{selection:r,value:Array.isArray(e)?i.slice(0,e.length):i}}function d(t,e){if(!Array.isArray(e))return t;const[n,i]=t.selection,r=[],o=Array.from(t.value).reduce(((t,o,s)=>{const a=e[s];return s===n&&r.push(t.length),s===i&&r.push(t.length),l(a)&&a===o?t:t+o}),"");return r.length<2&&r.push(...new Array(2-r.length).fill(o.length)),{value:o,selection:[r[0],r[1]]}}class p{constructor(t,e){this.initialElementState=t,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:n,selection:i}=h(this.initialElementState,this.getMaskExpression(this.initialElementState));this.value=n,this.selection=i}addCharacters([t,e],n){const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,t)+n+i.slice(e),selection:[t+n.length,t+n.length]}),o={value:i,selection:[t,e]},s=d(o,r),[a,l]=function({value:t,selection:e},n,i){const[r,o]=e;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:e}):i)?[r,r+n.length]:[r,o]}}(s,n,this.maskOptions.overwriteMode).selection,c=s.value.slice(0,a)+n,u=c.length,p=h({value:c+s.value.slice(l),selection:[u,u]},r,o);if(i.slice(0,a)===h({value:c,selection:[u,u]},r,o).value||function(t,...e){return e.every((({value:e,selection:n})=>e===t.value&&n[0]===t.selection[0]&&n[1]===t.selection[1]))}(this,p))throw new Error("Invalid mask value");this.value=p.value,this.selection=p.selection}deleteCharacters([t,e]){if(t===e||!e)return;const{value:n}=this,i=this.getMaskExpression({value:n.slice(0,t)+n.slice(e),selection:[t,t]}),r={value:n,selection:[t,e]},o=d(r,i),[s,a]=o.selection,l=h({value:o.value.slice(0,s)+o.value.slice(a),selection:[s,s]},i,r);this.value=l.value,this.selection=l.selection}getMaskExpression(t){const{mask:e}=this.maskOptions;return"function"==typeof e?e(t):e}}class f{constructor(t){this.element=t,this.listeners=[]}listen(t,e,n){const i=e;this.element.addEventListener(t,i,n),this.listeners.push((()=>this.element.removeEventListener(t,i)))}destroy(){this.listeners.forEach((t=>t()))}}function g(t,e,n){return t.ctrlKey===!!(1&e)&&t.altKey===!!(2&e)&&t.shiftKey===!!(4&e)&&t.metaKey===!!(8&e)&&t.keyCode===n}function m(t,e){var n;const i=t.value;if("string"==typeof e)t.value=e;else{const[i,r]=e.selection;t.value=e.value,t.matches(":focus")&&(null===(n=t.setSelectionRange)||void 0===n||n.call(t,i,r))}t.value!==i&&t.dispatchEvent(new Event("input",{bubbles:!0}))}function v({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];const o=n?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[n?i:o,n?o:r]}function y({value:t,selection:e},n){const[i,r]=e;return i!==r?[i,r]:(n?[i,r+1]:[i-1,r]).map((e=>Math.min(Math.max(e,0),t.length)))}const b=/\s+$/g,_=/^\s+/g,w=/\s/;function x({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];if(n){const e=t.slice(i),[n]=e.match(_)||[""],r=e.trimStart().search(w);return[i,-1!==r?i+n.length+r:t.length]}const o=t.slice(0,r),[s]=o.match(b)||[""],a=o.trimEnd().split("").reverse().findIndex((t=>t.match(w)));return[-1!==a?r-s.length-a:0,r]}function C(t=[]){return(e,...n)=>t.reduce(((t,e)=>Object.assign(Object.assign({},t),e(t,...n))),e)}function k(t,e){const n=Object.assign(Object.assign({},s),e),i=C(n.preprocessors),r=C(n.postprocessors),o="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:a}=i({elementState:o,data:""},"validation"),l=new p(a,n),{value:c,selection:u}=r(l,o);return"string"==typeof t?c:{value:c,selection:u}}class O extends a{constructor(t,e){super(),this.element=t,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new f(this.element),this.options=Object.assign(Object.assign({},s),this.maskitoOptions),this.preprocessor=C(this.options.preprocessors),this.postprocessor=C(this.options.postprocessors),this.teardowns=this.options.plugins.map((t=>t(this.element,this.options))),this.updateHistory(this.elementState),this.eventListener.listen("keydown",(t=>function(t){return g(t,1,89)||g(t,5,90)||g(t,12,90)}(t)?(t.preventDefault(),this.redo()):function(t){return g(t,1,90)||g(t,8,90)}(t)?(t.preventDefault(),this.undo()):void 0)),this.eventListener.listen("beforeinput",(t=>{var e;const n=t.inputType.includes("Forward");switch(this.updateHistory(this.elementState),t.inputType){case"historyUndo":return t.preventDefault(),this.undo();case"historyRedo":return t.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:t,isForward:n,selection:y(this.elementState,n)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:t,isForward:n,selection:x(this.elementState,n),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:t,isForward:n,selection:v(this.elementState,n),force:!0});case"insertCompositionText":case"insertReplacementText":return;case"insertLineBreak":case"insertParagraph":return this.handleEnter(t);default:return this.handleInsert(t,t.data||(null===(e=t.dataTransfer)||void 0===e?void 0:e.getData("text/plain"))||"")}})),this.eventListener.listen("input",(({inputType:t})=>{"insertCompositionText"!==t&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))})),this.eventListener.listen("compositionend",(()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)}))}get elementState(){const{value:t,selectionStart:e,selectionEnd:n}=this.element;return{value:t,selection:[e||0,n||0]}}get maxLength(){const{maxLength:t}=this.element;return-1===t?1/0:t}destroy(){this.eventListener.destroy(),this.teardowns.forEach((t=>null==t?void 0:t()))}updateElementState({value:t,selection:e},n={inputType:"insertText",data:null}){const i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(e),i!==t&&this.dispatchInputEvent(n)}updateSelectionRange([t,e]){var n;const{element:i}=this;!i.matches(":focus")||i.selectionStart===t&&i.selectionEnd===e||null===(n=i.setSelectionRange)||void 0===n||n.call(i,t,e)}updateValue(t){this.element.value=t}ensureValueFitsMask(){this.updateElementState(k(this.elementState,this.options))}dispatchInputEvent(t={inputType:"insertText",data:null}){globalThis.InputEvent&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}handleDelete({event:t,selection:e,isForward:n,force:i=!1}){const r={value:this.elementState.value,selection:e},[o,s]=r.selection,{elementState:a}=this.preprocessor({elementState:r,data:""},n?"deleteForward":"deleteBackward"),l=new p(a,this.options),[c,u]=a.selection;l.deleteCharacters([c,u]);const h=this.postprocessor(l,r);if(r.value.slice(0,o)+r.value.slice(s)!==h.value||i||this.element.isContentEditable){if(t.preventDefault(),function(t,...e){return e.every((({value:e})=>e===t.value))}(r,a,l,h))return this.updateSelectionRange(n?[u,u]:[c,c]);this.updateElementState(h,{inputType:t.inputType,data:null}),this.updateHistory(h)}}handleInsert(t,e){const n=this.elementState,{elementState:i,data:r=e}=this.preprocessor({data:e,elementState:n},"insert"),o=new p(i,this.options);try{o.addCharacters(i.selection,r)}catch(e){return t.preventDefault()}const[s,a]=i.selection,l=n.value.slice(0,s)+e+n.value.slice(a),c=this.postprocessor(o,n);if(c.value.length>this.maxLength)return t.preventDefault();(l!==c.value||this.element.isContentEditable)&&(t.preventDefault(),this.updateElementState(c,{data:e,inputType:t.inputType}),this.updateHistory(c))}handleEnter(t){(this.isTextArea||this.element.isContentEditable)&&this.handleInsert(t,"\n")}}},11262:(t,e,n)=>{n.d(e,{H$:()=>yt,f8:()=>Rt,jX:()=>J,n9:()=>st,nQ:()=>K,rC:()=>jt,tr:()=>nt,vZ:()=>xt});var i=n(7618);function r(t,e,n){const i=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(i):i}function o(t){return t.replaceAll(/\W/g,"").length}function s(t,{day:e,month:n,year:i}={}){const r=new Date(t);return e&&r.setDate(r.getDate()+e),n&&r.setMonth(r.getMonth()+n),i&&r.setFullYear(r.getFullYear()+i),r}const a=t=>{var e,n,i;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}};function l(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function c(t,e){return!(t.length!t.match(/^0+$/)))}function u(t,e,n){const i=o(e);return t.replace(n,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${i}}`,"g"))||[]}function h(t,e){const n=e.replaceAll(/[^dmy]/g,""),i=t.replaceAll(/\D+/g,""),r={day:i.slice(n.indexOf("d"),n.lastIndexOf("d")+1),month:i.slice(n.indexOf("m"),n.lastIndexOf("m")+1),year:i.slice(n.indexOf("y"),n.lastIndexOf("y")+1)};return Object.fromEntries(Object.entries(r).filter((([t,e])=>Boolean(e))).sort((([t],[n])=>e.toLowerCase().indexOf(t[0])>e.toLowerCase().indexOf(n[0])?1:-1)))}function d(t,e){var n,i,r,o,s,a,l;const c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?`20${t.year}`:t.year,u=new Date(Number(null!=c?c:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(s=null==e?void 0:e.minutes)&&void 0!==s?s:"0"),Number(null!==(a=null==e?void 0:e.seconds)&&void 0!==a?a:"0"),Number(null!==(l=null==e?void 0:e.milliseconds)&&void 0!==l?l:"0"));return u.setFullYear(Number(null!=c?c:"0")),u}const p=", ";function f({day:t,month:e,year:n,hours:i,minutes:r,seconds:o,milliseconds:s},{dateMode:a,dateTimeSeparator:l=p,timeMode:c}){var u;const h=2===(null===(u=a.match(/y/g))||void 0===u?void 0:u.length)?null==n?void 0:n.slice(-2):n;return(a+(c?l+c:"")).replaceAll(/d+/g,null!=t?t:"").replaceAll(/m+/g,null!=e?e:"").replaceAll(/y+/g,null!=h?h:"").replaceAll(/H+/g,null!=i?i:"").replaceAll("MSS",null!=s?s:"").replaceAll(/M+/g,null!=r?r:"").replaceAll(/S+/g,null!=o?o:"").replaceAll(/^\D+/g,"").replaceAll(/\D+$/g,"")}const g={day:31,month:12,year:9999},m=[".",",","б","ю"],v=new Date("0001-01-01"),y=new Date("9999-12-31"),b={hours:23,minutes:59,seconds:59,milliseconds:999},_=[":","."],w={hours:2,minutes:2,seconds:2,milliseconds:3},x=" ",C="​",k="–",O="—",M="-",S="−",A="ー",P=":",E=":";function T({dateString:t,dateModeTemplate:e,dateSegmentsSeparator:n,offset:i,selection:[r,o]}){const s=h(t,e),l=Object.entries(s),c={};for(const[t,s]of l){const l=f(c,{dateMode:e}),u=g[t],h=l.length&&n.length,d=i+l.length+h+a(e)[t],p=d>=r&&d===o;if(p&&Number(s)>Number(u))return{validatedDateString:"",updatedSelection:[r,o]};if(p&&Number(s)<1)return{validatedDateString:"",updatedSelection:[r,o]};c[t]=s}const u=f(c,{dateMode:e}),d=u.length-t.length;return{validatedDateString:u,updatedSelection:[r+d,o+d]}}const I=/[\\^$.*+?()[\]{}|]/g,D=new RegExp(I.source);function z(t){return t&&D.test(t)?t.replaceAll(I,"\\$&"):t}function N(t,{prefix:e,postfix:n}){var i,r;const o=new RegExp(`^${z(e)}`),s=new RegExp(`${z(n)}$`),[a=""]=null!==(i=t.match(o))&&void 0!==i?i:[],[l=""]=null!==(r=t.match(s))&&void 0!==r?r:[];return{extractedPrefix:a,extractedPostfix:l,cleanValue:t.replace(o,"").replace(s,"")}}function F(t){return t}function L(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function R(t,e,n=0){return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?R(`0${t.slice(0,e.length-1)}`,e,n+1):R(`${t.slice(0,e.length-1)}0`,e,n)}function B(t){return t.replaceAll(new RegExp(E,"g"),P)}function j(t){return t.replaceAll(/[0-9]/g,(t=>String.fromCharCode(t.charCodeAt(0)-65248)))}function H(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:B(n)},data:B(e)}}}function V({dateModeTemplate:t,dateSegmentSeparator:e,splitFn:n,uniteFn:i}){return({value:r,selection:o})=>{var s;const[a,l]=o,{dateStrings:c,restPart:u=""}=n(r),d=[];let p=0;c.forEach((e=>{const n=h(e,t),i=Object.entries(n).reduce(((t,[e,n])=>{const{validatedSegmentValue:i,prefixedZeroesCount:r}=R(n,`${g[e]}`);return p+=r,Object.assign(Object.assign({},t),{[e]:i})}),{});d.push(f(i,{dateMode:t}))}));const m=i(d,r)+((null===(s=c[c.length-1])||void 0===s?void 0:s.endsWith(e))?e:"")+u;return p&&m.slice(l+p,l+p+e.length)===e&&(p+=e.length),{selection:[a+p,l+p],value:m}}}function $({dateModeTemplate:t,firstDateEndSeparator:e,dateSegmentSeparator:n,pseudoFirstDateEndSeparators:i}){return({elementState:r,data:s})=>{const{value:a,selection:l}=r,c=function(t,e){const n=o(e),[i=""]=t.match(new RegExp(`(\\D*\\d){${n}}`))||[];return i}(a,t),u=i.filter((t=>!e.includes(t)&&t!==n)),h=new RegExp(`[${u.join("")}]`,"gi");return{elementState:{selection:l,value:c&&a.length>c.length?c+a.slice(c.length).replace(/^[\D\s]*/,e):a},data:s.replace(h,e)}}}function q(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:j(n)},data:j(e)}}}function Z(t,e){const n=a(e);return Object.fromEntries(Object.entries(t).map((([t,e])=>{const i=n[t];return[t,e.length===i&&e.match(/^0+$/)?"1".padStart(i,"0"):e]})))}function U({dateModeTemplate:t,min:e=v,max:n=y,rangeSeparator:i="",dateSegmentSeparator:o="."}){return({value:s,selection:a})=>{const p=i&&s.endsWith(i),g=u(s,t,i);let m="";for(const s of g){m+=m?i:"";const a=h(s,t);c(s,t)?m+=f(l(r(d(a),e,n)),{dateMode:t}):m+=f(Z(a,t),{dateMode:t})+(s.endsWith(o)?o:"")}return{selection:a,value:m+(p?i:"")}}}function G({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n="",dateTimeSeparator:i=p}){return({elementState:r,data:o})=>{const s=n?new RegExp(`${n}|-`):i,a=o.split(s),l=o.includes(i)?[a[0]]:a;if(l.every((n=>n.trim().split(/\D/).filter(Boolean).length===t.split(e).length))){const s=l.map((n=>function(t,e,n){const i=t.split(/\D/).filter(Boolean),r=e.split(n);return i.map(((t,e)=>e===r.length-1?t:t.padStart(r[e].length,"0"))).join(n)}(n,t,e))).join(n);return{elementState:r,data:`${s}${o.includes(i)&&i+a[1]||""}`}}return{elementState:r,data:o}}}function Q(t){const e=new RegExp(`${z(t)}$`);return t?({value:n,selection:i},r)=>{if(!n&&!r.value.endsWith(t))return{value:n,selection:i};if(!n.endsWith(t)&&!r.value.endsWith(t))return{selection:i,value:n+t};const o=r.value.replace(e,""),s=r.selection[1]>=o.length,a=function(t,e){let n="";for(let i=0;i{const i=t.length-1-n,r=a[i]===e&&s;return t[i]!==e||r?t.slice(0,i+1)+e+t.slice(i+1):t}),n)}}:F}function J(t){return t?({value:e,selection:n},i)=>{if(e.startsWith(t)||!e&&!i.value.startsWith(t))return{value:e,selection:n};const[r,o]=n,s=Array.from(t).reduce(((t,e,n)=>t[n]===e?t:t.slice(0,n)+e+t.slice(n)),e),a=s.length-e.length;return{selection:[r+a,o+a],value:s}}:F}function Y({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};const a=r.replaceAll(new RegExp(`[^\\d${z(e)}${n}]`,"g"),"");if(!a)return{elementState:i,data:""};const[l,c]=s;let h=c+r.length;const d=o.slice(0,l)+a+o.slice(h),p=u(d,t,n);let f="";const g=Boolean(n)&&d.includes(n);for(const r of p){const{validatedDateString:o,updatedSelection:s}=T({dateString:r,dateModeTemplate:t,dateSegmentsSeparator:e,offset:f.length,selection:[l,h]});if(r&&!o)return{elementState:i,data:""};h=s[1],f+=g&&!f?o+n:o}const m=f.slice(l,h);return{elementState:{selection:s,value:f.slice(0,l)+m.split(e).map((t=>"0".repeat(t.length))).join(e)+f.slice(h)},data:m}}}function W(t,e,n){return(i,r)=>{const o=()=>e(i,r);return i.addEventListener(t,o,n),()=>i.removeEventListener(t,o,n)}}function K(t){return e=>{const n=e.ownerDocument;let i=0;const o=()=>i++,s=()=>{i=Math.max(--i,0)},a=()=>{if(!e.matches(":focus"))return;if(i)return n.addEventListener("mouseup",a,{once:!0,passive:!0});const o=e.selectionStart||0,s=e.selectionEnd||0,[l,c]=t(e.value,[o,s]);(l>o||c{n.removeEventListener("selectionchange",a),n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",s)}}}const X=()=>{};function tt({step:t,fullMode:e,timeSegmentMaxValues:n}){const r=function(t){return new Map([["hours",et(t,"HH")],["minutes",et(t,"MM")],["seconds",et(t,"SS")],["milliseconds",et(t,"MSS")]])}(e);return t<=0?X:e=>{const o=o=>{if("ArrowUp"!==o.key&&"ArrowDown"!==o.key)return;o.preventDefault();const s=e.selectionStart||0,a=function({segmentsIndexes:t,selectionStart:e}){for(const[n,i]of t.entries()){const[t,r]=i;if(t<=e&&e<=r)return n}return null}({segmentsIndexes:r,selectionStart:s});if(!a)return;const l=function({selection:t,value:e,toAdd:n,max:i}){const[r,o]=t,s=function(t,e){return t<0&&(t+=Math.floor(Math.abs(t)/e+1)*e),t%e}(Number(e.slice(r,o).padEnd(o-r,"0"))+n,i+1);return e.slice(0,r)+String(s).padStart(o-r,"0")+e.slice(o,e.length)}({selection:r.get(a),value:e.value,toAdd:"ArrowUp"===o.key?t:-t,max:n[a]});(0,i.fD)(e,{value:l,selection:[s,s]})};return e.addEventListener("keydown",o),()=>e.removeEventListener("keydown",o)}}function et(t,e){const n=t.indexOf(e);return-1===n?[-1,-1]:[n,n+e.length]}function nt({mode:t,separator:e=".",max:n,min:r}){const o=t.split("/").join(e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(o).map((t=>e.includes(t)?t:/\d/)),overwriteMode:"replace",preprocessors:[q(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:o,dateSegmentsSeparator:e}),Y({dateModeTemplate:o,dateSegmentsSeparator:e})],postprocessors:[V({dateModeTemplate:o,dateSegmentSeparator:e,splitFn:t=>({dateStrings:[t]}),uniteFn:([t])=>t}),U({min:r,max:n,dateModeTemplate:o,dateSegmentSeparator:e})]})}const it=[M,k,O,S,A];function rt({dateModeTemplate:t,rangeSeparator:e,minLength:n,maxLength:i,max:o=y}){return L(n)&&L(i)?F:({value:a,selection:p})=>{const g=u(a,t,e);if(2!==g.length||g.some((e=>!c(e,t))))return{value:a,selection:p};const[m,v]=g.map((e=>d(h(e,t)))),y=s(m,Object.assign(Object.assign({},n),{day:(null==n?void 0:n.day)&&n.day-1})),b=L(i)?o:s(m,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),_=r(v,y,o),w=_>b?b:_;return{selection:p,value:g[0]+e+f(l(w),{dateMode:t})}}}function ot({dateModeTemplate:t,rangeSeparator:e}){return({value:n,selection:i})=>{const r=u(n,t,e),o=2===r.length&&r.every((e=>c(e,t))),[s,a]=i,l=s>=n.length,p=0===s&&a>=n.length;if(!l&&!p||!o)return{value:n,selection:i};const[f,g]=r.map((e=>d(h(e,t))));return{selection:i,value:f>g?r.reverse().join(e):n}}}function st({mode:t,min:e,max:n,minLength:r,maxLength:o,dateSeparator:s=".",rangeSeparator:a=`${x}${k}${x}`}){const l=t.split("/").join(s),c=Array.from(l).map((t=>s.includes(t)?t:/\d/));return Object.assign(Object.assign({},i.A_),{mask:[...c,...Array.from(a),...c],overwriteMode:"replace",preprocessors:[q(),$({dateModeTemplate:l,dateSegmentSeparator:s,firstDateEndSeparator:a,pseudoFirstDateEndSeparators:it}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s}),Y({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:s,splitFn:t=>({dateStrings:u(t,l,a)}),uniteFn:(t,e)=>t.reduce(((t,n,i)=>t+n+(!i&&e.includes(a)?a:"")),"")}),U({min:e,max:n,dateModeTemplate:l,rangeSeparator:a,dateSegmentSeparator:s}),rt({dateModeTemplate:l,minLength:r,maxLength:o,max:n,rangeSeparator:a}),ot({dateModeTemplate:l,rangeSeparator:a})]})}function at(t){return Object.fromEntries(Object.entries(t).map((([t,e])=>[t,`${e}`.padEnd(w[t],"0")])))}const lt={HH:"hours",MM:"minutes",SS:"seconds",MSS:"milliseconds"};function ct(t,e){const n=t.replaceAll(/\D+/g,"");let i=0;return Object.fromEntries(e.split(/\W/).map((t=>{const e=n.slice(i,i+t.length);return i+=t.length,[lt[t],e]})))}const ut=/^\D*/,ht=/\D*$/;function dt({hours:t="",minutes:e="",seconds:n="",milliseconds:i=""}){return`${t}:${e}:${n}.${i}`.replace(ut,"").replace(ht,"")}const pt=new RegExp(`[${_.map(z).join("")}]$`);function ft({timeString:t,paddedMaxValues:e,offset:n,selection:[i,r],timeMode:o}){const s=ct(t,o),a=Object.entries(s),l={};let c=0;for(const[t,o]of a){const s=dt(l),a=e[t],u=s.length&&1,h=n+s.length+u+w[t];if(h>=i&&h<=r&&Number(o)>Number(a))return{validatedTimeString:"",updatedTimeSelection:[i,r]};const{validatedSegmentValue:d,prefixedZeroesCount:p}=R(o,`${a}`);c+=p,l[t]=d}const[u=""]=t.match(pt)||[],h=dt(l)+u,d=Math.max(h.length-t.length,0);return{validatedTimeString:h,updatedTimeSelection:[i+c+d,r+c+d]}}function gt(t,{dateModeTemplate:e,dateTimeSeparator:n}){const i=t.includes(n);return[t.slice(0,e.length),t.slice(i?e.length+n.length:e.length)]}function mt({dateModeTemplate:t,timeMode:e,min:n=v,max:i=y,dateTimeSeparator:o}){return({value:s,selection:a})=>{const[u,g]=gt(s,{dateModeTemplate:t,dateTimeSeparator:o}),m=h(u,t),v=ct(g,e);if(!function(t,{dateMode:e,timeMode:n,dateTimeSeparator:i=p}){return t.length>=e.length+n.length+i.length&&t.split(i)[0].split(/\D/).every((t=>!t.match(/^0+$/)))}(s,{dateMode:t,timeMode:e,dateTimeSeparator:o})){const h=Z(m,t),{year:p,month:g,day:y}=c(u,t)?l(r(d(h),n,i)):h,b=f(Object.assign({year:p,month:g,day:y},v),{dateMode:t,dateTimeSeparator:o,timeMode:e});return{selection:a,value:b+s.slice(b.length)}}return{selection:a,value:f(l(r(d(m,v),n,i)),{dateMode:t,dateTimeSeparator:o,timeMode:e})}}}function vt({dateModeTemplate:t,dateSegmentsSeparator:e,dateTimeSeparator:n,timeMode:i}){const r=new RegExp(`[^\\d${_.map(z).join("")}${z(e)}]+`);return({elementState:o,data:s})=>{const{value:a,selection:l}=o;if(s===e)return{elementState:o,data:l[0]===a.length?s:""};const c=s.replace(r,"");if(!c)return{elementState:o,data:""};const[u,h]=l;let d=h+s.length;const p=a.slice(0,u)+c+a.slice(d),[f,g]=gt(p,{dateModeTemplate:t,dateTimeSeparator:n});let m="";const v=p.includes(n),{validatedDateString:y,updatedSelection:_}=T({dateString:f,dateSegmentsSeparator:e,dateModeTemplate:t,offset:0,selection:[u,d]});if(f&&!y)return{elementState:o,data:""};d=_[1],m+=y;const w=at(b),{validatedTimeString:x,updatedTimeSelection:C}=ft({timeString:g,paddedMaxValues:w,offset:m.length+n.length,selection:[u,d],timeMode:i});if(g&&!x)return{elementState:o,data:""};d=C[1],m+=v?n+x:x;const k=m.slice(u,d);return{elementState:{selection:l,value:m.slice(0,u)+k.split(e).map((t=>"0".repeat(t.length))).join(e)+m.slice(d)},data:k}}}function yt({dateMode:t,timeMode:e,dateSeparator:n=".",min:r,max:o,dateTimeSeparator:s=p,timeStep:a=0}){const l=t.split("/").join(n);return Object.assign(Object.assign({},i.A_),{mask:[...Array.from(l).map((t=>n.includes(t)?t:/\d/)),...s.split(""),...Array.from(e).map((t=>_.includes(t)?t:/\d/))],overwriteMode:"replace",preprocessors:[q(),H(),$({dateModeTemplate:l,dateSegmentSeparator:n,firstDateEndSeparator:s,pseudoFirstDateEndSeparators:s.split("")}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s}),vt({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s,timeMode:e})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:n,splitFn:t=>{const[e,n]=gt(t,{dateModeTemplate:l,dateTimeSeparator:s});return{dateStrings:[e],restPart:n}},uniteFn:([t],e)=>t+(e.includes(s)?s:"")}),mt({min:r,max:o,dateModeTemplate:l,timeMode:e,dateTimeSeparator:s})],plugins:[tt({step:a,fullMode:`${l}${s}${e}`,timeSegmentMaxValues:b})]})}function bt({prefix:t,postfix:e}){return({elementState:n,data:i})=>{const{cleanValue:r}=N(i,{prefix:t,postfix:e});return{elementState:n,data:r}}}function _t({decimalSeparator:t,isNegativeAllowed:e,precision:n,thousandSeparator:i,prefix:r,postfix:o,decimalPseudoSeparators:s=[],pseudoMinuses:a=[],minusSign:l}){const c=wt(r),u="\\d",h=e?`[${l}${a.map((t=>`\\${t}`)).join("")}]?`:"",d=i?`[${u}${z(i).replaceAll(/\s/g,"\\s")}]*`:`[${u}]*`,p=n>0?`([${z(t)}${s.map(z).join("")}]${u}{0,${Number.isFinite(n)?n:""}})?`:"",f=wt(o);return new RegExp(`^${c}${h}${d}${p}${f}$`)}function wt(t){return t?`${t.split("").map((t=>`${z(t)}?`)).join("")}`:""}function xt(t,e="."){const n=!!t.match(new RegExp(`^\\D*[${S}\\${M}${k}${O}${A}]`)),i=z(e),r=t.replaceAll(new RegExp(`${i}(?!\\d)`,"g"),"").replaceAll(new RegExp(`[^\\d${i}]`,"g"),"").replace(e,".");return r?Number((n?M:"")+r):NaN}function Ct(t,{decimalSeparator:e,thousandSeparator:n}){const[i="",r=""]=t.split(e),[,o="",s=""]=i.match(new RegExp(`([^\\d${z(n)}]+)?(.*)`))||[];return{minus:o,integerPart:s,decimalPart:r}}function kt({decimalSeparator:t,precision:e,decimalZeroPadding:n,prefix:i,postfix:r}){return e<=0||!n?F:({value:n,selection:o})=>{const{cleanValue:s,extractedPrefix:a,extractedPostfix:l}=N(n,{prefix:i,postfix:r});if(Number.isNaN(xt(s,t)))return{value:n,selection:o};const[c,u=""]=s.split(t);return{value:a+c+t+u.padEnd(e,"0")+l,selection:o}}}function Ot({prefix:t,postfix:e,decimalSeparator:n,thousandSeparator:i}){return({value:r,selection:o})=>{const[s]=o,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(r,{prefix:t,postfix:e}),{minus:u,integerPart:h,decimalPart:d}=Ct(a,{decimalSeparator:n,thousandSeparator:i}),p=!h&&!d&&a.includes(n);return!h&&!Number(d)&&s===(u+l).length||p?{selection:o,value:l+u+c}:{value:r,selection:o}}}function Mt({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:o,postfix:s,minusSign:a}){let l=!0;const c=_t({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0,minusSign:a});return({elementState:t,data:e})=>{if(!l)return{elementState:t,data:e};l=!1;const{value:n,selection:a}=t,[u,h]=a,{extractedPrefix:d,cleanValue:p,extractedPostfix:f}=N(n,{prefix:o,postfix:s}),g=(0,i.CV)({selection:[Math.max(u-d.length,0),r(h-d.length,0,p.length)],value:p},{mask:c}),[m,v]=g.selection;return{elementState:{selection:[m+d.length,v+d.length],value:d+g.value+f},data:e}}}function St({min:t,max:e,decimalSeparator:n,minusSign:i}){return({value:r,selection:o})=>{const s=xt(r,n),a=s>0?Math.min(s,e):Math.max(s,t);if(s&&a!==s){const t=`${a}`.replace(".",n).replace(M,i);return{value:t,selection:[t.length,t.length]}}return{value:r,selection:o}}}function At({decimalSeparator:t,thousandSeparator:e,decimalZeroPadding:n}){return({elementState:i,data:r},o)=>{const{value:s,selection:a}=i,[l,c]=a,u=s.slice(l,c),h=n?[t,e]:[e],d=n&&l>s.indexOf(t)&&Boolean(u.match(/^0+$/gi));return"deleteBackward"!==o&&"deleteForward"!==o||!h.includes(u)&&!d?{elementState:i,data:r}:{elementState:{value:s,selection:"deleteForward"===o?[c,c]:[l,l]},data:r}}}function Pt({decimalSeparator:t,precision:e,prefix:n,postfix:i}){const o=new RegExp(`^\\D*${z(t)}`);return({elementState:s,data:a})=>{const{value:l,selection:c}=s,{cleanValue:u,extractedPrefix:h}=N(l,{prefix:n,postfix:i}),[d,p]=c,f=r(d-h.length,0,u.length),g=r(p-h.length,0,u.length);return e<=0||u.slice(0,f).includes(t)||u.slice(g).includes(t)||!a.match(o)?{elementState:s,data:a}:{elementState:s,data:u.slice(0,f).match(/\d+/)?a:`0${a}`}}}function Et({validCharacter:t,pseudoCharacters:e,prefix:n,postfix:i}){const r=new RegExp(`[${e.join("")}]`,"gi");return({elementState:e,data:o})=>{const{value:s,selection:a}=e,{cleanValue:l,extractedPostfix:c,extractedPrefix:u}=N(s,{prefix:n,postfix:i});return{elementState:{selection:a,value:u+l.replace(r,t)+c},data:o.replace(r,t)}}}function Tt({decimalSeparator:t,prefix:e,postfix:n}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i,[a,l]=s,{cleanValue:c}=N(o,{prefix:e,postfix:n});return{elementState:i,data:!c.includes(t)||o.slice(a,l+1).includes(t)?r:r.replaceAll(new RegExp(z(t),"gi"),"")}}}function It({thousandSeparator:t,decimalSeparator:e,prefix:n,postfix:i}){return t?({value:r,selection:o})=>{const{cleanValue:s,extractedPostfix:a,extractedPrefix:l}=N(r,{prefix:n,postfix:i}),{minus:c,integerPart:u,decimalPart:h}=Ct(s,{decimalSeparator:e,thousandSeparator:t}),[d,p]=o;let[f,g]=o;return{value:l+c+Array.from(u).reduceRight(((e,n,i)=>{const r=!(!i&&n===t)&&e.length&&(e.length+1)%4==0;return r&&(n===t||((...t)=>t.every((t=>/\s/.test(t))))(n,t))?t+e:n!==t||r?r?(i<=d&&f++,i<=p&&g++,n+t+e):n+e:(i&&i<=d&&f--,i&&i<=p&&g--,e)}),"")+(s.includes(e)?e:"")+h+a,selection:[f,g]}}:F}function Dt({precision:t,decimalSeparator:e,prefix:n,postfix:i}){if(t>0)return F;const r=new RegExp(`${z(e)}.*$`,"g");return({elementState:t,data:e})=>{const{value:o,selection:s}=t,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(o,{prefix:n,postfix:i}),[u,h]=s,d=l+a.replace(r,"")+c;return{elementState:{selection:[Math.min(u,d.length),Math.min(h,d.length)],value:d},data:e.replace(r,"")}}}const zt=[0,0];function Nt({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r}){const o=function({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:i}){const r=t=>{const n=z(e);return t.replace(new RegExp(`^(\\D+)?[0${n}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${n}]+(?=[1-9])`),"$1")},o=(t,e)=>{const n=t.slice(0,e),i=t.slice(e).startsWith("0");return n.length-r(n).length+(i?1:0)};return({value:e,selection:s})=>{const[a,l]=s,{cleanValue:c,extractedPrefix:u,extractedPostfix:h}=N(e,{prefix:n,postfix:i}),d=c.includes(t),[p,f=""]=c.split(t),g=r(p);if(p===g)return{value:e,selection:s};const m=a-o(e,a),v=l-o(e,l);return{value:u+g+(d?t:"")+f+h,selection:[Math.max(m,0),Math.max(v,0)]}}}({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r});return W("blur",(t=>{const e=o({value:t.value,selection:zt},{value:"",selection:zt}).value;(0,i.fD)(t,e)}),{capture:!0})}function Ft({min:t,max:e,decimalSeparator:n}){return W("blur",((o,s)=>{const a=xt(o.value,n),l=r(a,t,e);Number.isNaN(a)||a===l||(0,i.fD)(o,(0,i.CV)(function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(l),s))}),{capture:!0})}function Lt({decimalSeparator:t,prefix:e,postfix:n}){return W("blur",(r=>{const{cleanValue:o,extractedPostfix:s,extractedPrefix:a}=N(r.value,{prefix:e,postfix:n}),l=a+o.replace(new RegExp(`^(\\D+)?${z(t)}`),`$10${t}`)+s;(0,i.fD)(r,l)}),{capture:!0})}function Rt({max:t=Number.MAX_SAFE_INTEGER,min:e=Number.MIN_SAFE_INTEGER,precision:n=0,thousandSeparator:r=x,decimalSeparator:o=".",decimalPseudoSeparators:s,decimalZeroPadding:a=!1,prefix:l="",postfix:c="",minusSign:u=S}={}){const h=[M,k,O,A,S].filter((t=>t!==r&&t!==o&&t!==u)),d=function({decimalSeparator:t,thousandSeparator:e,decimalPseudoSeparators:n=m}){return n.filter((n=>n!==e&&n!==t))}({decimalSeparator:o,thousandSeparator:r,decimalPseudoSeparators:s}),p=l.endsWith(o)&&n>0?`${l}${C}`:l;return Object.assign(Object.assign({},i.A_),{mask:_t({decimalSeparator:o,precision:n,thousandSeparator:r,prefix:p,postfix:c,isNegativeAllowed:e<0,minusSign:u}),preprocessors:[q(),Mt({decimalSeparator:o,decimalPseudoSeparators:d,pseudoMinuses:h,prefix:p,postfix:c,minusSign:u}),bt({prefix:p,postfix:c}),Et({validCharacter:u,pseudoCharacters:h,prefix:p,postfix:c}),Et({validCharacter:o,pseudoCharacters:d,prefix:p,postfix:c}),Pt({decimalSeparator:o,precision:n,prefix:p,postfix:c}),At({decimalSeparator:o,decimalZeroPadding:a,thousandSeparator:r}),Dt({precision:n,decimalSeparator:o,prefix:p,postfix:c}),Tt({decimalSeparator:o,prefix:p,postfix:c})],postprocessors:[St({decimalSeparator:o,min:e,max:t,minusSign:u}),J(p),Q(c),It({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),kt({decimalSeparator:o,decimalZeroPadding:a,precision:n,prefix:p,postfix:c}),Ot({prefix:p,postfix:c,decimalSeparator:o,thousandSeparator:r})],plugins:[Nt({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),Lt({decimalSeparator:o,prefix:p,postfix:c}),Ft({min:e,max:t,decimalSeparator:o})],overwriteMode:a?({value:t,selection:[e]})=>e<=t.indexOf(o)?"shift":"replace":"shift"})}function Bt(t,e){const n=at(t),i=new RegExp(`[^\\d${_.map(z).join("")}]+`);return({elementState:t,data:r},o)=>{if("deleteBackward"===o||"deleteForward"===o)return{elementState:t,data:r};const{value:s,selection:a}=t;if("validation"===o){const{validatedTimeString:t,updatedTimeSelection:i}=ft({timeString:s,paddedMaxValues:n,offset:0,selection:a,timeMode:e});return{elementState:{value:t,selection:i},data:r}}const l=r.replace(i,""),[c,u]=a;let h=u+l.length;const d=s.slice(0,c)+l+s.slice(h),{validatedTimeString:p,updatedTimeSelection:f}=ft({timeString:d,paddedMaxValues:n,offset:0,selection:[c,h],timeMode:e});if(d&&!p)return{elementState:t,data:""};h=f[1];const g=p.slice(c,h);return{elementState:{selection:a,value:p.slice(0,c)+"0".repeat(g.length)+p.slice(h)},data:g}}}function jt({mode:t,timeSegmentMaxValues:e={},step:n=0}){const r=Object.assign(Object.assign({},b),e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(t).map((t=>_.includes(t)?t:/\d/)),preprocessors:[q(),H(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},Bt(r,t)],plugins:[tt({fullMode:t,step:n,timeSegmentMaxValues:r})],overwriteMode:"replace"})}},56424:(t,e,n)=>{n.d(e,{X:()=>r});var i=n(78748);class r extends i.x{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}},48132:(t,e,n)=>{n.d(e,{y:()=>u});var i=n(84676),r=n(902),o=n(49837),s=n(22222),a=n(89885),l=n(3649),c=n(41855);let u=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const o=(s=t)&&s instanceof i.Lv||function(t){return t&&(0,l.m)(t.next)&&(0,l.m)(t.error)&&(0,l.m)(t.complete)}(s)&&(0,r.Nn)(s)?t:new i.Hp(t,e,n);var s;return(0,c.x)((()=>{const{operator:t,source:e}=this;o.add(t?t.call(o,e):e?this._subscribe(o):this._trySubscribe(o))})),o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=h(e))(((e,n)=>{const r=new i.Hp({next:e=>{try{t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:e});this.subscribe(r)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[o.L](){return this}pipe(...t){return(0,s.U)(t)(this)}toPromise(t){return new(t=h(t))(((t,e)=>{let n;this.subscribe((t=>n=t),(t=>e(t)),(()=>t(n)))}))}}return t.create=e=>new t(e),t})();function h(t){var e;return null!==(e=null!=t?t:a.config.Promise)&&void 0!==e?e:Promise}},35484:(t,e,n)=>{n.d(e,{t:()=>o});var i=n(78748),r=n(87541);class o extends i.x{constructor(t=1/0,e=1/0,n=r.l){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:r,_windowTime:o}=this;e||(n.push(t),!i&&n.push(r.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:i}=this,r=i.slice();for(let e=0;e{n.d(e,{x:()=>l});var i=n(48132),r=n(902);const o=(0,n(99046).d)((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var s=n(40801),a=n(41855);let l=(()=>{class t extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new c(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new o}next(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const e=this.observers.slice();for(const n of e)n.next(t)}}))}error(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:n,observers:i}=this;return e||n?r.Lc:(i.push(t),new r.w0((()=>(0,s.P)(i,t))))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:i}=this;e?t.error(n):i&&t.complete()}asObservable(){const t=new i.y;return t.source=this,t}}return t.create=(t,e)=>new c(t,e),t})();class c extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:r.Lc}}},84676:(t,e,n)=>{n.d(e,{Hp:()=>p,Lv:()=>d});var i=n(3649),r=n(902),o=n(89885),s=n(29102),a=n(96811);const l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var u=n(63112),h=n(41855);class d extends r.w0{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,(0,r.Nn)(t)&&t.add(this)):this.destination=v}static create(t,e,n){return new p(t,e,n)}next(t){this.isStopped?m(function(t){return c("N",t,void 0)}(t),this):this._next(t)}error(t){this.isStopped?m(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?m(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class p extends d{constructor(t,e,n){let r;if(super(),(0,i.m)(t))r=t;else if(t){let i;({next:r,error:e,complete:n}=t),this&&o.config.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)}this.destination={next:r?f(r):a.Z,error:f(null!=e?e:g),complete:n?f(n):a.Z}}}function f(t,e){return(...e)=>{try{t(...e)}catch(t){o.config.useDeprecatedSynchronousErrorHandling?(0,h.O)(t):(0,s.h)(t)}}}function g(t){throw t}function m(t,e){const{onStoppedNotification:n}=o.config;n&&u.z.setTimeout((()=>n(t,e)))}const v={closed:!0,next:a.Z,error:g,complete:a.Z}},902:(t,e,n)=>{n.d(e,{Lc:()=>a,w0:()=>s,Nn:()=>l});var i=n(3649);const r=(0,n(99046).d)((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));var o=n(40801);class s{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if((0,i.m)(n))try{n()}catch(e){t=e instanceof r?e.errors:[e]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const e of o)try{c(e)}catch(e){t=null!=t?t:[],e instanceof r?t=[...t,...e.errors]:t.push(e)}}if(t)throw new r(t)}}add(t){var e;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&(0,o.P)(e,t)}remove(t){const{_teardowns:e}=this;e&&(0,o.P)(e,t),t instanceof s&&t._removeParent(this)}}s.EMPTY=(()=>{const t=new s;return t.closed=!0,t})();const a=s.EMPTY;function l(t){return t instanceof s||t&&"closed"in t&&(0,i.m)(t.remove)&&(0,i.m)(t.add)&&(0,i.m)(t.unsubscribe)}function c(t){(0,i.m)(t)?t():t.unsubscribe()}},89885:(t,e,n)=>{n.d(e,{config:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},38442:(t,e,n)=>{n.d(e,{a:()=>d});var i=n(48132),r=n(56632),o=n(3489),s=n(69401),a=n(35993),l=n(38197),c=n(22713),u=n(70134),h=n(53224);function d(...t){const e=(0,l.yG)(t),n=(0,l.jO)(t),{args:h,keys:d}=(0,r.D)(t);if(0===h.length)return(0,o.D)([],e);const f=new i.y(function(t,e,n=s.y){return i=>{p(e,(()=>{const{length:r}=t,s=new Array(r);let a=r,l=r;for(let c=0;c{const r=(0,o.D)(t[c],e);let h=!1;r.subscribe(new u.Q(i,(t=>{s[c]=t,h||(h=!0,l--),l||i.next(n(s.slice()))}),(()=>{--a||i.complete()})))}),i)}),i)}}(h,e,d?t=>(0,c.n)(d,t):s.y));return n?f.pipe((0,a.Z)(n)):f}function p(t,e,n){t?(0,h.f)(n,t,e):e()}},45623:(t,e,n)=>{n.d(e,{z:()=>s});var i=n(42605),r=n(38197),o=n(3489);function s(...t){return(0,i.J)(1)((0,o.D)(t,(0,r.yG)(t)))}},83562:(t,e,n)=>{n.d(e,{P:()=>o});var i=n(48132),r=n(46974);function o(t){return new i.y((e=>{(0,r.Xf)(t()).subscribe(e)}))}},30453:(t,e,n)=>{n.d(e,{E:()=>i});const i=new(n(48132).y)((t=>t.complete()))},30319:(t,e,n)=>{n.d(e,{D:()=>u});var i=n(48132),r=n(56632),o=n(46974),s=n(38197),a=n(70134),l=n(35993),c=n(22713);function u(...t){const e=(0,s.jO)(t),{args:n,keys:u}=(0,r.D)(t),h=new i.y((t=>{const{length:e}=n;if(!e)return void t.complete();const i=new Array(e);let r=e,s=e;for(let l=0;l{e||(e=!0,s--),i[l]=t}),(()=>r--),void 0,(()=>{r&&e||(s||t.next(u?(0,c.n)(u,i):i),t.complete())})))}}));return e?h.pipe((0,l.Z)(e)):h}},3489:(t,e,n)=>{n.d(e,{D:()=>_});var i=n(46974),r=n(53224),o=n(96142),s=n(70134);function a(t,e=0){return(0,o.e)(((n,i)=>{n.subscribe(new s.Q(i,(n=>(0,r.f)(i,t,(()=>i.next(n)),e)),(()=>(0,r.f)(i,t,(()=>i.complete()),e)),(n=>(0,r.f)(i,t,(()=>i.error(n)),e))))}))}function l(t,e=0){return(0,o.e)(((n,i)=>{i.add(t.schedule((()=>n.subscribe(i)),e))}))}var c=n(48132),u=n(56818),h=n(3649);function d(t,e){if(!t)throw new Error("Iterable cannot be null");return new c.y((n=>{(0,r.f)(n,e,(()=>{const i=t[Symbol.asyncIterator]();(0,r.f)(n,e,(()=>{i.next().then((t=>{t.done?n.complete():n.next(t.value)}))}),0,!0)}))}))}var p=n(48040),f=n(43913),g=n(23234),m=n(58926),v=n(53525),y=n(369),b=n(85994);function _(t,e){return e?function(t,e){if(null!=t){if((0,p.c)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,g.z)(t))return function(t,e){return new c.y((n=>{let i=0;return e.schedule((function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())}))}))}(t,e);if((0,f.t)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,v.D)(t))return d(t,e);if((0,m.T)(t))return function(t,e){return new c.y((n=>{let i;return(0,r.f)(n,e,(()=>{i=t[u.h](),(0,r.f)(n,e,(()=>{let t,e;try{({value:t,done:e}=i.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)}),0,!0)})),()=>(0,h.m)(null==i?void 0:i.return)&&i.return()}))}(t,e);if((0,b.L)(t))return function(t,e){return d((0,b.Q)(t),e)}(t,e)}throw(0,y.z)(t)}(t,e):(0,i.Xf)(t)}},10409:(t,e,n)=>{n.d(e,{R:()=>d});var i=n(46974),r=n(48132),o=n(45130),s=n(23234),a=n(3649),l=n(35993);const c=["addListener","removeListener"],u=["addEventListener","removeEventListener"],h=["on","off"];function d(t,e,n,f){if((0,a.m)(n)&&(f=n,n=void 0),f)return d(t,e,n).pipe((0,l.Z)(f));const[g,m]=function(t){return(0,a.m)(t.addEventListener)&&(0,a.m)(t.removeEventListener)}(t)?u.map((i=>r=>t[i](e,r,n))):function(t){return(0,a.m)(t.addListener)&&(0,a.m)(t.removeListener)}(t)?c.map(p(t,e)):function(t){return(0,a.m)(t.on)&&(0,a.m)(t.off)}(t)?h.map(p(t,e)):[];if(!g&&(0,s.z)(t))return(0,o.z)((t=>d(t,e,n)))((0,i.Xf)(t));if(!g)throw new TypeError("Invalid event target");return new r.y((t=>{const e=(...e)=>t.next(1m(e)}))}function p(t,e){return n=>i=>t[n](e,i)}},46974:(t,e,n)=>{n.d(e,{Xf:()=>g});var i=n(84911),r=n(23234),o=n(43913),s=n(48132),a=n(48040),l=n(53525),c=n(369),u=n(58926),h=n(85994),d=n(3649),p=n(29102),f=n(49837);function g(t){if(t instanceof s.y)return t;if(null!=t){if((0,a.c)(t))return v=t,new s.y((t=>{const e=v[f.L]();if((0,d.m)(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,r.z)(t))return g=t,new s.y((t=>{for(let e=0;e{i.then((e=>{t.closed||(t.next(e),t.complete())}),(e=>t.error(e))).then(null,p.h)}));if((0,l.D)(t))return m(t);if((0,u.T)(t))return n=t,new s.y((t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()}));if((0,h.L)(t))return e=t,m((0,h.Q)(e))}var e,n,i,g,v;throw(0,c.z)(t)}function m(t){return new s.y((e=>{(function(t,e){var n,r,o,s;return(0,i.mG)(this,void 0,void 0,(function*(){try{for(n=(0,i.KL)(t);!(r=yield n.next()).done;){const t=r.value;if(e.next(t),e.closed)return}}catch(t){o={error:t}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}e.complete()}))})(t,e).catch((t=>e.error(t)))}))}},45047:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(42605),r=n(46974),o=n(30453),s=n(38197),a=n(3489);function l(...t){const e=(0,s.yG)(t),n=(0,s._6)(t,1/0),l=t;return l.length?1===l.length?(0,r.Xf)(l[0]):(0,i.J)(n)((0,a.D)(l,e)):o.E}},14553:(t,e,n)=>{n.d(e,{C:()=>o});var i=n(48132),r=n(96811);const o=new i.y(r.Z)},71209:(t,e,n)=>{n.d(e,{of:()=>o});var i=n(38197),r=n(3489);function o(...t){const e=(0,i.yG)(t);return(0,r.D)(t,e)}},82479:(t,e,n)=>{n.d(e,{S:()=>a});var i=n(48132),r=n(46974),o=n(15130),s=n(70134);function a(...t){return 1===(t=(0,o.k)(t)).length?(0,r.Xf)(t[0]):new i.y(function(t){return e=>{let n=[];for(let i=0;n&&!e.closed&&i{if(n){for(let t=0;t{n.d(e,{_:()=>o});var i=n(48132),r=n(3649);function o(t,e){const n=(0,r.m)(t)?t:()=>t,o=t=>t.error(n());return new i.y(e?t=>e.schedule(o,0,t):o)}},1925:(t,e,n)=>{n.d(e,{H:()=>s});var i=n(48132),r=n(68634),o=n(16943);function s(t=0,e,n=r.P){let s=-1;return null!=e&&((0,o.K)(e)?n=e:s=e),new i.y((e=>{let i=(r=t)instanceof Date&&!isNaN(r)?+t-n.now():t;var r;i<0&&(i=0);let o=0;return n.schedule((function(){e.closed||(e.next(o++),0<=s?this.schedule(void 0,s):e.complete())}),i)}))}},87493:(t,e,n)=>{n.d(e,{$:()=>c});var i=n(48132),r=n(46974),o=n(15130),s=n(30453),a=n(70134),l=n(38197);function c(...t){const e=(0,l.jO)(t),n=(0,o.k)(t);return n.length?new i.y((t=>{let i=n.map((()=>[])),o=n.map((()=>!1));t.add((()=>{i=o=null}));for(let s=0;!t.closed&&s{if(i[s].push(n),i.every((t=>t.length))){const n=i.map((t=>t.shift()));t.next(e?e(...n):n),i.some(((t,e)=>!t.length&&o[e]))&&t.complete()}}),(()=>{o[s]=!0,!i[s].length&&t.complete()})));return()=>{i=o=null}})):s.E}},70134:(t,e,n)=>{n.d(e,{Q:()=>r});var i=n(84676);class r extends i.Lv{constructor(t,e,n,i,r){super(t),this.onFinalize=r,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}},17560:(t,e,n)=>{n.d(e,{K:()=>s});var i=n(46974),r=n(70134),o=n(96142);function s(t){return(0,o.e)(((e,n)=>{let o,a=null,l=!1;a=e.subscribe(new r.Q(n,void 0,void 0,(r=>{o=(0,i.Xf)(t(r,s(t)(e))),a?(a.unsubscribe(),a=null,o.subscribe(n)):l=!0}))),l&&(a.unsubscribe(),a=null,o.subscribe(n))}))}},70109:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(45130),r=n(3649);function o(t,e){return(0,r.m)(e)?(0,i.z)(t,e,1):(0,i.z)(t,1)}},24249:(t,e,n)=>{n.d(e,{D:()=>a});var i=n(96142),r=n(96811),o=n(70134),s=n(46974);function a(t){return(0,i.e)(((e,n)=>{let i=!1,a=null,l=null;const c=()=>{if(null==l||l.unsubscribe(),l=null,i){i=!1;const t=a;a=null,n.next(t)}};e.subscribe(new o.Q(n,(e=>{null==l||l.unsubscribe(),i=!0,a=e,l=new o.Q(n,c,r.Z),(0,s.Xf)(t(e)).subscribe(l)}),(()=>{c(),n.complete()}),void 0,(()=>{a=l=null})))}))}},20155:(t,e,n)=>{n.d(e,{b:()=>s});var i=n(68634),r=n(96142),o=n(70134);function s(t,e=i.z){return(0,r.e)(((n,i)=>{let r=null,s=null,a=null;const l=()=>{if(r){r.unsubscribe(),r=null;const t=s;s=null,i.next(t)}};function c(){const n=a+t,o=e.now();if(o{s=n,a=e.now(),r||(r=e.schedule(c,t),i.add(r))}),(()=>{l(),i.complete()}),void 0,(()=>{s=r=null})))}))}},80407:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(96142),r=n(70134);function o(t){return(0,i.e)(((e,n)=>{let i=!1;e.subscribe(new r.Q(n,(t=>{i=!0,n.next(t)}),(()=>{i||n.next(t),n.complete()})))}))}},69286:(t,e,n)=>{n.d(e,{g:()=>h});var i=n(68634),r=n(45623),o=n(21813),s=n(91105),a=n(97376),l=n(45130);function c(t,e){return e?n=>(0,r.z)(e.pipe((0,o.q)(1),(0,s.l)()),n.pipe(c(t))):(0,l.z)(((e,n)=>t(e,n).pipe((0,o.q)(1),(0,a.h)(e))))}var u=n(1925);function h(t,e=i.z){const n=(0,u.H)(t,e);return c((()=>n))}},18004:(t,e,n)=>{n.d(e,{x:()=>s});var i=n(69401),r=n(96142),o=n(70134);function s(t,e=i.y){return t=null!=t?t:a,(0,r.e)(((n,i)=>{let r,s=!0;n.subscribe(new o.Q(i,(n=>{const o=e(n);!s&&t(r,o)||(s=!1,r=o,i.next(n))})))}))}function a(t,e){return t===e}},93311:(t,e,n)=>{n.d(e,{l:()=>o});var i=n(45623),r=n(71209);function o(...t){return e=>(0,i.z)(e,(0,r.of)(...t))}},55333:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>t.call(e,n,o++)&&i.next(n))))}))}},36293:(t,e,n)=>{n.d(e,{x:()=>r});var i=n(96142);function r(t){return(0,i.e)(((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}}))}},91105:(t,e,n)=>{n.d(e,{l:()=>s});var i=n(96142),r=n(70134),o=n(96811);function s(){return(0,i.e)(((t,e)=>{t.subscribe(new r.Q(e,o.Z))}))}},92425:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{i.next(t.call(e,n,o++))})))}))}},97376:(t,e,n)=>{n.d(e,{h:()=>r});var i=n(92425);function r(t){return(0,i.U)((()=>t))}},42605:(t,e,n)=>{n.d(e,{J:()=>o});var i=n(45130),r=n(69401);function o(t=1/0){return(0,i.z)(r.y,t)}},45130:(t,e,n)=>{n.d(e,{z:()=>l});var i=n(92425),r=n(46974),o=n(96142),s=(n(53224),n(70134)),a=n(3649);function l(t,e,n=1/0){return(0,a.m)(e)?l(((n,o)=>(0,i.U)(((t,i)=>e(n,t,o,i)))((0,r.Xf)(t(n,o)))),n):("number"==typeof e&&(n=e),(0,o.e)(((e,i)=>function(t,e,n,i,o,a,l,c){const u=[];let h=0,d=0,p=!1;const f=()=>{!p||u.length||h||e.complete()},g=t=>{h++;let o=!1;(0,r.Xf)(n(t,d++)).subscribe(new s.Q(e,(t=>{e.next(t)}),(()=>{o=!0}),void 0,(()=>{if(o)try{for(h--;u.length&&hh{p=!0,f()}))),()=>{}}(e,i,t,n))))}},74114:(t,e,n)=>{n.d(e,{G:()=>o});var i=n(96142),r=n(70134);function o(){return(0,i.e)(((t,e)=>{let n,i=!1;t.subscribe(new r.Q(e,(t=>{const r=n;n=t,i&&e.next([r,t]),i=!0})))}))}},74842:(t,e,n)=>{n.d(e,{r:()=>l});var i=n(30453),r=n(96142),o=n(70134),s=n(46974),a=n(1925);function l(t){let e,n=1/0;return null!=t&&("object"==typeof t?({count:n=1/0,delay:e}=t):n=t),n<=0?()=>i.E:(0,r.e)(((t,i)=>{let r,l=0;const c=()=>{if(null==r||r.unsubscribe(),r=null,null!=e){const t="number"==typeof e?(0,a.H)(e):(0,s.Xf)(e(l)),n=new o.Q(i,(()=>{n.unsubscribe(),u()}));t.subscribe(n)}else u()},u=()=>{let e=!1;r=t.subscribe(new o.Q(i,void 0,(()=>{++l{n.d(e,{R:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(function(t,e,n,i,o){return(i,o)=>{let s=n,a=e,l=0;i.subscribe(new r.Q(o,(e=>{const n=l++;a=s?t(a,e,n):(s=!0,e),o.next(a)}),void 0))}}(t,e,arguments.length>=2))}},88557:(t,e,n)=>{n.d(e,{B:()=>l});var i=n(3489),r=n(21813),o=n(78748),s=n(84676),a=n(96142);function l(t={}){const{connector:e=(()=>new o.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:l=!0}=t;return t=>{let o=null,u=null,h=null,d=0,p=!1,f=!1;const g=()=>{null==u||u.unsubscribe(),u=null},m=()=>{g(),o=h=null,p=f=!1},v=()=>{const t=o;m(),null==t||t.unsubscribe()};return(0,a.e)(((t,a)=>{d++,f||p||g();const y=h=null!=h?h:e();a.add((()=>{d--,0!==d||f||p||(u=c(v,l))})),y.subscribe(a),o||(o=new s.Hp({next:t=>y.next(t),error:t=>{f=!0,g(),u=c(m,n,t),y.error(t)},complete:()=>{p=!0,g(),u=c(m,r),y.complete()}}),(0,i.D)(t).subscribe(o))}))(t)}}function c(t,e,...n){return!0===e?(t(),null):!1===e?null:e(...n).pipe((0,r.q)(1)).subscribe((()=>t()))}},20530:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(35484),r=n(88557);function o(t,e,n){var o,s;let a,l=!1;return t&&"object"==typeof t?(a=null!==(o=t.bufferSize)&&void 0!==o?o:1/0,e=null!==(s=t.windowTime)&&void 0!==s?s:1/0,l=!!t.refCount,n=t.scheduler):a=null!=t?t:1/0,(0,r.B)({connector:()=>new i.t(a,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}},14776:(t,e,n)=>{n.d(e,{T:()=>r});var i=n(55333);function r(t){return(0,i.h)(((e,n)=>t<=n))}},73843:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(45623),r=n(38197),o=n(96142);function s(...t){const e=(0,r.yG)(t);return(0,o.e)(((n,r)=>{(e?(0,i.z)(t,n,e):(0,i.z)(t,n)).subscribe(r)}))}},84787:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(46974),r=n(96142),o=n(70134);function s(t,e){return(0,r.e)(((n,r)=>{let s=null,a=0,l=!1;const c=()=>l&&!s&&r.complete();n.subscribe(new o.Q(r,(n=>{null==s||s.unsubscribe();let l=0;const u=a++;(0,i.Xf)(t(n,u)).subscribe(s=new o.Q(r,(t=>r.next(e?e(n,t,u,l++):t)),(()=>{s=null,c()})))}),(()=>{l=!0,c()})))}))}},21813:(t,e,n)=>{n.d(e,{q:()=>s});var i=n(30453),r=n(96142),o=n(70134);function s(t){return t<=0?()=>i.E:(0,r.e)(((e,n)=>{let i=0;e.subscribe(new o.Q(n,(e=>{++i<=t&&(n.next(e),t<=i&&n.complete())})))}))}},81749:(t,e,n)=>{n.d(e,{R:()=>a});var i=n(96142),r=n(70134),o=n(46974),s=n(96811);function a(t){return(0,i.e)(((e,n)=>{(0,o.Xf)(t).subscribe(new r.Q(n,(()=>n.complete()),s.Z)),!n.closed&&e.subscribe(n)}))}},85228:(t,e,n)=>{n.d(e,{o:()=>o});var i=n(96142),r=n(70134);function o(t,e=!1){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{const r=t(n,o++);(r||e)&&i.next(n),!r&&i.complete()})))}))}},31570:(t,e,n)=>{n.d(e,{b:()=>a});var i=n(3649),r=n(96142),o=n(70134),s=n(69401);function a(t,e,n){const a=(0,i.m)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,r.e)(((t,e)=>{var n;null===(n=a.subscribe)||void 0===n||n.call(a);let i=!0;t.subscribe(new o.Q(e,(t=>{var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)}),(()=>{var t;i=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()}),(t=>{var n;i=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)}),(()=>{var t,e;i&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)})))})):s.y}},38356:(t,e,n)=>{n.d(e,{p:()=>c});var i=n(68634),r=n(96142),o=n(70134),s=n(46974);const a={leading:!0,trailing:!1};var l=n(1925);function c(t,e=i.z,n=a){const c=(0,l.H)(t,e);return function(t,e=a){return(0,r.e)(((n,i)=>{const{leading:r,trailing:a}=e;let l=!1,c=null,u=null,h=!1;const d=()=>{null==u||u.unsubscribe(),u=null,a&&(g(),h&&i.complete())},p=()=>{u=null,h&&i.complete()},f=e=>u=(0,s.Xf)(t(e)).subscribe(new o.Q(i,d,p)),g=()=>{if(l){l=!1;const t=c;c=null,i.next(t),!h&&f(t)}};n.subscribe(new o.Q(i,(t=>{l=!0,c=t,(!u||u.closed)&&(r?g():f(t))}),(()=>{h=!0,(!(a&&l&&u)||u.closed)&&i.complete()})))}))}((()=>c),n)}},17544:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(96142),r=n(70134),o=n(46974),s=n(69401),a=n(96811),l=n(38197);function c(...t){const e=(0,l.jO)(t);return(0,i.e)(((n,i)=>{const l=t.length,c=new Array(l);let u=t.map((()=>!1)),h=!1;for(let e=0;e{c[e]=t,h||u[e]||(u[e]=!0,(h=u.every(s.y))&&(u=null))}),a.Z));n.subscribe(new r.Q(i,(t=>{if(h){const n=[t,...c];i.next(e?e(...n):n)}})))}))}},80054:(t,e,n)=>{n.d(e,{o:()=>a});var i=n(902);class r extends i.w0{constructor(t,e){super()}schedule(t,e=0){return this}}const o={setInterval(...t){const{delegate:e}=o;return((null==e?void 0:e.setInterval)||setInterval)(...t)},clearInterval(t){const{delegate:e}=o;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var s=n(40801);class a extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return o.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;o.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(t){i=!0,n=t||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.P)(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}},65804:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(87541);class r{constructor(t,e=r.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}r.now=i.l.now;class o extends r{constructor(t,e=r.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},68634:(t,e,n)=>{n.d(e,{P:()=>o,z:()=>r});var i=n(80054);const r=new(n(65804).v)(i.o),o=r},87541:(t,e,n)=>{n.d(e,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},63112:(t,e,n)=>{n.d(e,{z:()=>i});const i={setTimeout(...t){const{delegate:e}=i;return((null==e?void 0:e.setTimeout)||setTimeout)(...t)},clearTimeout(t){const{delegate:e}=i;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},56818:(t,e,n)=>{n.d(e,{h:()=>i});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},49837:(t,e,n)=>{n.d(e,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},38197:(t,e,n)=>{n.d(e,{_6:()=>l,jO:()=>s,yG:()=>a});var i=n(3649),r=n(16943);function o(t){return t[t.length-1]}function s(t){return(0,i.m)(o(t))?t.pop():void 0}function a(t){return(0,r.K)(o(t))?t.pop():void 0}function l(t,e){return"number"==typeof o(t)?t.pop():e}},56632:(t,e,n)=>{n.d(e,{D:()=>a});const{isArray:i}=Array,{getPrototypeOf:r,prototype:o,keys:s}=Object;function a(t){if(1===t.length){const n=t[0];if(i(n))return{args:n,keys:null};if((e=n)&&"object"==typeof e&&r(e)===o){const t=s(n);return{args:t.map((t=>n[t])),keys:t}}}var e;return{args:t,keys:null}}},15130:(t,e,n)=>{n.d(e,{k:()=>r});const{isArray:i}=Array;function r(t){return 1===t.length&&i(t[0])?t[0]:t}},40801:(t,e,n)=>{function i(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:()=>i})},99046:(t,e,n)=>{function i(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:()=>i})},22713:(t,e,n)=>{function i(t,e){return t.reduce(((t,n,i)=>(t[n]=e[i],t)),{})}n.d(e,{n:()=>i})},41855:(t,e,n)=>{n.d(e,{O:()=>s,x:()=>o});var i=n(89885);let r=null;function o(t){if(i.config.useDeprecatedSynchronousErrorHandling){const e=!r;if(e&&(r={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=r;if(r=null,t)throw e}}else t()}function s(t){i.config.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=t)}},53224:(t,e,n)=>{function i(t,e,n,i=0,r=!1){const o=e.schedule((function(){n(),r?t.add(this.schedule(null,i)):this.unsubscribe()}),i);if(t.add(o),!r)return o}n.d(e,{f:()=>i})},69401:(t,e,n)=>{function i(t){return t}n.d(e,{y:()=>i})},23234:(t,e,n)=>{n.d(e,{z:()=>i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},53525:(t,e,n)=>{n.d(e,{D:()=>r});var i=n(3649);function r(t){return Symbol.asyncIterator&&(0,i.m)(null==t?void 0:t[Symbol.asyncIterator])}},3649:(t,e,n)=>{function i(t){return"function"==typeof t}n.d(e,{m:()=>i})},48040:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(49837),r=n(3649);function o(t){return(0,r.m)(t[i.L])}},58926:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(56818),r=n(3649);function o(t){return(0,r.m)(null==t?void 0:t[i.h])}},11070:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(48132),r=n(3649);function o(t){return!!t&&(t instanceof i.y||(0,r.m)(t.lift)&&(0,r.m)(t.subscribe))}},43913:(t,e,n)=>{n.d(e,{t:()=>r});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.then)}},85994:(t,e,n)=>{n.d(e,{L:()=>s,Q:()=>o});var i=n(84911),r=n(3649);function o(t){return(0,i.FC)(this,arguments,(function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield(0,i.qq)(e.read());if(n)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(t)}}finally{e.releaseLock()}}))}function s(t){return(0,r.m)(null==t?void 0:t.getReader)}},16943:(t,e,n)=>{n.d(e,{K:()=>r});var i=n(3649);function r(t){return t&&(0,i.m)(t.schedule)}},96142:(t,e,n)=>{n.d(e,{A:()=>r,e:()=>o});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.lift)}function o(t){return e=>{if(r(e))return e.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},35993:(t,e,n)=>{n.d(e,{Z:()=>o});var i=n(92425);const{isArray:r}=Array;function o(t){return(0,i.U)((e=>function(t,e){return r(e)?t(...e):t(e)}(t,e)))}},96811:(t,e,n)=>{function i(){}n.d(e,{Z:()=>i})},22222:(t,e,n)=>{n.d(e,{U:()=>o,z:()=>r});var i=n(69401);function r(...t){return o(t)}function o(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce(((t,e)=>e(t)),e)}}},29102:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(89885),r=n(63112);function o(t){r.z.setTimeout((()=>{const{onUnhandledError:e}=i.config;if(!e)throw t;e(t)}))}},369:(t,e,n)=>{function i(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(e,{z:()=>i})},1679:(t,e,n)=>{var i=n(20755),r=n(43232),o=n(8239),s=n(99222),a=n(42772),l=n(89037);const c=JSON.parse('{"i8":"2.0.21-alpha.6"}');var u=n(63613);let h=(()=>{var t;class e{constructor(){this.pageLoaded$=(0,i.f3M)(l.V1),this.pageLoadedInit="0",this.pageLoaded=this.pageLoaded$,this.router=(0,i.f3M)(s.F0),this.storage=(0,i.f3M)(a.H3),this.version=c.i8}ngOnInit(){this.replaceEnvInURI()}replaceEnvInURI(){var t=this;return(0,o.Z)((function*(){const e=t.storage.getItem("env");e&&(t.storage.removeItem("env"),yield t.router.navigateByUrl(e))}))()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["app"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.Ikx("$.class._loaded",e.pageLoaded),i.ekj("_loaded",e.pageLoadedInit))},standalone:!0,features:[i.jDz],decls:4,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["ngProjectAs","tuiDocNavigation",5,["tuiDocNavigation"],1,"app-version"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-doc-main"),i.ynx(1,0),i.TgZ(2,"p",1),i._uU(3),i.qZA(),i.BQk(),i.qZA()),2&t&&(i.xp6(3),i.hij(" v",e.version," "))},dependencies:[u.og],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-primary)}.link[_ngcontent-%COMP%]{margin-left:1rem}.app-version[_ngcontent-%COMP%]{color:var(--tui-text-secondary);font:var(--tui-font-text-xs)}@media not (min-width: 480px){.app-version[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),e})();var d=n(76733),p=n(12405),f=n(80396);let g=(()=>{var t;class e extends p._j{constructor(t,e){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}};this._renderer=t.createRenderer(e.body,n)}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,p.vP)(t):t;return y(this._renderer,null,e,"register",[n]),new m(e,this._renderer)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(d.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class m extends p.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new v(this._id,t,e||{},this._renderer)}}class v{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return y(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function y(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const b="@",_="@.disabled";let w=(()=>{var t;class e{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(t,e)=>{const n=e?.parentNode(t);n&&e.removeChild(n,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);if(!t){const e=()=>this._rendererCache.delete(n);t=new x("",n,this.engine,e),this._rendererCache.set(n,t)}return t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(o),new C(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(t,e,n){t>=0&&te(n))):(0==this._animationCallbacksBuffer.length&&queueMicrotask((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((t=>{const[e,n]=t;e(n)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(f.Th),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class x{constructor(t,e,n,i){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone((()=>{queueMicrotask((()=>{this.delegate.destroy()}))})),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==b&&e==_?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class C extends x{constructor(t,e,n,i,r){super(e,n,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==b?"."==e.charAt(1)&&e==_?(n=void 0===n||!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==b){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.slice(1),o="";return r.charAt(0)!=b&&([r,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,(t=>{const e=t._data||-1;this.factory.scheduleListenerCallback(e,n,t)}))}return this.delegate.listen(t,e,n)}}let k=(()=>{var t;class e extends f.Th{constructor(t,e,n,i){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(d.K0),i.LFG(f.Vi),i.LFG(f.NH),i.LFG(i.z2F))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const O=[{provide:p._j,useClass:g},{provide:f.NH,useFactory:function(){return new f.Ar}},{provide:f.Th,useClass:k},{provide:i.FYo,useFactory:function(t,e,n){return new w(t,e,n)},deps:[r.se,f.Th,i.R0b]}],M=[{provide:f.Vi,useFactory:()=>new f.DT},{provide:i.QbO,useValue:"BrowserAnimations"},...O];f.Vi,f.nV,i.QbO;var S=n(25797);const A="anchors",P="appearance",E="mention",T="color-picker",I="checkbox",D="custom-tool/color-picker",z="embed/html5",N="embed/iframe",F="embed/youtube",L="focus",R="font",B="groups",j="highlight/code",H="highlight/text",V="images/preview",$="images/resizable",q="images/upload",Z="custom-tool/paste-emoji",U="custom-tool/paste-image",G="processing/cleanup-html",Q="processing/legacy-html",J="processing/markdown",Y="processing/markdown-extension",W="starter-kit",K="toolbar/bottom",X="toolbar/floating",tt=[{section:"Documentation",title:"Starter Kit",route:W,keywords:"editor, setup, starter kit, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Playground",keywords:"reproduce, issue, bug, sandbox, playground, test, stackblitz",route:"stackblitz",target:"_blank"},{section:"Documentation",title:"ColorPicker",route:T,keywords:"цвет, выбор, градиент, gradient, палитра, input, inputcolor"},{section:"Documentation",title:"Font",route:R,keywords:"editor, font, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Anchors",route:A,keywords:"editor, anchors, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Checkbox",route:I,keywords:"editor, checkbox, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Appearance",route:P,keywords:"editor, appearance, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Mention",route:E,keywords:"editor, mention, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Groups",route:B,keywords:"editor, draggable, nested, hilite, groups, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Focus",route:L,keywords:"editor, focus, focusable, wysiwyg, редактор, фокус, html, rich, text"},{section:"Documentation",title:"Custom tool",subPages:[{section:"Documentation",title:"Paste emoji",keywords:"editor, custom, tool, emoji, wysiwyg, редактор, текст, html, rich, text",route:`/${Z}`},{section:"Documentation",title:"Color picker",keywords:"editor, custom color picker, color picker, tool, wysiwyg, редактор, выбрать цвет, html, rich, text",route:`/${D}`},{section:"Documentation",title:"Paste image",keywords:"editor, paste image, tool, wysiwyg, редактор, текст, html, rich, text",route:`/${U}`},{section:"Documentation",title:"Font size tool",keywords:"editor, custom font size tool, tool, wysiwyg, редактор, выбрать размер, html, rich, text",route:`/${R}`,fragment:"custom-size-tool"}]},{section:"Documentation",title:"Highlight",subPages:[{section:"Documentation",title:"Mark text",keywords:"editor, highlight, text, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${H}`},{section:"Documentation",title:"Code block",keywords:"editor, highlight, code, block, pre, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${j}`}]},{section:"Documentation",title:"Processing",subPages:[{section:"Documentation",title:"Legacy html",keywords:"editor, processing, content, legacy html, wysiwyg, редактор, текст, html, rich, text",route:`/${Q}`},{section:"Documentation",title:"Cleanup html",keywords:"editor, processing, content, cleanup html, wysiwyg, редактор, текст, html, rich, text",route:`/${G}`}]},{section:"Documentation",title:"Markdown",subPages:[{section:"Documentation",title:"Extension",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${Y}`},{section:"Documentation",title:"Custom parsing",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${J}`}]},{section:"Documentation",title:"Images",subPages:[{section:"Documentation",title:"Resizable",keywords:"editor, resizable, image, wysiwyg, редактор, текст, html, rich, text",route:`/${$}`},{section:"Documentation",title:"Preview images",keywords:"editor, preview, images, wysiwyg, редактор, текст, html, rich, text",route:`/${V}`},{section:"Documentation",title:"Upload",keywords:"editor, upload, images, wysiwyg, редактор, текст, html, rich, text",route:`/${q}`}]},{section:"Documentation",title:"Embed",subPages:[{section:"Documentation",title:"Youtube",keywords:"editor, embed, video player, audio player, youtube, wysiwyg, редактор, плейер, плеер, ютуб, текст, html, rich, text",route:`/${F}`},{section:"Documentation",title:"Iframe",keywords:"editor, embed, iframe, wysiwyg, редактор, айфрейм, html, rich, text",route:`/${N}`},{section:"Documentation",title:"HTML5",keywords:"editor, embed, video player, audio player, html5, wysiwyg, редактор, плеер, html, rich, text",route:`/${z}`}]},{section:"Documentation",title:"Toolbar",subPages:[{section:"Documentation",title:"Align bottom",keywords:"editor, toolbar, bottom, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${K}`},{section:"Documentation",title:"Floating",keywords:"editor, toolbar, floating, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${X}`}]}],et=[(0,l.ws)({path:W,loadComponent:(Et=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3601)]).then(n.bind(n,13601))})),function(){return Et.apply(this,arguments)}),title:"StarterKit"}),(0,l.ws)({path:"stackblitz",loadComponent:(Pt=(0,o.Z)((function*(){return n.e(2966).then(n.bind(n,42966))})),function(){return Pt.apply(this,arguments)}),title:"Stackblitz Starter"}),(0,l.ws)({path:T,loadComponent:(At=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4555)]).then(n.bind(n,94555))})),function(){return At.apply(this,arguments)}),title:"Input color picker"}),(0,l.ws)({path:R,loadComponent:(St=(0,o.Z)((function*(){return n.e(7742).then(n.bind(n,87742))})),function(){return St.apply(this,arguments)}),title:"Font"}),(0,l.ws)({path:A,loadComponent:(Mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3198)]).then(n.bind(n,63198))})),function(){return Mt.apply(this,arguments)}),title:"Anchors"}),(0,l.ws)({path:P,loadComponent:(Ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8687)]).then(n.bind(n,88687))})),function(){return Ot.apply(this,arguments)}),title:"Appearance"}),(0,l.ws)({path:I,loadComponent:(kt=(0,o.Z)((function*(){return n.e(698).then(n.bind(n,40698))})),function(){return kt.apply(this,arguments)}),title:"Checkbox"}),(0,l.ws)({path:E,loadComponent:(Ct=(0,o.Z)((function*(){return n.e(5693).then(n.bind(n,15693))})),function(){return Ct.apply(this,arguments)}),title:"Mention"}),(0,l.ws)({path:L,loadComponent:(xt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3920)]).then(n.bind(n,93920))})),function(){return xt.apply(this,arguments)}),title:"Focus"}),(0,l.ws)({path:B,loadComponent:(wt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1753)]).then(n.bind(n,1753))})),function(){return wt.apply(this,arguments)}),title:"Groups"}),(0,l.ws)({path:"upload-files",loadComponent:(_t=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4623)]).then(n.bind(n,4623))})),function(){return _t.apply(this,arguments)}),title:"Upload files"}),(0,l.ws)({path:Z,loadComponent:(bt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3587)]).then(n.bind(n,43587))})),function(){return bt.apply(this,arguments)}),title:"Editor — Paste emoji custom tool"}),(0,l.ws)({path:D,loadComponent:(yt=(0,o.Z)((function*(){return n.e(3459).then(n.bind(n,33459))})),function(){return yt.apply(this,arguments)}),title:"Editor — Color picker custom tool"}),(0,l.ws)({path:U,loadComponent:(vt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return vt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:U,loadComponent:(mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return mt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:H,loadComponent:(gt=(0,o.Z)((function*(){return n.e(8500).then(n.bind(n,38500))})),function(){return gt.apply(this,arguments)}),title:"Editor — Highlight text"}),(0,l.ws)({path:Q,loadComponent:(ft=(0,o.Z)((function*(){return n.e(8912).then(n.bind(n,8912))})),function(){return ft.apply(this,arguments)}),title:"Editor — Legacy html"}),(0,l.ws)({path:G,loadComponent:(pt=(0,o.Z)((function*(){return n.e(5857).then(n.bind(n,75857))})),function(){return pt.apply(this,arguments)}),title:"Editor — Cleanup html"}),(0,l.ws)({path:J,loadComponent:(dt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8827)]).then(n.bind(n,18827))})),function(){return dt.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:Y,loadComponent:(ht=(0,o.Z)((function*(){return n.e(2638).then(n.bind(n,42638))})),function(){return ht.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:j,loadComponent:(ut=(0,o.Z)((function*(){return n.e(5811).then(n.bind(n,75811))})),function(){return ut.apply(this,arguments)}),title:"Editor — Highlight code"}),(0,l.ws)({path:$,loadComponent:(ct=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2098)]).then(n.bind(n,22098))})),function(){return ct.apply(this,arguments)}),title:"Editor — Resizable images"}),(0,l.ws)({path:V,loadComponent:(lt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8931)]).then(n.bind(n,68931))})),function(){return lt.apply(this,arguments)}),title:"Editor — Preview images"}),(0,l.ws)({path:q,loadComponent:(at=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2859)]).then(n.bind(n,82859))})),function(){return at.apply(this,arguments)}),title:"Editor — Upload images"}),(0,l.ws)({path:F,loadComponent:(st=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(5439)]).then(n.bind(n,95439))})),function(){return st.apply(this,arguments)}),title:"Editor — YouTube"}),(0,l.ws)({path:N,loadComponent:(ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4105)]).then(n.bind(n,34105))})),function(){return ot.apply(this,arguments)}),title:"Editor — Iframe"}),(0,l.ws)({path:z,loadComponent:(rt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1131)]).then(n.bind(n,81131))})),function(){return rt.apply(this,arguments)}),title:"Editor — HTML5"}),(0,l.ws)({path:K,loadComponent:(it=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(999)]).then(n.bind(n,40999))})),function(){return it.apply(this,arguments)}),title:"Editor — Toolbar"}),(0,l.ws)({path:X,loadComponent:(nt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2119)]).then(n.bind(n,22119))})),function(){return nt.apply(this,arguments)}),title:"Editor — Toolbar"}),{path:"**",redirectTo:W}];var nt,it,rt,ot,st,at,lt,ct,ut,ht,dt,pt,ft,gt,mt,vt,yt,bt,_t,wt,xt,Ct,kt,Ot,Mt,St,At,Pt,Et,Tt=n(68704),It=n(25690);let Dt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["logo"]],standalone:!0,features:[i.jDz],decls:3,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["icon","assets/icons/logo.svg",1,"logo-icon"]],template:function(t,e){1&t&&(i.TgZ(0,"a",0)(1,"span",1),i._UZ(2,"tui-icon",2),i.qZA()())},dependencies:[s.rH,Tt.lI3,Tt.RJr],styles:['[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-primary)}.logo-icon[_ngcontent-%COMP%]{min-width:180px;min-height:30px;color:#eb5a3d}.logo-icon[tuiTheme="dark"][_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%]{color:#fff}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}'],changeDetection:0}),e})();const zt=new It.Al(Dt),Nt={providers:[[...M],(0,s.bU)(et,(0,s.ZU)({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),S.J0,{provide:d.S$,useClass:d.b0},{provide:l.Yx,useValue:"Editor | "},{provide:l.Or,useValue:zt},{provide:l.AC,useValue:["Description and examples","API"]},{provide:l.V5,useValue:tt},{provide:l.yO,useValue:t=>{const e="https://github.com/taiga-family/editor/tree/main/libs";return t.path?`${e}/${t.path}`:t.package&&"kit"===t.package.toLowerCase()?`${e}/${t.package.toLowerCase()}/src/lib/editor/${(t.header[0].toLowerCase()+t.header.slice(1)).replaceAll(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}`:null}}]};(0,i.G48)(),(0,r.Cg)(h,Nt).catch((t=>console.error(t)))},63613:(t,e,n)=>{n.d(e,{D_:()=>q,lh:()=>W,oI:()=>Ct,cJ:()=>xe,b7:()=>Lt,Cv:()=>an,Ei:()=>Ie,og:()=>Si,t9:()=>hi,xR:()=>Zi,Cn:()=>Di,NC:()=>Ot,fz:()=>Ut});var i=n(76733),r=n(20755);class o{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,n.readOnly=!0,(this._document.fullscreenElement||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{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let s=(()=>{var t;class e{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new o(t,this._document)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const a=new r.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let l=(()=>{var t;class e{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 i=()=>{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(i,1)))};i()}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=e).ɵfac=function(e){return new(e||t)(r.Y36(s),r.Y36(r.R0b),r.Y36(a,8))},t.ɵdir=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"}}),e})(),c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({}),e})();var u=n(32101),h=n(36541),d=n(11679),p=n(56424),f=n(55333),g=n(21813),m=n(84787),v=n(31570),y=n(30453),b=n(17560),_=n(51960),w=n(87493),x=n(92425),C=n(3489),k=n(80054),O=n(902);const M={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=M;i&&(e=i.requestAnimationFrame,n=i.cancelAnimationFrame);const r=e((e=>{n=void 0,t(e)}));return new O.w0((()=>null==n?void 0:n(r)))},requestAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.cancelAnimationFrame)||cancelAnimationFrame)(...t)},delegate:void 0};class S extends k.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=M.requestAnimationFrame((()=>t.flush(void 0)))))}recycleAsyncId(t,e,n=0){if(null!=n&&n>0||null==n&&this.delay>0)return super.recycleAsyncId(t,e,n);t.actions.some((t=>t.id===e))||(M.cancelAnimationFrame(e),t._scheduled=void 0)}}var A=n(65804);class P extends A.v{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let i;t=t||n.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,i){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw i}}}const E=new P(S);var T=n(43232);const I=new r.OlP("HIGHLIGHT_OPTIONS");let D,z=(()=>{var t;class e{constructor(t,e,n){this.doc=t,this.platformId=e,this._options=n,this._ready=new p.X(null),this.ready=this._ready.asObservable().pipe((0,f.h)((t=>!!t)),(0,g.q)(1)),(0,i.NF)(e)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe((0,m.w)((e=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=e,this.loadLineNumbers().pipe((0,v.b)((t=>{t.activateLineNumbers(),this._ready.next(e)})))):(this._ready.next(e),y.E))),(0,b.K)((t=>(console.error("[HLJS] ",t),y.E)))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,_._)((()=>"The full library and the core library were imported, only one of them should be imported!"));if(this._options.fullLibraryLoader&&this._options.languages)return(0,_._)((()=>"The highlighting languages were imported they are not needed!"));if(this._options.coreLibraryLoader&&!this._options.languages)return(0,_._)((()=>"The highlighting languages were not imported!"));if(!this._options.coreLibraryLoader&&this._options.languages)return(0,_._)((()=>"The core library was not imported!"));if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,m.w)((t=>this._loadLanguages(t))))}return(0,_._)((()=>"Highlight.js library was not imported!"))}_loadLanguages(t){const e=Object.entries(this._options.languages).map((([e,n])=>N(n()).pipe((0,v.b)((n=>t.registerLanguage(e,n))))));return(0,w.$)(...e).pipe((0,x.U)((()=>t)))}loadCoreLibrary(){return N(this._options.coreLibraryLoader())}loadFullLibrary(){return N(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,C.D)(this._options.lineNumbersLoader())}setTheme(t){(0,i.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const N=t=>(0,C.D)(t).pipe((0,f.h)((t=>!!t?.default)),(0,x.U)((t=>t.default)));let F=(()=>{var t;class e{get hljs(){return this._hljs}constructor(t,e){this._loader=t,this._hljs=null,t.ready.subscribe((t=>{this._hljs=t,e&&e.config&&(t.configure(e.config),t.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))}))}highlight(t,{language:e,ignoreIllegals:n}){return this._loader.ready.pipe((0,x.U)((i=>i.highlight(t,{language:e,ignoreIllegals:n}))))}highlightAuto(t,e){return this._loader.ready.pipe((0,x.U)((n=>n.highlightAuto(t,e))))}highlightElement(t){return this._loader.ready.pipe((0,x.U)((e=>e.highlightElement(t))))}highlightAll(){return this._loader.ready.pipe((0,x.U)((t=>t.highlightAll())))}configure(t){return this._loader.ready.pipe((0,x.U)((e=>e.configure(t))))}registerLanguage(t,e){return this._loader.ready.pipe((0,v.b)((n=>n.registerLanguage(t,e))))}unregisterLanguage(t){return this._loader.ready.pipe((0,v.b)((e=>e.unregisterLanguage(t))))}registerAliases(t,{languageName:e}){return this._loader.ready.pipe((0,v.b)((n=>n.registerAliases(t,{languageName:e}))))}listLanguages(){return this._loader.ready.pipe((0,x.U)((t=>t.listLanguages())))}getLanguage(t){return this._loader.ready.pipe((0,x.U)((e=>e.getLanguage(t))))}safeMode(){return this._loader.ready.pipe((0,x.U)((t=>t.safeMode())))}debugMode(){return this._loader.ready.pipe((0,x.U)((t=>t.debugMode())))}lineNumbersBlock(t){return this._loader.ready.pipe((0,f.h)((t=>!!t.lineNumbersBlock)),(0,v.b)((e=>e.lineNumbersBlock(t))))}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(z),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),L=(()=>{var t;class e{constructor(t,e,n,i,o){this._hljs=e,this._sanitizer=n,this.platformId=i,this._options=o,this.highlighted=new r.vpe,this._nativeElement=t.nativeElement}ngOnChanges(t){(0,i.NF)(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,e){this.setTextContent(t),this._hljs.highlightAuto(t,e).subscribe((t=>{this.setInnerHTML(t?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(t)}))}addLineNumbers(){this.destroyLineNumbersObserver(),E.schedule((()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver((()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()})),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})}))}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){E.schedule((()=>this._nativeElement.textContent=t))}setInnerHTML(t){E.schedule((()=>{return this._nativeElement.innerHTML=(e=this._sanitizer.sanitize(r.q3G.HTML,t)||"",function(){if(!D)try{D=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return D}()?.createHTML(e)||e);var e}))}}return(t=e).ɵfac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(F),r.Y36(T.H7),r.Y36(r.Lbi),r.Y36(I,8))},t.ɵdir=r.lG2({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[r.TTD]}),e})();var R=n(78748),B=n(1925),j=n(73843);function H(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 V(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",3),r._uU(1," "),r._UZ(2,"code",4),r._uU(3,"\n "),r.TgZ(4,"div",5),r._uU(5,"\n "),r.TgZ(6,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.copy$.next())})),r.ALo(7,"async"),r._uU(8,"\n "),r.qZA(),r._uU(9,"\n "),r.Hsn(10),r._uU(11,"\n "),r.qZA(),r._uU(12,"\n"),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw();r.xp6(2),r.Q6J("lineNumbers",!0)("highlight",t),r.xp6(4),r.Q6J("iconLeft",r.lcZ(7,4,n.icon$)||"@tui.copy")("cdkCopyToClipboard",t)}}const $=["*"];let q=(()=>{var t;class e{constructor(){this.rawLoader$$=new p.X(""),this.markdownCodeProcessor=(0,r.f3M)(u.Es),this.copy$=new R.x,this.icon$=this.copy$.pipe((0,m.w)((()=>(0,B.H)(2e3).pipe((0,x.U)((()=>"@tui.copy")),(0,j.O)("@tui.check"))))),this.processor$=this.rawLoader$$.pipe((0,m.w)(h.JQ),(0,x.U)((t=>this.markdownCodeProcessor(t)))),this.filename=""}set code(t){this.rawLoader$$.next(t)}get hasFilename(){return!!this.filename}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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"},standalone:!0,features:[r.jDz],ngContentSelectors:$,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"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"iconLeft","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,H,2,1,"p",0),r.YNc(1,V,13,6,"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$)))},dependencies:[i.O5,i.Ov,i.sg,L,d.xG,c,l],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-border-normal)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-border-normal)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-background-base)}@supports (background: color-mix(in srgb,var(--tui-background-base),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-background-base),#222 2%)}}"],changeDetection:0}),e})();var Z,U=n(84911),G=n(11892),Q=n(73740),J=n(11637);function Y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.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()()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-content_moved",r.lcZ(2,4,n.copied$)),r.xp6(2),r.uIk("data-text",t[0]),r.xp6(2),r.hij(" ",t[1]," ")}}class W{constructor(){this.copy$=new R.x,this.texts$=(0,r.f3M)(J.UV)}get copied$(){return this.copy$.pipe((0,m.w)((()=>(0,B.H)(1500).pipe((0,x.U)(G.tD),(0,j.O)(!0)))))}onClick(){this.copy$.next()}}(Z=W).ɵfac=function(t){return new(t||Z)},Z.ɵcmp=r.Xpm({type:Z,selectors:[["tui-doc-copy"]],standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:3,consts:[["appearance","","size","s","tuiButton","","type","button","class","t-copy",3,"click",4,"ngIf"],["appearance","","size","s","tuiButton","","type","button",1,"t-copy",3,"click"],[1,"t-content"],[1,"t-initial"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Y,6,6,"button",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.texts$))},dependencies:[i.O5,i.Ov,d.xG],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;border-radius:var(--tui-radius-m)}.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-primary);background:var(--tui-background-base);overflow:hidden}.t-copy[_ngcontent-%COMP%]:hover{background:var(--tui-background-base-alt)}.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,U.gn)([Q.UM],W.prototype,"copied$",null);var K,X=n(43226),tt=n(99222),et=n(25693),nt=n(66266),it=n(55181),rt=n(58373),ot=n(44501),st=n(92840),at=n(3223),lt=n(83368),ct=n(71641),ut=n(93745),ht=n(26505),dt=n(61122),pt=n(19975),ft=n(67917),gt=n(62515);const mt=["content"],vt=["resizer"];function yt(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",22),2&t){const t=r.oxw(3);r.Q6J("items",t.updateOnVariants)}}const bt=function(){return{standalone:!0}};function _t(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",16),r._uU(1),r.ALo(2,"json"),r.qZA(),r.TgZ(3,"div",17)(4,"tui-select",18),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.updateOnChange(e))})),r._uU(5," updateOn "),r.YNc(6,yt,1,1,"tui-data-list-wrapper",19),r.qZA(),r.TgZ(7,"button",20),r._uU(8," Reset "),r.qZA(),r.TgZ(9,"button",21),r._uU(10," Submit "),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,bt))}}function wt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",10)(1,"div",11),r.GkF(2,12),r.qZA(),r.TgZ(3,"button",13),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.toggleDetails())})),r._uU(4),r.qZA(),r.TgZ(5,"tui-expand",14),r.YNc(6,_t,11,6,"ng-template",15),r.qZA()()}if(2&t){const t=r.oxw();r.Q6J("formGroup",t.testForm),r.xp6(2),r.Q6J("ngTemplateOutlet",t.template),r.xp6(1),r.Q6J("tuiChevron",t.expanded),r.xp6(1),r.hij(" ",t.texts[2]," "),r.xp6(1),r.Q6J("expanded",t.expanded)}}const xt=function(){return[1,0]};class Ct{constructor(){var t;this.el=(0,it.AG)(),this.locationRef=(0,r.f3M)(i.Ye),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.template=null,this.dark=(0,h.cd)(this.params.darkMode??(0,r.f3M)(et.QN).value),this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,h.cd)(this.params.sandboxOpaque??!0),this.expanded=(0,h.cd)(this.params.sandboxExpanded??!1),this.sandboxWidth=(t=this.params.sandboxWidth,parseInt(t,10)),this.texts=(0,r.f3M)(u.ru),this.control=null,this.sticky=!0}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}onModeChange(t){this.dark=t,this.updateUrl({sandboxWidth:this.sandboxWidth,darkMode:this.dark})}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.resizable||!this.content)return;const e=t||this.resizable.nativeElement.clientWidth,n=this.el.clientWidth,i=Math.round((0,rt.K)(e,160,n))-this.delta,r=e *[_ngcontent-%COMP%]{pointer-events:auto}.t-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-medium);display:flex;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;color:var(--tui-text-primary);background-color:var(--tui-background-base);overflow:hidden;pointer-events:auto}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-background-base-alt) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-background-base-alt) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}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-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-background-neutral-1);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:var(--tui-shadow-medium);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-border-normal);outline:none;background:var(--tui-background-base);color:var(--tui-text-primary)}.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-border-normal);box-shadow:-.25rem 0 var(--tui-border-normal);transform:translateZ(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-background-base)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports (position: sticky){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,U.gn)([Q.UM],Ct.prototype,"updateUrl",null);const kt=["*"];let Ot=(()=>{var t;class e{constructor(){this.src=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-tab"]],inputs:{src:"src"},standalone:!0,features:[r.jDz],ngContentSelectors:kt,decls:3,vars:1,consts:[[1,"t-tab"],["alt","Documentation tab icon",1,"t-icon",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r._UZ(1,"img",1),r.Hsn(2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("src",e.src,r.LSH))},styles:[".t-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:0 .5rem;gap:.5rem;color:var(--tui-text-primary)}.t-tab[_ngcontent-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem}"],changeDetection:0}),e})();var Mt=n(12405),St=n(62022),At=n(65026);let Pt=(()=>{var t;class e{transform(t,e,...n){return t.filter((t=>e(t,...n)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiFilter",type:t,pure:!0,standalone:!0}),e})(),Et=(()=>{var t;class e{transform(t){return Array.from(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiToArray",type:t,pure:!0,standalone:!0}),e})();var Tt=n(50109),It=n(94030),Dt=n(44713),zt=n(59679),Nt=n(45047),Ft=n(75097);let Lt=(()=>{var t;class e{constructor(){this.locationRef=(0,r.f3M)(i.Ye),this.activatedRoute=(0,r.f3M)(tt.gz),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.alerts=(0,r.f3M)(Ft.J9),this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new r.vpe,this.changed$=new R.x,this.emits$=new p.X(1),this.template=(0,r.f3M)(r.Rgc)}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 shouldShowValues(){return"output"!==this.documentationPropertyMode}get hasItems(){return!!this.documentationPropertyValues}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}ngOnChanges(){this.changed$.next()}onValueChange(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}emitEvent(t){let e;console.info(this.attrName,t),this.emits$.next(this.emits$.value+1),void 0!==t&&(e=(0,h.sj)(t,2)),this.alerts.open(e,{label:this.attrName}).subscribe()}parseParams(t){const e=t[this.documentationPropertyName],n=t[`${this.documentationPropertyName}$`];if(!e&&!n)return;let i=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,h.p8)(e);"string"===this.documentationPropertyType&&(0,Q.dt)(i)&&(i=i.toString()),this.onValueChange(i)}setQueryParam(t){const e=this.urlSerializer.parse(this.locationRef.path()),n=t instanceof Object,i=n&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,r=n?"$":"",o=this.documentationPropertyName+r;e.queryParams={...e.queryParams,[o]:i},this.locationRef.go(this.urlStateHandler(e))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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"],standalone:!0,features:[r.TTD]}),e})(),Rt=(()=>{var t;class e{transform(t){return t.includes("null")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0,standalone:!0}),e})();var Bt=n(79611);let jt=(()=>{var t;class e{transform(t){if(4===t.length)return t.split("").reduce(((t,e)=>[...t,e,e]),[]).join("").replace("#","");if(t.startsWith("#"))return t;if("transparent"===t)return"#000000";const e=t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map((t=>Number.parseInt(t,10)));return(0,Bt.W)(...e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetColorPipe",type:t,pure:!0,standalone:!0}),e})();var Ht=n(86253);let Vt=(()=>{var t;class e{constructor(){this.isE2E=(0,r.f3M)(Ht.oD)}transform(t,e=2){return this.isE2E&&"function"==typeof t?"λ(x) => y":(0,h.sj)(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiInspectAny",type:t,pure:!0,standalone:!0}),e})(),$t=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetOpacity",type:t,pure:!0,standalone:!0}),e})(),qt=(()=>{var t;class e{transform(t){return t.includes("?")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Zt=(()=>{var t;class e{transform(t){return t.replace("?","")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Ut=(()=>{var t;class e{constructor(){this.parser=(0,r.f3M)(u.B$),this.linkHandler=(0,r.f3M)(u.x9)}transform(t){return this.parser(t).map((({type:t,extracted:e})=>({type:t,extracted:e,reference:this.linkHandler?.(e)??null}))).sort(((t,e)=>e.reference?.localeCompare(t.reference??"")??-1))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocTypeReference",type:t,pure:!0,standalone:!0}),e})();var Gt=n(60598),Qt=n(2239),Jt=n(98015),Yt=n(16737),Wt=n(70388),Kt=n(97017);function Xt(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 te(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 ee(t,e){if(1&t&&(r.TgZ(0,"code",22),r._uU(1),r.ALo(2,"tuiStripOptionalPipe"),r.qZA()),2&t){const t=r.oxw().$implicit;r.Udp("color","var(--tui-background-accent-2-pressed)"),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.attrName)," ")}}function ne(t,e){1&t&&(r.TgZ(0,"tui-badge",23),r._uU(1," Optional "),r.qZA())}function ie(t,e){1&t&&(r.TgZ(0,"tui-badge",24),r._uU(1," Deprecated "),r.qZA())}function re(t,e){if(1&t&&(r.TgZ(0,"a",27),r._uU(1),r.qZA()),2&t){const t=r.oxw().$implicit;r.uIk("href",t.reference,r.LSH),r.xp6(1),r.hij(" ",t.type," ")}}function oe(t,e){if(1&t&&r._uU(0),2&t){const t=r.oxw().$implicit;r.hij(" ",t.type," ")}}function se(t,e){1&t&&(r.TgZ(0,"span"),r._uU(1," | "),r.qZA())}function ae(t,e){if(1&t&&(r.ynx(0),r.YNc(1,re,2,2,"a",25),r.YNc(2,oe,1,1,"ng-template",null,26,r.W1O),r.YNc(4,se,2,0,"span",1),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.reference)("ngIfElse",i),r.xp6(3),r.Q6J("ngIf",!n)}}function le(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",37),2&t){r.oxw(2);const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("itemContent",t)("items",e.documentationPropertyValues)}}function ce(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-select",34),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(3).$implicit;return r.KtG(n.onValueChange(e))})),r.ALo(1,"tuiShowCleanerPipe"),r.TgZ(2,"code",35),r._uU(3,"null"),r.qZA(),r.YNc(4,le,1,2,"tui-data-list-wrapper",36),r.qZA()}if(2&t){r.oxw();const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("nativeId",e.attrName)("ngModel",e.documentationPropertyValue)("tuiTextfieldCleaner",r.lcZ(1,5,e.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",t)}}function ue(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 he(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"input",42),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue)("showIcons",!0)}}function de(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-textfield",43)(1,"input",44),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()()}if(2&t){const t=r.oxw(4).$implicit;r.xp6(1),r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue||"")}}function pe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-input-number",45),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e||0))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function fe(t,e){if(1&t&&(r.ynx(0,38),r.YNc(1,he,1,3,"input",39),r.YNc(2,de,2,2,"tui-textfield",40),r.YNc(3,pe,1,4,"tui-input-number",41),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","number")}}function ge(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ce,5,7,"tui-select",31),r.YNc(2,ue,3,3,"ng-template",null,32,r.W1O),r.YNc(4,fe,4,4,"ng-template",null,33,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 me(t,e){if(1&t&&(r.TgZ(0,"tui-notification",46),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 ve(t,e){if(1&t&&(r.TgZ(0,"td",28),r.YNc(1,ge,6,2,"ng-container",29),r.YNc(2,me,3,3,"ng-template",null,30,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 ye(t,e){if(1&t&&(r.TgZ(0,"tr",11)(1,"td",12)(2,"div",13),r.YNc(3,ee,3,5,"code",14),r.YNc(4,ne,2,0,"tui-badge",15),r.ALo(5,"tuiIsOptionalPipe"),r.YNc(6,ie,2,0,"tui-badge",16),r.qZA(),r.GkF(7,17),r.qZA(),r.TgZ(8,"td",12)(9,"span",18)(10,"code",19),r.YNc(11,ae,5,3,"ng-container",20),r.ALo(12,"tuiDocTypeReference"),r.qZA()()(),r.YNc(13,ve,4,2,"td",21),r.qZA()),2&t){const t=e.$implicit,n=r.oxw(3);r.ekj("t-deprecated",t.documentationPropertyDeprecated),r.xp6(3),r.Q6J("ngIf",t.attrName),r.xp6(1),r.Q6J("ngIf",r.lcZ(5,8,t.attrName)),r.xp6(2),r.Q6J("ngIf",t.documentationPropertyDeprecated),r.xp6(1),r.Q6J("ngTemplateOutlet",t.template),r.xp6(4),r.Q6J("ngForOf",r.lcZ(12,10,t.documentationPropertyType)),r.xp6(2),r.Q6J("ngIf",n.showValues)}}function be(t,e){if(1&t&&(r.TgZ(0,"table",4)(1,"tr",5)(2,"th",6),r._uU(3),r.qZA(),r.TgZ(4,"th",7),r._uU(5),r.qZA(),r.YNc(6,te,2,1,"th",8),r.qZA(),r.YNc(7,ye,14,12,"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 _e(t,e){if(1&t&&(r.ynx(0),r.YNc(1,be,8,4,"table",3),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length)}}const we=["*"];let xe=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.getColor=(0,r.f3M)(jt),this.getOpacity=(0,r.f3M)($t),this.propertiesConnectors=G.Mm,this.texts=(0,r.f3M)(u.IK),this.excludedProperties=(0,r.f3M)(u.et),this.activeItemIndex=0,this.heading="",this.showValues=!0,this.isAPI=!1,this.matcher=(t,e)=>!e.has(t.documentationPropertyName)}ngAfterContentInit(){(0,At.ll)(this.propertiesConnectors).pipe((0,m.w)((t=>(0,Nt.T)(...t.map((({changed$:t})=>t))))),(0,At.NA)(this.cdr),(0,St.sL)(this.destroyRef)).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 i=`rgba(${(0,Tt.R)(e).join(", ")}, ${n/100})`;t.onValueChange(i)}onOpacityChange(t,e){const n=this.getColor.transform(t.documentationPropertyValue||""),i=`rgba(${(0,Tt.R)(n)}, ${(e||0)/100})`;t.onValueChange(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Lt,4),2&t){let t;r.iGM(t=r.CRH())&&(e.propertiesConnectors=t)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},standalone:!0,features:[r._Bn([jt,$t]),r.jDz],ngContentSelectors:we,decls:5,vars:8,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","t-additional-info"],["class","t-property-code",3,"color",4,"ngIf"],["appearance","neutral","size","s",4,"ngIf"],["appearance","error","size","s",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[1,"t-code-type"],[4,"ngFor","ngForOf"],["class","t-cell t-cell_value",4,"ngIf"],[1,"t-property-code"],["appearance","neutral","size","s"],["appearance","error","size","s"],["target","_blank","class","t-code-reference",4,"ngIf","ngIfElse"],["default",""],["target","_blank",1,"t-code-reference"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["tuiSwitch","","type","checkbox","class","t-switch",3,"id","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],["tuiSwitch","","type","checkbox",1,"t-switch",3,"id","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m"],["tuiTextfield","",3,"id","ngModel","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],[1,"t-output"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Xt,2,1,"h1",0),r.Hsn(1),r.YNc(2,_e,2,1,"ng-container",1),r.ALo(3,"tuiFilter"),r.ALo(4,"tuiToArray")),2&t&&(r.Q6J("ngIf",e.heading),r.xp6(2),r.Q6J("ngIf",r.Dn7(3,2,r.lcZ(4,6,e.propertiesConnectors),e.matcher,e.excludedProperties)))},dependencies:[i.O5,Pt,i.sg,Zt,qt,Dt.Cb,i.tP,Ut,lt.Jy,ht.u,dt.O,Gt.Ek,pt.g,ft.e,X.u5,X.Fj,X.Wl,X.JJ,X.On,Rt,Vt,i.RF,i.n9,st.AE,Qt.MB,Qt.bf,Qt.qm,zt._H,Jt.q,Yt.g,It.tK,i.Ov,Et,ct.cn,Wt.b,Kt.x,gt.s],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-border-normal)}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-secondary);font-weight:400;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%] .t-property-code[_ngcontent-%COMP%]{text-decoration:line-through}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-status-negative);font-size:.75rem}.t-additional-info[_ngcontent-%COMP%]{display:flex;gap:.3125rem;align-items:center}.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)}.t-code-type[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.t-code-reference[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-action);text-decoration:none;align-items:center;justify-content:center;gap:3px}.t-code-reference[_ngcontent-%COMP%]:after{content:"";font-size:1rem;width:1rem;height:1rem;background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%}.t-switch[_ngcontent-%COMP%]{display:block}'],data:{animation:[(0,Mt.X$)("emitEvent",[(0,Mt.eR)(":increment",[(0,Mt.oB)({opacity:1}),(0,Mt.jt)("500ms ease-in")])])]},changeDetection:0}),e})();var Ce=n(42772),ke=n(86198),Oe=n(32097),Me=n(25690),Se=n(35484),Ae=n(69401),Pe=n(81059);const Ee={codeEditorVisibilityHandler:t=>Boolean(t[Pe.N.TS]&&t[Pe.N.HTML]),tabTitles:new Map,fullsize:!0,linkIcon:"@tui.link"},Te=(0,Q.JN)(Ee);let Ie=(()=>{var t;class e{transform(t,e){return[e,...Object.keys(t).filter((e=>t[e]))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0,standalone:!0}),e})();var De=n(62417),ze=n(2115);function Ne(t,e){if(1&t&&r._UZ(0,"span",8),2&t){const t=e.polymorpheusOutlet;r.Q6J("textContent",t)}}function Fe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",9),r.NdJ("click",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.copyExampleLink(e.currentTarget))})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("fragment",t.id)("iconLeft",t.options.linkIcon),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.copy$)," ")}}function Le(t,e){if(1&t&&(r.TgZ(0,"h3",5),r.YNc(1,Ne,1,1,"span",6),r.YNc(2,Fe,3,5,"a",7),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.heading),r.xp6(1),r.Q6J("ngIf",t.id)}}function Re(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 Be(t,e){if(1&t&&(r.TgZ(0,"h4",10),r.YNc(1,Re,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.description)}}function je(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 He(t,e){if(1&t&&(r.TgZ(0,"button",21),r.YNc(1,je,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw().$implicit,e=r.oxw(4);r.xp6(1),r.Q6J("polymorpheusOutlet",e.getTabTitle(t))}}function Ve(t,e){1&t&&(r.ynx(0),r.YNc(1,He,2,1,"button",20),r.BQk())}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," ")}}function qe(t,e){if(1&t&&(r.ynx(0),r.YNc(1,$e,2,1,"ng-container",11),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("polymorpheusOutlet",t)}}function Ze(t,e){if(1&t&&(r.TgZ(0,"button",25),r._uU(1),r.qZA()),2&t){const t=r.oxw(5);r.xp6(1),r.hij(" Edit on ",t.codeEditor.name," ")}}function Ue(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-loader",22),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3).ngIf,n=r.oxw();return r.KtG(n.edit(e))})),r.ALo(1,"async"),r.YNc(2,qe,2,1,"ng-container",23),r.YNc(3,Ze,2,1,"ng-template",null,24,r.W1O),r.qZA()}if(2&t){const t=r.MAs(4),e=r.oxw(4);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 Ge(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",16)(1,"tui-tabs-with-more",17),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw(3);return r.KtG(n.activeItemIndex=e)})),r.YNc(2,Ve,2,0,"ng-container",18),r.qZA(),r.YNc(3,Ue,5,6,"tui-loader",19),r.ALo(4,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw().ngIf,e=r.oxw().ngIf,n=r.oxw();r.xp6(1),r.Q6J("activeItemIndex",n.activeItemIndex),r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Q6J("ngIf",r.xi3(4,3,e,n.visible))}}function Qe(t,e){if(1&t&&r.GkF(0,29),2&t){r.oxw(4);const t=r.MAs(5);r.Q6J("ngTemplateOutlet",t)}}const Je=function(t){return{$implicit:t}};function Ye(t,e){if(1&t&&r.GkF(0,30),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,Je,(null==e?null:e[t[n.activeItemIndex]])||""))}}function We(t,e){if(1&t&&(r.TgZ(0,"div",26),r.YNc(1,Qe,1,1,"ng-container",27),r.YNc(2,Ye,1,4,"ng-template",null,28,r.W1O),r.qZA()),2&t){const t=e.index,n=r.MAs(3),i=r.oxw(3);r.ekj("t-content_animated",!i.isE2E)("t-content_visible",i.activeItemIndex===t),r.xp6(1),r.Q6J("ngIf",t===i.defaultTabIndex)("ngIfElse",n)}}function Ke(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ge,5,6,"div",14),r.YNc(2,We,4,6,"div",15),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length>1),r.xp6(1),r.Q6J("ngForOf",t)}}function Xe(t,e){if(1&t&&(r.TgZ(0,"div",12),r.YNc(1,Ke,3,2,"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 tn(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 en(t,e){if(1&t&&(r.TgZ(0,"div",31),r.Hsn(1),r.YNc(2,tn,2,1,"ng-container",11),r.ALo(3,"async"),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.Q6J("polymorpheusOutlet",r.lcZ(3,1,t.lazyComponent$))}}function nn(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 rn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,nn,2,1,"ng-container",33),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit;r.xp6(1),r.Q6J("polymorpheusOutlet",t)("polymorpheusOutletContext",r.VKq(2,Je,n))}}function on(t,e){if(1&t&&(r.TgZ(0,"tui-doc-code",32),r.YNc(1,rn,2,4,"ng-container",18),r.qZA()),2&t){const t=e.$implicit,n=r.oxw();r.Q6J("code",t),r.xp6(1),r.Q6J("ngForOf",n.codeActions)}}const sn=["*"];let an=(()=>{var t;class e{constructor(){this.clipboard=(0,r.f3M)(s),this.alerts=(0,r.f3M)(Ft.J9),this.location=(0,r.f3M)(Ce.Ct),this.copyTexts$=(0,r.f3M)(J.UV),this.processContent=(0,r.f3M)(u.$_),this.rawLoader$$=new p.X({}),this.lazyLoader$$=new Se.t(1),this.options=(0,r.f3M)(Te),this.texts=(0,r.f3M)(u.mv),this.codeEditor=(0,r.f3M)(u.lW,{optional:!0}),this.isE2E=(0,r.f3M)(Ht.oD),this.codeActions=(0,r.f3M)(u.mT),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,x.U)((([t])=>t))),this.loading$=new R.x,this.processor$=this.rawLoader$$.pipe((0,m.w)(h.vP),(0,x.U)((t=>this.processContent(t)))),this.lazyComponent$=this.lazyLoader$$.pipe((0,m.w)(Ae.y),(0,x.U)((t=>new Me.Al(t.default)))),this.id=null,this.fullsize=(0,r.f3M)(Te).fullsize,this.componentName=this.location.pathname.slice(1),this.visible=t=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(t))}set content(t){this.rawLoader$$.next(t)}set component(t){this.lazyLoader$$.next(t)}getTabTitle(t){return this.options.tabTitles.get(t)||t}copyExampleLink(t){this.clipboard.copy(t?.href??""),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(t){this.loading$.next(!0),this.codeEditor?.edit(this.componentName,this.id||"",t).finally((()=>this.loading$.next(!1)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("id",e.id),r.ekj("_fullsize",e.fullsize))},inputs:{id:"id",heading:"heading",description:"description",fullsize:"fullsize",componentName:"componentName",content:"content",component:"component"},standalone:!0,features:[r.jDz],ngContentSelectors:sn,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"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"fragment","iconLeft","click",4,"ngIf"],[3,"textContent"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"fragment","iconLeft","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs","class","t-code-editor",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",1,"t-code-editor",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Le,3,2,"h3",0),r.YNc(1,Be,2,1,"h4",1),r.YNc(2,Xe,3,4,"div",2),r.ALo(3,"async"),r.YNc(4,en,4,3,"ng-template",null,3,r.W1O),r.YNc(6,on,2,2,"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$)))},dependencies:[i.O5,Me.s$,d.xG,tt.rH,i.Ov,Ie,De.W,ze.Yh,ze.Pk,i.sg,Oe.A6,ke.c,i.tP,q],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%]:target{animation:1s .3s tuiShaking}[_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:400;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}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 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-border-normal);justify-content:space-between;align-items:center;gap:.5rem}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-code-editor[_ngcontent-%COMP%]{flex-shrink:0}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.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}),e})();var ln=n(95079),cn=n(18004),un=n(73284),hn=n(34138),dn=n(41589),pn=n(16931),fn=n(71938);let gn=(()=>{var t;class e extends Me.GL{constructor(){super(...arguments),this.injector=(0,r.f3M)(r.gxx),this.portalService=(0,r.f3M)(fn.UA),this.component=new Me.Al(yn,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1,this.content=(0,r.f3M)(r.Rgc)}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=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},standalone:!0,features:[r.qOj]}),e})();const mn=["tuiSidebar",""];function vn(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 yn=(()=>{var t;class e{constructor(){this.directive=(0,r.f3M)(gn),this.options=(0,pn.qS)((0,r.f3M)(dn.ZW)),this.left={...this.options,value:"left"},this.right={...this.options,value:"right"}}ngDoCheck(){this.directive.check()}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}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(r.d8E("@tuiSlideIn",e.animation),r.Tol(e.directionHostClass))},standalone:!0,features:[r.jDz],attrs:mn,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,vn,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))},dependencies:[ln.d,Me.s$],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-background-base);box-shadow:0 10rem var(--tui-background-base);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[hn.Gw]},changeDetection:0}),e})();var bn=n(30696),_n=n(9368),wn=n(16100),xn=n(88543),Cn=n(71918),kn=n(38442),On=n(45130);function Mn(t){return t.map((({section:t})=>t)).filter(Q.Pc).filter(((t,e,n)=>n.indexOf(t)===e))}const Sn=new r.OlP("[NAVIGATION_TITLE]"),An=new r.OlP("[NAVIGATION_LABELS]"),Pn=new r.OlP("[NAVIGATION_ITEMS]"),En=[(0,wn.S9)({appearance:"icon"}),{provide:Sn,deps:[tt.F0,tt.gz,u.Yx],useFactory:(t,e,n)=>t.events.pipe((0,f.h)((t=>t instanceof tt.m2)),(0,x.U)((()=>e.firstChild)),(0,f.h)(Q.Pc),(0,On.z)((({data:t})=>t)),(0,x.U)((({title:t})=>`${n}${t}`)),(0,St.sL)())},{provide:An,deps:[u.V5],useFactory:Mn},{provide:Pn,deps:[u.V5],useFactory:t=>[...Mn(t).map((e=>t.filter((({section:t})=>t===e)))),t.filter((t=>!t.section))]}];var Tn,In=n(14814),Dn=n(5583),zn=n(63098),Nn=n(24149),Fn=n(28021);function Ln(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Rn(t,e){if(1&t&&(r.TgZ(0,"a",16),r._uU(1),r.YNc(2,Ln,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Bn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function jn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",19),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(5),n=r.MAs(1);return r.KtG(e.onClick(n))})),r._uU(1),r.YNc(2,Bn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit;r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Hn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Rn,3,5,"a",14),r.YNc(2,jn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}function Vn(t,e){if(1&t&&(r.TgZ(0,"tui-opt-group",12),r.YNc(1,Hn,4,2,"ng-container",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 $n(t,e){if(1&t&&(r.TgZ(0,"tui-data-list"),r.YNc(1,Vn,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 qn(t,e){1&t&&(r.ynx(0),r.YNc(1,$n,3,3,"tui-data-list",10),r.BQk())}const Zn=function(t,e){return{item:t,index:e}};function Un(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(2).index;r.oxw();const o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,100*i+n))}}function Gn(t,e){if(1&t&&(r.TgZ(0,"div",23),r.YNc(1,Un,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 Qn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-accordion-item",20),r.NdJ("openChange",(function(e){const n=r.CHM(t).index,i=r.oxw();return r.KtG(i.openPagesArr[n]=e)})),r.TgZ(1,"span",21)(2,"strong"),r._uU(3),r.qZA()(),r.YNc(4,Gn,2,1,"ng-template",22),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 Jn(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(),o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,i.items.length-1+n))}}function Yn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Wn(t,e){if(1&t&&(r.TgZ(0,"a",28),r._uU(1),r.YNc(2,Yn,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw(2).item;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Kn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Xn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",29),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,Kn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw(2).item,e=r.oxw();r.Q6J("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ti(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Wn,3,5,"a",27),r.YNc(2,Xn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=r.MAs(3),e=r.oxw().item;r.xp6(1),r.Q6J("ngIf",e.route.includes("://"))("ngIfElse",t)}}function ei(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ni(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",34),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(2).index,n=r.oxw();return r.KtG(n.onGroupClick(e))})),r._UZ(1,"tui-icon",35),r._uU(2),r.YNc(3,ei,1,1,"tui-icon",17),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.Q6J("icon",i.icons.more),r.xp6(1),r.hij(" ",n.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)}}function ii(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ri(t,e){if(1&t&&(r.TgZ(0,"a",37),r._uU(1),r.YNc(2,ii,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function oi(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function si(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",38),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(4);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,oi,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit,e=r.oxw(3);r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ai(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ri,3,5,"a",36),r.YNc(2,si,3,7,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}const li=function(){return{exact:!1}};function ci(t,e){if(1&t&&(r.TgZ(0,"div",30),r.YNc(1,ni,4,5,"button",31),r.TgZ(2,"tui-expand",32)(3,"div",33),r.YNc(4,ai,4,2,"ng-container",13),r.qZA()()()),2&t){const t=r.oxw(),e=t.item,n=t.index,i=r.oxw();r.Q6J("routerLinkActiveOptions",r.DdM(4,li)),r.xp6(1),r.Q6J("ngIf",e.subPages),r.xp6(1),r.Q6J("expanded",!!i.openPagesGroupsArr[n]),r.xp6(2),r.Q6J("ngForOf",i.$pages(e.subPages))}}function ui(t,e){if(1&t&&(r.YNc(0,ti,4,2,"ng-container",25),r.YNc(1,ci,5,5,"ng-template",null,26,r.W1O)),2&t){const t=e.item,n=r.MAs(2);r.Q6J("ngIf",!t.subPages)("ngIfElse",n)}}class hi{constructor(){this.router=(0,r.f3M)(tt.F0),this.doc=(0,r.f3M)(i.K0),this.menuOpen=!1,this.sidebar=(0,r.f3M)(gn,{optional:!0}),this.labels=(0,r.f3M)(An),this.items=(0,r.f3M)(Pn),this.searchText=(0,r.f3M)(u.EI),this.activatedRoute=(0,r.f3M)(tt.gz),this.docIcons=(0,r.f3M)(u.oq),this.icons=(0,r.f3M)(dn.Gs),this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new X.NI(""),this.filtered$=(0,At.EK)(this.search).pipe((0,f.h)((t=>t.trim().length>2)),(0,x.U)((t=>this.filterItems(this.flattenSubPages(this.items),t))));const t=(0,r.f3M)(T.Dx),e=(0,r.f3M)(u.V1);(0,r.f3M)(Sn).pipe((0,At.NA)((0,r.f3M)(r.sBO)),(0,St.sL)()).subscribe((e=>{t.setTitle(e),this.openActivePageGroup()})),(0,kn.a)([this.router.events.pipe((0,f.h)((t=>t instanceof tt.Xs))),(0,r.f3M)(Sn).pipe((0,m.w)((()=>e.pipe((0,f.h)(Boolean)))))]).pipe((0,g.q)(1),(0,x.U)((([t])=>t.anchor||"")),(0,f.h)(Boolean),(0,St.sL)()).subscribe((t=>this.navigateToAnchorLink(t)))}get canOpen(){return(this.search.value?.length??0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(t){return t}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,Q.pf)(t.filter((({title:t,keywords:n=""})=>(e=e.toLowerCase().trim(),n=n.toLowerCase(),(t=t.toLowerCase()).includes(e)||n.includes(e)||t.includes((0,h.OO)(e))||n.includes((0,h.OO)(e))||e.replaceAll("-","").includes(t)||t.includes(e.replaceAll(/\s|tui/g,""))||n.includes(e.replaceAll(/\s|tui/g,""))||e.split(/\s/).find((e=>t.includes(e)))))),"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"})}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}`):[];if(!e.length||!e[e.length-1])return;const n=this.doc.createElement("a");n.href=`${this.doc.location.pathname}#${t}`,n.style.display="none",n.style.position="absolute",this.doc.body.appendChild(n),n.click(),n.remove()}}(Tn=hi).ɵfac=function(t){return new(t||Tn)},Tn.ɵcmp=r.Xpm({type:Tn,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_open",e.menuOpen)},standalone:!0,features:[r._Bn(En),r.jDz],ngContentSelectors:["*"],decls:13,vars:11,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar"],[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"],[4,"ngFor","ngForOf"],["tuiOption","",3,"href","target",4,"ngIf","ngIfElse"],["internal",""],["tuiOption","",3,"href","target"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"],["tuiOption","",3,"fragment","routerLink","target","click"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["subPagesTemplate",""],["tuiLink","","class","t-sublink",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","target","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","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"icon"],["tuiLink","","class","t-sublink t-sublink_small",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink","t-sublink_small",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","target","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"tui-input",0,1),r._uU(2),r.YNc(3,qn,2,0,"ng-container",2),r.qZA(),r.TgZ(4,"nav",3)(5,"tui-scrollbar",4)(6,"tui-accordion",5),r.YNc(7,Qn,5,3,"tui-accordion-item",6),r.qZA(),r.TgZ(8,"div",7),r.YNc(9,Jn,1,5,"ng-container",8),r.qZA(),r.YNc(10,ui,3,2,"ng-template",null,9,r.W1O),r.qZA()(),r.Hsn(12)),2&t&&(r.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),r.xp6(2),r.hij(" ",e.searchText," "),r.xp6(1),r.Q6J("ngIf",e.canOpen),r.xp6(3),r.Q6J("closeOthers",!1)("rounded",!1),r.xp6(1),r.Q6J("ngForOf",e.labels),r.xp6(2),r.Q6J("ngForOf",e.itemsWithoutSections))},dependencies:[Cn.Qf,In.K,Dn.w,Qt.qm,X.UX,X.JJ,X.oH,bn.bi,zn.qi,zn.gX,zn.bH,zn.c4,i.Ov,i.sg,i.O5,_n.R,Me.s$,tt.rH,xn.D1,Nn.z0,Nn.tR,Nn.Z0,i.tP,wn.lI,un.k,tt.Od,ut.SV,ct.cn,Wt.b,Kt.x,gt.s,Fn.a],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-background-base)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-input[_ngcontent-%COMP%] tui-icon{border:.25rem solid transparent}.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%}tui-root._reduced-motion[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%], tui-root._reduced-motion [_nghost-%COMP%] .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:-.5rem 0 -1rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-border-normal)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem;padding:.5rem 0}.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.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-primary)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.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,U.gn)([Q.UM],hi.prototype,"filterItems",null),(0,U.gn)([Q.UM],hi.prototype,"flattenSubPages",null);const di=["tuiDocHeader",""];function pi(t,e){1&t&&r._UZ(0,"tui-doc-navigation",4)}function fi(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("src",t,r.LSH)}}const gi=["*"];let mi=(()=>{var t;class e{constructor(){this.stream$=new R.x,this.router=(0,r.f3M)(tt.F0),this.icons=(0,r.f3M)(u.oq),this.logo=(0,r.f3M)(u.Or),this.menu=(0,r.f3M)(u.gG),this.open$=(0,Nt.T)(this.router.events.pipe((0,x.U)(G.tD)),this.stream$).pipe((0,j.O)(!1),(0,cn.x)())}onClick(){this.stream$.next(!0)}onActiveZone(t){t||this.stream$.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],standalone:!0,features:[r.jDz],attrs:di,ngContentSelectors:gi,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"iconLeft","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,pi,1,0,"tui-doc-navigation",1),r.ALo(2,"async"),r.qZA(),r.TgZ(3,"div",2),r.YNc(4,fi,1,1,"img",3),r.qZA(),r.Hsn(5)),2&t&&(r.Q6J("iconLeft",e.icons.menu)("title",e.menu),r.xp6(1),r.Q6J("tuiSidebar",!!r.lcZ(2,4,e.open$)),r.xp6(3),r.Q6J("polymorpheusOutlet",e.logo))},dependencies:[d.xG,ln.d,gn,i.Ov,Me.s$,hi],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:1;display:flex;box-shadow:var(--tui-shadow-small);height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-background-base);border-bottom:1px solid var(--tui-border-normal)}@supports (background: color-mix(in srgb,var(--tui-background-base),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-background-base),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.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}),e})();function vi(t,e){1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t&&(r.xp6(1),r.Oqu(", "))}function yi(t,e){if(1&t&&(r.ynx(0),r._UZ(1,"a",2),r.YNc(2,vi,2,1,"ng-container",3),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.oxw();r.xp6(1),r.Q6J("innerText",t)("routerLink",i.getRouterLink(t)),r.xp6(1),r.Q6J("ngIf",!n)}}let bi=(()=>{var t;class e{constructor(){this.pages=(0,r.f3M)(u._Z),this.text=(0,r.f3M)(u.VX),this.seeAlso=[]}getRouterLink(t){return this.pages.get(t)?.route??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.qZA(),r.YNc(2,yi,3,3,"ng-container",1)),2&t&&(r.xp6(1),r.Oqu(e.text),r.xp6(1),r.Q6J("ngForOf",e.seeAlso))},dependencies:[wn.lI,i.sg,tt.rH,i.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-secondary);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),e})();var _i;function wi(t,e){if(1&t&&(r.TgZ(0,"a",1),r._uU(1),r.qZA()),2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.Udp("height","var(--tui-height-l)"),r.Q6J("href",t,r.LSH)("iconLeft",n.icons.code),r.xp6(1),r.hij(" ",n.text,"\n")}}class xi{constructor(){this.icons=(0,r.f3M)(u.oq),this.sourceCode=(0,r.f3M)(u.yO),this.text=(0,r.f3M)(u.as),this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(t){return t.startsWith("http")}getPathOptions(t,e,n,i){return{header:t,package:e,type:n,path:i}}}(_i=xi).ɵfac=function(t){return new(t||_i)},_i.ɵcmp=r.Xpm({type:_i,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},standalone:!0,features:[r.jDz],decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft","height",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft"]],template:function(t,e){1&t&&r.YNc(0,wi,2,5,"a",0),2&t&&r.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},dependencies:[Me.s$,d.xG],encapsulation:2,changeDetection:0}),(0,U.gn)([Q.UM],xi.prototype,"pathIsUrl",null),(0,U.gn)([Q.UM],xi.prototype,"getPathOptions",null),n(18639),n(3667);var Ci=n(69838),ki=n(38525);const Oi=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],Mi=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let Si=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(u.oq),this.dark$=(0,r.f3M)(et.QN)}get icon(){return this.dark$.value?this.icons.light:this.icons.dark}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-main"]],standalone:!0,features:[r._Bn([Ci.$D]),r.jDz],ngContentSelectors:Mi,decls:20,vars:6,consts:[[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","size","s","tuiIconButton","","type","button",1,"tui-doc-dark-mode-switch",3,"iconLeft","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverDropdowns",5,["tuiOverDropdowns"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(r.F$t(Oi),r.TgZ(0,"tui-root"),r.ALo(1,"async"),r.TgZ(2,"div",0)(3,"tui-doc-navigation",1),r.Hsn(4),r.qZA(),r.TgZ(5,"div",2),r._UZ(6,"router-outlet",3),r.qZA()(),r.TgZ(7,"header",4),r.Hsn(8,1),r.TgZ(9,"button",5),r.NdJ("click",(function(){return e.dark$.toggle()})),r.qZA()(),r.ynx(10,6),r.Hsn(11,2),r.BQk(),r.ynx(12,7),r.Hsn(13,3),r.BQk(),r.ynx(14,8),r.Hsn(15,4),r.BQk(),r.ynx(16,9),r.Hsn(17,5),r.BQk(),r.ynx(18,10),r.Hsn(19,6),r.BQk(),r.qZA()),2&t&&(r.uIk("tuiTheme",r.lcZ(1,4,e.dark$)?"dark":null),r.xp6(9),r.Udp("border-radius",100,"%"),r.Q6J("iconLeft",e.icon))},dependencies:[ki.q,i.Ov,tt.lC,d.xG,mi,hi],styles:["@keyframes tuiShaking{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-.3125rem,0,0)}20%,40%,60%,80%{transform:translate3d(.3125rem,0,0)}}html,body{scroll-padding-top:4rem;background:var(--tui-background-base)}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}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;display:inline-flex;background:var(--tui-background-base-alt);color:var(--tui-text-secondary);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-border-hover);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*=language-]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*=language-]){color:var(--tui-text-action)}button:focus code,a:focus code{background:var(--tui-background-base)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-border-normal)}@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-dark-mode-switch{margin-left:1rem}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-primary);background-color:var(--tui-background-neutral-1)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:400;color:var(--tui-text-primary)}tui-doc-code .hljs-property{color:#bd65a4}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-secondary);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:700;color:var(--tui-text-action)}tui-doc-code .hljs-attr{color:var(--tui-text-action)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:700;color:#b8474e}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:400}tui-doc-code .hljs-string{color:var(--tui-status-positive);font-weight:700}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-primary);background:var(--tui-background-base-alt);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-text-action-hover)}tui-doc-code .hljs-addition{background:var(--tui-status-positive-pale)}tui-doc-code .hljs-deletion{background:var(--tui-status-negative-pale)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:700}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}[tuiTheme=dark] tui-doc-code .hljs-variable,tui-doc-code[tuiTheme=dark] .hljs-variable,[tuiTheme=dark] tui-doc-code .hljs-template-variable,tui-doc-code[tuiTheme=dark] .hljs-template-variable{color:var(--tui-status-warning)}\n"],encapsulation:2}),e})(),Ai=(()=>{var t;class e{transform(t,e,n){return t?.replace(e,n)??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiReplace",type:t,pure:!0,standalone:!0}),e})();var Pi=n(13027),Ei=n(73378);const Ti=new r.OlP("[PAGE_SEE_ALSO]"),Ii=[{provide:Ti,deps:[r.SBq,u.UL],useFactory:({nativeElement:t},e)=>{const n=t.getAttribute("header"),i=e.filter((t=>t.includes(n)))||[],r=new Set(i.join().split(",").filter((t=>t&&t!==n)));return Array.from(r)}}];let Di=(()=>{var t;class e{constructor(){this.template=(0,r.f3M)(r.Rgc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["ng-template","pageTab",""]],inputs:{pageTab:"pageTab"},standalone:!0}),e})();function zi(t,e){1&t&&(r.TgZ(0,"tui-chip",9),r._uU(1," deprecated "),r.qZA())}function Ni(t,e){if(1&t&&(r.TgZ(0,"tui-chip",10),r.ALo(1,"tuiAutoColor"),r._uU(2),r.qZA()),2&t){const t=r.oxw();r.Udp("background",r.lcZ(1,3,t.package)),r.xp6(2),r.hij(" ",t.package," ")}}const Fi=function(t){return{exact:t}};function Li(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("routerLink",e?"./":r.Dn7(1,3,t,n.from,n.to))("routerLinkActiveOptions",r.VKq(7,Fi,e)),r.xp6(2),r.hij(" ",t," ")}}function Ri(t,e){1&t&&(r.ynx(0),r.YNc(1,Li,3,9,"a",13),r.BQk())}function Bi(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ri,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 ji(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-tabs-with-more",11),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.activeItemIndex=e)})),r.YNc(1,Bi,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 Hi(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 Vi(t,e){if(1&t&&r.GkF(0,17),2&t){const t=r.oxw().$implicit;r.Q6J("ngTemplateOutlet",t.template)}}function $i(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Vi,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)}}const qi=["*"];let Zi=(()=>{var t;class e{constructor(){this.defaultTabs=(0,r.f3M)(u.AC),this.from=/ /g,this.to="_",this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=G.Mm,this.activeItemIndex=0,this.seeAlso=(0,r.f3M)(Ti)}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Di,4),2&t){let t;r.iGM(t=r.CRH())&&(e.tabConnectors=t)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},standalone:!0,features:[r._Bn(Ii),r.jDz],ngContentSelectors:qi,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["appearance","custom","size","xs","class","t-tag t-tag_deprecated",4,"ngIf"],["appearance","custom","size","xs","class","t-tag t-tag_package",3,"background",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["appearance","custom","size","xs",1,"t-tag","t-tag_deprecated"],["appearance","custom","size","xs",1,"t-tag","t-tag_package"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[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)(1,"h1",1),r._uU(2),r.YNc(3,zi,2,0,"tui-chip",2),r.YNc(4,Ni,3,5,"tui-chip",3),r.qZA(),r.YNc(5,ji,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,Hi,1,1,"tui-doc-see-also",7),r.YNc(10,$i,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)("path",e.path)("type",e.type),r.xp6(3),r.Q6J("ngIf",e.showSeeAlso),r.xp6(1),r.Q6J("ngForOf",e.tabConnectors))},dependencies:[Ei.Xt,i.O5,Pi.$,De.W,ze.Yh,ze.Pk,i.sg,tt.rH,tt.Od,Ai,xi,bi,i.tP],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-primary);box-shadow:inset 0 -1px 0 0 var(--tui-border-normal);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-status-negative);color:#fff}.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}),e})()},73284:(t,e,n)=>{n.d(e,{k:()=>h,g:()=>d});var i=n(20755),r=n(62022),o=n(32101),s=n(55181),a=n(35484),l=n(55333),c=n(84787),u=n(20155);let h=(()=>{var t;class e{constructor(){this.scroll$=new a.t(1);const t=(0,s.AG)();(0,i.f3M)(o.V1).pipe((0,l.h)(Boolean),(0,c.w)((()=>this.scroll$)),(0,u.b)(750),(0,l.h)((e=>e&&!!(0,s.PU)(t))),(0,r.sL)()).subscribe((()=>t.scrollIntoView()))}set tuiScrollIntoViewLink(t){this.scroll$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},standalone:!0}),e})(),d=(()=>{var t;class e{constructor(){this.code=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["code","tuiText",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("textContent",e.code)},inputs:{code:["tuiText","code"]},standalone:!0}),e})()},89037:(t,e,n)=>{n.d(e,{AC:()=>bt.AC,Es:()=>bt.Es,Or:()=>bt.Or,V5:()=>bt.V5,V1:()=>bt.V1,yO:()=>bt.yO,Yx:()=>bt.Yx,N0:()=>_t.N,ws:()=>o.ws,JQ:()=>o.JQ,vi:()=>o.vi});var i=n(63613),r=n(73284),o=n(36541),s=n(86889);function a(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}let l={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function c(t){l=t}const u=/[&<>"']/,h=new RegExp(u.source,"g"),d=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,p=new RegExp(d.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},g=t=>f[t];function m(t,e){if(e){if(u.test(t))return t.replace(h,g)}else if(d.test(t))return t.replace(p,g);return t}const v=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,y=/(^|[^\[])\^/g;function b(t,e){let n="string"==typeof t?t:t.source;e=e||"";const i={replace:(t,e)=>{let r="string"==typeof e?e:e.source;return r=r.replace(y,"$1"),n=n.replace(t,r),i},getRegex:()=>new RegExp(n,e)};return i}function _(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch(t){return null}return t}const w={exec:()=>null};function x(t,e){const n=t.replace(/\|/g,((t,e,n)=>{let i=!1,r=e;for(;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:C(t,"\n")}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const t=e[0],n=function(t,e){const n=t.match(/^(\s+)(?:```)/);if(null===n)return e;const i=n[1];return e.split("\n").map((t=>{const e=t.match(/^\s+/);if(null===e)return t;const[n]=e;return n.length>=i.length?t.slice(i.length):t})).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){const e=C(t,"#");this.options.pedantic?t=e.trim():e&&!/ $/.test(e)||(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:C(e[0],"\n")}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let t=C(e[0],"\n").split("\n"),n="",i="";const r=[];for(;t.length>0;){let e=!1;const o=[];let s;for(s=0;s/.test(t[s]))o.push(t[s]),e=!0;else{if(e)break;o.push(t[s])}t=t.slice(s);const a=o.join("\n"),l=a.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${a}`:a,i=i?`${i}\n${l}`:l;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,r,!0),this.lexer.state.top=c,0===t.length)break;const u=r[r.length-1];if("code"===u?.type)break;if("blockquote"===u?.type){const e=u,o=e.raw+"\n"+t.join("\n"),s=this.blockquote(o);r[r.length-1]=s,n=n.substring(0,n.length-e.raw.length)+s.raw,i=i.substring(0,i.length-e.text.length)+s.text;break}if("list"!==u?.type);else{const e=u,o=e.raw+"\n"+t.join("\n"),s=this.list(o);r[r.length-1]=s,n=n.substring(0,n.length-u.raw.length)+s.raw,i=i.substring(0,i.length-e.raw.length)+s.raw,t=o.substring(r[r.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:r,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim();const i=n.length>1,r={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let s="",a="",l=!1;for(;t;){let n=!1;if(!(e=o.exec(t)))break;if(this.rules.block.hr.test(t))break;s=e[0],t=t.substring(s.length);let i=e[2].split("\n",1)[0].replace(/^\t+/,(t=>" ".repeat(3*t.length))),c=t.split("\n",1)[0],u=0;this.options.pedantic?(u=2,a=i.trimStart()):(u=e[2].search(/[^ ]/),u=u>4?1:u,a=i.slice(u),u+=e[1].length);let h=!1;if(!i&&/^ *$/.test(c)&&(s+=c+"\n",t=t.substring(c.length+1),n=!0),!n){const e=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),r=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;t;){const l=t.split("\n",1)[0];if(c=l,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),r.test(c))break;if(o.test(c))break;if(e.test(c))break;if(n.test(t))break;if(c.search(/[^ ]/)>=u||!c.trim())a+="\n"+c.slice(u);else{if(h)break;if(i.search(/[^ ]/)>=4)break;if(r.test(i))break;if(o.test(i))break;if(n.test(i))break;a+="\n"+c}h||c.trim()||(h=!0),s+=l+"\n",t=t.substring(l.length+1),i=c.slice(u)}}r.loose||(l?r.loose=!0:/\n *\n *$/.test(s)&&(l=!0));let d,p=null;this.options.gfm&&(p=/^\[[ xX]\] /.exec(a),p&&(d="[ ] "!==p[0],a=a.replace(/^\[[ xX]\] +/,""))),r.items.push({type:"list_item",raw:s,task:!!p,checked:d,loose:!1,text:a,tokens:[]}),r.raw+=s}r.items[r.items.length-1].raw=s.trimEnd(),r.items[r.items.length-1].text=a.trimEnd(),r.raw=r.raw.trimEnd();for(let t=0;t"space"===t.type)),n=e.length>0&&e.some((t=>/\n.*\n/.test(t.raw)));r.loose=n}if(r.loose)for(let t=0;t$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:i}}}table(t){const e=this.rules.block.table.exec(t);if(!e)return;if(!/[:|]/.test(e[2]))return;const n=x(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),r=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const t of i)/^ *-+: *$/.test(t)?o.align.push("right"):/^ *:-+: *$/.test(t)?o.align.push("center"):/^ *:-+ *$/.test(t)?o.align.push("left"):o.align.push(null);for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:o.align[e]}))));return o}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:m(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^
    /i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const t=e[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;const e=C(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{const t=function(t,e){if(-1===t.indexOf(e[1]))return-1;let n=0;for(let i=0;i-1){const n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){const t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);t&&(n=t[1],i=t[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),/^$/.test(t)?n.slice(1):n.slice(1,-1)),k(e,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},e[0],this.lexer)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const t=e[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!t){const t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return k(n,t,n[0],this.lexer)}}emStrong(t,e,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(i&&(!i[3]||!n.match(/[\p{L}\p{N}]/u))&&(!i[1]&&!i[2]||!n||this.rules.inline.punctuation.exec(n))){const n=[...i[0]].length-1;let r,o,s=n,a=0;const l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+n);null!=(i=l.exec(e));){if(r=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!r)continue;if(o=[...r].length,i[3]||i[4]){s+=o;continue}if((i[5]||i[6])&&n%3&&!((n+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);const e=[...i[0]][0].length,l=t.slice(0,n+i.index+e+o);if(Math.min(n,o)%2){const t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}const c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," ");const n=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return n&&i&&(t=t.substring(1,t.length-1)),t=m(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=m(e[1]),n="mailto:"+t):(t=m(e[1]),n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=m(e[0]),n="mailto:"+t;else{let i;do{i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??""}while(i!==e[0]);t=m(e[0]),n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:m(e[0]),{type:"text",raw:e[0],text:t}}}}const M=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,A=b(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,S).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),P=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,E=/(?!\s*\])(?:\\.|[^\[\]\\])+/,T=b(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",E).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),I=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),D="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",z=/|$))/,N=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",z).replace("tag",D).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),F=b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),L={blockquote:b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",F).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:T,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:M,html:N,lheading:A,list:I,newline:/^(?: *(?:\n|$))+/,paragraph:F,table:w,text:/^[^\n]+/},R=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),B={...L,table:R,paragraph:b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",R).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex()},j={...L,html:b("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",z).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(P).replace("hr",M).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},H=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,V=/^( {2,}|\\)\n(?!\s*$)/,$="\\p{P}\\p{S}",q=b(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,$).getRegex(),Z=b(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,$).getRegex(),U=b("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,$).getRegex(),G=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,$).getRegex(),Q=b(/\\([punct])/,"gu").replace(/punct/g,$).getRegex(),J=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Y=b(z).replace("(?:--\x3e|$)","--\x3e").getRegex(),W=b("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Y).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),K=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X=b(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",K).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tt=b(/^!?\[(label)\]\[(ref)\]/).replace("label",K).replace("ref",E).getRegex(),et=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",E).getRegex(),nt={_backpedal:w,anyPunctuation:Q,autolink:J,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:V,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,emStrongLDelim:Z,emStrongRDelimAst:U,emStrongRDelimUnd:G,escape:H,link:X,nolink:et,punctuation:q,reflink:tt,reflinkSearch:b("reflink|nolink(?!\\()","g").replace("reflink",tt).replace("nolink",et).getRegex(),tag:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\e+" ".repeat(n.length)));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(i=n.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))))if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);else if(i=this.tokenizer.code(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?e.push(i):(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.list(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.html(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.def(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.table(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.lheading(t))t=t.substring(i.raw.length),e.push(i);else{if(o=t,this.options.extensions&&this.options.extensions.startBlock){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startBlock.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(o=t.substring(0,e+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o)))r=e[e.length-1],n&&"paragraph"===r?.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i),n=o.length!==t.length,t=t.substring(i.raw.length);else if(i=this.tokenizer.text(t))t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let n,i,r,o,s,a,l=t;if(this.tokens.links){const t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((i=>!!(n=i.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))))if(n=this.tokenizer.escape(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.tag(t))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.link(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.emStrong(t,l,a))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.codespan(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.br(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.del(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.autolink(t))t=t.substring(n.raw.length),e.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(t))){if(r=t,this.options.extensions&&this.options.extensions.startInline){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startInline.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(r=t.substring(0,e+1))}if(n=this.tokenizer.inlineText(r))t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0,i=e[e.length-1],i&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}else t=t.substring(n.raw.length),e.push(n);return e}}class ct{constructor(t){(0,s.Z)(this,"options",void 0),(0,s.Z)(this,"parser",void 0),this.options=t||l}space(t){return""}code({text:t,lang:e,escaped:n}){const i=(e||"").match(/^\S*/)?.[0],r=t.replace(/\n$/,"")+"\n";return i?'
    '+(n?r:m(r,!0))+"
    \n":"
    "+(n?r:m(r,!0))+"
    \n"}blockquote({tokens:t}){return`
    \n${this.parser.parse(t)}
    \n`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)}\n`}hr(t){return"
    \n"}list(t){const e=t.ordered,n=t.start;let i="";for(let e=0;e\n"+i+"\n"}listitem(t){let e="";if(t.task){const n=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=n+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • \n`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    \n`}table(t){let e="",n="";for(let e=0;e${i}`),"\n\n"+e+"\n"+i+"
    \n"}tablerow({text:t}){return`\n${t}\n`}tablecell(t){const e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`\n`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:n}){const i=this.parser.parseInline(n),r=_(t);if(null===r)return i;let o='
    ",o}image({href:t,title:e,text:n}){const i=_(t);if(null===i)return n;let r=`${n}"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}(n.parser.parseInline(i.tokens,n.parser.textRenderer))):t.apply(this,arguments)};case"code":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.lang,!!n.escaped):t.apply(this,arguments)};case"table":return function(n){if(!n.type||n.type!==e)return t.apply(this,arguments);let i="",r="";for(let t=0;t0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):a+=t+" "}a+=this.parser.parse(e.tokens,o),s+=this.listitem({type:"list_item",raw:a,text:a,task:r,checked:!!i,loose:o,tokens:e.tokens})}return t.call(this,s,i,r)};case"html":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.block):t.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(n){return n.type&&n.type===e?t.call(this,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"escape":case"codespan":case"text":return function(n){return n.type&&n.type===e?t.call(this,n.text):t.apply(this,arguments)};case"link":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"image":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,n.text):t.apply(this,arguments)}}return t}function gt(t,e){return(n,i)=>{const r={...i},o={...this.defaults,...r};!0===this.defaults.async&&!1===r.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const s=a(pt,this,mt).call(this,!!o.silent,!!o.async);if(null==n)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((e=>t(e,o))).then((t=>o.hooks?o.hooks.processAllTokens(t):t)).then((t=>o.walkTokens?Promise.all(this.walkTokens(t,o.walkTokens)).then((()=>t)):t)).then((t=>e(t,o))).then((t=>o.hooks?o.hooks.postprocess(t):t)).catch(s);try{o.hooks&&(n=o.hooks.preprocess(n));let i=t(n,o);o.hooks&&(i=o.hooks.processAllTokens(i)),o.walkTokens&&this.walkTokens(i,o.walkTokens);let r=e(i,o);return o.hooks&&(r=o.hooks.postprocess(r)),r}catch(t){return s(t)}}}function mt(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){const t="

    An error occurred:

    "+m(n.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}const vt=new class{constructor(...t){var e;(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(this,e=pt),e.add(this),(0,s.Z)(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),(0,s.Z)(this,"options",this.setOptions),(0,s.Z)(this,"parse",a(pt,this,gt).call(this,lt.lex,ht.parse)),(0,s.Z)(this,"parseInline",a(pt,this,gt).call(this,lt.lexInline,ht.parseInline)),(0,s.Z)(this,"Parser",ht),(0,s.Z)(this,"Renderer",ct),(0,s.Z)(this,"TextRenderer",ut),(0,s.Z)(this,"Lexer",lt),(0,s.Z)(this,"Tokenizer",O),(0,s.Z)(this,"Hooks",dt),this.use(...t)}walkTokens(t,e){let n=[];for(const i of t)switch(n=n.concat(e.call(this,i)),i.type){case"table":{const t=i;for(const i of t.header)n=n.concat(this.walkTokens(i.tokens,e));for(const i of t.rows)for(const t of i)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":{const t=i;n=n.concat(this.walkTokens(t.items,e));break}default:{const t=i;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach((i=>{const r=t[i].flat(1/0);n=n.concat(this.walkTokens(r,e))})):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach((t=>{const n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let i=t.renderer.apply(this,e);return!1===i&&(i=n.apply(this,e)),i}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),n.extensions=e),t.renderer){const e=this.defaults.renderer||new ct(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const i=n;let r=t.renderer[i];const o=e[i];e[i]=(...n)=>{t.useNewRenderer||(r=a(pt,this,ft).call(this,r,i,e));let s=r.apply(e,n);return!1===s&&(s=o.apply(e,n)),s||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new O(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const i=n,r=t.tokenizer[i],o=e[i];e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new dt;for(const n in t.hooks){if(!(n in e))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const i=n,r=t.hooks[i],o=e[i];dt.passThroughHooks.has(n)?e[i]=t=>{if(this.defaults.async)return Promise.resolve(r.call(e,t)).then((t=>o.call(e,t)));const n=r.call(e,t);return o.call(e,n)}:e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,i=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(i.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return lt.lex(t,e??this.defaults)}parser(t,e){return ht.parse(t,e??this.defaults)}};function yt(t,e){return vt.parse(t,e)}yt.options=yt.setOptions=function(t){return vt.setOptions(t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},yt.defaults=l,yt.use=function(...t){return vt.use(...t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.walkTokens=function(t,e){return vt.walkTokens(t,e)},yt.parseInline=vt.parseInline,yt.Parser=ht,yt.parser=ht.parse,yt.Renderer=ct,yt.TextRenderer=ut,yt.Lexer=lt,yt.lexer=lt.lex,yt.Tokenizer=O,yt.Hooks=dt,yt.parse=yt,yt.options,yt.setOptions,yt.use,yt.walkTokens,yt.parseInline,ht.parse,lt.lex,n(25693);var bt=n(32101),_t=n(81059);i.lh,i.NC,i.oI,i.D_,i.Cv,i.Ei,i.fz,i.cJ,i.b7,i.xR,i.Cn,i.t9,i.og,r.g},25693:(t,e,n)=>{n.d(e,{QN:()=>c});var i=n(73740);(0,i.JN)("tuiTheme"),(0,i.JN)("Taiga UI");const r=(0,i.JN)("tuiNight"),o=(0,i.JN)(!1);var s=n(20755),a=n(42772),l=n(56424);let c=(()=>{var t;class e extends l.X{constructor(){super(function(t,e,n){const i=n.matchMedia("(prefers-color-scheme: dark)").matches||(0,s.f3M)(o);return"true"===t.getItem(e)||null===t.getItem(e)&&i}((0,s.f3M)(a.H3),(0,s.f3M)(r),(0,s.f3M)(a.m9))),this.storage=(0,s.f3M)(a.H3),this.key=(0,s.f3M)(r)}next(t){this.storage.setItem(this.key,String(t)),super.next(t)}toggle(){this.next(!this.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=s.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},32101:(t,e,n)=>{n.d(e,{mT:()=>r,lW:()=>s,AC:()=>a,ru:()=>f,IK:()=>g,$_:()=>h,Es:()=>d,mv:()=>m,et:()=>p,oq:()=>l,Or:()=>w,_Z:()=>A,gG:()=>v,V5:()=>S,V1:()=>M,EI:()=>y,UL:()=>P,VX:()=>b,yO:()=>E,as:()=>_,Yx:()=>T,x9:()=>I,B$:()=>D,Ii:()=>z});var i=n(73740);const r=(0,i.JN)("");var o=n(20755);const s=new o.OlP("[TUI_DOC_CODE_EDITOR]"),a=(0,i.JN)([]),l=(0,i.JN)({search:"@tui.search",light:"@tui.sun",dark:"@tui.moon",code:"@tui.code",menu:"@tui.menu"});var c=n(36541),u=n(69401);const h=(0,i.JN)(u.y),d=(0,i.JN)(c.vi),p=(0,i.JN)(new Set([])),f=(0,i.JN)(["Dark mode","Background","Form value"]),g=(0,i.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),m=(0,i.JN)(["Preview","Link to a sample was successfully copied","Done"]),v=(0,i.JN)("Menu"),y=(0,i.JN)("Search"),b=(0,i.JN)("See also"),_=(0,i.JN)("Source code"),w=(0,i.JN)("");var x=n(83562),C=n(1925),k=n(84787),O=n(71209);const M=(0,i.JN)((0,x.P)((()=>(0,C.H)(200).pipe((0,k.w)((()=>(0,O.of)(!0))))))),S=(0,i.JN)([]),A=(0,i.N1)((()=>(0,c.S4)((0,o.f3M)(S)))),P=(0,i.JN)([]),E=(0,i.JN)(null),T=(0,i.JN)(""),I=(0,i.JN)(null),D=(0,i.JN)(c.TN),z=(0,i.JN)(String)},81059:(t,e,n)=>{n.d(e,{N:()=>i});const i={TS:"TypeScript",LESS:"LESS",HTML:"HTML"}},36541:(t,e,n)=>{function i(t){return JSON.parse(JSON.stringify(t,((t,e)=>function(t){const e="string"==typeof t?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e)))}function r(t){return"true"===t?.toString()}function o(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{return n}}function s(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"[…]";let n="",i=!0;for(let r=0;ri,p8:()=>o,cd:()=>r,sj:()=>s,ws:()=>c,JQ:()=>h,vP:()=>p,S4:()=>g,OO:()=>v,vi:()=>l,TN:()=>y});var a=n(89088);function l(t=""){const e=(new a.Z).parse(t,{}).filter((({tag:t,type:e})=>"code"===t&&"fence"===e)).map((({content:t})=>t.trim()));return e.length?e:[t]}function c({path:t,title:e,loadComponent:n,loadChildren:i}={}){return{path:t?.replace(/^\//,""),loadComponent:n,loadChildren:i,data:{title:e},...i||""===t?{}:{children:[{path:":tab",loadComponent:n}]}}}var u=n(8239);function h(t){return d.apply(this,arguments)}function d(){return(d=(0,u.Z)((function*(t){return t instanceof Promise?(yield t).default:t}))).apply(this,arguments)}function p(t){return f.apply(this,arguments)}function f(){return(f=(0,u.Z)((function*(t){const e={};for(const[n,i]of Object.entries(t))i&&(e[n]=yield h(i));return e}))).apply(this,arguments)}function g(t){const e=new Map;return t.forEach((t=>{"subPages"in t?t.subPages.forEach((t=>{e.set(t.title,t)})):e.set(t.title,t)})),e}const m={а:"f",б:",",в:"d",г:"u",д:"l",е:"t",ё:"`",ж:";",з:"p",и:"b",й:"q",к:"r",л:"k",м:"v",н:"y",о:"j",п:"g",р:"h",с:"c",т:"n",у:"e",ф:"a",х:"[",ц:"w",ч:"x",ш:"i",щ:"o",ъ:"]",ы:"s",ь:"m",ю:".",я:"z"};function v(t){let e="";for(let n=0;n]+)>/g);return(e?e.reduce(((t,e)=>t.replace(e,e.replaceAll("|","&"))),t).split("|").map((t=>t.trim())):t.split("|").map((t=>t.trim()))).reduce(((t,e)=>{let n=e.trim().replaceAll("readonly ","").replaceAll("[]","");return n=n.match(/ReadonlyArray<([^>]+)>/)?.[1]?.split("&")?.[0]??n,n=n.match(/\[([^\]]+)\]/)?.[1]?.split(",")?.[0]??n,n=(n.split("<")?.[0]??n)?.trim()??"",n=Number.isNaN(parseFloat(n))?n:"number",n=/^'(.+)'$|^"(.+)"$|^`(.+)`$/.test(n)?"string":n,n=1===n.length?"unknown":n,t.concat({type:e.replaceAll("&","|"),extracted:n})}),[])}},94267:(t,e,n)=>{n.d(e,{QJ:()=>x,NN:()=>_,Bb:()=>O,oL:()=>k,T8:()=>A,R4:()=>b,wB:()=>w,ze:()=>M});var i,r=n(84911),o=n(20755),s=n(62022),a=n(43226),l=n(11892),c=n(86253),u=n(46492),h=n(78748),d=n(69286),p=n(73843),f=n(92425),g=n(55333),m=n(18004),v=n(84787),y=n(45047);class b{}class _{constructor(){this.refresh$=new h.x,this.pseudoInvalid=(0,o.tdS)(null),this.internal=(0,o.tdS)((0,o.f3M)(c.tp,{self:!0,optional:!0})),this.control=(0,o.f3M)(a.a5,{self:!0}),this.destroyRef=(0,o.f3M)(o.ktI),this.cdr=(0,o.f3M)(o.sBO),this.transformer=(0,o.f3M)(b,{optional:!0}),this.value=(0,o.Flj)((()=>this.internal())),this.readOnly=(0,o.tdS)(!1),this.touched=(0,o.tdS)(!1),this.status=(0,o.tdS)(void 0),this.disabled=(0,o.Flj)((()=>"DISABLED"===this.status())),this.interactive=(0,o.Flj)((()=>!this.disabled()&&!this.readOnly())),this.invalid=(0,o.Flj)((()=>null!==this.pseudoInvalid()?!!this.pseudoInvalid()&&this.interactive():this.interactive()&&this.touched()&&"INVALID"===this.status())),this.mode=(0,o.Flj)((()=>this.readOnly()?"readonly":this.invalid()?"invalid":"valid")),this.onTouched=l.iD,this.onChange=l.iD,this.control.valueAccessor=this,this.refresh$.pipe((0,d.g)(0),(0,p.O)(null),(0,f.U)((()=>this.control.control)),(0,g.h)(u.Pc),(0,m.x)(),(0,v.w)((t=>(0,y.T)(t.valueChanges,t.statusChanges))),(0,s.sL)(this.destroyRef)).subscribe((()=>{this.update()}))}set readOnlySetter(t){this.readOnly.set(t)}set invalidSetter(t){this.pseudoInvalid.set(t)}registerOnChange(t){this.refresh$.next(),this.onChange=e=>{e!==this.internal()&&(t(this.toControlValue(e)),this.internal.set(e),this.update())}}registerOnTouched(t){this.onTouched=()=>{t(),this.update()}}setDisabledState(){this.update()}writeValue(t){const e=this.control instanceof a.On?this.control.model:t;this.internal.set(this.fromControlValue(e)),this.update()}fromControlValue(t){return this.transformer?this.transformer.fromControlValue(t):t}toControlValue(t){return this.transformer?this.transformer.toControlValue(t):t}update(){this.status.set(this.control.control?.status),this.touched.set(!!this.control.control?.touched),this.cdr.markForCheck()}}function w(t){return(0,u.Q2)(_,t)}(i=_).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,inputs:{readOnlySetter:["readOnly","readOnlySetter"],invalidSetter:["invalid","invalidSetter"]}}),(0,r.gn)([u.UM],_.prototype,"fromControlValue",null),(0,r.gn)([u.UM],_.prototype,"toControlValue",null);let x=(()=>{var t;class e{constructor(){this.change$=new h.x}ngOnChanges(){this.change$.next()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,features:[o.TTD]}),e})();const C=["viewContainer"];let k=(()=>{var t;class e{constructor(){this.injector=(0,o.f3M)(o.gxx),this.nothing=(0,o.f3M)(O).attach(this)}addComponentChild(t){const e=t.createInjector(this.injector),n=this.vcr.createComponent(t.component,{injector:e});return n.changeDetectorRef.detectChanges(),n}addTemplateChild(t,e){return this.vcr.createEmbeddedView(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&o.Gf(C,5,o.s_b),2&t){let t;o.iGM(t=o.CRH())&&(e.vcr=t.first)}}}),e})(),O=(()=>{var t;class e{attach(t){this.host=t}add(t){return this.safeHost.addComponentChild(t)}remove({hostView:t}){t.destroyed||t.destroy()}addTemplate(t,e){return this.safeHost.addTemplateChild(t,e)}removeTemplate(t){t.destroyed||t.destroy()}get safeHost(){if(!this.host)throw new S;return this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();function M(t){return(0,u.Q2)(O,t)}class S extends Error{constructor(){super("")}}class A{constructor(t,e={}){this.message=t,this.context=e}}},11892:(t,e,n)=>{n.d(e,{F:()=>v,fv:()=>y,em:()=>b,f$:()=>m,kU:()=>_,tU:()=>w,LZ:()=>s,Jy:()=>l,iD:()=>a,Mm:()=>o,bg:()=>p,LQ:()=>h,tD:()=>c,R3:()=>f,zy:()=>d,oN:()=>u,Ml:()=>x,Lw:()=>g});var i=n(20755);const r={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},o=new i.n_E,s=[],a=()=>{},l={...r,toJSON:()=>r},c=()=>!1,u=()=>!0,h=(t,e,n=String)=>n(t).toLowerCase().includes(e.toLowerCase()),d=(t,e,n=String)=>n(t).toLowerCase()===e.toLowerCase(),p=(t,e)=>t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e),f=/\D+/g,g={acceptNode:t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},m=" ",v="–",y="-",b="−",_="+",w="​",x="4.0.0-rc.2"},28351:(t,e,n)=>{function i(t,e,n){return n&&nt?e:t}n.d(e,{ek:()=>p,FZ:()=>f,NA:()=>o,cO:()=>l,nN:()=>a,mH:()=>c,K1:()=>k,Oy:()=>O,TU:()=>_,Lr:()=>v,VR:()=>C,ql:()=>b,dt:()=>x,qD:()=>M,F4:()=>y,hV:()=>i});var r=n(11892);const o=7,s=12,a=0,l=9999,c=`${r.f$}${r.F}${r.f$}`,u=6e4,h=36e5,d=864e5,p=10,f=2*p+c.length;var g=n(23880);function m(t,e,n){return Number.isNaN(t)||t<=e?e:t>=n?n:Math.round(t)}const v={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};class y{constructor(t){this.year=t}static isValidYear(t){return Number.isInteger(t)&&(0,g.w)(t,a,l+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 m(t,a,l)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return y.isLeapYear(this.year)}get absoluteLeapYears(){return y.getAbsoluteLeapYears(this.year)}yearBefore({year:t}){return this.year=t}yearAfter({year:t}){return this.year>t}append({year:t=0}){const e=this.year+t;return new y(e)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toJSON(){return this.formattedYear}}class b extends y{constructor(t,e){super(t),this.month=e}static isValidMonth(t,e){return y.isValidYear(t)&&b.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 b(t.getFullYear(),t.getMonth())}static currentUtc(){const t=new Date;return new b(t.getUTCFullYear(),t.getUTCMonth())}static lengthBetween(t,e){const n=t.month+12*t.year;return e.month+12*e.year-n}static normalizeMonthPart(t){return m(t,0,11)}static isValidMonthPart(t){return Number.isInteger(t)&&(0,g.w)(t,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return b.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)*s+this.month+e;return new b(Math.floor(n/s),n%s)}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 _ extends b{constructor(t,e,n){super(t,e),this.day=n}static fromLocalNativeDate(t){return new _(t.getFullYear(),t.getMonth(),t.getDate())}static fromUtcNativeDate(t){return new _(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}static isValidDay(t,e,n){return b.isValidMonth(t,e)&&Number.isInteger(n)&&(0,g.w)(n,1,b.getMonthDaysCount(e,y.isLeapYear(t))+1)}static currentLocal(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),i=t.getDate();return new _(e,n,i)}static currentUtc(){const t=new Date,e=t.getUTCFullYear(),n=t.getUTCMonth(),i=t.getUTCDate();return new _(e,n,i)}static normalizeOf(t,e,n){const i=y.normalizeYearPart(t),r=b.normalizeMonthPart(e),o=_.normalizeDayPart(n,r,i);return new _(i,r,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:i,year:r}=this.parseRawDateString(t,e);return _.normalizeOf(r,i,n)}static jsonParse(t){const{day:e,month:n,year:i}=this.parseRawDateString(t,"YMD");if(!b.isValidMonth(i,n)||!Number.isInteger(e)||!(0,g.w)(e,1,b.getMonthDaysCount(n,y.isLeapYear(i))+1))throw new w(i,n,e);return new _(i,n,e)}static normalizeDayPart(t,e,n){return m(t,1,b.getMonthDaysCount(e,y.isLeapYear(n)))}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const t=this.dayOfWeek(!1);return t===v.Saturday||t===v.Sunday}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 i=(this.year+t)*s+this.month+e;let r=Math.floor(i/s),o=i%s,a=Math.min(this.day,b.getMonthDaysCount(o,y.isLeapYear(r)))+n;for(;a>b.getMonthDaysCount(o,y.isLeapYear(r));)a-=b.getMonthDaysCount(o,y.isLeapYear(r)),11===o?(r++,o=0):o++;for(;a<1;)0===o?(r--,o=11):o--,a+=b.getMonthDaysCount(o,y.isLeapYear(r));return new _(r,o,a)}getFormattedDay(t,e){const n=this.formattedDayPart,i=this.formattedMonthPart,r=this.formattedYear;switch(t){case"YMD":return`${r}${e}${i}${e}${n}`;case"MDY":return`${i}${e}${n}${e}${r}`;default:return`${n}${e}${i}${e}${r}`}}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))}}class w extends Error{constructor(t,e,n){super("")}}class x{constructor(t,e){this.from=t,this.to=e}static sort(t,e){return t.monthSameOrBefore(e)?new x(t,e):new x(e,t)}get isSingleMonth(){return this.from.monthSame(this.to)}monthSame(t){return this.from.monthSame(t.from)&&this.to.monthSame(t.to)}toString(){return`${this.from}${c}${this.to}`}}class C extends x{constructor(t,e){super(t,e),this.from=t,this.to=e}static sort(t,e){return t.daySameOrBefore(e)?new C(t,e):new C(e,t)}static normalizeParse(t,e="DMY"){const n=_.normalizeParse(t.slice(0,p),e);return t.length0,n=e||"HH:MM:SS"===t||!t&&this.seconds>0;return`${this.formatTime(this.hours)}:${this.formatTime(this.minutes)}${n?`:${this.formatTime(this.seconds)}`:""}${e?`.${this.formatTime(this.ms,3)}`:""}`}valueOf(){return this.toAbsoluteMilliseconds()}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toAbsoluteMilliseconds(){return this.hours*h+this.minutes*u+1e3*this.seconds+this.ms}formatTime(t,e=2){return String(t).padStart(e,"0")}}},48606:(t,e,n)=>{n.d(e,{d:()=>g});var i,r=n(84911),o=n(20755),s=n(43226),a=n(65026),l=n(86253),c=n(46492),u=n(92425),h=n(73843),d=n(18004),p=n(14776),f=n(31570);class g{constructor(){this.control=(0,o.f3M)(s.a5,{optional:!0,self:!0}),this.active$=(0,o.f3M)(l.wk),this.zone=(0,o.f3M)(o.R0b),this.el=(0,c.AG)(),this.tuiActiveZoneParent=null,this.subActiveZones=[],this.directParentActiveZone=(0,o.f3M)(g,{skipSelf:!0,optional:!0}),this.tuiActiveZoneChange=this.active$.pipe((0,u.U)((t=>!!t&&this.contains(t))),(0,h.O)(!1),(0,d.x)(),(0,p.T)(1),(0,f.b)((t=>{t||"function"!=typeof this.control?.valueAccessor.onTouched||this.control.valueAccessor.onTouched()})),(0,a.Yr)(this.zone)),this.directParentActiveZone?.addSubActiveZone(this)}set tuiActiveZoneParentSetter(t){this.setZone(t)}ngOnDestroy(){this.directParentActiveZone?.removeSubActiveZone(this),this.tuiActiveZoneParent?.removeSubActiveZone(this)}contains(t){return this.el.contains(t)||this.subActiveZones.some(((e,n,i)=>i.indexOf(e)===n&&e.contains(t)))}setZone(t){this.tuiActiveZoneParent?.removeSubActiveZone(this),t?.addSubActiveZone(this),this.tuiActiveZoneParent=t}addSubActiveZone(t){this.subActiveZones=[...this.subActiveZones,t]}removeSubActiveZone(t){this.subActiveZones=(0,c.WX)(this.subActiveZones,this.subActiveZones.indexOf(t))}}(i=g).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],hostBindings:function(t,e){1&t&&o.NdJ("mousedown.silent",(function(){return 0}),!1,o.evT)},inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"],standalone:!0}),(0,r.gn)([c.UM],g.prototype,"setZone",null)},95079:(t,e,n)=>{n.d(e,{d:()=>i.d});var i=n(48606)},30696:(t,e,n)=>{n.d(e,{bi:()=>M,f$:()=>C});var i=n(62561),r=n(20755),o=n(62022),s=n(1925),a=n(42772),l=n(86253),c=n(73740),u=n(82479),h=n(38356),d=n(92425),p=n(96142),f=n(70134),g=n(21813);class m{constructor(t){this.el=t}get element(){return(this.el.nativeElement.tagName.includes("-")?this.el.nativeElement.querySelector("input,textarea"):this.el.nativeElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}class v extends m{constructor(t,e){super(t),this.animationFrame$=e}setFocus(){var t;this.isTextFieldElement?(0,u.S)((0,s.H)(1e3),this.animationFrame$.pipe((0,h.p)(100),(0,d.U)((()=>this.element.closest(".ng-animating"))),(t=Boolean,(0,p.e)(((e,n)=>{let i=!1,r=0;e.subscribe(new f.Q(n,(e=>(i||(i=!t(e,r++)))&&n.next(e))))}))),(0,g.q)(1))).subscribe((()=>this.element.focus({preventScroll:!0}))):this.element.focus({preventScroll:!0})}}var y=n(46492);const b=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];class _ extends m{constructor(t,e,n,i){super(t),this.renderer=e,this.zone=n,this.win=i,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular((()=>this.iosWebkitAutofocus())):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){const t=this.makeFakeInput(),e=this.getDurationTimeBeforeFocus();let n=0,i=0;const r=()=>t.focus({preventScroll:!0}),o=()=>{clearTimeout(n),n=this.win.setTimeout((()=>{clearTimeout(i),t.removeEventListener("blur",r),t.removeEventListener("focus",o),i=this.win.setTimeout((()=>{this.element.focus({preventScroll:!1}),t.remove()}),e)}))};t.addEventListener("blur",r,{once:!0}),t.addEventListener("focus",o),this.insideDialog()?this.win.document.body.appendChild(t):this.element.parentElement?.appendChild(t),t.focus({preventScroll:!0})}makeFakeInput(){const t=this.renderer.createElement("input"),e=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(t),t.style.height=(0,y.O9)(e.height),t.style.width=(0,y.O9)(e.width/2),t.style.position="fixed",t.style.zIndex="-99999999",t.style.caretColor="transparent",t.style.border="none",t.style.outline="none",t.style.color="transparent",t.style.background="transparent",t.style.cursor="none",t.style.fontSize=(0,y.O9)(16),t.style.top=(0,y.O9)(e.top),t.style.left=(0,y.O9)(e.left),t}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach((t=>{t.style.setProperty("overflow","auto"),t.style.setProperty("height","100%")}))}patchFakeInputFromFocusableElement(t){b.forEach((e=>{const n=this.element.getAttribute(e);(0,y.Pc)(n)&&t.setAttribute(e,n)}))}}const w={delay:NaN},x=(0,c.JN)(w);function C(t){return(0,c.vK)(x,t,w)}const k=new r.OlP("[TUI_AUTOFOCUS_HANDLER]"),O=[{provide:k,useFactory:(t,e,n,i,r,o)=>o?new _(t,n,i,r):new v(t,e),deps:[r.SBq,a.L1,r.Qsj,r.R0b,a.m9,l.FA]}];let M=(()=>{var t;class e{constructor(){this.handler=(0,r.f3M)(k),this.options=(0,r.f3M)(x),this.destroyRef=(0,r.f3M)(r.ktI)}ngAfterViewInit(){this.autoFocus&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then((()=>this.handler.setFocus())):(0,s.H)(this.options.delay).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>this.handler.setFocus()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus",i.Ig]},standalone:!0,features:[r._Bn(O),r.Xq5]}),e})()},49148:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(20755),r=n(46492);let o=(()=>{var t;class e{constructor(){return this.nativeElement=(0,r.AG)(),new i.SBq(this.nativeElement)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"],standalone:!0}),e})()},69008:(t,e,n)=>{n.d(e,{m:()=>a});var i=n(76733),r=n(20755),o=n(55181),s=n(52674);let a=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,o.AG)(),this.activeElement=(0,s.ie)(this.doc),Promise.resolve().then((()=>this.el.focus()))}ngOnDestroy(){(0,s.hp)(this.doc),Promise.resolve().then((()=>{(0,o.dW)(this.activeElement)&&this.activeElement.focus()}))}onBlur(){this.el.removeAttribute("tabIndex")}onFocusIn(t){(0,o.PP)(this.el,t)||(0,s.BW)({initial:this.el,root:this.el})?.focus()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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)},standalone:!0}),e})()},7479:(t,e,n)=>{n.d(e,{et:()=>f,gs:()=>p});var i=n(20755),r=n(11892),o=n(65026),s=(n(86253),n(46492)),a=n(48132),l=n(45047),c=n(92425),u=n(55333),h=n(18004);function d({currentTarget:t,relatedTarget:e}){return!(0,s.ve)(e)||!(0,s.ve)(t)||!t.contains(e)}let p=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.el=(0,s.AG)(),this.zone=(0,i.f3M)(i.R0b),this.stream$=(0,l.T)((0,o.mL)(this.el,"mouseenter").pipe((0,c.U)(r.oN)),(0,o.mL)(this.el,"mouseleave").pipe((0,c.U)(r.tD)),(0,o.mL)(this.el,"mouseout").pipe((0,u.h)(d),(0,c.U)(r.tD))).pipe((0,h.x)(),(0,o.Yr)(this.zone))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),f=(()=>{var t;class e{constructor(){this.tuiHoveredChange=(0,i.f3M)(p)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},standalone:!0,features:[i._Bn([p])]}),e})()},62417:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiItem",""]],standalone:!0}),e})()},81929:(t,e,n)=>{n.d(e,{i:()=>o});var i=n(20755);class r{constructor(t){this.internalDirectiveInstance=t}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let o=(()=>{var t;class e{constructor(){(0,i.f3M)(i.s_b).createEmbeddedView((0,i.f3M)(i.Rgc),new r(this))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"},standalone:!0}),e})()},82527:(t,e,n)=>{n.d(e,{k:()=>l});var i=n(20755),r=n(43226),o=n(65026),s=n(46492),a=n(1925);let l=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.zone=(0,i.f3M)(i.R0b),this.host=(0,s.AG)(),this.tuiNativeValidator="Invalid"}validate(t){return this.control=t,(0,a.H)(0).pipe((0,o.fL)(this.zone),(0,o.Wo)(this.destroyRef)).subscribe((()=>this.handleValidation())),null}handleValidation(){this.el.setCustomValidity?.(this.control?.touched&&this.control?.invalid?this.tuiNativeValidator:"")}get el(){return this.host.querySelector("input,textarea,select")||this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNativeValidator",""]],hostBindings:function(t,e){1&t&&i.NdJ("blur",(function(){return e.handleValidation()}))},inputs:{tuiNativeValidator:"tuiNativeValidator"},standalone:!0,features:[i._Bn([(0,s.Q2)(r.Cf,t,!0)])]}),e})()},42833:(t,e,n)=>{n.d(e,{Q:()=>g});var i=n(20755),r=n(95079),o=n(65026),s=n(78748),a=n(92425),l=n(42772),c=n(55181),u=n(48132),h=n(38356),d=n(73843),p=n(18004);let f=(()=>{var t;class e extends u.y{constructor(){super((t=>this.obscured$.subscribe(t))),this.el=(0,c.AG)(),this.obscured$=(0,i.f3M)(l.L1).pipe((0,h.p)(100),(0,a.U)((()=>(0,c.PU)(this.el))),(0,d.O)(null),(0,p.x)(),(0,o.Yr)((0,i.f3M)(i.R0b)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.enabled$=new s.x,this.obscured$=(0,i.f3M)(f,{self:!0}).pipe((0,a.U)((t=>!!t?.every((t=>!this.activeZone?.contains(t)))))),this.tuiObscured=this.enabled$.pipe((0,o.Xd)((()=>this.obscured$)))}set tuiObscuredEnabled(t){this.enabled$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},standalone:!0,features:[i._Bn([f])]}),e})()},32423:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(20755),r=n(86253);let o=(()=>{var t;class e{constructor(){this.tuiPlatform=(0,i.f3M)(r.ff,{skipSelf:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiPlatform",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-platform",e.tuiPlatform)},inputs:{tuiPlatform:"tuiPlatform"},standalone:!0,features:[i._Bn([{provide:r.ff,useFactory:()=>(0,i.f3M)(t).tuiPlatform}])]}),e})()},11320:(t,e,n)=>{n.d(e,{z:()=>d});var i=n(20755),r=n(65026),o=n(10676),s=n(25690),a=n(78748),l=n(18004),c=n(91105),u=n(93311),h=n(88557);let d=(()=>{var t;class e extends s.GL{constructor(){super(...arguments),this.service=(0,i.f3M)(o.IS),this.open$=new a.x,this.options={},this.open=!1,this.openChange=this.open$.pipe((0,l.x)(),(0,r.Xd)((()=>this.service.open(this,this.options).pipe((0,c.l)(),(0,u.l)(!1)))),(0,h.B)())}ngOnChanges(){this.open$.next(this.open)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj,i.TTD]}),e})()},80313:(t,e,n)=>{n.d(e,{d:()=>s});var i=n(20755),r=n(58373);class o{constructor(t){this.$implicit=t}}let s=(()=>{var t;class e{constructor(){this.viewContainer=(0,i.f3M)(i.s_b),this.templateRef=(0,i.f3M)(i.Rgc)}set tuiRepeatTimesOf(t){const e=Math.floor((0,r.K)(t,0,65536)),{length:n}=this.viewContainer;t{n.d(e,{I:()=>o,h:()=>a});var i=n(49148),r=n(20755);let o=(()=>{var t;class e extends i.v{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizable",""]],standalone:!0,features:[r.qOj]}),e})();var s=n(73740);let a=(()=>{var t;class e{constructor(){this.resizable=(0,r.f3M)(o),this.x=NaN,this.y=NaN,this.width=0,this.height=0,this.tuiResizer=[0,0],this.tuiSizeChange=new r.vpe}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onPointerDown(t,e){this.x=t,this.y=e,this.width=this.resizable.nativeElement.clientWidth,this.height=this.resizable.nativeElement.clientHeight}onPointerMove({x:t,y:e,buttons:n}){n?this.onMove(t,e):this.onPointerUp()}onPointerUp(){this.x=NaN}onMove(t,e){if(Number.isNaN(this.x))return;const{style:n}=this.resizable.nativeElement,i=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,s.O9)(i[0])),this.tuiResizer[1]&&(n.height=(0,s.O9)(i[1])),this.tuiSizeChange.emit(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("pointerdown.silent.prevent",(function(t){return e.onPointerDown(t.x,t.y)}))("pointermove.silent",(function(t){return e.onPointerMove(t)}),!1,r.evT)("pointerup.silent",(function(){return e.onPointerUp()}),!1,r.evT),2&t&&r.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"},standalone:!0}),e})()},69838:(t,e,n)=>{n.d(e,{tB:()=>g,$D:()=>f});var i=n(20755),r=n(76733),o=n(65026),s=n(55181),a=n(73740),l=n(48132),c=n(45047),u=n(74114),h=n(55333),d=n(92425);const p=(0,n(46492).JN)({timeout:500,threshold:30});let f=(()=>{var t;class e extends l.y{constructor(){const t=(0,i.f3M)(r.K0),e=(0,s.AG)(),{timeout:n,threshold:l}=(0,i.f3M)(p);super((i=>{(0,c.T)((0,o.mL)(e,"touchstart",{passive:!0}),(0,o.mL)(t,"touchend")).pipe((0,u.G)(),(0,h.h)((([t,e])=>!!t.touches.length&&t.touches[0].identifier===e.changedTouches[0].identifier)),(0,d.U)((([t,e])=>{const i=t.touches[0].clientX,r=t.touches[0].clientY,o=i-e.changedTouches[0].clientX,s=r-e.changedTouches[0].clientY,a=e.timeStamp-t.timeStamp;return(Math.abs(o)>l||Math.abs(s)>l)&&aMath.abs(c)?u>0?"top":"bottom":c>0?"left":"right"),events:[t,e]}:null;var c,u})),(0,h.h)(a.Pc)).subscribe(i)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.tuiSwipe=(0,i.f3M)(f)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiSwipe",""]],outputs:{tuiSwipe:"tuiSwipe"},standalone:!0,features:[i._Bn([f])]}),e})()},65026:(t,e,n)=>{n.d(e,{EK:()=>o,mM:()=>y,Xd:()=>k,mp:()=>_,ll:()=>O,pt:()=>M,Wo:()=>I,mL:()=>m,NA:()=>D,Yr:()=>F,fL:()=>N,Ao:()=>z});var i=n(48132),r=n(73843);function o(t){return new i.y((e=>{if(!t?.valueChanges)throw new s;return t.valueChanges.pipe((0,r.O)(t.value)).subscribe(e)}))}class s extends Error{constructor(){super("")}}var a=n(73740),l=n(45623),c=n(21813),u=n(92425),h=n(45047),d=n(93311),p=n(85228),f=n(74842),g=n(10409);function m(t,e,n={}){return(0,g.R)(t,e,n)}class v{constructor(t,e){this.stage=t,this.event=e}}function y(t){const{ownerDocument:e}=t;return(0,l.z)(m(t,"mousedown").pipe((0,c.q)(1),(0,u.U)((t=>new v("start",t)))),(0,h.T)(m(e,"mousemove").pipe((0,u.U)((t=>new v("continues",t)))),(0,h.T)(m(e,"mouseup"),m(e,"dragend")).pipe((0,c.q)(1),(0,u.U)((t=>new v("end",t))),(0,d.l)(null))).pipe((0,p.o)(a.Pc))).pipe((0,f.r)())}var b=n(31570);function _(){return(0,b.b)((t=>t.preventDefault()))}var w=n(22222),x=n(84787),C=n(30453);function k(t,e=Boolean){return(0,w.z)((0,x.w)((n=>e(n)?t(n):C.E)))}function O(t){return t.changes.pipe((0,r.O)(null),(0,u.U)((()=>(0,a.gD)(t))))}function M(t){return m(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}var S=n(62022),A=n(81749),P=n(14553),E=n(17560),T=n(80407);function I(t){return(0,w.z)((0,A.R)(P.C.pipe((0,S.sL)(t),(0,E.K)((()=>C.E)),(0,T.d)(null))))}function D(t){return(0,b.b)((()=>t.markForCheck()))}function z(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()))})))}function N(t){return e=>new i.y((n=>t.runOutsideAngular((()=>e.subscribe(n)))))}function F(t){return(0,w.z)(N(t),z(t))}},86198:(t,e,n)=>{n.d(e,{c:()=>r});var i=n(20755);let r=(()=>{var t;class e{transform(t,e,...n){return e(t,...n)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMapper",type:t,pure:!0,standalone:!0}),e})()},10676:(t,e,n)=>{n.d(e,{ll:()=>r,IS:()=>l,FY:()=>x,Fr:()=>A,D$:()=>c});var i=n(20755);let r=(()=>{var t;class e{generate(){return`tui_${e.autoId++}${Date.now()}`}}return(t=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var o=n(46492),s=n(25690),a=n(48132);let l=(()=>{var t;class e{constructor(t,e,n={}){this.options=n,this.id=(0,i.f3M)(r),this.component=new s.Al(e),this.items$=(0,i.f3M)(t)}open(t,e={}){return new a.y((n=>{const i={...this.options,...e,content:t,$implicit:n,component:this.component,createdAt:Date.now(),id:this.id.generate(),completeWith:t=>{n.next(t),n.complete()}};return this.items$.next([...this.items$.value,i]),()=>{this.items$.next(this.items$.value.filter((t=>t!==i)))}}))}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function c(t){return(0,o.Q2)(l,t)}var u=n(42772),h=n(58373),d=n(73740),p=n(71209),f=n(83562),g=n(84787),m=n(92425),v=n(81749),y=n(1925),b=n(93311),_=n(31570);function w(t){return"scrollX"in t?t.scrollX:t.scrollLeft}let x=(()=>{var t;class e{constructor(){this.performanceRef=(0,i.f3M)(u.KS),this.animationFrame$=(0,i.f3M)(u.L1)}scroll$(t,e,n=w(t),i=300){const r=function(t){return"scrollY"in t?t.scrollY:t.scrollTop}(t),o=w(t),s=e-r,a=n-o;return(i?(0,f.P)((()=>(0,p.of)(this.performanceRef.now()))).pipe((0,g.w)((t=>this.animationFrame$.pipe((0,m.U)((e=>e-t))))),(0,m.U)((t=>(0,d.Xg)((0,h.K)(t/i,0,1)))),(0,m.U)((t=>[r+s*t,o+a*t])),(0,v.R)((0,y.H)(i)),(0,b.l)([e,n])):(0,p.of)([e,n])).pipe((0,_.b)((([e,n])=>{t.scrollTo?.(n,e)})))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var C=n(8239),k=n(20530),O=n(84911),M=n(70134),S=n(46974);let A=(()=>{var t;class e{constructor(){this.cache=new Map}request(t){const e=this.cache.get(t);if(e)return e;const n=function(t,e={}){const{selector:n}=e,i=(0,O._T)(e,["selector"]);return new a.y((e=>{const r=new AbortController,{signal:o}=r;let s=!0;const{signal:a}=i;if(a)if(a.aborted)r.abort();else{const t=()=>{o.aborted||r.abort()};a.addEventListener("abort",t),e.add((()=>a.removeEventListener("abort",t)))}const l=Object.assign(Object.assign({},i),{signal:o}),c=t=>{s=!1,e.error(t)};return fetch(t,l).then((t=>{n?(0,S.Xf)(n(t)).subscribe(new M.Q(e,void 0,(()=>{s=!1,e.complete()}),c)):(s=!1,e.next(t),e.complete())})).catch(c),()=>{s&&r.abort()}}))}(t).pipe((0,g.w)(function(){var e=(0,C.Z)((function*(e){if(e.ok)return e.text();throw new Error(`Failed to load ${t} (${e.statusText})`)}));return function(t){return e.apply(this,arguments)}}()),(0,k.d)({bufferSize:1,refCount:!1}));return this.cache.set(t,n),n}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},86253:(t,e,n)=>{n.d(e,{wk:()=>O,I2:()=>M,tp:()=>R,oD:()=>L,FA:()=>T,fL:()=>E,jF:()=>D,ff:()=>z,i0:()=>j,fM:()=>V,Ai:()=>B});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(46492),l=n(45047),c=n(92425),u=n(55333),h=n(81749),d=n(74842),p=n(17544),f=n(84787),g=n(71209),m=n(73843),v=n(21813),y=n(1925),b=n(18004),_=n(88557),w=n(80396),x=n(56424);const C=(0,a.N1)((()=>{const t={onRemovalComplete:()=>{}},e=new x.X(null),n=(0,r.f3M)(w.Th,r.XFs.Optional)||t,{onRemovalComplete:i=t.onRemovalComplete}=n;return n.onRemovalComplete=(t,r)=>{e.next(t),i.call(n,t,r)},e.pipe((0,f.w)((t=>(0,y.H)(0).pipe((0,c.U)((()=>null)),(0,m.O)(t)))),(0,_.B)())}));function k(t,e=null){return(0,a.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!e?.contains(t)}const O=(0,a.N1)((()=>{const t=(0,r.f3M)(C),e=(0,r.f3M)(o.m9),n=(0,r.f3M)(i.K0),w=(0,s.mL)(e,"focusout",{capture:!0}),x=(0,s.mL)(e,"focusin",{capture:!0}),O=(0,s.mL)(e,"blur"),M=(0,s.mL)(e,"mousedown"),S=(0,s.mL)(e,"mouseup");return(0,l.T)(w.pipe((0,h.R)(M),(0,d.r)({delay:()=>S}),(0,p.M)(t),(0,u.h)((([t,e])=>k((0,a.mA)(t),e))),(0,c.U)((([{relatedTarget:t}])=>t))),O.pipe((0,c.U)((()=>n.activeElement)),(0,u.h)((t=>!!t?.matches("iframe")))),x.pipe((0,f.w)((t=>{const e=(0,a.mA)(t),i=(0,a.Wf)(e);return i===n?(0,g.of)(e):function(t){return(0,l.T)((0,s.mL)(t,"focusin").pipe((0,c.U)((({target:t})=>t))),(0,s.mL)(t,"focusout").pipe((0,u.h)((({target:t,relatedTarget:e})=>!!e&&k(t))),(0,c.U)((({relatedTarget:t})=>t))))}(i).pipe((0,m.O)(e))}))),M.pipe((0,f.w)((t=>{const e=(0,a.mA)(t);return n.activeElement&&n.activeElement!==n.body?w.pipe((0,v.q)(1),(0,c.U)((()=>e)),(0,h.R)((0,y.H)(0))):(0,g.of)(e)})))).pipe((0,b.x)(),(0,_.B)())})),M=(0,a.N1)((()=>(0,r.f3M)(i.K0).querySelector("base")?.href??""));var S=n(11892);const A=/(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/,P=/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-/,E=(0,a.N1)((()=>A.test((0,r.f3M)(o.yZ).toLowerCase())||P.test((0,r.f3M)(o.yZ).slice(0,4).toLowerCase()))),T=(0,a.N1)((()=>(0,a.i1)((0,r.f3M)(o.s5)))),I=(0,a.N1)((()=>(0,r.f3M)(E)&&!(0,r.f3M)(T))),D=(0,a.N1)((()=>!!(0,r.f3M)(o.m9)?.webkitConvertPointFromNodeToPage)),z=(0,a.N1)((()=>(0,r.f3M)(T)?"ios":(0,r.f3M)(I)?"android":"web")),N=(0,a.N1)((()=>!!(0,r.f3M)(o.m9).Cypress)),F=(0,a.N1)(S.tD),L=(0,a.N1)((()=>(0,r.f3M)(N)||(0,r.f3M)(F))),R=new r.OlP("");function B(t){return{provide:R,useValue:t}}const j=(0,a.N1)((()=>(0,i.NF)((0,r.f3M)(r.Lbi))?new Range:{}));var H=n(20530);const V=new r.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const t=(0,r.f3M)(o.m9);return(0,s.mL)(t,"resize").pipe((0,m.O)(null),(0,c.U)((()=>{const e=Math.max(t.document.documentElement.clientWidth||0,t.innerWidth||0,t.visualViewport?.width||0),n=Math.max(t.document.documentElement.clientHeight||0,t.innerHeight||0,t.visualViewport?.height||0),i={width:e,height:n,top:0,left:0,right:e,bottom:n,x:0,y:0};return{...i,toJSON:()=>JSON.stringify(i)}})),(0,H.d)({bufferSize:1,refCount:!0}))}})},21247:(t,e,n)=>{n.d(e,{i:()=>r});const i=/ipad|iphone|ipod/;function r(t){return i.test(t.userAgent.toLowerCase())||function(t){return t.platform.startsWith("Mac")||"iPhone"===t.platform}(t)&&t.maxTouchPoints>1}},50109:(t,e,n)=>{function i(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]}n.d(e,{R:()=>i})},79611:(t,e,n)=>{function i(t,e,n){return`#${[t,e,n].map((t=>t.toString(16).padStart(2,"0"))).join("")}`}n.d(e,{W:()=>i})},55181:(t,e,n)=>{function i(t,e){try{return t.contains(e)||!!(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}catch{return!1}}function r(t){return t.matches("input")}function o(t){return r(t)||function(t){return t.matches("textarea")}(t)}function s(t){return!!t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function a(t){return!!t&&t instanceof t.ownerDocument.defaultView.HTMLElement}function l(t){return t.nodeType===Node.TEXT_NODE}function c(t){return t.composedPath()[0]}n.d(e,{PP:()=>i,mA:()=>c,Nn:()=>h,Wf:()=>d,PU:()=>g,YX:()=>m,AG:()=>y,ve:()=>s,Hn:()=>b,dW:()=>a,Ls:()=>r,FP:()=>_,wq:()=>l,qY:()=>o,dD:()=>w,UP:()=>x});const u="text/plain";function h(t,e=u){return"clipboardData"in t&&null!==t.clipboardData?t.clipboardData.getData(e)||t.clipboardData.getData(u):t.target.ownerDocument.defaultView.clipboardData.getData("text")}function d(t){return"getRootNode"in t&&t.isConnected?t.getRootNode():t.ownerDocument}var p=n(58373),f=n(73740);function g(t){const{ownerDocument:e}=t;if(!e?.defaultView||!t.getBoundingClientRect)return null;const{innerWidth:n,innerHeight:i}=e.defaultView,r=d(t),o=t.getBoundingClientRect();if(0===o.width&&0===o.height)return null;const s=(0,p.K)(Math.round(o.left)+2,0,n),a=(0,p.K)(Math.round(o.top)+2,0,i),l=(0,p.K)(Math.round(o.right)-2,0,n),c=(0,p.K)(Math.round(o.bottom)-2,0,i),u=(0,p.K)(Math.round(o.left+o.width/2),0,n),h=(0,p.K)(Math.round(o.top+o.height/2),0,i),g=[r.elementFromPoint(u,a),r.elementFromPoint(u,c),r.elementFromPoint(s,h),r.elementFromPoint(l,h)].filter(f.Pc);if(!g.length)return[];const m=g.filter((e=>!t.contains(e)&&!e.contains(t)));return 4===m.length?m:null}function m(t,e){let{offsetTop:n,offsetLeft:i,offsetParent:r}=e;for(;a(r)&&r!==t;)n+=r.offsetTop,i+=r.offsetLeft,r=r.offsetParent;return{offsetTop:n,offsetLeft:i}}var v=n(20755);function y(){return(0,v.f3M)(v.SBq).nativeElement}function b(t){return o(t)&&!t.readOnly||!!t.isContentEditable}function _(t,e){return l(t)?!!t.parentElement?.closest(e):s(t)&&!!t.closest(e)}function w(t=0,e=0){const n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return{...n,toJSON:()=>n}}function x(t){return"explicitOriginalTarget"in t?t?.explicitOriginalTarget!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===t?.detail}},52674:(t,e,n)=>{n.d(e,{hp:()=>o,BW:()=>c,ie:()=>r,V8:()=>u,zb:()=>h,dT:()=>a,_h:()=>l,VR:()=>d});var i=n(55181);function r({activeElement:t}){if(!t?.shadowRoot)return t;let e=t.shadowRoot.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e}function o(t){const e=r(t);(0,i.dW)(e)&&e.blur()}var s=n(11892);function a(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,i.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:r=!0}){if(!e.ownerDocument)return null;const o=r?a:l,c=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s.Lw);for(c.currentNode=t;n?c.previousNode():c.nextNode();)if((0,i.dW)(c.currentNode)&&(t=c.currentNode),(0,i.dW)(t)&&o(t))return t;return null}function u(t){return!!t?.ownerDocument&&r(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){const e=t?.ownerDocument&&r(t.ownerDocument);return!!e&&t.contains(e)&&!!t.ownerDocument?.hasFocus()}function d(t,e,n){for(t+=n;t>=0&&t{n.d(e,{WX:()=>g.WX,Ki:()=>p.K,JN:()=>g.JN,N1:()=>g.N1,A2:()=>g.A2,q2:()=>g.q2,mA:()=>h.mA,BW:()=>d.BW,Wf:()=>h.Wf,ie:()=>d.ie,RO:()=>r.R,qZ:()=>s,AG:()=>h.AG,ve:()=>h.ve,i1:()=>i.i,zb:()=>d.zb,_h:()=>d._h,FP:()=>h.FP,dt:()=>g.dt,Pc:()=>g.Pc,Aj:()=>g.Aj,wq:()=>h.wq,qY:()=>h.qY,lj:()=>g.lj,Mp:()=>l,Q2:()=>g.Q2,vK:()=>g.vK,UM:()=>g.UM,O9:()=>g.O9,WS:()=>c.W,bD:()=>u,FG:()=>f.FG});var i=n(21247),r=n(50109);function o(t,e,n,i){const r=(i+t/60)%6;return Math.round(n-n*e*Math.max(Math.min(r,4-r,1),0))}function s(t,e,n){return[o(t,e,n,5),o(t,e,n,3),o(t,e,n,1)]}const a=[0,0,0,1];function l(t){const e=t.replace("#","").replace("rgba(","").replace("rgb(","").replace(")",""),n=e.split(",").map((t=>parseFloat(t)));if(4===n.length)return n;if(3===n.length)return n.concat(1);const i=e.match(new RegExp(`(.{${e.length/3}})`,"g"));if(!i)return a;const r=i.map((t=>parseInt(e.length%2?t+t:t,16)));return[r[0]||a[0],r[1]||a[1],r[2]||a[2],void 0===r[3]?a[3]:r[3]]}var c=n(79611);function u(t,e,n){const i=Math.max(t,e,n),r=i-Math.min(t,e,n),o=r&&(i===t?(e-n)/r:i===e?2+(n-t)/r:4+(t-e)/r);return[60*(o<0?o+6:o),i&&r/i,i]}var h=n(55181),d=n(52674),p=n(58373),f=n(72478),g=n(73740)},58373:(t,e,n)=>{function i(t,e,n){return Math.min(n,Math.max(e,t))}n.d(e,{K:()=>i})},23880:(t,e,n)=>{function i(t,e,n){return t>=e&&ti})},72478:(t,e,n)=>{n.d(e,{Br:()=>s,FG:()=>o,OT:()=>a,h4:()=>l});const i=292;function r(t,e,n){if(t===1/0)return t;e=Math.min(e,i);const r=`${t}e`.split("e"),o=`${n(Number(`${r[0]}e${Number(r[1])+e}`))}e`.split("e");return Number(`${o[0]}e${Number(o[1])-e}`)}function o(t,e=0){return r(t,e,Math.round)}function s(t,e=0){return r(t,e,Math.ceil)}function a(t,e=0){return r(t,e,Math.floor)}function l(t,e=0){return r(t,e,Math.trunc)}},73740:(t,e,n)=>{function i(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function r(t,e){return t.length===e.length&&t.every(((t,n)=>t===e[n]))}function o(t,e){const n=t.indexOf(e);return-1===n?[...t,e]:i(t,n)}n.d(e,{Yl:()=>s,WX:()=>i,Hh:()=>r,jp:()=>o,JN:()=>l,N1:()=>c,A2:()=>h,Vx:()=>d,q2:()=>p,Xg:()=>f,gD:()=>g,Mv:()=>m,dt:()=>v,Pc:()=>y,Aj:()=>u,lj:()=>b,J$:()=>_,Q2:()=>w,vK:()=>x,UM:()=>k,O9:()=>M,pf:()=>S,__:()=>P});const s=(t,e)=>t.replaceAll(/[^0-9A-Za-zА-Яа-я]/gi,e);var a=n(20755);function l(t){return c((()=>t))}function c(t){return new a.OlP("",{factory:t})}function u(t){return"string"==typeof t}function h(t,e){return t===e?0:u(t)&&u(e)?t.localeCompare(e):t>e?1:-1}function d(t,e,n,i={self:!0}){const r=(0,a.$Zp)(n)?n:(0,a.tdS)(n),o=(0,a.f3M)(t,i),s=o[`${e.toString()}Change`];let l;return(0,a.cEC)((()=>{const t=r();l!==t&&((0,a.$Zp)(o[e])?o[e].set(t):o[e]=t,o.ngOnChanges?.({}),s?.emit?.(t),l=t)}),{allowSignalWrites:!0}),r}function p({touches:t}){return Math.hypot(t[0].clientX-t[1].clientX,t[0].clientY-t[1].clientY)}function f(t){return t<.5?2*t*t:(4-2*t)*t-1}function g(t){let e=[];return t.find(((t,n,i)=>(e=i,!0))),e}function m(t){return!t}function v(t){return"number"==typeof t}function y(t){return null!=t}function b(t){return new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|localhost|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}function _(t,e,n){return null===t?null===e:null!==e&&n(t,e)}function w(t,e,n=!1){return{provide:t,useExisting:e,multi:n}}function x(t,e,n){return{provide:t,deps:[[new a.FiY,new a.tp0,t]],useFactory:t=>({...t||n,...e})}}function C(t,e,n=!0){return function(){const i=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:i}),i}}function k(t,e,n){if("function"==typeof t){const n=e;if("getter"===n.kind)return C(t,n.name);if("method"===n.kind)return function(t){let e,n=[],i=!1;return function(...r){return i&&n.length===r.length&&r.every(((t,e)=>t===n[e]))||(n=r,e=t.apply(this,r),i=!0),e}}(t);throw new O}const{get:i,enumerable:r,value:o}=n,s=e;if(i)return{configurable:!0,enumerable:r,get:C(i,s,r)};if("function"!=typeof o)throw new O;const a=o;return{configurable:!0,enumerable:r,get(){let t,e=[],n=!1;const i=(...i)=>(n&&e.length===i.length&&i.every(((t,n)=>t===e[n]))||(e=i,t=a.apply(this,i),n=!0),t);return Object.defineProperty(this,s,{configurable:!0,value:i}),i}}}class O extends Error{constructor(){super("")}}function M(t){return`${t}px`}function S(t,e){return Array.from(t.reduce(((t,n)=>t.has(n[e])?t:t.set(n[e],n)),new Map).values())}const A=c((()=>{const t=new Map;return(0,a.f3M)(a.ktI).onDestroy((()=>t.forEach((t=>t.destroy())))),t}));function P(t){const e=(0,a.f3M)(A),n=(0,a.f3M)(a.lqb);e.has(t)||e.set(t,(0,a.LMc)(t,{environmentInjector:n}))}},34138:(t,e,n)=>{n.d(e,{i9:()=>h,QF:()=>u,eu:()=>c,Hp:()=>l,B_:()=>a,Gw:()=>d,X9:()=>p});var i=n(12405);const r="{{duration}}ms ease-in-out",o={params:{duration:300}},s=300,a=(0,i.X$)("tuiParentAnimation",[(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])]),l=((0,i.X$)("tuiParentStop",[(0,i.eR)(":enter",[])]),(0,i.X$)("tuiHost",[(0,i.eR)(":enter",[(0,i.oB)({overflow:"clip"}),(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})]),(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])])),c=(0,i.X$)("tuiHeightCollapse",[(0,i.eR)(":enter",[(0,i.oB)({height:0}),(0,i.jt)(r,(0,i.oB)({height:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({height:"*"}),(0,i.jt)(r,(0,i.oB)({height:0}))],o)]),u=((0,i.X$)("tuiHeightCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({height:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({height:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiWidthCollapse",[(0,i.eR)(":enter",[(0,i.oB)({width:0}),(0,i.jt)(r,(0,i.oB)({width:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({width:"*"}),(0,i.jt)(r,(0,i.oB)({width:0}))],o)]),(0,i.X$)("tuiWidthCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({width:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({width:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeIn",[(0,i.eR)(":enter",[(0,i.oB)({opacity:0}),(0,i.jt)(r,(0,i.oB)({opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({opacity:1}),(0,i.jt)(r,(0,i.oB)({opacity:0}))],o)])),h=((0,i.X$)("tuiFadeInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({opacity:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:1}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({opacity:1}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,i.X$)("tuiFadeInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,i.X$)("tuiDropdownAnimation",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),d=((0,i.X$)("tuiScaleIn",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiPop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiScaleInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideIn",[(0,i.eR)("* => left",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("left => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o),(0,i.eR)("* => right",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("right => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)])),p=((0,i.X$)("tuiSlideInLeft",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o)]),(0,i.X$)("tuiSlideInLeftList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInRight",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)]),(0,i.X$)("tuiSlideInRightList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translate3d(0,{{start}},0)",pointerEvents:"none"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,i.eR)(":leave",[(0,i.oB)({transform:"translate3d(0,{{end}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,i.X$)("tuiSlideInTopList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))],o)]),(0,i.X$)("tuiSlideInBottomList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},52540:(t,e,n)=>{n.d(e,{kk:()=>_,qz:()=>x,uG:()=>s,O4:()=>a,UK:()=>w,P7:()=>d,Ic:()=>p,Fe:()=>b,Zy:()=>c,ei:()=>u,Wk:()=>h});var i=n(20755),r=n(73740);class o{}class s extends o{}class a extends o{}function l(t,e,n){return{provide:t,deps:[[new i.tp0,new i.FiY,t],n],useFactory:c(e)}}function c(t){return(e,n)=>e?.find?.((e=>e!==n&&e.type===t))||n}function u(t,e){return l(s,t,e)}function h(t,e){return l(a,t,e)}function d(t){return(0,r.Q2)(s,t,!0)}function p(t){return(0,r.Q2)(a,t,!0)}var f=n(62022),g=n(48132),m=n(45047),v=n(18004);class y{}function b(t){return(0,r.Q2)(y,t,!0)}class _ extends g.y{}function w(t){return(0,r.Q2)(_,t,!0)}let x=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.drivers=(0,i.f3M)(_),this.vehicles=(0,i.f3M)(y)}ngOnInit(){const t=this.vehicles.find((({type:t})=>t===this.type));(0,m.T)(...this.drivers.filter((({type:t})=>t===this.type))).pipe((0,v.x)(),(0,f.sL)(this.destroyRef)).subscribe((e=>{t?.toggle(e)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})()},75097:(t,e,n)=>{n.d(e,{J9:()=>I,Jp:()=>L});var i=n(76733),r=n(20755),o=n(62022),s=n(55181),a=n(34138),l=n(94030),c=n(41589),u=n(82510),h=n(25690),d=n(1925),p=n(81749),f=n(10409),g=n(74842),m=n(86253),v=n(73740),y=n(56424),b=n(38442),_=n(71209),w=n(92425);const x={autoClose:3e3,label:"",closeable:!0,data:void 0},C=(0,v.N1)((()=>({...x,...(0,r.f3M)(l.Ln)}))),k=(0,v.N1)((()=>(0,r.f3M)(m.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto")),O=(0,v.JN)(new y.X([])),M=(0,v.N1)((()=>(0,b.a)([(0,_.of)(new Map),(0,r.f3M)(O)]).pipe((0,w.U)((([t,e])=>(t.forEach(((e,n)=>t.set(n,[]))),e.forEach((e=>{const n=e.component.component,i=t.get(n)||[];t.set(n,[...i,e])})),Array.from(t.values())))))));function S(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 A(t,e){if(1&t&&(r.TgZ(0,"label",4),r.YNc(1,S,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 P(t,e){if(1&t&&r._UZ(0,"div",6),2&t){const t=e.polymorpheusOutlet;r.Q6J("innerHTML",t,r.oJD)}}let E=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.destroyRef=(0,r.f3M)(r.ktI),this.position=(0,r.f3M)(k),this.item=(0,r.f3M)(h.yf),this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.options=(0,u.qS)((0,r.f3M)(c.ZW)),this.animation=this.position.endsWith("auto")?{...this.options,value:"right"}:{...this.options,value:"left"}}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&(0,d.H)(this.autoClose).pipe((0,p.R)((0,f.R)(this.el,"mouseenter")),(0,g.r)({delay:()=>(0,f.R)(this.el,"mouseleave")}),(0,o.sL)(this.destroyRef)).subscribe((()=>this.close()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(r.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),r.Udp("margin",e.position))},standalone:!0,features:[r.jDz],decls:4,vars:6,consts:[[3,"hideClose","icon","status","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.close()})),r.YNc(1,A,2,2,"label",1),r.TgZ(2,"div",2),r.YNc(3,P,1,1,"div",3),r.qZA()()),2&t&&(r.Q6J("hideClose",!e.item.closeable)("icon",e.item.icon)("status",e.item.status),r.xp6(1),r.Q6J("ngIf",e.item.label),r.xp6(2),r.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},dependencies:[l.tK,i.O5,h.s$],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-medium);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:700}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:700}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-primary);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[a.QF,a.Gw,a.eu]},changeDetection:0}),e})();n(11320);var T=n(10676);let I=(()=>{var t;class e extends T.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(O,E,(0,r.f3M)(C))},providedIn:"root"}),e})();var D=n(86198),z=n(69401);function N(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 F(t,e){if(1&t&&(r.TgZ(0,"div",1),r.YNc(1,N,2,5,"ng-container",2),r.qZA()),2&t){const t=e.$implicit;r.Q6J("@tuiParentAnimation",void 0),r.xp6(1),r.Q6J("ngForOf",t)}}let L=(()=>{var t;class e{constructor(){this.injector=(0,r.f3M)(r.gxx),this.alerts$=(0,r.f3M)(M),this.trackBy=z.y,this.mapper=t=>r.zs3.create({providers:[{provide:h.yf,useValue:t}],parent:this.injector})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alerts"]],standalone:!0,features:[r.jDz],decls:2,vars:4,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(t,e){1&t&&(r.YNc(0,F,2,2,"div",0),r.ALo(1,"async")),2&t&&r.Q6J("ngForOf",r.lcZ(1,2,e.alerts$))("ngForTrackBy",e.trackBy)},dependencies:[i.ez,i.$G,i.sg,i.Ov,D.c],styles:["tui-alerts>.t-wrapper{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;pointer-events:none}tui-alerts>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[a.B_]}}),e})()},14863:(t,e,n)=>{n.d(e,{x:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(83960),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-button"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiButton],[tuiIconButton]{--t-gap: .125rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));height:var(--t-size);justify-content:center;border-radius:var(--t-radius);padding:var(--t-padding);-webkit-user-select:none;user-select:none;cursor:pointer}[tuiButton]>img,[tuiIconButton]>img,[tuiButton]>tui-svg,[tuiIconButton]>tui-svg,[tuiButton]>tui-icon,[tuiIconButton]>tui-icon,[tuiButton]>tui-avatar,[tuiIconButton]>tui-avatar,[tuiButton]>tui-badge,[tuiIconButton]>tui-badge,[tuiButton]>[tuiBadge],[tuiIconButton]>[tuiBadge],[tuiButton]>[tuiRadio],[tuiIconButton]>[tuiRadio],[tuiButton]>[tuiSwitch],[tuiIconButton]>[tuiSwitch],[tuiButton]>[tuiCheckbox],[tuiIconButton]>[tuiCheckbox],[tuiButton]._icon-left:before,[tuiIconButton]._icon-left:before,[tuiButton]._icon-right:after,[tuiIconButton]._icon-right:after{margin:var(--t-margin)}[tuiButton]>.t-loader,[tuiIconButton]>.t-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[tuiButton]>.t-loader .t-text,[tuiIconButton]>.t-loader .t-text{position:absolute}[tuiButton][data-size=xs],[tuiIconButton][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);--t-padding: 0 .375rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=xs] tui-svg,[tuiIconButton][data-size=xs] tui-svg,[tuiButton][data-size=xs] tui-icon,[tuiIconButton][data-size=xs] tui-icon,[tuiButton][data-size=xs]:before,[tuiIconButton][data-size=xs]:before{font-size:1rem}[tuiButton][data-size=s],[tuiIconButton][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);--t-padding: 0 .625rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=s] tui-svg,[tuiIconButton][data-size=s] tui-svg,[tuiButton][data-size=s] tui-icon,[tuiIconButton][data-size=s] tui-icon,[tuiButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before,[tuiIconButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before{font-size:1rem}[tuiButton][data-size=m],[tuiIconButton][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);--t-padding: 0 1rem;--t-margin: -.375rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=m]:after,[tuiIconButton][data-size=m]:after{margin-inline-end:-.125rem}[tuiButton][data-size=l],[tuiIconButton][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);--t-padding: 0 1.25rem;--t-gap: .25rem;--t-margin: -.25rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=l]:after,[tuiIconButton][data-size=l]:after{margin-inline-start:.25rem;margin-inline-end:-.25rem}[tuiButton]._loading,[tuiIconButton]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButton]._loading>*,[tuiIconButton]._loading>*,[tuiButton]._loading:before,[tuiIconButton]._loading:before,[tuiButton]._loading:after,[tuiIconButton]._loading:after{opacity:0}[tuiButton]._loading>.t-loader,[tuiIconButton]._loading>.t-loader{opacity:1}[tuiButton][tuiIcons]:after,[tuiIconButton][tuiIcons]:after{font-size:1rem}[tuiIconButton]{gap:0;width:var(--t-size);font-size:0!important;padding:0}[tuiIconButton][data-size=l]:after{margin:0}[tuiIconButton]._icon-left:after{display:none}\n"],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s.Gm),this.nothing=(0,r.__)(l),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiButton",""],["button","tuiButton",""],["a","tuiIconButton",""],["button","tuiIconButton",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,o.mS)(s.Gm)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},83960:(t,e,n)=>{n.d(e,{Gm:()=>o,O0:()=>s});var i=n(73740);const r={appearance:"primary",size:"l"},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},11679:(t,e,n)=>{n.d(e,{O0:()=>r.O0,xG:()=>i.x});var i=n(14863),r=n(83960)},7443:(t,e,n)=>{n.d(e,{R:()=>C});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(7479),l=n(81929),c=n(80313),u=n(86198),h=n(73740),d=n(88283),p=n(41589);function f(t,e){if(1&t&&r._UZ(0,"div",3),2&t){const t=e.$implicit;r.Q6J("textContent",t)}}function g(t,e){if(1&t&&r._UZ(0,"div",12),2&t){const t=r.oxw().ngIf;r.Udp("background",(null==t?null:t[1])||"")}}function m(t,e){if(1&t&&(r.TgZ(0,"div",11),r._UZ(1,"div",12),r.YNc(2,g,1,2,"div",13),r.qZA()),2&t){const t=e.ngIf;r.xp6(1),r.Udp("background",null==t?null:t[0]),r.xp6(1),r.Q6J("ngIf",t.length>1)}}const v=function(t,e,n,i,r){return[t,e,n,i,r]};function y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw().tuiLet,n=r.oxw(4);return r.KtG(n.onItemClick(e))}))("tuiHoveredChange",(function(e){r.CHM(t);const n=r.oxw().tuiLet,i=r.oxw(4);return r.KtG(i.onItemHovered(e&&n))})),r.TgZ(1,"div",9),r.ALo(2,"tuiMapper"),r._uU(3),r.YNc(4,m,3,3,"div",10),r.ALo(5,"tuiMapper"),r.qZA()()}if(2&t){const t=r.oxw().tuiLet,e=r.oxw(4);r.ekj("t-cell_disabled",e.disabledItemHandler(t))("t-cell_interval",e.itemIsInterval(t))("t-cell_today",e.itemIsToday(t))("t-cell_unavailable",e.itemIsUnavailable(t)),r.uIk("data-range",e.getItemRange(t)),r.xp6(1),r.ekj("t-item_unavailable",e.itemIsUnavailable(t)),r.uIk("data-type",r.xi3(2,14,t,e.dayTypeHandler)),r.xp6(2),r.hij(" ",t.day," "),r.xp6(1),r.Q6J("ngIf",r.G7q(5,17,r.qbA(23,v,t,e.toMarkers,e.itemIsToday(t),!!e.getItemRange(t),e.markerHandler)))}}function b(t,e){if(1&t&&(r.ynx(0),r.YNc(1,y,6,29,"div",7),r.BQk()),2&t){const t=e.tuiLet,n=r.oxw(4);r.xp6(1),r.Q6J("ngIf",!n.itemIsUnavailable(t)||n.showAdjacent)}}function _(t,e){if(1&t&&(r.ynx(0),r.YNc(1,b,2,1,"ng-container",2),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit,i=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiLet",i[n][t])}}function w(t,e){if(1&t&&(r.TgZ(0,"div",5),r.YNc(1,_,2,1,"ng-container",6),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",n[t].length)}}function x(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,w,2,1,"div",4),r.qZA()),2&t){const t=e.tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",t.length)}}let C=(()=>{var t;class e{constructor(){this.today=s.TU.currentLocal(),this.unorderedWeekDays$=(0,r.f3M)(p.P),this.dayTypeHandler=(0,r.f3M)(p.rJ),this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.markerHandler=null,this.value=null,this.hoveredItem=null,this.showAdjacent=!0,this.hoveredItemChange=new r.vpe,this.dayClick=new r.vpe,this.toMarkers=(t,e,n,i)=>{if(e||n)return null;const r=i?.(t);return r?.length?r:null}}itemIsInterval(t){const{value:e,hoveredItem:n}=this;if(!(e instanceof s.VR))return!1;if(!e.isSingleDay)return e.from.daySameOrBefore(t)&&e.to.dayAfter(t);if(null===n)return!1;const i=s.VR.sort(e.from,n);return i.from.daySameOrBefore(t)&&i.to.dayAfter(t)}onItemHovered(t){this.updateHoveredItem(t||null)}getItemRange(t){const{value:e,hoveredItem:n}=this;return e?e instanceof s.TU?e.daySame(t)?"single":null:e instanceof s.VR?e.from.daySame(t)&&!e.isSingleDay||n?.dayAfter(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayBefore(e.from)&&e.isSingleDay?"start":e.to.daySame(t)&&!e.isSingleDay||n?.dayBefore(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayAfter(e.from)&&e.isSingleDay?"end":e.isSingleDay&&e.from.daySame(t)?"single":null:e.find((e=>e.daySame(t)))?"single":null:null}get isSingleDayRange(){return this.value instanceof s.VR&&this.value.isSingleDay}itemIsToday(t){return this.today.daySame(t)}itemIsUnavailable(t){return!this.month.monthSame(t)}onItemClick(t){this.dayClick.emit(t)}updateHoveredItem(t){(0,h.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-sheet"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_single",e.isSingleDayRange)},inputs:{month:"month",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",value:"value",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent"},outputs:{hoveredItemChange:"hoveredItemChange",dayClick:"dayClick"},standalone:!0,features:[r.jDz],decls:6,vars:9,consts:[[1,"t-row","t-row_weekday"],["class","t-cell",3,"textContent",4,"ngFor","ngForOf"],[4,"tuiLet"],[1,"t-cell",3,"textContent"],["automation-id","tui-calendar-sheet__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__cell","class","t-cell",3,"t-cell_disabled","t-cell_interval","t-cell_today","t-cell_unavailable","click","tuiHoveredChange",4,"ngIf"],["automation-id","tui-calendar-sheet__cell",1,"t-cell",3,"click","tuiHoveredChange"],["automation-id","tui-calendar-sheet__item",1,"t-item"],["class","t-dots",4,"ngIf"],[1,"t-dots"],[1,"t-dot"],["class","t-dot",3,"background",4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,f,1,1,"div",1),r.ALo(2,"async"),r.ALo(3,"tuiOrderWeekDays"),r.qZA(),r.YNc(4,x,2,1,"div",2),r.ALo(5,"tuiCalendarSheet")),2&t&&(r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,2,r.lcZ(3,4,e.unorderedWeekDays$))),r.xp6(3),r.Q6J("tuiLet",r.xi3(5,6,e.month,!0)))},dependencies:[i.ez,i.sg,i.O5,i.Ov,l.i,u.c,c.d,a.et,d.hp,d.q2],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;bottom:0;right:0;content:"";z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background:var(--tui-text-primary)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.1875rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range=start]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}[data-type=weekday][_ngcontent-%COMP%]{color:var(--tui-text-primary)}[data-type=weekend][_ngcontent-%COMP%]{color:var(--tui-status-negative)}.t-row[_ngcontent-%COMP%]{justify-content:flex-start}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row_weekday[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none}.t-item[_ngcontent-%COMP%]{display:flex;flex-direction:column}.t-item_unavailable[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}.t-dots[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot[_ngcontent-%COMP%]{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}'],changeDetection:0}),e})()},94840:(t,e,n)=>{n.d(e,{z:()=>h});var i=n(76733),r=n(20755),o=n(28351),s=n(16100),a=n(82509),l=n(88283);function c(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}function u(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onYearClick())})),r._uU(1),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}let h=(()=>{var t;class e{constructor(){this.value=o.ql.currentLocal(),this.min=o.K1,this.max=o.Oy,this.valueChange=new r.vpe,this.yearClick=new r.vpe}onYearClick(){this.yearClick.next(this.value)}append(t){const e=this.value.append(t);this.min.monthSameOrAfter(e)?this.updateValue(this.min):this.updateValue(this.max.monthSameOrBefore(e)?this.max:e)}updateValue(t){this.value.monthSame(t)||(this.value=t,this.valueChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-spin"]],inputs:{value:"value",min:"min",max:"max"},outputs:{valueChange:"valueChange",yearClick:"yearClick"},standalone:!0,features:[r.jDz],decls:7,vars:10,consts:[[3,"focusable","leftDisabled","rightDisabled","leftClick","rightClick"],[4,"ngIf","ngIfElse"],["button",""],["id","year-btn","automation-id","tui-primitive-year-month-pagination__year-button","tabIndex","-1","tuiLink","","type","button",3,"click"]],template:function(t,e){if(1&t&&(r.TgZ(0,"tui-spin-button",0),r.NdJ("leftClick",(function(){return e.append({month:-1})}))("rightClick",(function(){return e.append({month:1})})),r._uU(1),r.ALo(2,"async"),r.ALo(3,"tuiMonth"),r.YNc(4,c,2,1,"ng-container",1),r.YNc(5,u,2,1,"ng-template",null,2,r.W1O),r.qZA()),2&t){const t=r.MAs(6);r.Q6J("focusable",!1)("leftDisabled",e.value.monthSameOrBefore(e.min))("rightDisabled",e.value.monthSameOrAfter(e.max)),r.xp6(1),r.hij(" ",r.lcZ(2,6,r.lcZ(3,8,e.value))," "),r.xp6(3),r.Q6J("ngIf",e.min.year===e.max.year)("ngIfElse",t)}},dependencies:[a.f,s.lI,l.$7,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),e})()},62571:(t,e,n)=>{n.d(e,{u:()=>g});var i=n(20755),r=n(11892),o=n(28351),s=n(7479),a=n(81929),l=n(80313),c=n(23880),u=n(73740),h=n(88543);function d(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",4),i.NdJ("click",(function(){const e=i.CHM(t).tuiLet,n=i.oxw(3);return i.KtG(n.yearClick.emit(e))}))("tuiHoveredChange",(function(e){const n=i.CHM(t).tuiLet,r=i.oxw(3);return i.KtG(r.onItemHovered(e,n))})),i.TgZ(1,"div",5),i._uU(2),i.qZA()()}if(2&t){const t=e.tuiLet,n=i.oxw(3);i.ekj("t-cell_disabled",n.isDisabled(t))("t-cell_interval",n.itemIsInterval(t))("t-cell_today",n.itemIsToday(t)),i.Q6J("tuiScrollIntoView",n.scrollItemIntoView(t)),i.uIk("data-range",n.getItemRange(t)),i.xp6(2),i.Oqu(t)}}function p(t,e){if(1&t&&(i.ynx(0),i.YNc(1,d,3,9,"div",3),i.BQk()),2&t){const t=e.$implicit,n=i.oxw().$implicit,r=i.oxw();i.xp6(1),i.Q6J("tuiLet",r.getItem(n,t))}}function f(t,e){1&t&&(i.TgZ(0,"div",1),i.YNc(1,p,2,1,"ng-container",2),i.qZA()),2&t&&(i.xp6(1),i.Q6J("tuiRepeatTimesOf",4))}let g=(()=>{var t;class e{constructor(){this.hoveredItem=null,this.currentYear=o.ql.currentLocal().year,this.value=null,this.initialItem=this.currentYear,this.min=o.nN,this.max=o.cO,this.disabledItemHandler=r.tD,this.yearClick=new i.vpe}isDisabled(t){return this.max&&this.maxt||this.disabledItemHandler(t)}getItemRange(t){const{value:e,hoveredItem:n}=this;return null===e?null:e instanceof o.F4?e.year===t?"single":null:(0,u.dt)(e)?e===t?"single":null:e instanceof o.dt?e.from.year===t&&!e.from.yearSame(e.to)||null!==n&&n>e.from.year&&e.from.year===t&&e.from.yearSame(e.to)||null!==n&&n===t&&ne.from.year&&e.from.yearSame(e.to)?"end":e.from.yearSame(e.to)&&e.from.year===t?"single":null:e.find((e=>e.year===t))?"single":null}itemIsInterval(t){const{value:e,hoveredItem:n}=this;return!!this.isRange(e)&&(e.from.yearSame(e.to)?null!==n&&e.from.year!==n&&(0,c.w)(t,Math.min(e.from.year,n),Math.max(e.from.year,n)):e.from.year<=t&&e.to.year>t)}onItemHovered(t,e){this.updateHoveredItem(t,e)}get isSingle(){return this.isRange(this.value)&&this.value.from.yearSame(this.value.to)}get rows(){return Math.ceil((this.calculatedMax-this.calculatedMin)/4)}isRange(t){return t instanceof o.dt}scrollItemIntoView(t){return this.initialItem===t}getItem(t,e){return 4*t+e+this.calculatedMin}itemIsToday(t){return this.currentYear===t}get calculatedMin(){const t=this.initialItem-100,e=this.min??o.nN;return e>t?e:t}get calculatedMax(){const t=this.initialItem+100,e=this.max??o.cO;return e .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{margin:.875rem 0}.t-row[_ngcontent-%COMP%]:first-child{margin-top:0}.t-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}'],changeDetection:0}),e})()},23650:(t,e,n)=>{n.d(e,{X:()=>g});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(86198),l=n(73740),c=n(88543),u=n(7443),h=n(94840),d=n(62571);function p(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-scrollbar",2)(1,"tui-calendar-year",3),r.NdJ("yearClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPickerYearClick(e))})),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("initialItem",t.month.year)("max",t.computedMax.year)("min",t.computedMin.year)("value",t.value)}}function f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-calendar-spin",4),r.NdJ("valueChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPaginationValueChange(e))}))("yearClick",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onPaginationYearClick())})),r.qZA(),r.TgZ(1,"tui-calendar-sheet",5),r.NdJ("dayClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onDayClick(e))}))("hoveredItemChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onHoveredItemChange(e))})),r.ALo(2,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("max",t.computedMaxViewedMonth)("min",t.computedMinViewedMonth)("value",t.month),r.xp6(1),r.Q6J("disabledItemHandler",r.gM2(2,9,t.disabledItemHandler,t.disabledItemHandlerMapper,t.computedMin,t.computedMax))("hoveredItem",t.hoveredItem)("markerHandler",t.markerHandler)("month",t.month)("showAdjacent",t.showAdjacent)("value",t.value)}}let g=(()=>{var t;class e{constructor(){this.day=null,this.view="month",this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.min=s.K1,this.max=s.Oy,this.minViewedMonth=s.K1,this.maxViewedMonth=s.Oy,this.hoveredItem=null,this.showAdjacent=!0,this.markerHandler=null,this.dayClick=new r.vpe,this.monthChange=new r.vpe,this.hoveredItemChange=new r.vpe,this.disabledItemHandlerMapper=(t,e,n)=>i=>i.dayBefore(e)||i.dayAfter(n)||t(i)}set value(t){this.day=t,this.showAdjacent&&t instanceof s.TU&&(this.month=t)}set initialView(t){this.view=t}get value(){return this.day}onPaginationValueChange(t){this.updateViewedMonth(t)}onDayClick(t){this.dayClick.emit(t)}onHoveredItemChange(t){this.updateHoveredDay(t)}get computedMin(){return this.min??s.K1}get computedMax(){return this.max??s.Oy}get computedMinViewedMonth(){const t=this.computedMin,e=this.minViewedMonth??s.K1;return e.monthSameOrAfter(t)?e:t}get computedMaxViewedMonth(){const t=this.computedMax,e=this.maxViewedMonth??s.Oy;return e.monthSameOrBefore(t)?e:t}get isInYearView(){return"year"===this.view}onPaginationYearClick(){this.view="year"}onPickerYearClick(t){this.view="month",this.updateViewedMonth(new s.ql(t,this.month.month))}updateViewedMonth(t){this.month.monthSame(t)||(this.month=t,this.monthChange.emit(t))}updateHoveredDay(t){(0,l.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar"]],inputs:{month:"month",disabledItemHandler:"disabledItemHandler",min:"min",max:"max",minViewedMonth:"minViewedMonth",maxViewedMonth:"maxViewedMonth",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent",markerHandler:"markerHandler",value:"value",initialView:"initialView"},outputs:{dayClick:"dayClick",monthChange:"monthChange",hoveredItemChange:"hoveredItemChange"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[["automation-id","tui-calendar__scrollbar","class","t-scrollbar",4,"ngIf","ngIfElse"],["calendar",""],["automation-id","tui-calendar__scrollbar",1,"t-scrollbar"],["automation-id","tui-calendar__year",3,"initialItem","max","min","value","yearClick"],["automation-id","tui-calendar__pagination",1,"t-pagination",3,"max","min","value","valueChange","yearClick"],["automation-id","tui-calendar__calendar",3,"disabledItemHandler","hoveredItem","markerHandler","month","showAdjacent","value","dayClick","hoveredItemChange"]],template:function(t,e){if(1&t&&(r.YNc(0,p,2,4,"tui-scrollbar",0),r.YNc(1,f,3,14,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.isInYearView)("ngIfElse",t)}},dependencies:[i.O5,c.D1,d.u,h.z,u.R,a.c],styles:["[_nghost-%COMP%]{display:block;min-height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar[_ngcontent-%COMP%]{height:18.25rem;width:16.875rem}.t-pagination[_ngcontent-%COMP%]{margin-bottom:1rem}"],changeDetection:0}),e})()},31447:(t,e,n)=>{n.d(e,{XU:()=>i.X,u8:()=>r.u});var i=n(23650),r=(n(7443),n(94840),n(62571))},52614:(t,e,n)=>{n.d(e,{l:()=>b,q:()=>_});var i,r=n(84911),o=n(76733),s=n(20755),a=n(11892),l=n(65026),c=n(55181),u=n(52674),h=n(73740),d=n(41589),p=n(25690),f=n(92425),g=n(46501),m=n(96240);function v(t,e){if(1&t&&(s.ynx(0),s._uU(1),s.BQk()),2&t){const t=e.polymorpheusOutlet;s.xp6(1),s.hij(" ",t," ")}}function y(t,e){if(1&t&&(s.TgZ(0,"div",1),s.YNc(1,v,2,1,"ng-container",2),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",t.emptyContent||s.lcZ(2,1,t.defaultEmptyContent$))}}function b(){const t=(0,s.f3M)(g.N1,{optional:!0})?.size;return t&&["s","m","l"].includes(t)?t:"l"}class _{constructor(){this.options=a.Mm,this.el=(0,c.AG)(),this.defaultEmptyContent$=(0,s.f3M)(d.PH),this.size=b()}onKeyDownArrow(t,e){const{elements:n}=this;(0,u.VR)(n.indexOf(t),n,e)}handleFocusLossIfNecessary(t=this.el){(0,u.zb)(t)&&this.origin?.focus({preventScroll:!0})}getOptions(t=!1){return this.options.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(h.Pc)}get empty$(){return(0,l.ll)(this.options).pipe((0,f.U)((({length:t})=>!t)))}onFocusIn(t,e){e.contains(t)||this.origin||(this.origin=t)}noop(){}get elements(){return Array.from(this.el.querySelectorAll("a[tuiOption],button[tuiOption],input"))}}(i=_).ɵfac=function(t){return new(t||i)},i.ɵcmp=s.Xpm({type:i,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,m.b,5),2&t){let t;s.iGM(t=s.CRH())&&(e.options=t)}},hostAttrs:["role","listbox"],hostVars:1,hostBindings:function(t,e){1&t&&s.NdJ("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)}))("keydown.tab",(function(){return e.handleFocusLossIfNecessary()}))("keydown.shift.tab",(function(){return e.handleFocusLossIfNecessary()}))("focusin",(function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)}))("mousedown.prevent",(function(){return e.noop()})),2&t&&s.uIk("data-size",e.size)},inputs:{emptyContent:"emptyContent",size:"size"},standalone:!0,features:[s._Bn([(0,g.RB)(i)]),s.jDz],ngContentSelectors:["*"],decls:3,vars:3,consts:[["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(s.F$t(),s.Hsn(0),s.YNc(1,y,3,3,"div",0),s.ALo(2,"async")),2&t&&(s.xp6(1),s.Q6J("ngIf",s.lcZ(2,1,e.empty$)))},dependencies:[o.O5,o.Ov,p.s$],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-tertiary)}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-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-secondary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-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-border-normal)}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,tui-opt-group:not(:empty)~tui-opt-group:not([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,tui-opt-group:not([data-label]):before{padding:0;margin:0}[tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;justify-content:space-between;text-align:left;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[tuiOption]:focus-within,[tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}[tuiOption]:after{font-size:1rem;margin:0 -.25rem 0 1rem}\n'],encapsulation:2,changeDetection:0}),(0,r.gn)([h.UM],_.prototype,"empty$",null)},19975:(t,e,n)=>{n.d(e,{g:()=>r}),n(73740);var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiDataList",""]],standalone:!0}),e})()},46501:(t,e,n)=>{n.d(e,{Cc:()=>a,IQ:()=>o,N1:()=>c,P7:()=>s,RB:()=>l,oE:()=>u});var i=n(20755),r=n(73740);const o=new i.OlP("[TUI_OPTION_CONTENT]");function s(t){return{provide:o,useValue:t}}const a=new i.OlP("[TUI_DATA_LIST_ACCESSOR]");function l(t){return(0,r.Q2)(a,t)}const c=new i.OlP("[TUI_DATA_LIST_HOST]");function u(t){return(0,r.Q2)(c,t)}},63098:(t,e,n)=>{n.d(e,{Cc:()=>l.Cc,N1:()=>l.N1,qi:()=>i.q,gX:()=>r.g,c4:()=>s,bH:()=>a.b,Pb:()=>h,RB:()=>l.RB,oE:()=>l.oE,P7:()=>l.P7,lt:()=>i.l});var i=n(52614),r=n(19975),o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-label",e.label)},inputs:{label:"label"},standalone:!0}),e})();var a=n(96240);i.q,r.g,a.b;var l=n(46501),c=n(73740),u=n(71938);let h=(()=>{var t;class e{constructor(){this.dataList=(0,c.Vx)(u.td,"tuiDropdown",null)}set template(t){this.dataList.set(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["never"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,r.g,5,o.Rgc),2&t){let t;o.iGM(t=o.CRH())&&(e.template=t.first)}},standalone:!0}),e})()},96240:(t,e,n)=>{n.d(e,{b:()=>v});var i=n(20755),r=n(86253),o=n(55181),s=n(52674),a=n(71938),l=n(25690),c=n(52614),u=n(46501),h=n(98549);const d=["tuiOption",""];function p(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 f(t,e){1&t&&i.Hsn(0)}const g=function(t){return{$implicit:t}},m=["*"];let v=(()=>{var t;class e{constructor(){this.isMobile=(0,i.f3M)(r.fL),this.el=(0,o.AG)(),this.dataList=(0,i.f3M)((0,i.Gpc)((()=>c.q)),{optional:!0}),this.host=(0,i.f3M)(u.N1,{optional:!0}),this.content=(0,i.f3M)(u.IQ,{optional:!0}),this.dropdown=(0,i.f3M)(a.td,{self:!0,optional:!0}),this.disabled=!1}ngOnDestroy(){this.dataList?.handleFocusLossIfNecessary(this.el)}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove(){this.isMobile||(0,s.V8)(this.el)||this.el.focus({preventScroll:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["button","tuiOption",""],["a","tuiOption",""],["label","tuiOption",""]],hostAttrs:["type","button","role","option"],hostVars:3,hostBindings:function(t,e){1&t&&i.NdJ("click",(function(){return e.onClick()}))("mousemove.silent",(function(){return e.onMouseMove()})),2&t&&(i.uIk("disabled",e.disabled||null),i.ekj("_with-dropdown",e.active))},inputs:{disabled:"disabled",value:"value"},standalone:!0,features:[i.jDz,i.zW0([{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],attrs:d,ngContentSelectors:m,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["t",""]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,p,2,1,"ng-container",0),i.YNc(1,f,1,0,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(2);i.Q6J("polymorpheusOutlet",e.content||t)("polymorpheusOutletContext",i.VKq(2,g,t))}},dependencies:[l.s$],encapsulation:2,changeDetection:0}),e})()},67587:(t,e,n)=>{n.d(e,{qY:()=>k,RO:()=>H,r4:()=>G});var i=n(76733),r=n(20755),o=n(62022),s=n(11892),a=n(30696),l=n(86253),c=n(34138),u=n(11679),h=n(41589),d=n(82510),p=n(25690),f=n(11070),g=n(71209),m=n(78748),v=n(45047),y=n(84787),b=n(92425),_=n(55333),w=n(73740),x=n(56424),C=n(30453);const k=(0,w.JN)(new x.X([])),O=(0,w.JN)(C.E),M=(0,w.JN)({appearance:"",size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:"",data:void 0});var S=n(42772),A=n(65026),P=n(55181),E=n(48132),T=n(21813);let I=(()=>{var t;class e extends E.y{constructor(){super((t=>(0,v.T)(this.esc$,this.mousedown$).subscribe(t))),this.win=(0,r.f3M)(S.m9),this.doc=(0,r.f3M)(i.K0),this.el=(0,P.AG)(),this.esc$=(0,A.mL)(this.doc,"keydown").pipe((0,_.h)((t=>{const e=(0,P.mA)(t);return"Escape"===t.key&&!t.defaultPrevented&&(this.el.contains(e)||this.isOutside(e))}))),this.mousedown$=(0,A.mL)(this.doc,"mousedown").pipe((0,_.h)((t=>(0,d.ic)(this.win)-t.clientX>17&&this.isOutside((0,P.mA)(t)))),(0,y.w)((()=>(0,A.mL)(this.doc,"mouseup").pipe((0,T.q)(1),(0,b.U)(P.mA),(0,_.h)((t=>this.isOutside(t)))))))}isOutside(t){return(0,P.ve)(t)&&(!(0,P.PP)(this.el,t)||t===this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})();function D(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 z(t,e){if(1&t&&(r.TgZ(0,"header",6),r.YNc(1,D,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 N(t,e){if(1&t){const t=r.EpF();r.ynx(0),r._UZ(1,"div",7),r.TgZ(2,"div",8)(3,"button",9),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.context.$implicit.complete())})),r._uU(4),r.qZA()(),r.BQk()}if(2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.xp6(1),r.Q6J("innerHTML",t,r.oJD),r.xp6(3),r.hij(" ",(null==n.context.data?null:n.context.data.button)||"OK"," ")}}function F(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",10)(1,"button",11),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close$.next())}))("mousedown.prevent.silent",(function(){return 0})),r._uU(2),r.ALo(3,"async"),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Udp("border-radius",100,"%"),r.Q6J("appearance",t.fullscreen?"secondary":"")("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(3,5,t.closeWord$)," ")}}const L=new Error("Required dialog was dismissed");function R(t){return(0,f.b)(t)?t:(0,g.of)(t)}let B=(()=>{var t;class e{constructor(){this.speed=(0,r.f3M)(h.ZW),this.isMobile=(0,r.f3M)(l.fL),this.animation={value:"",params:{start:"40px",duration:(0,d.cZ)(this.speed)}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:(0,d.cZ)(this.speed)}},this.close$=new m.x,this.context=(0,r.f3M)(p.yf),this.closeWord$=(0,r.f3M)(h.U0),this.icons=(0,r.f3M)(h.Gs),(0,v.T)(this.close$.pipe((0,y.w)((()=>R(this.context.closeable)))),(0,r.f3M)(I).pipe((0,y.w)((()=>R(this.context.dismissible)))),(0,r.f3M)(O).pipe((0,b.U)(s.oN))).pipe((0,_.h)(Boolean),(0,o.sL)()).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(L):this.context.$implicit.complete()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-appearance",e.context.appearance)("data-size",e.size),r.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),r.ekj("_centered",e.header))},standalone:!0,features:[r._Bn([I]),r.jDz],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"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","iconLeft","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(r.YNc(0,z,2,2,"header",0),r.TgZ(1,"div",1),r._UZ(2,"h2",2),r.TgZ(3,"section"),r.YNc(4,N,5,2,"ng-container",3),r.qZA()(),r._UZ(5,"div",4),r.YNc(6,F,4,7,"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))},dependencies:[i.O5,p.s$,a.bi,u.xG,i.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%;content:"";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-popup)}[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%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-background-elevation-1);box-shadow:0 4rem var(--tui-background-elevation-1)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - 22.5rem)}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}._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)}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}.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-background-elevation-1)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;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;display:none}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:inline-flex}[_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);color:var(--tui-background-base)}[_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[data-size][_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[data-size][_ngcontent-%COMP%]{--tui-fade-end: .5;position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-primary);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[c.X9,c.QF]}}),e})();n(11320);var j=n(10676);let H=(()=>{var t;class e extends j.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(k,B,(0,r.f3M)(M))},providedIn:"root"}),e})();var V=n(69008),$=n(88543);function q(t,e){1&t&&r.GkF(0)}function Z(t,e){if(1&t&&(r.TgZ(0,"section",3),r.YNc(1,q,1,0,"ng-container",4),r._UZ(2,"tui-scroll-controls",5),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().ngIf;r.ekj("t-dialog_closing",!n.length),r.Q6J("@tuiHost",void 0),r.uIk("aria-labelledby",t.id),r.xp6(1),r.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",t)}}function U(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Z,3,6,"section",1),r._UZ(2,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Udp("opacity",t.length)}}let G=(()=>{var t;class e{constructor(){this.el=(0,P.AG)(),this.dialogs$=(0,r.f3M)(k)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialogs"]],hostBindings:function(t,e){1&t&&r.NdJ("keydown.silent",(function(){return e.el.scrollTop=e.el.scrollHeight/2}))},standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","","class","t-dialog",3,"t-dialog_closing",4,"ngFor","ngForOf"],[1,"t-overlay"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-scrollbars"]],template:function(t,e){1&t&&(r.YNc(0,U,3,3,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.dialogs$))},dependencies:[i.ez,i.sg,i.O5,i.Ov,p.s$,V.m,$.bl,$.pS],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;scrollbar-width:none;-ms-overflow-style:none;pointer-events:none;overflow:auto;overscroll-behavior:none}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}[_nghost-%COMP%]:has(section){pointer-events:auto}[_nghost-%COMP%]:before{content:"";display:block;height:1000%}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:fixed;top:0;left:0;bottom:0;right:0;display:flex;height:100%;align-items:flex-start;outline:none;overflow:auto}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-dialog[_ngcontent-%COMP%]{position:sticky;pointer-events:auto;overscroll-behavior:none}.t-overlay[_ngcontent-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;right:0;margin:0;color:#747474}'],data:{animation:[c.Hp]}}),e})()},93745:(t,e,n)=>{n.d(e,{SV:()=>f,d0:()=>c});var i=n(76733),r=n(20755),o=n(62022),s=n(34138),a=n(32097),l=n(1925);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiExpandContent",""]],standalone:!0}),e})();const u=["wrapper"];function h(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 d(t,e){if(1&t&&(r.ynx(0),r.Hsn(1),r.YNc(2,h,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 p=["*"];let f=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.state=0,this.content=null,this.expanded=null,this.async=!1}set expandedSetter(t){if(null!==this.expanded){if(0!==this.state)return this.expanded=t,void(this.state=3);this.expanded=t,this.retrigger(this.async&&t?1:3)}else this.expanded=t}get contentVisible(){return this.expanded||0!==this.state}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}onTransitionEnd({propertyName:t,pseudoElement:e}){"opacity"!==t||e||3!==this.state||(this.state=0)}onExpandLoaded(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(t){this.state=2,(0,l.H)(0).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>{2===this.state&&(this.state=t,this.cdr.markForCheck())}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,c,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(u,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"]},standalone:!0,features:[r.jDz],ngContentSelectors:p,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,d,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))},dependencies:[a.A6,i.O5,i.tP],styles:['[_nghost-%COMP%]{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translateZ(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[s.B_]},changeDetection:0}),e})()},44501:(t,e,n)=>{n.d(e,{hM:()=>c,vJ:()=>a});var i=n(20755),r=n(73740);const o={size:"m",collapsed:!1,rounded:!0,orientation:"horizontal"},s=(0,r.JN)(o);function a(t){return(0,r.vK)(s,t,o)}let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate;--t-radius: var(--tui-radius-m)}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_radius_large{--t-radius: var(--tui-radius-l)}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin:0 -1px 0 0}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.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>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.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>*:has([tuiBlock]:checked){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:0 0 -1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--t-radius);border-bottom-left-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--t-radius);border-top-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.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}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.orientation=this.options.orientation,this.collapsed=this.options.collapsed,this.rounded=this.options.rounded,this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:10,hostBindings:function(t,e){2&t&&i.ekj("tui-group_orientation_horizontal","horizontal"===e.orientation)("tui-group_orientation_vertical","vertical"===e.orientation)("tui-group_radius_large","l"===e.size)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)},inputs:{orientation:"orientation",collapsed:"collapsed",rounded:"rounded",size:"size"},standalone:!0}),e})()},8355:(t,e,n)=>{n.d(e,{R:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.resolver=(0,r.Ps)(),this.icon=(0,i.f3M)(r.SX),this.background=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-icon"]],hostVars:6,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask","url("+e.resolver(e.icon)+")")("--t-mask-bg",e.background?"url("+e.resolver(e.background)+")":null),i.ekj("_duo",e.background))},inputs:{icon:"icon",background:"background"},standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{position:relative;display:inline-block;width:1em;height:1em;font-size:1.5rem;flex-shrink:0;vertical-align:middle;box-sizing:border-box}._duo[_nghost-%COMP%]{-webkit-mask:var(--t-mask-bg) no-repeat center / contain;mask:var(--t-mask-bg) no-repeat center / contain}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";-webkit-mask:var(--t-mask) no-repeat center / contain;mask:var(--t-mask) no-repeat center / contain;background:currentColor}'],changeDetection:0}),e})()},9368:(t,e,n)=>{n.d(e,{R:()=>i.R});var i=n(8355);n(41589)},57981:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(20755),r=n(55181),o=n(73740),s=n(63098);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-label-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiLabel]{display:flex;gap:.25rem;flex-direction:column;font:var(--tui-font-text-s);color:var(--tui-text-primary)}[tuiLabel]:not(._textfield){flex-direction:row;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-m)}[tuiLabel]:has(tui-primitive-textfield),[tuiLabel]:has(tui-textarea){flex-direction:column!important;width:auto!important;font:var(--tui-font-text-s)!important}[tuiLabel] input[type=checkbox],[tuiLabel] input[type=radio]{margin-inline-end:.5rem}[tuiLabel] input[type=checkbox][data-size=s],[tuiLabel] input[type=radio][data-size=s]{margin-inline-end:.25rem;margin-top:.125rem}[tuiLabel] small{font:var(--tui-font-text-s)}[tuiLabel] [tuiTitle]{margin-top:.125rem}[tuiLabel] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"],encapsulation:2,changeDetection:0}),e})(),l=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.nothing=(0,o.__)(a),this.parent=(0,i.f3M)((0,i.Gpc)((()=>s.N1)),{optional:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["label","tuiLabel",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,s.N1,5),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("for",e.el.htmlFor||(null==e.parent?null:e.parent.id)),i.ekj("_textfield",e.textfield))},standalone:!0}),e})()},16100:(t,e,n)=>{n.d(e,{S9:()=>r.S9,lI:()=>i.l});var i=n(87731),r=n(3828)},87731:(t,e,n)=>{n.d(e,{l:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(3828),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-link"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiLink]{--tui-text-tertiary: var(--tui-text-secondary);padding:0;background:transparent;border:none;text-decoration:none;cursor:pointer;font:inherit}[tuiLink]:hover{--tui-text-secondary: var(--tui-text-primary)}[tuiLink]:before{margin-inline-end:.25rem}[tuiLink]:after{margin-inline-start:.25rem}[tuiLink]._pseudo{-webkit-text-decoration:underline dashed currentColor;text-decoration:underline dashed currentColor;text-underline-offset:.2em;text-decoration-thickness:.7px;text-decoration-color:color-mix(in lch,currentColor,transparent)}[tuiLink][tuiIcons]._icon-left:before,[tuiLink][tuiIcons]._icon-right:after{content:"\\2060";padding:calc(var(--tui-icon-size, 1rem) / 2);vertical-align:super;font-size:0;line-height:0}[tuiLink]:focus-visible:not([data-focus=false]){outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][data-focus=true]{outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(l),this.pseudo=(0,i.f3M)(s.T2).pseudo}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostAttrs:["tuiLink",""],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_pseudo",e.pseudo)},inputs:{pseudo:"pseudo"},standalone:!0,features:[i._Bn([(0,o.mS)(s.T2)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},3828:(t,e,n)=>{n.d(e,{S9:()=>s,T2:()=>o});var i=n(73740);const r={appearance:"link",pseudo:!1},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},32097:(t,e,n)=>{n.d(e,{A6:()=>i.A});var i=n(64337);n(69816)},64337:(t,e,n)=>{n.d(e,{A:()=>g});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(52674),l=n(16931),c=n(25690),u=n(69816);function h(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 d(t,e){if(1&t&&(r.O4$(),r.kcU(),r.TgZ(0,"div",6),r.YNc(1,h,2,1,"ng-container",7),r.qZA()),2&t){const t=r.oxw(2);r.ekj("t-text_horizontal",t.isHorizontal),r.xp6(1),r.Q6J("polymorpheusOutlet",t.textContent)}}function p(t,e){if(1&t&&(r.TgZ(0,"div",2),r.O4$(),r.TgZ(1,"svg",3),r._UZ(2,"circle",4),r.qZA(),r.YNc(3,d,2,3,"div",5),r.qZA()),2&t){const t=r.oxw();r.ekj("t-loader_horizontal",t.isHorizontal)("t-loader_inherit-color",t.inheritColor),r.xp6(3),r.Q6J("ngIf",t.hasText)}}const f=["*"];let g=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.options=(0,r.f3M)(u.vI),this.loading=!0,this.isApple=function({ownerDocument:t}){const e=t?.defaultView,n=void 0!==e.safari&&"[object SafariRemoteNotification]"===e.safari?.pushNotification?.toString(),i=!!e.navigator?.vendor?.includes("Apple")&&!e.navigator?.userAgent?.includes("CriOS")&&!e.navigator?.userAgent?.includes("FxiOS");return n||i}(this.el)||this.isIOS,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay}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,l.R9)(this.size)}get focused(){return(0,a.zb)(this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-loader"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size),r.ekj("_loading",e.loading))},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},standalone:!0,features:[r.jDz],ngContentSelectors:f,decls:3,vars:7,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","height","100%","width","100%",1,"t-icon"],["cx","50%","cy","50%",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&&(r.F$t(),r.TgZ(0,"fieldset",0),r.Hsn(1),r.qZA(),r.YNc(2,p,4,5,"div",1)),2&t&&(r.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),r.Q6J("disabled",e.loading&&!e.isApple),r.uIk("inert",e.loading||null),r.xp6(2),r.Q6J("ngIf",e.loading))},dependencies:[i.O5,c.s$],styles:["[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem;--tui-thickness: calc(var(--t-diameter) / 12)}._loading[_nghost-%COMP%]{overflow:hidden}[data-size=xs][_nghost-%COMP%]{--t-diameter: .75em}[data-size=s][_nghost-%COMP%]{--t-diameter: 1em}[data-size=m][_nghost-%COMP%]{--t-diameter: 1.5em}[data-size=l][_nghost-%COMP%]{--t-diameter: 2.5em}[data-size=xl][_nghost-%COMP%]{--t-diameter: 3.5em}[data-size=xxl][_nghost-%COMP%]{--t-diameter: 5em}.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%;min-height:var(--t-diameter);flex-shrink:0;align-self:center;color:var(--tui-text-primary);stroke:var(--tui-background-accent-1);animation:tuiFadeIn var(--tui-duration);font-size:1rem}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:var(--tui-font-text-s);margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(-90deg)}50%{transform:rotate(-90deg) rotate(1turn)}to{transform:rotate(-90deg) rotate(3turn)}}.t-icon[_ngcontent-%COMP%]{display:block;width:var(--t-diameter);height:var(--t-diameter);margin:.25rem calc(var(--t-diameter) / -2);border-radius:100%;overflow:hidden;animation:_ngcontent-%COMP%_tuiLoaderRotate 4s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}50%{stroke-dashoffset:calc(.05 * calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness))))}to{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}}.t-circle[_ngcontent-%COMP%]{r:calc(var(--t-diameter) / 2 - var(--tui-thickness));stroke-dasharray:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)));fill:none;stroke:inherit;stroke-width:max(var(--tui-thickness),1.5px);animation:_ngcontent-%COMP%_tuiLoaderDashOffset 4s linear infinite}"],changeDetection:0}),e})()},69816:(t,e,n)=>{n.d(e,{vI:()=>i});const i=(0,n(73740).JN)({size:"m",inheritColor:!1,overlay:!1})},94030:(t,e,n)=>{n.d(e,{Ln:()=>d,tK:()=>y});var i=n(76733),r=n(20755),o=n(11679),s=n(9368),a=n(41589),l=n(25690),c=n(73740);const u={info:"@tui.info",success:"@tui.circle-check",error:"@tui.circle-x",warning:"@tui.circle-alert",neutral:"@tui.info"},h={status:"info",icon:({$implicit:t})=>u[t],size:"m"},d=(0,c.JN)(h);function p(t,e){if(1&t&&r._UZ(0,"tui-icon",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t.toString())}}const f=function(t){return{$implicit:t}};function g(t,e){if(1&t&&(r.ynx(0),r.YNc(1,p,1,1,"tui-icon",4),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)("polymorpheusOutletContext",r.VKq(2,f,t.status))}}function m(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close.emit())})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(2,2,t.closeWord$),"\n")}}const v=["*"];let y=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(d),this.closeWord$=(0,r.f3M)(a.U0),this.icons=(0,r.f3M)(a.Gs),this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new r.vpe}get hasClose(){return!this.hideClose&&this.close.observed}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-notification"],["a","tuiNotification",""],["button","tuiNotification",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.uIk("data-status",e.status)("data-size",e.size)},inputs:{icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},standalone:!0,features:[r.jDz],ngContentSelectors:v,decls:5,vars:3,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"iconLeft","click",4,"ngIf"],["automation-id","tui-notification__more",1,"t-more",3,"icon"],["automation-id","tui-notification__icon","class","t-icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"icon"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"iconLeft","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,g,2,4,"ng-container",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,m,3,4,"button",2),r._UZ(4,"tui-icon",3)),2&t&&(r.Q6J("ngIf",e.icon),r.xp6(3),r.Q6J("ngIf",e.hasClose),r.xp6(1),r.Q6J("icon",e.icons.more))},dependencies:[o.xG,l.s$,i.O5,s.R,i.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-s);color:var(--tui-text-primary);padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-background-base);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;width:1rem;color:var(--tui-text-primary);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-status-info);background:linear-gradient(var(--tui-status-info-pale),var(--tui-status-info-pale)),var(--tui-background-base)}[data-status=success][_nghost-%COMP%]{color:var(--tui-status-positive);background:linear-gradient(var(--tui-status-positive-pale),var(--tui-status-positive-pale)),var(--tui-background-base)}[data-status=error][_nghost-%COMP%]{color:var(--tui-status-negative);background:linear-gradient(var(--tui-status-negative-pale),var(--tui-status-negative-pale)),var(--tui-background-base)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-status-warning);background:linear-gradient(var(--tui-status-warning-pale),var(--tui-status-warning-pale)),var(--tui-background-base)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-status-neutral);background:linear-gradient(var(--tui-background-neutral-1),var(--tui-background-neutral-1)),var(--tui-background-base)}[tuiTheme="dark"][_nghost-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%]{--tui-background-base: #000}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-primary);text-align:inherit;align-self:center}'],changeDetection:0}),e})()},38525:(t,e,n)=>{n.d(e,{q:()=>C});var i=n(76733),r=n(20755),o=n(62022),s=n(65026),a=n(86253),l=n(75097),c=n(67587),u=n(88543),h=n(42690),d=n(75430),p=n(94457),f=n(41589),g=n(82510),m=n(92425),v=n(71209),y=n(20155),b=n(32423);function _(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const w=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],x=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let C=(()=>{var t;class e{constructor(){this.reducedMotion=(0,r.f3M)(f.TK),this.duration=(0,g.cZ)((0,r.f3M)(f.ZW)),this.isMobileRes=(0,o.O4)((0,r.f3M)(p.zE).pipe((0,m.U)((t=>"mobile"===t)),(0,s.NA)((0,r.f3M)(r.sBO)))),this.scrollbars$=(0,r.f3M)(a.fL)?(0,v.of)(!1):(0,r.f3M)(c.qY).pipe((0,m.U)((({length:t})=>!t)),(0,y.b)(0)),(0,r.f3M)(i.K0).defaultView?.document.documentElement.setAttribute("data-tui-theme",(0,r.f3M)(f.r2).toLowerCase())}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","4.0.0-rc.2"],hostVars:6,hostBindings:function(t,e){1&t&&r.NdJ("touchstart.passive.silent",(function(){return 0})),2&t&&(r.Udp("--tui-duration",e.duration,"ms"),r.ekj("_reduced-motion",e.reducedMotion)("_mobile",e.isMobileRes()))},standalone:!0,features:[r.jDz,r.zW0([b.c])],ngContentSelectors:x,decls:13,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(w),r.YNc(0,_,1,0,"tui-scroll-controls",0),r.ALo(1,"async"),r.TgZ(2,"tui-dropdowns")(3,"div",1),r.Hsn(4),r.qZA(),r.Hsn(5,1),r._UZ(6,"tui-dialogs"),r.Hsn(7,2),r._UZ(8,"tui-alerts"),r.Hsn(9,3),r.qZA(),r.Hsn(10,4),r._UZ(11,"tui-hints"),r.Hsn(12,5)),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.scrollbars$))},dependencies:[i.O5,i.Ov,h.JY,c.r4,l.Jp,d.Z0,u.bl],styles:['@keyframes tuiPresent{to{content:""}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html[data-tui-theme],.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html[data-tui-theme]::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html[data-tui-theme]::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body,input{margin:0}tui-root{position:relative;display:block;font:var(--tui-font-text-s);color:var(--tui-text-primary);flex:1;-webkit-tap-highlight-color:transparent}tui-root:before{position:fixed;top:0;left:0;width:100%;height:100%;content:"";background:var(--tui-background-base)}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}\n'],encapsulation:2}),e})()},88543:(t,e,n)=>{n.d(e,{bl:()=>i.b,_H:()=>r._,pS:()=>l,D1:()=>c.D1});var i=n(37201),r=n(46877),o=n(20755),s=n(73740),a=n(41589);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["","tuiScrollRef",""]],standalone:!0,features:[o._Bn([(0,s.Q2)(a.$_,o.SBq)])]}),e})();n(55181);var c=n(31807);n(28169),n(40942)},37201:(t,e,n)=>{n.d(e,{b:()=>y});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(34138),l=n(41589),c=n(82510),u=n(38356),h=n(92425),d=n(73843),p=n(18004),f=n(28169);function g(t,e){if(1&t&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-horizontal",t[1]),r.Q6J("@tuiFadeIn",e.options)}}function m(t,e){if(1&t&&(r.TgZ(0,"div",5),r._UZ(1,"div",6),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-vertical",t[0]),r.Q6J("@tuiFadeIn",e.options)}}function v(t,e){if(1&t&&(r.ynx(0),r.YNc(1,g,2,3,"div",1),r.YNc(2,m,2,3,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t[0]),r.xp6(1),r.Q6J("ngIf",t[1])}}let y=(()=>{var t;class e{constructor(){this.scrollRef=(0,r.f3M)(l.$_).nativeElement,this.options=(0,c.qS)((0,r.f3M)(l.ZW)),this.refresh$=(0,r.f3M)(o.L1).pipe((0,u.p)(300),(0,h.U)((()=>this.scrollbars)),(0,d.O)([!1,!1]),(0,p.x)(((t,e)=>t[0]===e[0]&&t[1]===e[1])),(0,s.Yr)((0,r.f3M)(r.R0b)))}get scrollbars(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.scrollRef;return[Math.ceil(t/e*100)<100,Math.ceil(n/i*100)<100]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-scroll-controls"]],standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(r.YNc(0,v,3,2,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.refresh$))},dependencies:[i.O5,i.Ov,f.N],styles:["[_nghost-%COMP%]{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-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;-webkit-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.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:[a.QF]},changeDetection:0}),e})()},46877:(t,e,n)=>{n.d(e,{_:()=>l});var i=n(20755),r=n(62022),o=n(55181),s=n(1925),a=n(31807);let l=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.destroyRef=(0,i.f3M)(i.ktI)}set tuiScrollIntoView(t){t&&(0,s.H)(0).pipe((0,r.sL)(this.destroyRef)).subscribe((()=>{this.el.dispatchEvent(new CustomEvent(a.fe,{bubbles:!0,detail:this.el}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},standalone:!0}),e})()},31807:(t,e,n)=>{n.d(e,{D1:()=>d,fe:()=>h});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(41589),l=n(37201);function c(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const u=["*"],h="tui-scroll-into-view";let d=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.browserScrollRef=new r.SBq(this.el),this.hidden=!1}get delegated(){return this.browserScrollRef.nativeElement!==this.el}onScrollable(t){this.browserScrollRef.nativeElement=t}scrollIntoView(t){if(this.delegated)return;const{nativeElement:e}=this.browserScrollRef,{offsetTop:n,offsetLeft:i}=(0,s.YX)(e,t),{clientHeight:r,clientWidth:o}=e,{offsetHeight:a,offsetWidth:l}=t,c=n+a/2-r/2,u=i+l/2-o/2;e.scrollTo?.(u,c)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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("_native-hidden",!e.isIOS||e.hidden)},inputs:{hidden:"hidden"},standalone:!0,features:[r._Bn([{provide:a.$_,useFactory:()=>(0,r.f3M)(t).browserScrollRef}]),r.jDz],ngContentSelectors:u,decls:3,vars:3,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,c,1,0,"tui-scroll-controls",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()),2&t&&(r.Q6J("ngIf",!e.hidden&&!e.isIOS),r.xp6(1),r.ekj("t-content_delegated",e.delegated))},dependencies:[l.b,i.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}._native-hidden[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none}._native-hidden[_nghost-%COMP%]::-webkit-scrollbar, ._native-hidden[_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-content_delegated[_ngcontent-%COMP%]{height:100%}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-primary)}"],changeDetection:0}),e})()},28169:(t,e,n)=>{n.d(e,{N:()=>d});var i=n(20755),r=n(62022),o=n(42772),s=n(65026),a=n(55181),l=n(41589),c=n(45047),u=n(38356),h=n(40942);let d=(()=>{var t;class e{constructor(){this.el=(0,i.f3M)(l.$_).nativeElement,this.style=(0,a.AG)().style,this.scrollSub=(0,i.f3M)(h.Q).pipe((0,r.sL)()).subscribe((([t,e])=>{this.el.style.scrollBehavior="auto",this.el.scrollTo({top:t,left:e}),this.el.style.scrollBehavior=""})),this.styleSub=(0,c.T)((0,i.f3M)(o.L1).pipe((0,u.p)(100)),(0,s.pt)(this.el)).pipe((0,s.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>{"vertical"===this.tuiScrollbar?(this.style.top=100*this.thumb+"%",this.style.height=100*this.view+"%"):(this.style.left=100*this.thumb+"%",this.style.width=100*this.view+"%")})),this.tuiScrollbar="vertical"}get scrolled(){const{scrollTop:t,scrollHeight:e,clientHeight:n,scrollLeft:i,scrollWidth:r,clientWidth:o}=this.el;return"vertical"===this.tuiScrollbar?t/(e-n):i/(r-o)}get compensation(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return t*t/e>24&&"vertical"===this.tuiScrollbar||n*n/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/t:24/n}get thumb(){const t=this.compensation||this.view;return this.scrolled*(1-t)}get view(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return"vertical"===this.tuiScrollbar?Math.ceil(t/e*100)/100:Math.ceil(n/i*100)/100}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},standalone:!0,features:[i._Bn([h.Q])]}),e})()},40942:(t,e,n)=>{n.d(e,{Q:()=>d});var i=n(20755),r=n(65026),o=n(55181),s=n(41589),a=n(48132),l=n(45047),c=n(92425),u=n(84787),h=n(81749);let d=(()=>{var t;class e extends a.y{constructor(){super((t=>this.scroll$.subscribe(t))),this.el=(0,o.AG)(),this.element=(0,i.f3M)(s.$_).nativeElement,this.scroll$=(0,l.T)((0,r.mL)(this.el.parentElement,"mousedown").pipe((0,c.U)((t=>this.getScrolled(t,.5,.5)))),(0,r.mL)(this.el,"mousedown").pipe((0,r.fL)((0,i.f3M)(i.R0b)),(0,u.w)((t=>{const{ownerDocument:e}=this.el,n=this.el.getBoundingClientRect(),i=function({clientY:t},{top:e,height:n}){return(t-e)/n}(t,n),o=function({clientX:t},{left:e,width:n}){return(t-e)/n}(t,n);return(0,r.mL)(e,"mousemove").pipe((0,c.U)((t=>this.getScrolled(t,i,o))),(0,h.R)((0,r.mL)(e,"mouseup")))}))))}getScrolled({clientY:t,clientX:e},n,i){const{offsetHeight:r,offsetWidth:o}=this.el,{top:s,left:a,width:l,height:c}=this.el.parentElement.getBoundingClientRect();return[(this.element.scrollHeight-c)*((t-s-r*n)/(c-r)),(this.element.scrollWidth-l)*((e-a-o*i)/(l-o))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})()},82509:(t,e,n)=>{n.d(e,{f:()=>c});var i=n(76733),r=n(20755),o=n(11679),s=n(41589);function a(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onLeftClick())})),r._uU(2),r.qZA(),r.TgZ(3,"span",2),r.Hsn(4),r.qZA(),r.TgZ(5,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onRightClick())})),r._uU(6),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-hidden",n.leftComputedDisabled),r.Q6J("iconLeft",n.icons.decrement)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[0]," "),r.xp6(3),r.ekj("t-hidden",n.rightComputedDisabled),r.Q6J("iconLeft",n.icons.increment)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[1]," ")}}const l=["*"];let c=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(s.oC),this.spinTexts$=(0,r.f3M)(s.U4),this.focusable=!0,this.disabled=!1,this.leftDisabled=!1,this.rightDisabled=!1,this.leftClick=new r.vpe,this.rightClick=new r.vpe}onLeftClick(){this.leftComputedDisabled||this.leftClick.emit()}onRightClick(){this.rightComputedDisabled||this.rightClick.emit()}get leftComputedDisabled(){return this.disabled||this.leftDisabled}get rightComputedDisabled(){return this.disabled||this.rightDisabled}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-spin-button"]],hostBindings:function(t,e){1&t&&r.NdJ("mousedown.silent.prevent",(function(){return 0}))("keydown.arrowLeft.prevent",(function(){return e.onLeftClick()}))("keydown.arrowRight.prevent",(function(){return e.onRightClick()}))},inputs:{focusable:"focusable",disabled:"disabled",leftDisabled:"leftDisabled",rightDisabled:"rightDisabled"},outputs:{leftClick:"leftClick",rightClick:"rightClick"},standalone:!0,features:[r.jDz],ngContentSelectors:l,decls:2,vars:3,consts:[[4,"ngIf"],["appearance","flat","automation-id","tui-spin-button__left","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"],[1,"t-content","t-calendar-title"],["appearance","flat","automation-id","tui-spin-button__right","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,a,7,10,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.spinTexts$))},dependencies:[o.xG,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:700}.t-hidden[_ngcontent-%COMP%]{visibility:hidden}.t-content[_ngcontent-%COMP%]{padding:0 .5rem}"],changeDetection:0}),e})()},2239:(t,e,n)=>{n.d(e,{z1:()=>b,MB:()=>E,bf:()=>T,qm:()=>_}),n(8239);var i=n(76733),r=n(20755),o=n(43226),s=(n(42772),n(73740)),a=n(10676),l=n(55181),c=n(10426),u=n(34749),h=n(52674),d=n(11679),p=n(63098),f=n(57981),g=n(71938),m=n(41589),v=n(25690),y=n(94267);const b=(0,s.JN)({appearance:"textfield",size:"l",cleaner:!0});let _=(()=>{var t;class e extends y.QJ{constructor(){super(...arguments),this.options=(0,r.f3M)(b,{skipSelf:!0}),this.appearance=this.options.appearance,this.size=this.options.size,this.cleaner=this.options.cleaner}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""],["","tuiTextfieldSize",""],["","tuiTextfieldCleaner",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"],size:["tuiTextfieldSize","size"],cleaner:["tuiTextfieldCleaner","cleaner"]},standalone:!0,features:[r._Bn([(0,s.Q2)(b,t)]),r.qOj]}),e})();var w=n(82527),x=n(98549);function C(t,e){1&t&&r.GkF(0)}function k(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(null==e.directive?null:e.directive.setValue(""))}))("pointerdown.silent.prevent",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.input.focus())})),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close)}}function O(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 M(t,e){if(1&t&&r._UZ(0,"input",7),2&t){const t=r.oxw();r.Q6J("value",t.computedFiller)}}const S=[[["input"]],[["select"]],[["label"]],"*",[["","tuiTooltip",""]]],A=function(t,e){return{$implicit:t,active:e}},P=["input","select","label","*","[tuiTooltip]"];let E=(()=>{var t;class e{constructor(){this.dropdown=(0,r.f3M)(g.Bb,{optional:!0,self:!0}),this.side=0,this.change$=(0,r.f3M)(_,{optional:!0})?.change$,this.options=(0,r.f3M)(b),this.icons=(0,r.f3M)(m.Gs),this.control=(0,r.f3M)(o.a5,{optional:!0}),this.filler="",this.stringify=String}get input(){if(!this.el)throw new Error("[tuiTextfield] component is required");return this.el.nativeElement}get id(){return this.el?.nativeElement.id||""}get focused(){return!!this.dropdown?.dropdown||(0,h.V8)(this.el?.nativeElement)}handleOption(t){this.directive?.setValue(this.stringify(t)),this.dropdown?.toggle(!1)}get computedFiller(){const t=this.input.value||"",e=t+this.filler.slice(t.length);return e.length>t.length?e:""}get showFiller(){return this.focused&&!!this.computedFiller&&(!!this.input.value||!this.input.placeholder)}get hasLabel(){return Boolean(this.label?.nativeElement?.childNodes.length)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-textfield"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,T,5,r.SBq),r.Suo(n,T,5),r.Suo(n,f.T,5,r.SBq)),2&t){let t;r.iGM(t=r.CRH())&&(e.el=t.first),r.iGM(t=r.CRH())&&(e.directive=t.first),r.iGM(t=r.CRH())&&(e.label=t.first)}},hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.options.size),r.Udp("--t-side",e.side,"px"),r.ekj("_with-label",e.hasLabel)("_disabled",e.input.disabled))},inputs:{filler:"filler",stringify:"stringify",content:"content"},standalone:!0,features:[r._Bn([(0,p.oE)(t),(0,c.mS)(b),(0,g.fx)({limitWidth:"fixed"})]),r.jDz,r.zW0([w.k,g.td,p.Pb,{directive:g.Bb,inputs:["tuiDropdownOpen","open"],outputs:["tuiDropdownOpenChange","openChange"]},{directive:x.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],ngContentSelectors:P,decls:12,vars:10,consts:[[4,"ngIf"],[1,"t-content",3,"waResizeObserver"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","","class","t-clear",3,"iconLeft","click","pointerdown.silent.prevent",4,"ngIf"],[1,"t-template"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["aria-hidden","true","disabled","","class","t-filler",3,"value",4,"ngIf"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","",1,"t-clear",3,"iconLeft","click","pointerdown.silent.prevent"],["aria-hidden","true","disabled","",1,"t-filler",3,"value"]],template:function(t,e){1&t&&(r.F$t(S),r.YNc(0,C,1,0,"ng-container",0),r.ALo(1,"async"),r.Hsn(2),r.Hsn(3,1),r.Hsn(4,2),r.TgZ(5,"span",1),r.NdJ("waResizeObserver",(function(t){return e.side=t[0].contentRect.width})),r.Hsn(6,3),r.YNc(7,k,1,1,"button",2),r.Hsn(8,4),r.qZA(),r.TgZ(9,"span",3),r.YNc(10,O,2,1,"ng-container",4),r.qZA(),r.YNc(11,M,1,1,"input",5)),2&t&&(r.Q6J("ngIf",r.lcZ(1,5,e.change$)),r.xp6(7),r.Q6J("ngIf",e.options.cleaner),r.xp6(3),r.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",r.WLB(7,A,null==e.control?null:e.control.value,e.focused)),r.xp6(1),r.Q6J("ngIf",e.showFiller))},dependencies:[i.O5,i.Ov,u.P,d.xG,v.s$],styles:["[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--t-left: 0rem;--t-right: 0rem;position:relative;display:flex;align-items:center;pointer-events:none;cursor:pointer;height:var(--t-height);color:var(--tui-text-tertiary)}[data-size=s][_nghost-%COMP%]{--t-height: var(--tui-height-s);padding:0 var(--tui-padding-s);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=s]._icon-left[_nghost-%COMP%]{--t-left: 1.25rem}[data-size=s]._icon-right[_nghost-%COMP%]{--t-right: 1.25rem}[data-size=s][_nghost-%COMP%]:before{margin-inline-start:-.25rem;margin-inline-end:.5rem;font-size:1rem}[data-size=s][_nghost-%COMP%]:after{margin-inline-end:-.175rem;margin-inline-start:.25rem;font-size:1rem}[data-size=s][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{gap:0}[data-size=m][_nghost-%COMP%]{--t-height: var(--tui-height-m);padding:0 var(--tui-padding-m);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=m]._icon-left[_nghost-%COMP%]{--t-left: 1.75rem}[data-size=m]._icon-right[_nghost-%COMP%]{--t-right: 1.75rem}[data-size=m][_nghost-%COMP%]:before{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=m][_nghost-%COMP%]:after{margin-inline-start:.375rem;margin-inline-end:-.125rem}[data-size=m][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=l][_nghost-%COMP%]{--t-height: var(--tui-height-l);padding:0 var(--tui-padding-l);border-radius:var(--tui-radius-l);font:var(--tui-font-text-m)}[data-size=l]._icon-left[_nghost-%COMP%]{--t-left: 2.25rem}[data-size=l]._icon-right[_nghost-%COMP%]{--t-right: 2.25rem}[data-size=l][_nghost-%COMP%]:before{margin-inline-end:.75rem}[data-size=l][_nghost-%COMP%]:after{margin-inline-start:.25rem}[data-size=l][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-m)}[_nghost-%COMP%]:hover{color:var(--tui-text-secondary)}[_nghost-%COMP%]:before{z-index:1}._disabled[_nghost-%COMP%]:before, ._disabled[_nghost-%COMP%]:after, ._disabled[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]{padding-top:calc(var(--t-height) / 3)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]::placeholder, ._with-label[_nghost-%COMP%] [tuiTextfield]::placeholder, ._with-label[_nghost-%COMP%] .t-template._empty[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]._empty{color:transparent}[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], [_nghost-%COMP%] [tuiTextfield]{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:none;appearance:none;box-sizing:border-box;border:none;border-inline-start:var(--t-left) solid transparent;border-inline-end:calc(var(--t-right) + var(--t-side)) solid transparent;border-radius:inherit;padding:inherit}[_nghost-%COMP%] [tuiTextfield]{pointer-events:auto;background:transparent no-repeat center right 1rem / 2rem;background-clip:border-box,padding-box}[_nghost-%COMP%] [tuiTextfield]:read-only~.t-filler{display:none}[_nghost-%COMP%] [tuiTextfield]:disabled~label, [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%] [tuiTextfield]:disabled~label [tuiTooltip], [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content [tuiTooltip]{display:none}[_nghost-%COMP%] [tuiTextfield]:not(._empty)~label{font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled)[data-mode=invalid]~label, [_nghost-%COMP%] [tuiTextfield]:not(._empty):invalid:not(:disabled):not([data-mode])~label{color:var(--tui-status-negative)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled):not([data-mode=readonly])~.t-content .t-clear{display:flex}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] label{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:block;flex:1;font-size:inherit}[_nghost-%COMP%] label, [_nghost-%COMP%] input::placeholder, [_nghost-%COMP%] select._empty{color:var(--tui-text-secondary)}[_nghost-%COMP%] select:not([data-mode=readonly]){cursor:pointer}@supports (-webkit-touch-callout: none){[_nghost-%COMP%] [tuiTextfield]:active{font-size:1rem}[_nghost-%COMP%] [tuiTextfield]._ios-fix{position:fixed;left:1000rem}}.t-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;margin-inline-start:auto}.t-clear[_ngcontent-%COMP%]{display:none;pointer-events:auto}.t-filler[_ngcontent-%COMP%]{pointer-events:none;background:none;color:var(--tui-text-tertiary);opacity:1}"],changeDetection:0}),e})(),T=(()=>{var t;class e{constructor(){this.appearance=(0,r.f3M)(c.Nm),this.options=(0,r.f3M)(b),this.textfield=(0,r.f3M)(E),this.id=(0,r.f3M)(a.ll).generate(),this.el=(0,l.AG)(),this.readOnly=!1,this.invalid=null,this.focused=null,this.state=null}get mode(){return this.readOnly?"readonly":!1===this.invalid?"valid":this.invalid?"invalid":null}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance,this.appearance.tuiAppearanceFocus=this.focused??this.textfield.focused,this.appearance.tuiAppearanceState=this.state}setValue(t){this.el.value=t,this.el.dispatchEvent(new Event("input"))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["input","tuiTextfield",""]],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("input",(function(){return 0}))("focusin",(function(){return 0}))("focusout",(function(){return 0})),2&t&&(r.Ikx("id",e.el.id||e.id)("readOnly",e.readOnly),r.uIk("data-mode",e.mode),r.ekj("_empty",""===e.el.value))},inputs:{readOnly:"readOnly",invalid:"invalid",focused:"focused",state:"state"},standalone:!0,features:[r.zW0([w.k,c.Nm])]}),e})();f.T},93714:(t,e,n)=>{n.d(e,{N:()=>o});var i=n(20755),r=n(99488);let o=(()=>{var t;class e{constructor(){this.tuiAppearance=(0,i.f3M)(r.WR).appearance,this.tuiAppearanceState=null,this.tuiAppearanceFocus=null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAppearance",""]],hostAttrs:["tuiAppearance",""],hostVars:3,hostBindings:function(t,e){2&t&&i.uIk("data-appearance",e.tuiAppearance)("data-state",e.tuiAppearanceState)("data-focus",e.tuiAppearanceFocus)},inputs:{tuiAppearance:"tuiAppearance",tuiAppearanceState:"tuiAppearanceState",tuiAppearanceFocus:"tuiAppearanceFocus"},standalone:!0}),e})()},99488:(t,e,n)=>{n.d(e,{WR:()=>r,mS:()=>o});var i=n(73740);const r=(0,i.JN)({appearance:""});function o(t){return(0,i.Q2)(r,t)}},10426:(t,e,n)=>{n.d(e,{Nm:()=>i.N,mS:()=>r.mS});var i=n(93714),r=n(99488)},1:(t,e,n)=>{n.d(e,{B:()=>x});var i,r=n(84911),o=n(20755),s=n(62022),a=n(95079),l=n(42833),c=n(65026),u=n(55181),h=n(52674),d=n(52540),p=n(16931),f=n(25797),g=n(45047),m=n(55333),v=n(10409),y=n(92425),b=n(10938),_=n(72526);const w=["tuiDropdownHost"];class x{constructor(){this.directive=(0,o.f3M)(b.t,{optional:!0}),this.el=(0,u.AG)(),this.obscured=(0,o.f3M)(l.Q),this.sub=(0,g.T)(this.obscured.tuiObscured.pipe((0,m.h)(Boolean)),(0,o.f3M)(a.d).tuiActiveZoneChange.pipe((0,m.h)((t=>!t))),(0,v.R)(this.el,"focusin").pipe((0,y.U)(u.mA),(0,m.h)((t=>!this.host.contains(t)||!this.directive?.dropdownBoxRef)))).pipe((0,c.NA)((0,o.f3M)(o.sBO)),(0,s.sL)()).subscribe((()=>this.toggle(!1))),this.tuiDropdownEnabled=!0,this.tuiDropdownOpen=!1,this.tuiDropdownOpenChange=new o.vpe,this.driver=(0,o.f3M)(_.v)}get dropdown(){return this.directive?.dropdownBoxRef?.location.nativeElement}get focused(){return(0,h.zb)(this.host)||(0,h.zb)(this.dropdown)}ngOnChanges(){this.drive()}toggle(t){this.focused&&!t&&this.host.focus({preventScroll:!0}),this.update(t)}onClick(t){!this.editable&&this.host.contains(t)&&this.update(!this.tuiDropdownOpen)}onArrow(t,e){(0,u.ve)(t.target)&&this.host.contains(t.target)&&(t.preventDefault(),this.focusDropdown(e))}onEsc(t){t.preventDefault(),this.toggle(!1)}onKeydown({key:t,target:e,defaultPrevented:n}){!n&&(0,p.kL)(t)&&this.editable&&this.focused&&(0,u.dW)(e)&&(!(0,u.Hn)(e)||e===this.host)&&(this.update(!0),this.host.focus({preventScroll:!0}))}get host(){const t=this.dropdownHost?.nativeElement||this.el,e=(0,h.dT)(t)?t:(0,h.BW)({initial:t,root:this.el});return this.dropdownHost?.nativeElement||e||this.el}get editable(){return(0,u.Hn)(this.host)}update(t){t&&!this.tuiDropdownEnabled||(this.tuiDropdownOpen=t,this.tuiDropdownOpenChange.emit(t),this.drive())}drive(t=this.tuiDropdownOpen&&this.tuiDropdownEnabled){this.obscured.tuiObscuredEnabled=!!t,this.driver.next(!!t)}focusDropdown(t){if(!this.dropdown)return void this.update(!0);const e=this.el.ownerDocument,n=this.dropdown.appendChild(e.createElement("div")),i=t?n:this.dropdown,r=(0,h.BW)({initial:i,previous:t,root:this.dropdown});n.remove(),r?.focus()}}(i=x).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,w,5,o.SBq),2&t){let t;o.iGM(t=o.CRH())&&(e.dropdownHost=t.first)}},hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}))("keydown.arrowDown",(function(t){return e.onArrow(t,!1)}))("keydown.arrowUp",(function(t){return e.onArrow(t,!0)}))("keydown.silent.capture",(function(t){return e.onEsc(t)}),!1,o.evT)("keydown.silent",(function(t){return e.onKeydown(t)}),!1,o.evT)},inputs:{tuiDropdownEnabled:"tuiDropdownEnabled",tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"},standalone:!0,features:[o._Bn([_.v,(0,d.UK)(_.v)]),o.TTD,o.zW0([l.Q,{directive:a.d,inputs:["tuiActiveZoneParent","tuiActiveZoneParent"],outputs:["tuiActiveZoneChange","tuiActiveZoneChange"]}])]}),(0,r.gn)([(0,f.uX)((function(t){return"key"in t&&"escape"===t.key.toLowerCase()&&this.tuiDropdownEnabled&&!!this.tuiDropdownOpen&&!this.dropdown?.nextElementSibling}))],x.prototype,"onEsc",null)},60598:(t,e,n)=>{n.d(e,{Ek:()=>c,fx:()=>l,vY:()=>a});var i=n(20755),r=n(73740),o=n(82510);const s={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},a=(0,r.JN)(s),l=t=>({provide:a,deps:[[new i.FiY,c],[new i.FiY,new i.tp0,a]],useFactory:(0,o.lp)(t,s)});let c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(a,{skipSelf:!0}),this.align=this.options.align,this.appearance=this.options.appearance,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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},standalone:!0,features:[i._Bn([(0,r.Q2)(a,t)])]}),e})()},92013:(t,e,n)=>{n.d(e,{B:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(10938),l=n(60598);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.options=(0,i.f3M)(l.vY),this.viewport=(0,i.f3M)(s.EO),this.type="dropdown",this.accessor=(0,o.Zy)("dropdown")((0,i.f3M)(o.O4),(0,i.f3M)(a.t))}getPosition({width:t,height:e}){t||e||(this.previous=void 0);const n=this.accessor?.getClientRect()??r.Jy,i=this.viewport.getClientRect(),{minHeight:o,align:s,direction:a,offset:l,limitWidth:c}=this.options,u={top:i.top-l,bottom:i.bottom+l,right:i.right-l,left:i.left+l},h=this.previous||a||"bottom",d={top:n.top-2*l-u.top,bottom:u.bottom-n.bottom-2*l},p="fixed"===c?n.width:t,f=Math.max(n.right-p,l),g=n.left+td.bottom?"top":"bottom";return d[h]>o&&a||d[h]>e?[m[h],m[s]]:(this.previous=v,[m[v],m[s]])}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownPosition",""]],standalone:!0,features:[i.qOj]}),e})()},83033:(t,e,n)=>{n.d(e,{n:()=>C});var i=n(20755),r=n(62022),o=n(42772),s=n(55181),a=n(73740),l=n(34138),c=n(52540),u=n(88543),h=n(94457),d=n(41589),p=n(82510),f=n(25690),g=n(92425),m=n(10938),v=n(79405),y=n(60598),b=n(92013),_=n(95079);function w(t,e){if(1&t&&(i.TgZ(0,"div",2),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const x=function(t){return{$implicit:t}};let C=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.accessor=(0,i.f3M)(c.O4),this.win=(0,i.f3M)(o.m9),this.vvs=(0,i.f3M)(h.Lp),this.animation=(0,p.qS)((0,i.f3M)(d.ZW)),this.options=(0,i.f3M)(y.vY),this.directive=(0,i.f3M)(m.t),this.context=(0,i.f3M)(v.V,{optional:!0}),this.theme=this.directive.el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.sub=(0,i.f3M)(h.KG).pipe((0,g.U)((t=>"fixed"===this.directive.position?this.vvs.correct(t):t)),(0,r.sL)()).subscribe((([t,e])=>{this.directive.el.isConnected?this.update(t,e):this.close()})),this.close=()=>this.directive.toggle(!1)}ngOnInit(){this.updateWidth(this.accessor.getClientRect().width)}update(t,e){const{style:n}=this.el,{right:i}=this.el.getBoundingClientRect(),{maxHeight:r,minHeight:o,offset:s}=this.options,{innerHeight:l}=this.win,c=this.el.offsetParent?.getBoundingClientRect(),{position:u}=this.directive,h=this.accessor.getClientRect(),d="fixed"===u?0:-(c?.left||0),p="fixed"===u?0:-(c?.top||0);t+=p;const f=(e+=d)h.left&&t=h.right;n.position=u,n.top=(0,a.O9)(Math.max(t,p+s)),n.left=(0,a.O9)(e),n.maxHeight=g?`${r}px`:(0,a.O9)(Math.min(r,Math.max(f,o))),n.width="",n.minWidth="",this.updateWidth(h.width)}updateWidth(t){const{style:e}=this.el;switch(this.options.limitWidth){case"min":e.minWidth=(0,a.O9)(t);break;case"fixed":e.width=(0,a.O9)(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-dropdown"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.options.appearance)("tuiTheme",e.theme),i.d8E("@tuiDropdownAnimation",e.animation))},standalone:!0,features:[i._Bn([h.KG,(0,c.ei)("dropdown",b.B),(0,c.Wk)("dropdown",m.t)]),i.jDz,i.zW0([_.d])],decls:2,vars:4,consts:[[1,"t-scroll"],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-scrollbar",0),i.YNc(1,w,2,1,"div",1),i.qZA()),2&t&&(i.xp6(1),i.Q6J("polymorpheusOutlet",e.directive.content)("polymorpheusOutletContext",i.VKq(2,x,e.close)))},dependencies:[f.s$,u.D1],styles:["[_nghost-%COMP%]{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);background:var(--tui-background-elevation-2);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}.ng-animating[_nghost-%COMP%]{pointer-events:none}[_nghost-%COMP%]:not([style*=top]){visibility:hidden}.t-scroll[_ngcontent-%COMP%]{flex-grow:1;max-width:100%;overscroll-behavior:none}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],data:{animation:[l.i9]}}),e})()},10938:(t,e,n)=>{n.d(e,{t:()=>y});var i,r=n(84911),o=n(20755),s=n(62022),a=n(55181),l=n(73740),c=n(52540),u=n(82510),h=n(25690),d=n(78748),p=n(38356),f=n(79405),g=n(5648),m=n(72526),v=n(92013);class y{constructor(){this.refresh$=new d.x,this.service=(0,o.f3M)(g.U),this.cdr=(0,o.f3M)(o.sBO),this.sub=this.refresh$.pipe((0,p.p)(0),(0,s.sL)()).subscribe((()=>{this.dropdownBoxRef?.changeDetectorRef.detectChanges(),this.dropdownBoxRef?.changeDetectorRef.markForCheck()})),this.el=(0,a.AG)(),this.type="dropdown",this.component=new h.Al((0,o.f3M)(f.W),(0,o.f3M)(o.gxx)),this.dropdownBoxRef=null}set tuiDropdown(t){this.content=t instanceof o.Rgc?new h.GL(t,this.cdr):t}get position(){return(0,u.qK)(this.el)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){if(t&&this.content&&!this.dropdownBoxRef)this.dropdownBoxRef=this.service.add(this.component);else if(!t&&this.dropdownBoxRef){const{dropdownBoxRef:t}=this;this.dropdownBoxRef=null,this.service.remove(t)}}}(i=y).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdown","",5,"ng-container",5,"ng-template"]],inputs:{tuiDropdown:"tuiDropdown"},exportAs:["tuiDropdown"],standalone:!0,features:[o._Bn([(0,c.Ic)(i),(0,c.Fe)(i)]),o.TTD,o.zW0([m.V,v.B])]}),(0,r.gn)([l.UM],y.prototype,"position",null)},72526:(t,e,n)=>{n.d(e,{V:()=>a,v:()=>s});var i=n(52540),r=n(78748),o=n(20755);let s=(()=>{var t;class e extends r.x{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),a=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiDropdownDriver",""]],standalone:!0,features:[o.qOj]}),e})()},79405:(t,e,n)=>{n.d(e,{V:()=>a,W:()=>s});var i=n(20755),r=n(73740),o=n(83033);const s=(0,r.N1)((()=>o.n)),a=new i.OlP("")},5648:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(94267),r=n(20755);let o=(()=>{var t;class e extends i.Bb{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},71938:(t,e,n)=>{n.d(e,{WH:()=>_.W,td:()=>o.t,Bb:()=>g.B,Ek:()=>m.Ek,$Q:()=>y,UA:()=>v.U,JY:()=>C,fx:()=>m.fx});var i,r=n(83033),o=n(10938),s=n(72526),a=n(84911),l=n(20755),c=n(11892),u=n(95079),h=n(55181),d=n(52540),p=n(25797);class f extends d.O4{constructor(){super(...arguments),this.driver=(0,l.f3M)(s.v),this.currentRect=c.Jy,this.activeZone=(0,l.f3M)(u.d),this.type="dropdown"}getClientRect(){return this.currentRect}onContextMenu(t,e){this.currentRect=(0,h.dD)(t,e),this.driver.next(!0)}closeDropdown(){this.driver.next(!1)}}(i=f).ɵfac=function(){let t;return function(e){return(t||(t=l.n5z(i)))(e||i)}}(),i.ɵdir=l.lG2({type:i,selectors:[["","tuiDropdownContext",""]],hostBindings:function(t,e){1&t&&l.NdJ("contextmenu.prevent.stop",(function(t){return e.onContextMenu(t.clientX,t.clientY)}))("click.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("contextmenu.capture.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("keydown.esc",(function(t){return e.closeDropdown(t.currentTarget)}),!1,l.evT)},standalone:!0,features:[l._Bn([u.d,s.v,(0,d.UK)(s.v),(0,d.Ic)(i)]),l.qOj]}),(0,a.gn)([(0,p.uX)((function(t){return!this.activeZone.contains(t)}))],f.prototype,"closeDropdown",null),n(76733),n(65026),n(45047),n(92425),n(18004),n(84787),n(71209),n(69286),n(31570),n(88557),(0,n(73740).JN)({showDelay:200,hideDelay:500});var g=n(1),m=n(60598),v=n(5648);let y=(()=>{var t;class e{constructor(){this.template=(0,l.f3M)(l.Rgc),this.service=(0,l.f3M)(v.U)}set tuiDropdown(t){this.viewRef?.destroy(),t&&(this.viewRef=this.service.addTemplate(this.template))}ngOnDestroy(){this.viewRef?.destroy()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["ng-template","tuiDropdown",""]],inputs:{tuiDropdown:"tuiDropdown"},standalone:!0}),e})();var b=n(92013);n(41589),n(86253),n(52674),n(82510),n(56424),n(38442),m.Ek,s.V,o.t,r.n,g.B,b.B;var _=n(79405),w=n(94267);const x=["*"];let C=(()=>{var t;class e extends w.oL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=l.n5z(t)))(n||t)}}(),t.ɵcmp=l.Xpm({type:t,selectors:[["tui-dropdowns"]],standalone:!0,features:[l._Bn([(0,w.ze)(v.U)]),l.qOj,l.jDz],ngContentSelectors:x,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(l.F$t(),l.Hsn(0),l.GkF(1,null,0))},styles:["[_nghost-%COMP%]{display:block;height:100%;isolation:isolate}"],changeDetection:0}),e})()},7183:(t,e,n)=>{n.d(e,{e:()=>C});var i,r=n(84911),o=n(76733),s=n(20755),a=n(65026),l=n(55181),c=n(52674),u=n(73740),h=n(52540),d=n(56424),p=n(18004),f=n(10409),g=n(84787),m=n(71209),v=n(45047),y=n(92425),b=n(24249),_=n(1925),w=n(73843),x=n(14776);class C extends h.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.doc=(0,s.f3M)(o.K0),this.el=(0,l.AG)(),this.id$=new d.X(""),this.stream$=this.id$.pipe((0,p.x)(),(0,a.Xd)((()=>(0,f.R)(this.doc,"keydown",{capture:!0})),u.Pc),(0,g.w)((()=>this.focused?(0,m.of)(!1):(0,v.T)((0,a.mL)(this.doc,"keyup"),(0,a.mL)(this.element,"blur")).pipe((0,y.U)((()=>this.focused))))),(0,b.D)((t=>t?(0,_.H)(1e3):(0,m.of)(null))),(0,w.O)(!1),(0,p.x)(),(0,x.T)(1),(0,a.Yr)((0,s.f3M)(s.R0b))),this.type="hint"}set tuiHintDescribe(t){this.id$.next(t||"")}get element(){return this.doc.getElementById(this.id$.value||"")||this.el}get focused(){return(0,c.V8)(this.element)}}(i=C).ɵfac=function(t){return new(t||i)},i.ɵdir=s.lG2({type:i,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},standalone:!0,features:[s._Bn([(0,h.UK)(i)]),s.qOj]}),(0,r.gn)([u.UM],C.prototype,"element",null)},82897:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(52540),r=n(20755);let o=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="hint"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["never","tuiHint",""]],standalone:!0,features:[r.qOj]}),e})()},48272:(t,e,n)=>{n.d(e,{H:()=>b});var i=n(20755),r=n(7479),o=n(55181),s=n(52540),a=n(82510),l=n(78748),c=n(45047),u=n(84787),h=n(71209),d=n(69286),p=n(81749),f=n(74842),g=n(55333),m=n(92425),v=n(31570),y=n(40294);let b=(()=>{var t;class e extends s.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hovered$=(0,i.f3M)(r.gs),this.options=(0,i.f3M)(y.H3),this.visible=!1,this.toggle$=new l.x,this.stream$=(0,c.T)(this.toggle$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?0:this.tuiHintHideDelay)))),(0,p.R)(this.hovered$),(0,f.r)()),this.hovered$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?this.tuiHintShowDelay:this.tuiHintHideDelay)))),(0,p.R)(this.toggle$),(0,f.r)())).pipe((0,g.h)((()=>this.enabled)),(0,m.U)((t=>t&&(this.el.hasAttribute("tuiHintPointer")||!(0,a.mn)(this.el)))),(0,v.b)((t=>{this.visible=t}))),this.parent=(0,i.f3M)(e,{optional:!0,skipSelf:!0}),this.tuiHintShowDelay=this.options.showDelay,this.tuiHintHideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0,this.el=(0,o.AG)()}toggle(t=!this.visible){this.toggle$.next(t),this.parent?.toggle(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiHint",""]],inputs:{tuiHintShowDelay:"tuiHintShowDelay",tuiHintHideDelay:"tuiHintHideDelay"},exportAs:["tuiHintHover"],standalone:!0,features:[i._Bn([(0,s.UK)(t),r.gs]),i.qOj]}),e})()},40294:(t,e,n)=>{n.d(e,{Fw:()=>s,H3:()=>a,bZ:()=>l});var i=n(20755),r=n(94267),o=n(73740);n(82510);const s=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"],a=(0,o.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"@tui.circle-help"});let l=(()=>{var t;class e extends r.QJ{constructor(){super(...arguments),this.options=(0,i.f3M)(a,{skipSelf:!0}),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=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},standalone:!0,features:[i._Bn([(0,o.Q2)(a,t)]),i.qOj]}),e})()},12632:(t,e,n)=>{n.d(e,{y:()=>l});var i=n(11892),r=n(55181),o=n(52540),s=n(48272),a=n(20755);let l=(()=>{var t;class e extends s.H{constructor(){super(...arguments),this.currentRect=i.Jy}getClientRect(){return this.currentRect}onMove({clientX:t,clientY:e}){this.currentRect=(0,r.dD)(t,e)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.ɵdir=a.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&a.NdJ("mousemove.silent",(function(t){return e.onMove(t)}))},standalone:!0,features:[a._Bn([(0,o.Ic)(t),(0,o.UK)(t)]),a.qOj]}),e})()},52065:(t,e,n)=>{n.d(e,{Z:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(25932),l=n(40294);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.viewport=(0,i.f3M)(s.EO),this.accessor=(0,o.Zy)("hint")((0,i.f3M)(o.O4),(0,i.f3M)(a.D)),this.points=l.Fw.reduce(((t,e)=>({...t,[e]:[0,0]})),{}),this.direction=(0,i.f3M)(l.H3).direction,this.type="hint"}getPosition({width:t,height:e}){const n=this.accessor.getClientRect()??r.Jy,i=n.left+n.width/2,o=n.top+n.height/2;if(this.points["top-left"][0]=n.top-e-8,this.points["top-left"][1]=i-t+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=i-t/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=i-22,this.points["bottom-left"][0]=n.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]=o-e+22,this.points["left-top"][1]=n.left-t-8,this.points.left[0]=o-e/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=o-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]=n.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 s=l.Fw.find((n=>this.checkPosition(this.points[n],t,e)));return this.points[s||this.fallback]}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([t,e],n,i){const r=this.viewport.getClientRect();return t>2&&e>2&&t+i{n.d(e,{j:()=>O});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11892),l=n(7479),c=n(55181),u=n(58373),h=n(73740),d=n(34138),p=n(52540),f=n(94457),g=n(41589),m=n(82510),v=n(25690),y=n(92425),b=n(25932),_=n(48272),w=n(12632),x=n(52065);function C(t,e){if(1&t&&o._UZ(0,"span",1),2&t){const t=e.polymorpheusOutlet;o.Q6J("innerHTML",t,o.oJD)}}const k=[f.KG,l.gs,(0,p.ei)("hint",x.Z),(0,p.Wk)("hint",b.D)];class O{constructor(){this.polymorpheus=(0,o.f3M)(v.yf),this.el=(0,c.AG)(),this.hover=(0,o.f3M)(_.H),this.vvs=(0,o.f3M)(f.Lp),this.viewport=(0,o.f3M)(g.EO),this.appearance=this.polymorpheus.$implicit.appearance||(0,o.f3M)(b.D).el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.options=(0,m.qS)((0,o.f3M)(g.ZW)),this.pointer=(0,o.f3M)(w.y,{optional:!0}),this.accessor=(0,o.f3M)(p.O4),(0,o.f3M)(f.KG).pipe((0,y.U)((t=>this.vvs.correct(t))),(0,s.sL)()).subscribe((([t,e])=>{this.update(t,e)})),(0,o.f3M)(l.gs).pipe((0,s.sL)()).subscribe((t=>this.hover.toggle(t)))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(t){(!t.closest("tui-hint")&&!this.hover.el.contains(t)||(0,m.mn)(this.hover.el))&&this.hover.toggle(!1)}update(t,e){if(!this.hover.el.isConnected)return void this.hover.toggle(!1);const{height:n,width:i}=this.el.getBoundingClientRect(),r=this.accessor.getClientRect(),o=this.viewport.getClientRect();if(r===a.Jy)return;const s=(0,u.K)(e,4,o.width-i-4),[l,c]=this.vvs.correct([r.top+r.height/2-t,r.left+r.width/2-s]);this.el.style.top=(0,h.O9)(t),this.el.style.left=(0,h.O9)(s),this.el.style.setProperty("--top",(0,h.O9)((0,u.K)(l,.5,n-1))),this.el.style.setProperty("--left",(0,h.O9)((0,u.K)(c,.5,i-1)))}}(i=O).ɵfac=function(t){return new(t||i)},i.ɵcmp=o.Xpm({type:i,selectors:[["tui-hint"]],hostVars:5,hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}),!1,o.evT),2&t&&(o.uIk("data-appearance",e.appearance)("tuiTheme",e.appearance),o.d8E("@tuiFadeIn",e.options),o.ekj("_untouchable",e.pointer))},standalone:!0,features:[o._Bn(k),o.jDz],ngContentSelectors:["*"],decls:2,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o.YNc(1,C,1,1,"span",0)),2&t&&(o.xp6(1),o.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context))},dependencies:[v.s$],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-background-accent-1);border-radius:var(--tui-radius-l);color:var(--tui-text-primary-on-accent-1);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word;line-height:1.25rem}[_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-status-negative)}[data-appearance=dark][_nghost-%COMP%]{background:var(--tui-background-accent-opposite-hover);color:var(--tui-background-base);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:[d.QF]},changeDetection:0}),(0,r.gn)([h.UM],O.prototype,"update",null)},25932:(t,e,n)=>{n.d(e,{D:()=>f});var i=n(20755),r=n(95079),o=n(55181),s=n(52540),a=n(25690),l=n(65051),c=n(89440),u=n(40294),h=n(82897),d=n(48272),p=n(52065);let f=(()=>{var t;class e{constructor(){this.service=(0,i.f3M)(c.B),this.appearance=(0,i.f3M)(u.H3).appearance,this.component=(0,i.f3M)(a.Al),this.el=(0,o.AG)(),this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.type="hint"}set tuiHint(t){this.content=t,t||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){t&&this.content?this.service.add(this):this.service.remove(this)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{context:["tuiHintContext","context"],appearance:["tuiHintAppearance","appearance"],tuiHint:"tuiHint"},standalone:!0,features:[i._Bn([(0,s.Ic)(t),(0,s.Fe)(t),{provide:a.Al,deps:[l.y,i.gxx],useClass:a.Al}]),i.zW0([h.c,{directive:d.H,inputs:["tuiHintHideDelay","tuiHintHideDelay","tuiHintShowDelay","tuiHintShowDelay"]},{directive:p.Z,inputs:["tuiHintDirection","tuiHintDirection"]}])]}),e})()},65051:(t,e,n)=>{n.d(e,{y:()=>o});var i=n(73740),r=n(15433);const o=(0,i.N1)((()=>r.j))},89440:(t,e,n)=>{n.d(e,{B:()=>o});var i=n(56424),r=n(20755);let o=(()=>{var t;class e extends i.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=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},75430:(t,e,n)=>{n.d(e,{eW:()=>o.e,D:()=>r.D,Hr:()=>c.H,UI:()=>h,bZ:()=>d.bZ,Z0:()=>k});var i=n(15433),r=n(25932),o=n(7183),s=n(82897),a=(n(11892),n(52540)),l=n(20755),c=n(48272),u=n(56424);let h=(()=>{var t;class e extends a.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hover=(0,l.f3M)(c.H),this.stream$=new u.X(!1),this.tuiHintManual=!1,this.type="hint",this.hover.enabled=!1}ngOnChanges(){this.stream$.next(this.tuiHintManual)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiHint","","tuiHintManual",""]],inputs:{tuiHintManual:"tuiHintManual"},standalone:!0,features:[l._Bn([(0,a.UK)(t)]),l.qOj,l.TTD]}),e})();var d=n(40294),p=n(12632),f=n(52065),g=n(34138),m=n(25690);i.j,r.D,d.bZ,s.c,f.Z,c.H,o.e,p.y,n(65051);var v=n(76733),y=n(62022),b=n(95079),_=n(89440);function w(t,e){1&t&&l.GkF(0)}const x=function(t){return{$implicit:t}};function C(t,e){if(1&t&&(l.TgZ(0,"div",1),l.YNc(1,w,1,0,"ng-container",2),l.qZA()),2&t){const t=e.$implicit;l.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",t.activeZone||null),l.xp6(1),l.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",l.VKq(4,x,t))}}let k=(()=>{var t;class e{constructor(){this.hints$=(0,l.f3M)(_.B),this.destroyRef=(0,l.f3M)(l.ktI),this.cdr=(0,l.f3M)(l.sBO),this.hints=[]}ngOnInit(){this.hints$.pipe((0,y.sL)(this.destroyRef)).subscribe((t=>{this.hints=t,this.cdr.detectChanges()}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["tui-hints"]],hostAttrs:["aria-live","polite"],standalone:!0,features:[l.jDz],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&l.YNc(0,C,2,6,"div",0),2&t&&l.Q6J("ngForOf",e.hints)},dependencies:[v.sg,b.d,m.s$],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;height:0}"],data:{animation:[g.B_]}}),e})()},98549:(t,e,n)=>{n.d(e,{p:()=>a});var i=n(20755),r=n(73740),o=n(41589);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-icons"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiIcons]:before,[tuiIcons]:after{font-size:1.5rem}[tuiIcons]._icon-left:before,[tuiIcons]._icon-right:after{content:"";width:1em;height:1em;flex-shrink:0;background:currentColor;-webkit-mask:var(--t-mask-left) no-repeat center / contain;mask:var(--t-mask-left) no-repeat center / contain}[tuiIcons]._icon-right:after{-webkit-mask:var(--t-mask-right) no-repeat center / contain;mask:var(--t-mask-right) no-repeat center / contain}\n'],encapsulation:2,changeDetection:0}),e})(),a=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(s),this.resolver=(0,o.Ps)(),this.iconLeft=(0,i.f3M)(o.SX),this.iconRight=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiIcons",""]],hostAttrs:["tuiIcons",""],hostVars:8,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask-left","url("+e.resolver(e.iconLeft)+")")("--t-mask-right","url("+e.resolver(e.iconRight)+")"),i.ekj("_icon-left",e.iconLeft)("_icon-right",e.iconRight))},inputs:{iconLeft:"iconLeft",iconRight:"iconRight"},standalone:!0}),e})()},42690:(t,e,n)=>{n.d(e,{Nm:()=>i.Nm,td:()=>r.td,Bb:()=>r.Bb,Ek:()=>r.Ek,UA:()=>r.UA,JY:()=>r.JY,eW:()=>o.eW,D:()=>o.D,fx:()=>r.fx});var i=n(10426);n(73740),n(41589);var r=n(71938),o=n(75430);n(98549),n(66858),n(65026),n(86253),n(2239)},66858:(t,e,n)=>{n.d(e,{E:()=>u});var i=n(20755),r=n(73740),o=n(41589),s=n(48132),a=n(38442),l=n(92425),c=n(35484);let u=(()=>{var t;class e extends s.y{constructor(){super((t=>(0,a.a)([this.parent,this.settings]).pipe((0,l.U)((([t,e])=>({...t,...e})))).subscribe(t))),this.settings=new c.t(1),this.parent=(0,i.f3M)(o.HO,{skipSelf:!0})}set tuiNumberFormat(t){this.settings.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNumberFormat",""]],inputs:{tuiNumberFormat:"tuiNumberFormat"},standalone:!0,features:[i._Bn([(0,r.Q2)(o.HO,t)]),i.qOj]}),e})()},68704:(t,e,n)=>{n.d(e,{GcO:()=>f.Gc,iSh:()=>p.iS,NmR:()=>A.Nm,xGO:()=>o.xG,qiE:()=>s.qi,ROA:()=>a.RO,kkl:()=>r.kk,tdC:()=>A.td,Bb2:()=>A.Bb,Ekv:()=>A.Ek,UAE:()=>A.UA,eRn:()=>_,hMP:()=>w.hM,eWJ:()=>A.eW,Dae:()=>A.D,RJr:()=>x.R,XCq:()=>P.XC,lI3:()=>C.lI,A61:()=>k.A6,tK9:()=>O.tK,c45:()=>s.c4,bHd:()=>s.bH,O4x:()=>r.O4,D1O:()=>M.D1,MBc:()=>S.MB,bfP:()=>S.bf,qmE:()=>S.qm,UKU:()=>r.UK,Ic9:()=>r.Ic,ckU:()=>p.ck,fxH:()=>A.fx,ic8:()=>f.ic,DII:()=>f.DI});var i=n(34138),r=n(52540),o=(n(75097),n(11679)),s=(n(31447),n(63098)),a=n(67587),l=n(76733),c=n(20755),u=n(94267),h=n(81929),d=n(73740),p=n(41589),f=n(82510),g=n(25690);function m(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}const v=function(){return{}};function y(t,e){if(1&t&&(c.TgZ(0,"div",2),c.YNc(1,m,2,1,"ng-container",3),c.qZA()),2&t){const t=c.oxw().tuiLet,e=c.oxw();c.Q6J("@tuiFadeIn",e.options)("@tuiHeightCollapse",e.options),c.xp6(1),c.Q6J("polymorpheusOutlet",e.error.message||t)("polymorpheusOutletContext",e.error.context||c.DdM(4,v))}}function b(t,e){if(1&t&&(c.ynx(0),c.YNc(1,y,2,5,"div",1),c.BQk()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",t.error&&t.visible)}}let _=(()=>{var t;class e{constructor(){this.options=(0,f.qS)((0,c.f3M)(p.ZW)),this.error=null,this.visible=!0,this.defaultErrorMessage$=(0,c.f3M)(p.PL)}set errorSetter(t){this.error=(0,d.Aj)(t)?new u.T8(t):t}onAnimation(t){this.visible=t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=c.Xpm({type:t,selectors:[["tui-error"]],hostBindings:function(t,e){1&t&&c.NdJ("animationcancel.self",(function(){return e.onAnimation(!1)}))("animationstart.self",(function(){return e.onAnimation(!0)}))},inputs:{errorSetter:["error","errorSetter"]},standalone:!0,features:[c.jDz],decls:2,vars:3,consts:[[4,"tuiLet"],["automation-id","tui-error__text","class","t-message-text",4,"ngIf"],["automation-id","tui-error__text",1,"t-message-text"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(c.YNc(0,b,2,1,"ng-container",0),c.ALo(1,"async")),2&t&&c.Q6J("tuiLet",c.lcZ(1,1,e.defaultErrorMessage$))},dependencies:[l.Ov,l.O5,g.s$,h.i],styles:["[_nghost-%COMP%]{display:block;font:var(--tui-font-text-s);color:var(--tui-status-negative);word-wrap:break-word;animation:tuiPresent 1s infinite}.t-message-text[_ngcontent-%COMP%]{margin-top:.25rem;white-space:pre-line}"],data:{animation:[i.eu,i.QF]},changeDetection:0}),e})();n(93745);var w=n(44501),x=n(9368),C=(n(57981),n(16100)),k=n(32097),O=n(94030),M=(n(38525),n(88543)),S=(n(82509),n(2239)),A=n(42690),P=n(88283);n(94457)},13027:(t,e,n)=>{n.d(e,{$:()=>o});var i=n(82510),r=n(20755);let o=(()=>{var t;class e{transform(t){return(0,i.sn)(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiAutoColor",type:t,pure:!0,standalone:!0}),e})()},18639:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.staticPath=(0,i.f3M)(r.AW)}transform(t){return t?`${this.staticPath}/icons/flags/${t}.svg`:null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiFlag",type:t,pure:!0,standalone:!0}),e})()},64128:(t,e,n)=>{n(94457)},88283:(t,e,n)=>{n.d(e,{hp:()=>a,XC:()=>l,$7:()=>c.$,q2:()=>d}),n(13027);var i=n(20755),r=n(28351),o=n(41589);n(23880);const s=({month:t,rowIndex:e,colIndex:n,firstDayOfWeek:i})=>{let o=e*r.NA+n-((t,e)=>{const n=new Date(t.year,t.month,1).getDay();return n>=e?n-e:r.NA-(e-n)})(t,i)+1;return o>t.daysCount&&(o-=t.daysCount,t=t.append({month:1})),o<=0&&(o=(t=t.append({month:-1})).daysCount+o),new r.TU(t.year,t.month,o)};let a=(()=>{var t;class e{constructor(){this.firstDayOfWeek=(0,i.f3M)(o.Sy),this.currentMonth=null,this.currentSheet=[]}transform(t,e=!1){if(this.currentMonth?.monthSame(t))return this.currentSheet;const n=[];for(let i=0;i<6;i++){const o=[];for(let n=0;ne.yeare.year>n.year||e.month>n.month;if(!a(r)||e){if(l(r)&&!e)break;o.push(r)}}n.push(o)}return this.currentSheet=n.filter((t=>t.length)),this.currentMonth=t,this.currentSheet}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiCalendarSheet",type:t,pure:!0,standalone:!0}),e})();n(55181),n(18639),n(64128),n(80567);let l=(()=>{var t;class e{transform(t){return t.toUpperCase().split(" ").map((([t])=>t)).join("").slice(0,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiInitials",type:t,pure:!0,standalone:!0}),e})();var c=n(15625),u=n(92425);function h(t){const e=t.length-1;return[t[e],...t.slice(0,e)]}let d=(()=>{var t;class e{constructor(){this.firstDayOfWeekIndex=(0,i.f3M)(o.Sy)}transform(t){return t.pipe((0,u.U)(h),(0,u.U)((t=>[...t.slice(this.firstDayOfWeekIndex),...t.slice(0,this.firstDayOfWeekIndex)])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiOrderWeekDays",type:t,pure:!0,standalone:!0}),e})()},15625:(t,e,n)=>{n.d(e,{$:()=>s});var i=n(20755),r=n(41589),o=n(92425);let s=(()=>{var t;class e{constructor(){this.months$=(0,i.f3M)(r.$R)}transform({month:t}){return this.months$.pipe((0,o.U)((e=>e[t])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMonth",type:t,pure:!0,standalone:!0}),e})()},94457:(t,e,n)=>{n.d(e,{zE:()=>h,KG:()=>v,Lp:()=>y});var i=n(20755),r=n(65026),o=n(86253),s=n(41589),a=n(48132),l=n(92425),c=n(18004),u=n(20530);let h=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.media=(0,i.f3M)(s.J_),this.sorted=Object.values(this.media).sort(((t,e)=>t-e)),this.invert=Object.keys(this.media).reduce(((t,e)=>({...t,[this.media[e]]:e})),{}),this.stream$=(0,i.f3M)(o.fM).pipe((0,l.U)((({width:t})=>this.sorted.find((e=>e>t)))),(0,l.U)((t=>this.invert[t||this.sorted[this.sorted.length-1]])),(0,c.x)(),(0,r.Yr)((0,i.f3M)(i.R0b)),(0,u.d)({bufferSize:1,refCount:!0}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var d=n(42772),p=n(11892),f=n(55181),g=n(52540),m=n(36293);let v=(()=>{var t;class e extends a.y{constructor(){const t=(0,i.f3M)(d.L1),e=(0,i.f3M)(i.R0b);super((n=>t.pipe((0,l.U)((()=>this.el.getBoundingClientRect())),(0,l.U)((t=>this.accessor.getPosition(t))),(0,r.fL)(e),(0,m.x)((()=>this.accessor.getPosition(p.Jy)))).subscribe(n))),this.el=(0,f.AG)(),this.accessor=(0,i.f3M)(g.uG)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),y=(()=>{var t;class e{constructor(){this.isWebkit=(0,i.f3M)(o.jF),this.win=(0,i.f3M)(d.m9)}correct(t){return this.isWebkit?[t[0]+(this.win.visualViewport?.offsetTop??0),t[1]+(this.win.visualViewport?.offsetLeft??0)]:t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},41589:(t,e,n)=>{n.d(e,{ZW:()=>a,AW:()=>l,U0:()=>y,Gs:()=>c,P_:()=>d,rJ:()=>p,ZD:()=>h,PL:()=>_,Jl:()=>A,Sy:()=>g,SX:()=>C,J_:()=>S,$R:()=>v,PH:()=>b,HO:()=>P,TK:()=>s,$_:()=>E,iS:()=>F,P:()=>x,oC:()=>L,U4:()=>w,r2:()=>R,EO:()=>j,ck:()=>H,Ps:()=>M});var i=n(20755),r=n(73740),o=n(76733);const s=(0,r.N1)((()=>(0,i.f3M)(o.K0).defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1)),a=(0,r.N1)((()=>(0,i.f3M)(s)?0:1)),l=(0,r.JN)("assets/taiga-ui"),c=(0,r.JN)({check:"@tui.check",close:"@tui.x",error:"@tui.circle-alert",more:"@tui.chevron-right"});var u=n(71209);const h={mode:"DMY",separator:"."},d=(0,r.JN)((0,u.of)(h)),p=(0,r.JN)((t=>t.isWeekend?"weekend":"weekday"));var f=n(28351);const g=(0,r.JN)(f.Lr.Monday);var m=n(49335);const v=(0,r.N1)((0,m.v)("months")),y=(0,r.N1)((0,m.v)("close")),b=(0,r.N1)((0,m.v)("nothingFoundMessage")),_=(0,r.N1)((0,m.v)("defaultErrorMessage")),w=(0,r.N1)((0,m.v)("spinTexts")),x=(0,r.N1)((0,m.v)("shortWeekDays")),C=(0,r.JN)(""),k=(0,r.JN)({}),O=(0,r.N1)((()=>{const t=(0,i.f3M)(l);return e=>!e||e.includes("/")?e:`${t}/icons/${e.replace("@tui.","").split(".").join("/")}.svg`}));function M(){const t=(0,i.f3M)(k),e=(0,i.f3M)(O);return n=>t[n]||e(n)}const S=(0,r.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),A={precision:NaN,decimalSeparator:",",thousandSeparator:n(11892).f$,rounding:"truncate",decimalMode:"pad"},P=(0,r.JN)((0,u.of)(A)),E=(0,r.N1)((()=>new i.SBq((0,i.f3M)(o.K0).documentElement)));var T=n(65026),I=n(45047),D=n(84787),z=n(81749),N=n(88557);const F=(0,r.N1)((()=>{const t=(0,i.f3M)(o.K0);return(0,I.T)((0,T.mL)(t,"selectionchange"),(0,T.mL)(t,"mouseup"),(0,T.mL)(t,"mousedown").pipe((0,D.w)((()=>(0,T.mL)(t,"mousemove").pipe((0,z.R)((0,T.mL)(t,"mouseup")))))),(0,T.mL)(t,"keydown"),(0,T.mL)(t,"keyup")).pipe((0,N.B)())})),L=(0,r.JN)({decrement:"@tui.chevron-left",increment:"@tui.chevron-right"}),R=(0,r.JN)("Taiga");var B=n(42772);const j=(0,r.N1)((()=>{const t=(0,i.f3M)(B.m9);return{type:"viewport",getClientRect(){const e={top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight,x:0,y:0};return{...e,toJSON:()=>JSON.stringify(e)}}}}));function H(t){return(0,r.Q2)(j,t)}},80567:(t,e,n)=>{n.d(e,{lx:()=>l,Lf:()=>a,sn:()=>c});var i=n(11892),r=n(72478),o=n(41589),s=n(73740);function a(t,e){const[,n=""]=function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+(e?.length||0);r=t.toFixed(o)}return r}(t).split(".");return(0,s.dt)(e)?n.slice(0,Math.max(0,e)):n}function l(t,e={}){const{precision:n,decimalSeparator:s,thousandSeparator:l,decimalMode:c,rounding:u}={...o.Jl,decimalMode:"always",precision:1/0,...e},h=Number.isFinite(n)?function({value:t,precision:e,method:n}){switch(n){case"round":return(0,r.FG)(t,e);case"ceil":return(0,r.Br)(t,e);case"floor":return(0,r.OT)(t,e);default:return(0,r.h4)(t,e)}}({value:t,precision:n,method:u}):t,d=String(Math.floor(Math.abs(h)));let p=a(h,n);const f=Number(p)>0;if(Number.isFinite(n))if("always"===c||f&&"pad"===c){const t=Math.max(n-p.length,0);p=`${p}${"0".repeat(t)}`}else p=p.replace(/0*$/,"");const g=d.length%3;let m=(t<0?i.fv:"")+d.charAt(0);for(let t=1;t3&&(m+=l),m+=d.charAt(t);return p?m+s+p:m}function c(t){if(""===t)return"";let e=0;for(let n=0;n{function i(t){return!!t&&(function(t){return"fixed"===t.ownerDocument.defaultView?.getComputedStyle(t).getPropertyValue("position")}(t)||i(t.parentElement))}function r({document:t,innerWidth:e}){return Math.max(t.documentElement.clientWidth||0,e||0)}n.d(e,{Gc:()=>l.Gc,qK:()=>i,cZ:()=>l.cZ,ic:()=>r,DI:()=>s,mn:()=>l.mn,lp:()=>l.lp,sn:()=>a.sn,qS:()=>l.qS});var o=n(11892);function s(t){const e=t.cloneRange(),{startContainer:n,startOffset:i,endContainer:r,endOffset:s}=e,{ownerDocument:a}=n;if(!a)return e;const l=a.createTreeWalker(a.body,NodeFilter.SHOW_TEXT,o.Lw);l.currentNode=n;do{const t=l.currentNode,r=t.textContent||"",s=t===n?r.slice(0,Math.max(0,i+1)):r,a=Math.max(s.lastIndexOf(" "),s.lastIndexOf(o.f$),s.lastIndexOf(o.tU))+1;if(e.setStart(t,0),a){e.setStart(t,a);break}}while(l.previousNode());l.currentNode=r;do{const t=l.currentNode,n=t.textContent||"",i=t===r?n.slice(s+1):n,a=[i.indexOf(" "),i.indexOf(o.f$),i.indexOf(o.tU)].reduce(((t,e)=>-1===t||-1===e?Math.max(t,e):Math.min(t,e)),-1);if(e.setEnd(t,n.length),-1!==a){e.setEnd(t,a+n.length-i.length);break}}while(l.nextNode());return e}var a=n(80567),l=n(16931)},16931:(t,e,n)=>{n.d(e,{Gc:()=>u,cZ:()=>d,kL:()=>r,mn:()=>s,lp:()=>a,R9:()=>c,qS:()=>h});const i=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"];function r(t=""){return 1===t.length||i.includes(t)}var o=n(55181);function s(t,e="tui-hints"){return!!(0,o.PU)(t)?.some((t=>!t.closest(e)))}function a(t,e){return(n,i)=>{const r=n||{...i||e};return Object.keys(t).forEach((e=>{r[e]=t[e]})),r}}const l={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function c(t,e="s"){return l[t]>l[e]}const u=300;function h(t){return{value:"",params:{duration:d(t)}}}function d(t){return t&&u/t}},62057:(t,e,n)=>{n.d(e,{V6:()=>r,ZI:()=>i});const i={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"St. Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Congo - Kinshasa",CF:"Central African Republic",CG:"Congo - Brazzaville",CH:"Switzerland",CI:"Côte d’Ivoire",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"St. Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"St. Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"St. Martin",MG:"Madagascar",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"São Tomé & Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks & Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Türkiye",TT:"Trinidad & Tobago",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"St. Vincent & Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",AC:"Ascension Island",AS:"American Samoa",AX:"Åland Islands",CC:"Cocos (Keeling) Islands",CK:"Cook Islands",CX:"Christmas Island",EH:"Western Sahara",FO:"Faroe Islands",GG:"Guernsey",GU:"Guam",IM:"Isle of Man",JE:"Jersey",IO:"British Indian Ocean Territory",KI:"Kiribati",MH:"Marshall Islands",MP:"Northern Mariana Islands",NF:"Norfolk Island",NR:"Nauru",NU:"Niue",PM:"Saint Pierre and Miquelon",PR:"Puerto Rico",PS:"Palestine",SJ:"Svalbard and Jan Mayen",SS:"South Sudan",TA:"Tristan da Cunha",TK:"Tokelau",TV:"Tuvalu",VA:"Holy See",VI:"Virgin Islands",WF:"Wallis and Futuna"},r={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,cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],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","KiB","MiB"],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 it here",defaultLabelMultiple:"or drop them here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is larger than ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},confirm:{yes:"Yes",no:"No"},previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"},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"}}},3667:(t,e,n)=>{n(79815)},79815:(t,e,n)=>{n.d(e,{Co:()=>a});var i=n(20755),r=n(62057),o=n(71209);const s=new i.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>r.V6}),a=new i.OlP("[TUI_LANGUAGE]",{factory:()=>(0,o.of)((0,i.f3M)(s))});new i.OlP("[TUI_LANGUAGE_LOADER]"),new i.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"})},49335:(t,e,n)=>{n.d(e,{v:()=>c});var i=n(20755),r=n(79815),o=n(84787),s=n(11070),a=n(71209),l=n(92425);function c(t){return()=>(0,i.f3M)(r.Co).pipe((0,o.w)((t=>(0,s.b)(t)?t:(0,a.of)(t))),(0,l.U)((e=>e[t])))}},24149:(t,e,n)=>{n.d(e,{tR:()=>E,z0:()=>P,Z0:()=>b});var i=n(20755),r=n(62022),o=n(11892),s=n(65026),a=n(73740),l=n(44501),c=n(74114),u=n(92425),h=n(55333),d=n(45047),p=n(84787),f=n(69401),g=n(76733),m=n(9368),v=n(95173),y=n(25690);let b=(()=>{var t;class e extends y.GL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiAccordionItemContent",""]],standalone:!0,features:[i.qOj]}),e})(),_=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]],standalone:!0}),e})();var w=n(93745);function x(t,e){if(1&t&&(i.ynx(0),i._UZ(1,"tui-icon",7),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("tuiChevron",t.open)}}function C(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 k(t,e){if(1&t&&(i.TgZ(0,"div",9),i.YNc(1,C,2,1,"ng-container",10),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("polymorpheusOutlet",t.lazyContent)}}function O(t,e){if(1&t&&i.YNc(0,k,2,1,"div",8),2&t){const t=i.oxw();i.Q6J("ngIf",t.lazyContent)}}function M(t,e){1&t&&(i.TgZ(0,"div",11),i.Hsn(1,1),i.qZA())}const S=["*",[["","tuiAccordionItemContent",""]]],A=["*","[tuiAccordionItemContent]"];let P=(()=>{var t;class e{constructor(){this.cdr=(0,i.f3M)(i.sBO),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 i.vpe}close(){this.updateOpen(!1),this.cdr.markForCheck()}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(t){this.open&&(t.stopPropagation(),this.updateOpen(!1))}updateOpen(t){this.open!==t&&(this.open=t,this.openChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-accordion-item"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,_,5),i.Suo(n,b,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.eagerContent=t.first),i.iGM(t=i.CRH())&&(e.lazyContent=t.first)}},hostVars:8,hostBindings:function(t,e){2&t&&(i.uIk("data-borders",e.borders)("data-size",e.size),i.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"},standalone:!0,features:[i.jDz],ngContentSelectors:A,decls:8,vars:9,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","click","keydown.esc"],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],[1,"t-icon",3,"tuiChevron"],["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&&(i.F$t(S),i.TgZ(0,"div",0)(1,"button",1),i.NdJ("click",(function(){return e.onRowToggle()}))("keydown.esc",(function(t){return e.onItemKeyDownEsc(t)})),i.TgZ(2,"span",2),i.Hsn(3),i.qZA(),i.YNc(4,x,2,1,"ng-container",3),i.qZA(),i.TgZ(5,"tui-expand",4),i.YNc(6,O,1,1,"ng-template",5),i.YNc(7,M,2,0,"div",6),i.qZA()()),2&t&&(i.xp6(1),i.ekj("t-header_hoverable",!e.disableHover)("t-header_open",e.open),i.Q6J("disabled",e.disabled),i.xp6(3),i.Q6J("ngIf",e.showArrow),i.xp6(1),i.Q6J("async",e.async)("expanded",e.open),i.xp6(2),i.Q6J("ngIf",e.eagerContent))},dependencies:[g.O5,y.s$,m.R,v.HT,w.SV,w.d0],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} tui-accordion{width:100%}.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-border-normal);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}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;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-border-normal);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-primary);cursor:pointer;text-align:left;outline:none}.t-header[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[tuiTheme="dark"][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1)}[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}.t-wrapper[_ngcontent-%COMP%]:hover > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-background-base-alt)}.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:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-left:auto;color:var(--tui-text-tertiary)}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-secondary)}.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}),e})(),E=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.accordionItems=o.Mm,this.closeOthers=!0}ngAfterContentInit(){const{accordionItems:t}=this,e=(0,s.ll)(t),n=e.pipe((0,c.G)(),(0,u.U)((([t,e])=>e.find((e=>!t.includes(e)&&e.open)))),(0,h.h)(a.Pc));(0,d.T)(e.pipe((0,p.w)((t=>(0,d.T)(...t.map((t=>t.openChange.pipe((0,h.h)(f.y),(0,u.U)((()=>t))))))))),n).pipe((0,h.h)((()=>this.closeOthers)),(0,r.sL)(this.destroyRef)).subscribe((e=>{t.forEach((t=>{e!==t&&t.close()}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,P,4),2&t){let t;i.iGM(t=i.CRH())&&(e.accordionItems=t)}},inputs:{closeOthers:"closeOthers"},standalone:!0,features:[i._Bn([(0,l.vJ)({orientation:"vertical",size:"l",collapsed:!0})]),i.zW0([{directive:l.hM,inputs:["rounded","rounded"]}])]}),e})()},75391:(t,e,n)=>{n.d(e,{nV:()=>m,ug:()=>u});var i=n(76733),r=n(20755),o=n(73740),s=n(9368),a=n(10426);const l={appearance:"",round:!0,size:"l"},c=(0,o.JN)(l);function u(t){return(0,o.vK)(c,t,l)}function h(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=r.oxw();r.Q6J("src",t.value,r.LSH)}}function d(t,e){if(1&t&&r._UZ(0,"tui-icon",6),2&t){const t=r.oxw();r.Q6J("icon",t.value.toString())}}function p(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.value)}}function f(t,e){1&t&&(r.ynx(0),r.Hsn(1),r.BQk())}const g=["*"];let m=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(c),this.size=this.options.size,this.round=this.options.round}get safeSrc(){return this.src?.toString()??""}get value(){return this.src||""}get svg(){return(0,o.Aj)(this.value)&&this.value.endsWith(".svg")}get type(){return this.value&&!(0,o.Aj)(this.value)?"img":this.value.startsWith("@tui.")?"icon":this.value.length>0&&this.value.length<3?"text":this.value.length?"img":"content"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-avatar"],["button","tuiAvatar",""],["a","tuiAvatar",""]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size)("data-type",e.type),r.ekj("_round",e.round)("_svg",e.svg))},inputs:{size:"size",round:"round",src:"src"},standalone:!0,features:[r._Bn([(0,a.mS)(c)]),r.jDz,r.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]}])],ngContentSelectors:g,decls:5,vars:4,consts:[[3,"ngSwitch"],["alt","","loading","lazy",3,"src",4,"ngSwitchCase"],[3,"icon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["alt","","loading","lazy",3,"src"],[3,"icon"]],template:function(t,e){1&t&&(r.F$t(),r.ynx(0,0),r.YNc(1,h,1,1,"img",1),r.YNc(2,d,1,1,"tui-icon",2),r.YNc(3,p,2,1,"ng-container",3),r.YNc(4,f,2,0,"ng-container",4),r.BQk()),2&t&&(r.Q6J("ngSwitch",e.type),r.xp6(1),r.Q6J("ngSwitchCase","img"),r.xp6(1),r.Q6J("ngSwitchCase","icon"),r.xp6(1),r.Q6J("ngSwitchCase","text"))},dependencies:[i.RF,i.n9,i.ED,s.R],styles:['[_nghost-%COMP%]{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}[data-size=xs][_nghost-%COMP%]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}[data-size=xs][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-size:.5625rem}[data-size=s][_nghost-%COMP%]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}[data-size=s][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-xs);font-weight:700}[data-size=m][_nghost-%COMP%]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}[data-size=m][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-weight:700}[data-size=l][_nghost-%COMP%]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}[data-size=l][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-l);font-weight:700}[data-size=xl][_nghost-%COMP%]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}[data-size=xl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-4)}[data-size=xxl][_nghost-%COMP%]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}[data-size=xxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-size=xxxl][_nghost-%COMP%]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}[data-size=xxxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-type=img][_nghost-%COMP%]:not(._svg){background:transparent}[data-type=icon][_nghost-%COMP%]:before{content:""}._round[_nghost-%COMP%]{--t-radius: calc(var(--t-size) / 2)}._svg[_nghost-%COMP%] img[_ngcontent-%COMP%]{padding:20%}[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60%;height:60%}[_nghost-%COMP%] img, [_nghost-%COMP%] picture, [_nghost-%COMP%] video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;box-sizing:border-box}'],changeDetection:0}),e})();var v,y=n(84911),b=n(95173);function _(t,e){if(1&t&&(r.TgZ(0,"span",2),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t," ")}}function w(t,e){if(1&t&&(r.ynx(0),r.YNc(1,_,2,1,"span",1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngForOf",t.split(t.label))}}class x{constructor(){this.label=""}split(t){return t.split(" ")}}(v=x).ɵfac=function(t){return new(t||v)},v.ɵcmp=r.Xpm({type:v,selectors:[["tui-avatar-labeled"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("title",e.label)},inputs:{label:"label"},standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:1,consts:[[4,"ngIf"],["tuiFade","",4,"ngFor","ngForOf"],["tuiFade",""]],template:function(t,e){1&t&&(r.F$t(),r.Hsn(0),r.YNc(1,w,2,1,"ng-container",0)),2&t&&(r.xp6(1),r.Q6J("ngIf",e.label.length))},dependencies:[i.sg,i.O5,b.Uo],styles:["tui-avatar-labeled{display:flex;width:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-bottom:.375rem}tui-avatar-labeled [tuiFade]{width:calc(100% + 1rem)}\n"],encapsulation:2,changeDetection:0}),(0,y.gn)([o.UM],x.prototype,"split",null)},44713:(t,e,n)=>{n.d(e,{Cb:()=>c});var i=n(20755),r=n(73740),o=n(10426);const s=(0,r.JN)({appearance:"",size:"l",dot:!1});var a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-badge"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['tui-badge,[tuiBadge]{--t-gap: 0rem;--t-dot: currentColor;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));border-radius:6rem;background:#959595;color:var(--tui-background-base);padding:var(--t-padding);height:var(--t-size);min-width:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-s)}tui-badge>img,[tuiBadge]>img,tui-badge>tui-svg,[tuiBadge]>tui-svg,tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge>tui-avatar,[tuiBadge]>tui-avatar,tui-badge>tui-badge,[tuiBadge]>tui-badge,tui-badge>[tuiBadge],[tuiBadge]>[tuiBadge],tui-badge>[tuiRadio],[tuiBadge]>[tuiRadio],tui-badge>[tuiSwitch],[tuiBadge]>[tuiSwitch],tui-badge>[tuiCheckbox],[tuiBadge]>[tuiCheckbox],tui-badge._icon-left:before,[tuiBadge]._icon-left:before,tui-badge._icon-right:after,[tuiBadge]._icon-right:after{margin:var(--t-margin)}tui-badge._dot:before,[tuiBadge]._dot:before{content:"";display:block;width:.375rem;height:.375rem;background:var(--t-dot);border-radius:100%}tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-badge[data-appearance=error],[tuiBadge][data-appearance=error]{--t-dot: var(--tui-status-negative)}tui-badge[data-appearance=success],[tuiBadge][data-appearance=success]{--t-dot: var(--tui-status-positive)}tui-badge[data-appearance=warning],[tuiBadge][data-appearance=warning]{--t-dot: var(--tui-status-warning)}tui-badge[data-appearance=info],[tuiBadge][data-appearance=info]{--t-dot: var(--tui-status-info)}tui-badge[data-appearance=neutral],[tuiBadge][data-appearance=neutral]{--t-dot: var(--tui-status-neutral)}tui-badge[data-size=s],[tuiBadge][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem}tui-badge[data-size=s]._dot:before,[tuiBadge][data-size=s]._dot:before{width:.25rem;height:.25rem;margin-inline-end:-.125rem}tui-badge[data-size=m],[tuiBadge][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}tui-badge[data-size=l],[tuiBadge][data-size=l]{--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem}tui-badge[data-size=l]._dot:before,[tuiBadge][data-size=l]._dot:before{margin-inline-end:-.25rem}tui-badge[data-size=xl],[tuiBadge][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}tui-badge[data-size=xl]._dot:before,[tuiBadge][data-size=xl]._dot:before{width:.5rem;height:.5rem;margin-inline-end:-.125rem}tui-badge[tuiAppearance][data-appearance=error],[tuiBadge][tuiAppearance][data-appearance=error],tui-badge[tuiAppearance][data-appearance=success],[tuiBadge][tuiAppearance][data-appearance=success],tui-badge[tuiAppearance][data-appearance=warning],[tuiBadge][tuiAppearance][data-appearance=warning],tui-badge[tuiAppearance][data-appearance=info],[tuiBadge][tuiAppearance][data-appearance=info],tui-badge[tuiAppearance][data-appearance=neutral],[tuiBadge][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}img[tuiBadge]{padding:0}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;height:var(--t-size);width:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.size=this.options.size,this.dot=this.options.dot}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-badge"],["","tuiBadge",""]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size),i.ekj("_dot",e.dot))},inputs:{size:"size",dot:"dot"},standalone:!0,features:[i._Bn([(0,o.mS)(s)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},62427:(t,e,n)=>{n.d(e,{u:()=>f});var i=n(20755),r=n(62022),o=n(43226),s=n(65026),a=n(55181),l=n(73740),c=n(10426),u=n(41589),h=n(64418),d=n(82527);const p=["type","checkbox","tuiCheckbox",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(c.Nm),this.options=(0,i.f3M)(h.Y2),this.resolver=(0,u.Ps)(),this.destroyRef=(0,i.f3M)(i.ktI),this.el=(0,a.AG)(),this.size=this.options.size,this.control=(0,i.f3M)(o.a5,{optional:!0,self:!0})}ngOnInit(){this.control?.valueChanges&&(0,s.EK)(this.control).pipe((0,r.sL)(this.destroyRef)).subscribe((t=>{const e=this.control instanceof o.On?this.control.model:t;this.el.indeterminate=null===e}))}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}getIcon(t){const e=this.options.icons[t],n=(0,l.Aj)(e)?e:e(this.size);return`url(${this.resolver(n)})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiCheckbox",""]],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-checked",e.getIcon("checked"))("--t-indeterminate",e.getIcon("indeterminate")),i.ekj("_readonly",!e.control))},inputs:{size:"size"},standalone:!0,features:[i.jDz,i.zW0([{directive:c.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{--t-size: 1.5rem;--t-radius: var(--tui-radius-s);width:var(--t-size);height:var(--t-size);border-radius:var(--t-radius);cursor:pointer;margin:0;flex-shrink:0}[_nghost-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%;transform:scale(0);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:checked:before, [_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-checked);mask-image:var(--t-checked);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out,-webkit-mask 0s ease-in-out}[_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-indeterminate);mask-image:var(--t-indeterminate)}[data-size=s][_nghost-%COMP%]{--t-size: 1rem;--t-radius: var(--tui-radius-xs)}'],changeDetection:0}),e})()},64418:(t,e,n)=>{n.d(e,{Y2:()=>o,im:()=>s});var i=n(73740);const r={size:"m",appearance:t=>t.checked||t.indeterminate?"primary":"whiteblock",icons:{checked:()=>"@tui.check",indeterminate:()=>"@tui.minus"}},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},4216:(t,e,n)=>{n.d(e,{im:()=>i.im}),n(62427);var i=n(64418)},73378:(t,e,n)=>{n.d(e,{Xt:()=>p});var i=n(20755),r=n(73740),o=n(11679),s=n(10426),a=n(75391),l=n(4216),c=n(92840);const u=(0,r.JN)({appearance:"neutral",size:"s"});var h=n(98549);let d=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chip"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["tui-chip,[tuiChip]{--t-gap: .125rem;--t-margin: -.125rem;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);padding:var(--t-padding);height:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}tui-chip>img,[tuiChip]>img,tui-chip>tui-svg,[tuiChip]>tui-svg,tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip>tui-avatar,[tuiChip]>tui-avatar,tui-chip>tui-badge,[tuiChip]>tui-badge,tui-chip>[tuiBadge],[tuiChip]>[tuiBadge],tui-chip>[tuiRadio],[tuiChip]>[tuiRadio],tui-chip>[tuiSwitch],[tuiChip]>[tuiSwitch],tui-chip>[tuiCheckbox],[tuiChip]>[tuiCheckbox],tui-chip._icon-left:before,[tuiChip]._icon-left:before,tui-chip._icon-right:after,[tuiChip]._icon-right:after{margin:var(--t-margin)}tui-chip:-webkit-any(a,button,select,textarea,input,label),[tuiChip]:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip:-moz-any(a,button,select,textarea,input,label),[tuiChip]:-moz-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip[tuiIcons]:before,[tuiChip][tuiIcons]:before,tui-chip[tuiIcons]:after,[tuiChip][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-chip[data-size=xxs],[tuiChip][data-size=xxs]{--t-gap: 0rem;--t-padding: 0 .25rem;--t-size: 1rem;--t-icon-size: .75rem;font:var(--tui-font-text-xs);border-radius:var(--tui-radius-xs)}tui-chip[data-size=xxs]>[tuiIconButton],[tuiChip][data-size=xxs]>[tuiIconButton]{margin:-.5rem;transform:scale(.75)}tui-chip[data-size=xs],[tuiChip][data-size=xs]{--t-padding: 0 .375rem;--t-size: 1.25rem;border-radius:var(--tui-radius-xs)}tui-chip[data-size=xs]>[tuiIconButton],[tuiChip][data-size=xs]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s],[tuiChip][data-size=s]{--t-padding: 0 .625rem;--t-size: var(--tui-height-s)}tui-chip[data-size=s]>[tuiIconButton],[tuiChip][data-size=s]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s]>img,[tuiChip][data-size=s]>img,tui-chip[data-size=s] tui-avatar,[tuiChip][data-size=s] tui-avatar{margin-inline-start:-.375rem}tui-chip[data-size=m],[tuiChip][data-size=m]{--t-margin: -.375rem;--t-icon-size: 1.5rem;--t-padding: 0 1rem;--t-size: var(--tui-height-m);font:var(--tui-font-text-m)}tui-chip[data-size=m]>[tuiIconButton],[tuiChip][data-size=m]>[tuiIconButton]{margin:-.75rem}tui-chip>img,[tuiChip]>img{width:1.5rem}tui-chip>input[tuiChip],[tuiChip]>input[tuiChip]{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}tui-chip[tuiAppearance][data-appearance=error],[tuiChip][tuiAppearance][data-appearance=error],tui-chip[tuiAppearance][data-appearance=success],[tuiChip][tuiAppearance][data-appearance=success],tui-chip[tuiAppearance][data-appearance=warning],[tuiChip][tuiAppearance][data-appearance=warning],tui-chip[tuiAppearance][data-appearance=info],[tuiChip][tuiAppearance][data-appearance=info],tui-chip[tuiAppearance][data-appearance=neutral],[tuiChip][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}\n"],encapsulation:2,changeDetection:0}),e})(),p=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(u),this.nothing=(0,r.__)(d),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-chip"],["","tuiChip",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,s.mS)(u),(0,c.wt)({size:"s"}),(0,l.im)({size:"s"}),(0,a.ug)({size:"xs"}),(0,o.O0)({size:"xs",appearance:"icon"})]),i.zW0([{directive:s.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},61819:(t,e,n)=>{n.d(e,{Q:()=>m});var i=n(76733),r=n(49148),o=n(63098),s=n(32097),a=n(25690),l=n(67917),c=n(20755);const u=["labels",""];function h(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}function d(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",6,7),c.NdJ("click",(function(){const e=c.CHM(t).$implicit,n=c.oxw(3);return c.KtG(n.itemClick.emit(e))})),c.YNc(2,h,2,1,"ng-container",8),c.qZA()}if(2&t){const t=e.$implicit,n=c.MAs(1),i=c.oxw(3);c.Q6J("disabled",i.disabledItemHandler(t))("value",t),c.xp6(2),c.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function p(t,e){if(1&t&&(c.TgZ(0,"tui-opt-group",4),c.YNc(1,d,3,4,"button",5),c.qZA()),2&t){const t=e.$implicit,n=e.index,i=c.oxw(2);c.Q6J("label",i.labels[n]),c.xp6(1),c.Q6J("ngForOf",t)}}function f(t,e){if(1&t&&(c.TgZ(0,"tui-data-list",2),c.YNc(1,p,2,2,"tui-opt-group",3),c.qZA()),2&t){const t=c.oxw();c.Q6J("emptyContent",t.emptyContent)("size",t.size),c.xp6(1),c.Q6J("ngForOf",t.items)}}function g(t,e){1&t&&c._UZ(0,"tui-loader",9)}let m=(()=>{var t;class e extends l.e{constructor(){super(...arguments),this.items=[],this.labels=[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.ɵcmp=c.Xpm({type:t,selectors:[["tui-data-list-wrapper","labels",""]],inputs:{items:"items",labels:"labels"},standalone:!0,features:[c._Bn([(0,o.RB)(t)]),c.qOj,c.jDz],attrs:u,decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-loader"]],template:function(t,e){if(1&t&&(c.YNc(0,f,2,3,"tui-data-list",0),c.YNc(1,g,1,0,"ng-template",null,1,c.W1O)),2&t){const t=c.MAs(2);c.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[o.qi,o.bH,o.c4,i.O5,i.sg,r.v,a.s$,s.A6],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},67917:(t,e,n)=>{n.d(e,{e:()=>v});var i=n(76733),r=n(20755),o=n(11892),s=n(49148),a=n(52674),l=n(73740),c=n(63098),u=n(32097),h=n(11637),d=n(25690);function p(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 f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",4,5),r.NdJ("click",(function(){const e=r.CHM(t).$implicit,n=r.oxw(2);return r.KtG(n.itemClick.emit(e))})),r.TgZ(2,"span",6),r.YNc(3,p,2,1,"ng-container",7),r.qZA()()}if(2&t){const t=e.$implicit,n=r.MAs(1),i=r.oxw(2);r.Q6J("disabled",i.disabledItemHandler(t))("value",t),r.xp6(3),r.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function g(t,e){if(1&t&&(r.TgZ(0,"tui-data-list",2),r.YNc(1,f,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 m(t,e){1&t&&r._UZ(0,"tui-loader",8)}let v=(()=>{var t;class e{constructor(){this.itemsHandlers=(0,r.f3M)(h.Ys),this.optionsQuery=o.Mm,this.items=[],this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=(0,c.lt)(),this.itemClick=new r.vpe,this.itemContent=({$implicit:t})=>this.itemsHandlers.stringify(t)}getContext(t,{nativeElement:e}){return{$implicit:t,active:(0,a.V8)(e)}}getOptions(t=!1){return this.optionsQuery.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(l.Pc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],viewQuery:function(t,e){if(1&t&&r.Gf(c.bH,5),2&t){let t;r.iGM(t=r.CRH())&&(e.optionsQuery=t)}},inputs:{items:"items",disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"},standalone:!0,features:[r._Bn([(0,c.RB)(t)]),r.jDz],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["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,g,2,3,"tui-data-list",0),r.YNc(1,m,1,0,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[c.qi,c.bH,i.O5,i.sg,s.v,u.A6,d.s$],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},94187:(t,e,n)=>{var i=n(61819),r=n(67917),o=n(63098);r.e,i.Q,o.gX},92840:(t,e,n)=>{n.d(e,{AE:()=>f,wt:()=>h});var i=n(20755),r=n(43226),o=n(55181),s=n(73740),a=n(10426),l=n(41589);const c={showIcons:!0,size:"m",icon:"@tui.check",appearance:t=>t.checked?"primary":"secondary"},u=(0,s.JN)(c);function h(t){return(0,s.vK)(u,t,c)}var d=n(82527);const p=["type","checkbox","tuiSwitch",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(a.Nm),this.resolver=(0,l.Ps)(),this.options=(0,i.f3M)(u),this.el=(0,o.AG)(),this.control=(0,i.f3M)(r.a5,{optional:!0,self:!0}),this.size=this.options.size,this.showIcons=this.options.showIcons}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}get icon(){const{options:t,resolver:e,size:n}=this;return`url(${e((0,s.Aj)(t.icon)?t.icon:t.icon(n))})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiSwitch",""]],hostAttrs:["role","switch"],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-mask",e.icon),i.ekj("_readonly",!e.control)("_icons",e.showIcons))},inputs:{size:"size",showIcons:"showIcons"},standalone:!0,features:[i.jDz,i.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:3rem;height:1.5rem;border-radius:2rem;overflow:hidden;cursor:pointer;margin:0}[data-appearance=secondary][_nghost-%COMP%], [data-appearance=secondary][_nghost-%COMP%]:invalid{color:#fff}[data-size=s][_nghost-%COMP%]{height:1rem;width:2rem}[data-size=s][_nghost-%COMP%]:before{width:1rem;transform:translate(-1rem);-webkit-mask-size:.75rem;mask-size:.75rem}[data-size=s][_nghost-%COMP%]:after{width:1rem;box-shadow:-2rem 0 0 .25rem currentColor}[data-size=s][_nghost-%COMP%]:checked:after{transform:scale(.5) translate(2rem)}[_nghost-%COMP%]:checked:before{transform:none}[_nghost-%COMP%]:checked:after{transform:scale(.5) translate(3rem)}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;height:100%;width:1.5rem}[_nghost-%COMP%]:before{display:none;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center;mask:var(--t-mask) no-repeat center;-webkit-mask-size:1rem;mask-size:1rem;transform:translate(-1.5rem)}[_nghost-%COMP%]:after{right:0;border-radius:100%;transform:scale(.5);box-shadow:-3rem 0 0 .25rem currentColor}._icons[_nghost-%COMP%]:before{display:block}._icons[_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .25rem var(--tui-background-neutral-2-pressed),-3rem 0 0 .25rem currentColor}._icons[data-size=s][_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .125rem var(--tui-background-neutral-2-pressed),-2rem 0 0 .25rem currentColor}'],changeDetection:0}),e})()},2115:(t,e,n)=>{n.d(e,{Yh:()=>f,Pk:()=>G});var i=n(20755),r=n(62022),o=n(99222),s=n(81695),a=n(65026),l=n(55181),c=n(52674),u=n(55333),h=n(45047),d=n(30453),p=n(98549);let f=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.rla=(0,i.f3M)(o.Od,{optional:!0}),this.observer=this.rla&&(0,i.f3M)(s.IM,{optional:!0})?.pipe((0,u.h)((()=>!!this.rla?.isActive))),this.sub=(0,h.T)(this.observer||d.E,this.rla?.isActiveChange.pipe((0,u.h)(Boolean))||d.E,this.el.matches("button")?(0,a.mL)(this.el,"click"):d.E).pipe((0,r.sL)()).subscribe((()=>this.el.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}ngOnDestroy(){(0,c.V8)(this.el)&&this.el.blur()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],standalone:!0,features:[i.zW0([{directive:p.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})();var g=n(62417),m=n(73740);const v=(0,m.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0,size:"l"});let y=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-tabs"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:24px}tui-tabs[data-size=m]+[tuiTab],tui-tabs[data-size=m] [tuiTab],[tuiTabs][data-size=m] [tuiTab]{margin-left:16px;font:var(--tui-font-text-s)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:2px solid var(--tui-border-focus);outline-offset:-2px}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -2px var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-left:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-left:var(--tui-tab-margin, 1.5rem)}[tuiTab]._icon-left:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab]._icon-right:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){height:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){height:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;height:2px;width:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:""}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]: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-background-accent-1);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -2px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-height:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset 2px 0 var(--tui-border-normal)}\n'],encapsulation:2,changeDetection:0}),e})(),b=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.injector=(0,i.f3M)(i.gxx),this.nothing=(0,m.__)(y),this.size=(0,i.f3M)(v).size,this.activeItemIndex=0,this.activeItemIndexChange=new i.vpe}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}moveFocus(t,e){const{tabs:n}=this;(0,c.VR)(n.indexOf(t),n,e)}ngAfterViewChecked(){(0,i.T8G)((()=>{this.markTabAsActive()}),{injector:this.injector})}onActivate(t,e){const n=this.tabs.findIndex((t=>t===e));t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}markTabAsActive(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never"]],hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("tui-tab-activate",(function(t){return e.onActivate(t,t.target)})),2&t&&i.uIk("data-size",e.size)},inputs:{size:"size",activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"},standalone:!0}),e})();var _,w=n(84911),x=n(11892);class C{constructor(){this.el=(0,l.AG)(),this.options=(0,i.f3M)(v),this.tabs=(0,i.f3M)(b),this.children=x.Mm,this.sub=(0,i.f3M)(s.IM).pipe((0,a.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>this.refresh())),this.underline=this.options.underline}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex),this.refresh()}onKeyDownArrow(t,e){this.tabs.moveFocus(t,e)}refresh(){const{activeElement:t}=this.tabs;if(t&&!t.isConnected)return;const{offsetLeft:e=0,offsetWidth:n=0}=t||{};this.el.style.setProperty("--t-left",(0,m.O9)(e)),this.el.style.setProperty("--t-width",(0,m.O9)(n))}scrollTo(t){const e=this.tabs.tabs[t];if(!e)return;const{offsetLeft:n,offsetWidth:i}=e;nthis.el.scrollLeft+this.el.offsetWidth&&(this.el.scrollLeft=n+i-this.el.offsetWidth)}}(_=C).ɵfac=function(t){return new(t||_)},_.ɵdir=i.lG2({type:_,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,f,4),2&t){let t;i.iGM(t=i.CRH())&&(e.children=t)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowRight.prevent",(function(t){return e.onKeyDownArrow(t.target,1)}))("keydown.arrowLeft.prevent",(function(t){return e.onKeyDownArrow(t.target,-1)}))("animationend",(function(){return e.refresh()})),2&t&&(i.Udp("--t-color",!0===e.underline?"var(--tui-background-accent-1)":e.underline),i.ekj("_underline",e.underline))},inputs:{underline:"underline"},standalone:!0,features:[i._Bn([s.IM,{provide:s.k2,useValue:{childList:!0,characterData:!0,subtree:!0}}]),i.zW0([{directive:b,inputs:["activeItemIndex","activeItemIndex","size","size"],outputs:["activeItemIndexChange","activeItemIndexChange"]}])]}),(0,w.gn)([m.UM],C.prototype,"scrollTo",null);var k=n(76733),O=n(58373),M=n(95173),S=n(11637),A=n(25690),P=n(92425),E=n(31570),T=n(34749),I=n(71938),D=n(20155),z=n(73843);const N=new i.OlP("[TUI_TABS_REFRESH]"),F=[T.ax,s.IM,(0,I.fx)({align:"right"}),{provide:s.k2,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:N,deps:[T.ax,s.IM,k.K0,i.SBq,i.sBO],useFactory:(t,e,{body:n},{nativeElement:i},o)=>(0,h.T)(t,e.pipe((0,E.b)((()=>o.detectChanges())))).pipe((0,u.h)((()=>n.contains(i))),(0,D.b)(0),(0,z.O)(null),(0,r.sL)())}];function L(t,e){1&t&&i.GkF(0)}function R(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function B(t,e){if(1&t&&(i.TgZ(0,"div",9),i.GkF(1,8),i.qZA()),2&t){const t=i.oxw(),e=t.index,n=t.$implicit,r=i.oxw();i.ekj("t-overflown",r.isOverflown(e)),i.xp6(1),i.Q6J("ngTemplateOutlet",n)}}function j(t,e){if(1&t&&(i.ynx(0),i.YNc(1,R,1,1,"ng-container",6),i.YNc(2,B,2,3,"ng-template",null,7,i.W1O),i.BQk()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngIf",t<=r.lastVisibleIndex)("ngIfElse",n)}}function H(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 V(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",10),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i.YNc(1,H,2,1,"ng-container",11),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.Q6J("polymorpheusOutlet",t.moreContent)}}function $(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",12),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i._uU(1),i.ALo(2,"async"),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.hij(" ",i.lcZ(2,10,t.moreWord$)," ")}}function q(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function Z(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",16),i.NdJ("tui-tab-activate",(function(){const e=i.CHM(t).index,n=i.oxw(2);return i.KtG(n.onClick(e))})),i.YNc(1,q,1,1,"ng-container",17),i.qZA()}if(2&t){const t=e.index,n=i.oxw(2);i.xp6(1),i.Q6J("ngIf",n.shouldShow(t))}}function U(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",13,14),i.NdJ("keydown.arrowDown.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!1))}))("keydown.arrowUp.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!0))})),i.YNc(2,Z,2,1,"div",15),i.qZA()}if(2&t){const t=i.oxw();i.uIk("data-size",t.size),i.xp6(2),i.Q6J("ngForOf",t.items)}}let G=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(v),this.refresh$=(0,i.f3M)(N),this.el=(0,l.AG)(),this.cdr=(0,i.f3M)(i.sBO),this.maxIndex=1/0,this.items=x.Mm,this.moreWord$=(0,i.f3M)(S.ue),this.open=!1,this.size=this.options.size,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new i.vpe,this.activeItemIndex=0}set itemIndex(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}get lastVisibleIndex(){if(this.itemsLimit+1>=this.items.length)return this.maxIndex;const t=this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2;return Math.min(this.itemsLimit-t,this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,P.U)((()=>this.getMaxIndex())),(0,E.b)((()=>this.refresh())),(0,u.h)((t=>this.maxIndex!==t))).subscribe((t=>{this.maxIndex=t,this.cdr.detectChanges()}))}ngAfterViewChecked(){this.refresh()}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){const{tabs:t}=this,e=(0,O.K)(this.activeItemIndex||0,0,t.length-2);return this.options.exposeActive||this.lastVisibleIndex>=e?t[e]||null:this.moreButton?.nativeElement||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=0;){if(t[e].focus(),(0,c.V8)(t[e]))return;e--}}onWrapperArrow(t,e,n){const i=t.target,r=(0,c.BW)({initial:i,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)}get margin(){return"l"===this.size?24:16}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:t,activeItemIndex:e,margin:n}=this;if(t.length<2)return 0;const{exposeActive:i,minMoreWidth:r}=this.options,{clientWidth:o}=this.el,s=t[e]?t[e].scrollWidth:0,a=Math.max(t[t.length-1].scrollWidth,r);let l=t.length-2,c=t.reduce(((t,{scrollWidth:e})=>t+e),0)+l*n-t[t.length-1].scrollWidth;if(Number.isNaN(c)||c<=o)return 1/0;for(;l;)if(c-=t[l].scrollWidth+n,l--,c+(i&&e>l?s+n:0)+a+n+(this.maxIndex===l-1?1:0){n.d(e,{H:()=>h});var i=n(20755),r=n(55181),o=n(73740),s=n(9368),a=n(71938),l=n(98549);let c=(()=>{var t;class e{getHandler(t){return()=>"@tui.chevron-down"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),u=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chevron"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiChevron][tuiIcons]:after,tui-icon[tuiChevron]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-block;cursor:pointer}[tuiChevron][tuiIcons]._chevron-rotated:after,tui-icon[tuiChevron]._chevron-rotated:after{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),h=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.dropdown=(0,i.f3M)(a.td,{optional:!0}),this.icons=(0,i.f3M)(l.p,{optional:!0}),this.icon=(0,i.f3M)(s.R,{optional:!0}),this.handler=(0,i.f3M)(c).getHandler((0,i.f3M)(i.gxx)),this.nothing=(0,o.__)(u),this.tuiChevron=""}ngDoCheck(){this.set(this.handler()),this.el.classList.toggle("_chevron-rotated",!!this.dropdown?.dropdownBoxRef||!0===this.tuiChevron)}set(t){this.icon&&(this.icon.icon=t),this.icons&&(this.icons.iconRight=t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiChevron",""]],hostAttrs:["tuiChevron",""],inputs:{tuiChevron:"tuiChevron"},standalone:!0}),e})()},95173:(t,e,n)=>{n.d(e,{HT:()=>s.H,Uo:()=>P}),n(11679);var i=n(41589),r=n(73740);(0,r.JN)("@tui.x");var o,s=n(3223),a=n(84911),l=n(20755),c=n(62022),u=n(11892),h=n(65026),d=n(52674),p=n(71938),f=n(45047),g=n(84787),m=n(30453),v=n(21813),y=n(55333),b=n(31570),_=n(92425),w=n(20530),x=n(20155);class C{constructor(){this.dropdowns=u.Mm,this.els=u.Mm,this.destroyRef=(0,l.f3M)(l.ktI)}ngAfterViewInit(){this.right$.pipe((0,c.sL)(this.destroyRef)).subscribe((t=>{this.tryToFocus(t)})),(0,f.T)(this.immediate$,this.debounce$).pipe((0,g.w)((t=>{this.dropdowns.forEach(((e,n)=>{e.toggle(n===t)}));const e=this.els.get(t),n=this.dropdowns.get(t);if(!e||!n?.dropdownBoxRef)return m.E;const{nativeElement:i}=n.dropdownBoxRef.location,r=(0,h.mL)(i,"mouseenter").pipe((0,v.q)(1)),o=(0,f.T)((0,h.mL)(e.nativeElement,"keydown"),(0,h.mL)(i,"keydown")).pipe((0,y.h)((({key:t})=>"Escape"===t)));return(0,f.T)(r,o).pipe((0,b.b)((t=>{n.dropdownBoxRef&&t.stopPropagation(),e.nativeElement.focus(),n.toggle("offsetX"in t)})))})),(0,c.sL)(this.destroyRef)).subscribe()}get elements$(){return(0,h.ll)(this.els).pipe((0,_.U)((t=>t.map((({nativeElement:t})=>t)))),(0,w.d)({bufferSize:1,refCount:!0}))}get right$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"keydown").pipe((0,y.h)((({key:t})=>"ArrowRight"===t)),(0,h.mp)(),(0,_.U)((()=>e)))))))))}get immediate$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"click").pipe((0,_.U)((()=>e)))))))))}get debounce$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,f.T)((0,h.mL)(t,"focus"),(0,h.mL)(t,"blur")).pipe((0,y.h)((({relatedTarget:t})=>this.notInDropdown(t,e))),(0,_.U)((({type:t})=>"focus"===t?e:NaN)))))))),(0,x.b)(300))}notInDropdown(t,e){return!this.dropdowns.get(e)?.dropdownBoxRef?.location.nativeElement.contains(t)}tryToFocus(t){const e=this.dropdowns.get(t)?.dropdownBoxRef?.location.nativeElement;if(!e)return;const n=(0,d.BW)({initial:e,root:e}),i=(0,d.BW)({initial:n||e,root:e});i&&i.focus()}}(o=C).ɵfac=function(t){return new(t||o)},o.ɵdir=l.lG2({type:o,selectors:[["tui-data-list","tuiDataListDropdownManager",""]],contentQueries:function(t,e,n){if(1&t&&(l.Suo(n,p.td,5),l.Suo(n,p.td,5,l.SBq)),2&t){let t;l.iGM(t=l.CRH())&&(e.dropdowns=t),l.iGM(t=l.CRH())&&(e.els=t)}},standalone:!0}),(0,a.gn)([r.UM],C.prototype,"elements$",null),(0,a.gn)([r.UM],C.prototype,"right$",null),(0,a.gn)([r.UM],C.prototype,"immediate$",null),(0,a.gn)([r.UM],C.prototype,"debounce$",null);var k=n(81695),O=n(34749),M=n(55181),S=n(10409);let A=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-fade-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiFade]{scrollbar-width:none;-ms-overflow-style:none;transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;overflow:auto;text-overflow:unset!important;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[tuiFade]::-webkit-scrollbar,[tuiFade]::-webkit-scrollbar-thumb{display:none}[tuiFade]:not([data-orientation=vertical]){overflow-y:hidden;-webkit-mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;-webkit-mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%));mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%))}[tuiFade]:not([data-orientation=vertical])._start{-webkit-mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top}[tuiFade]:not([data-orientation=vertical])._end{-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top}[tuiFade]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[tuiFade][data-orientation=vertical]{overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));-webkit-mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset));mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom;mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom}[tuiFade][data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"],encapsulation:2,changeDetection:0}),e})(),P=(()=>{var t;class e{constructor(){this.lineHeight=null,this.size="1.5em",this.offset="0em",this.orientation="horizontal";const t=(0,M.AG)();(0,r.__)(A),(0,f.T)((0,l.f3M)(O.ax),(0,l.f3M)(k.IM),(0,S.R)(t,"scroll")).pipe((0,h.fL)((0,l.f3M)(l.R0b)),(0,c.sL)()).subscribe((()=>{t.classList.toggle("_start",!!t.scrollLeft||!!t.scrollTop),t.classList.toggle("_end",this.isEnd(t))}))}isEnd(t){return"vertical"===this.orientation?Math.round(t.scrollTop)t.clientHeight+4}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiFade",""]],hostVars:9,hostBindings:function(t,e){2&t&&(l.uIk("data-orientation",e.orientation),l.Udp("line-height",e.lineHeight)("--line-height",e.lineHeight)("--fade-size",e.size)("--fade-offset",e.offset))},inputs:{lineHeight:["tuiFadeHeight","lineHeight"],size:["tuiFadeSize","size"],offset:["tuiFadeOffset","offset"],orientation:["tuiFade","orientation"]},standalone:!0,features:[l._Bn([O.ax,k.IM,{provide:k.k2,useValue:{characterData:!0,subtree:!0}}])]}),e})();var E,T=n(16931);const I=[{opacity:.06},{opacity:1}];let D=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-skeleton-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["@keyframes tuiSkeleton{0%{opacity:.03}to{opacity:.06}}[tuiSkeleton]._skeleton{color:transparent;background:var(--tui-background-base)!important;box-shadow:none!important;filter:contrast(0) brightness(0);animation:tuiSkeleton ease-in-out 1s infinite alternate}[tuiSkeleton]._skeleton[data-tui-skeleton]{background:transparent!important}[tuiSkeleton]._skeleton[data-tui-skeleton]:before{content:attr(data-tui-skeleton);background:var(--tui-background-base);font-size:smaller;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.25rem}[tuiTheme=dark] [tuiSkeleton]._skeleton,[tuiTheme=dark][tuiSkeleton]._skeleton{filter:contrast(0) brightness(0) invert(1)}\n"],encapsulation:2,changeDetection:0}),e})();class z{constructor(){this.el=(0,M.AG)(),this.duration=(0,l.f3M)(i.ZW)*T.Gc*2,this.nothing=(0,r.__)(D),this.tuiSkeleton=!1}ngOnChanges({tuiSkeleton:t}){this.animation?.cancel(),t.currentValue||t.firstChange||(this.animation=this.el.animate(I,this.duration))}getPlaceholder(t){switch(typeof t){case"number":return Array.from({length:t}).map((()=>u.f$.repeat(Math.floor(11*Math.random())+5))).join(" ");case"string":return t;default:return null}}}(E=z).ɵfac=function(t){return new(t||E)},E.ɵdir=l.lG2({type:E,selectors:[["","tuiSkeleton",""]],hostAttrs:["tuiSkeleton",""],hostVars:3,hostBindings:function(t,e){2&t&&(l.uIk("data-tui-skeleton",e.getPlaceholder(e.tuiSkeleton)),l.ekj("_skeleton",e.tuiSkeleton))},inputs:{tuiSkeleton:"tuiSkeleton"},standalone:!0,features:[l.TTD]}),(0,a.gn)([r.UM],z.prototype,"getPlaceholder",null),n(94267),n(7618)},11637:(t,e,n)=>{n.d(e,{s3:()=>l,qE:()=>O,Fu:()=>m,UV:()=>k,Hw:()=>E,LD:()=>d,zf:()=>x,Mu:()=>p,HF:()=>h,rV:()=>C,qk:()=>M,vy:()=>y,WB:()=>N,BV:()=>A,Ys:()=>R,vk:()=>H,xC:()=>V,ue:()=>v,E6:()=>P,q5:()=>_,yI:()=>S,v3:()=>$,tp:()=>T,xP:()=>I,jV:()=>b,Yq:()=>w,Z4:()=>q,_V:()=>c});var i=n(20755),r=n(43226),o=n(65026),s=n(92425),a=n(71209);const l=new i.OlP("[TUI_CALENDAR_DATE_STREAM]");function c(t){return{provide:l,deps:[[new i.FiY,new i.PiD,r.a5],[new i.FiY,t]],useFactory:u}}function u(t,e){return t?(0,o.EK)(t).pipe((0,s.U)((t=>e?e?.fromControlValue(t):t))):(0,a.of)(null)}const h=new i.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),d=new i.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),p=new i.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]");var f=n(73740),g=n(49335);const m=(0,f.N1)((0,g.v)("confirm")),v=((0,f.N1)((0,g.v)("cancel")),(0,f.N1)((0,g.v)("done")),(0,f.N1)((0,g.v)("more"))),y=(0,f.N1)((0,g.v)("hide")),b=(0,f.N1)((0,g.v)("showAll")),_=(0,f.N1)((0,g.v)("otherDate")),w=((0,f.N1)((0,g.v)("mobileCalendarTexts")),(0,f.N1)((0,g.v)("range")),(0,f.N1)((0,g.v)("countTexts")),(0,f.N1)((0,g.v)("time"))),x=(0,f.N1)((0,g.v)("dateTexts")),C=(0,f.N1)((0,g.v)("digitalInformationUnits")),k=(0,f.N1)((0,g.v)("copyTexts")),O=((0,f.N1)((0,g.v)("passwordTexts")),(0,f.N1)((0,g.v)("shortCalendarMonths"))),M=(0,f.N1)((0,g.v)("fileTexts")),S=(0,f.N1)((0,g.v)("pagination")),A=(0,f.N1)((0,g.v)("inputFileTexts")),P=(0,f.N1)((0,g.v)("multiSelectTexts")),E=(0,f.N1)((0,g.v)("countries")),T=(0,f.N1)((0,g.v)("previewTexts")),I=(0,f.N1)((0,g.v)("zoomTexts"));var D=n(28351);const z={icon:()=>"@tui.calendar",min:D.K1,max:D.Oy,nativePicker:!1},N=(0,f.JN)(z);var F=n(11892);const L={stringify:String,identityMatcher:F.bg,disabledItemHandler:F.tD},R=(0,f.JN)(L);var B=n(86253),j=n(71938);const H=new i.OlP("[TUI_MOBILE_CALENDAR]"),V={provide:j.WH,useFactory:()=>(0,i.f3M)(B.fL)&&(0,i.f3M)(H,{optional:!0})||(0,i.f3M)(j.WH,{skipSelf:!0})},$=(0,f.JN)({rotate:"@tui.rotate-ccw-square",prev:"@tui.arrow-left",next:"@tui.arrow-right",zoomIn:"@tui.plus",zoomOut:"@tui.minus",zoomReset:"@tui.minimize"}),q=(0,f.JN)({})},11978:(t,e,n)=>{n.d(e,{M$:()=>C,Xn:()=>x,m6:()=>S,sC:()=>O,F9:()=>A,D1:()=>M,rE:()=>P,wB:()=>k});var i=n(20755),r=n(10676),o=n(55181),s=n(63098),a=n(11637),l=n(83140),c=n(62022),u=n(43226),h=n(94267),d=n(11892),p=n(73740),f=n(78748),g=n(69286),m=n(73843),v=n(92425),y=n(55333),b=n(18004),_=n(84787),w=n(45047);let x=(()=>{var t;class e{constructor(){this.focusVisible=!1,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.autoIdString=`tui_interactive_${e.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocused(){return!this.computedDisabled&&(this.pseudoFocus??this.focused)}get computedFocusVisible(){return!this.computedDisabled&&(this.pseudoFocus??this.focusVisible)}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}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=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-focused",e.pseudoFocus),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"}}),e})(),C=(()=>{var t;class e extends x{constructor(){super(),this.ngControl=(0,i.f3M)(u.a5,{optional:!0}),this.refresh$=new f.x,this.onTouched=d.iD,this.onChange=d.iD,this.fallbackValue=this.getFallbackValue(),this.destroyRef=(0,i.f3M)(i.ktI),this.cdr=(0,i.f3M)(i.sBO),this.valueTransformer=(0,i.f3M)(h.R4,{optional:!0}),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(){return this.previousInternalValue??this.fallbackValue}set value(t){this.updateValue(t)}get safeCurrentValue(){return this.rawValue??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(){return this.controlName?.toString()??null}get controlName(){return this.ngControl?.name?.toString()??null}ngOnInit(){this.refresh$.pipe((0,g.g)(0),(0,m.O)(null),(0,v.U)((()=>this.ngControl?.control)),(0,y.h)(p.Pc),(0,b.x)(),(0,_.w)((t=>(0,w.T)(t.valueChanges,t.statusChanges))),(0,c.sL)(this.destroyRef)).subscribe((()=>{this.refreshLocalValue(this.safeCurrentValue)}))}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(t){this.onChange=e=>{t(this.toControlValue(e))},this.refresh$.next()}registerOnTouched(t){this.onTouched=t}setDisabledState(){this.checkControlUpdate()}writeValue(t){const e=this.ngControl instanceof u.On&&void 0===this.previousInternalValue?this.ngControl.model:t;this.refreshLocalValue(this.fromControlValue(e))}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}get rawValue(){const{ngControl:t}=this;if(null===t)return;const e=t instanceof u.On&&void 0===this.previousInternalValue?t.viewModel:t.value;return this.fromControlValue(e)}safeNgControlData(t,e){return(this.ngControl&&t(this.ngControl))??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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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]}),e})();function k(t){return(0,p.Q2)(C,t)}let O=(()=>{var t;class e{constructor(){this.idService=(0,i.f3M)(r.ll),this.datalist=null,this.el=(0,o.AG)(),this.host=(0,i.f3M)(l.S0),this.control=(0,i.f3M)(C),this.itemsHandlers=(0,i.f3M)(a.Ys),this.disabledItemHandler=null}get id(){return this.el.id||this.idService.generate()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(s.gX,7,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("id",e.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),e})(),M=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(C,{optional:!0})}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(){return this.host.value?.toString()||""}process(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})(),S=(()=>{var t;class e extends C{clear(){this.value=[]}getFallbackValue(){return[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})(),A=(()=>{var t;class e extends C{getFallbackValue(){return null}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();class P{constructor(t,e){this.item=t,this.stringify=e}toString(){return this.stringify(this.item)}}},83239:(t,e,n)=>{n.d(e,{SX:()=>m,Ii:()=>y});var i=n(76733),r=n(20755),o=n(9368),s=n(71938),a=n(16931),l=n(11978),c=n(55466),u=n(25690),h=n(73740);const d=(0,h.JN)({iconSmall:"@tui.chevron-down",iconLarge:"@tui.chevron-down"});function p(t,e){if(1&t&&r._UZ(0,"tui-icon",2),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function f(t,e){1&t&&r.GkF(0)}let g=(()=>{var t;class e{constructor(){this.control=(0,r.f3M)(l.M$,{optional:!0}),this.textfieldSize=(0,r.f3M)(c.kI),this.options=(0,r.f3M)(d),this.directive=(0,r.f3M)(s.Bb,{optional:!0})}get rotated(){return this.directive?.tuiDropdownOpen||!!this.control.pseudoOpen||!1}get small(){return!(0,a.R9)(this.textfieldSize.size)}get arrowIcon(){return this.small?this.options.iconSmall:this.options.iconLarge}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("_rotated",e.rotated)("_small",e.small)},standalone:!0,features:[r.jDz],decls:3,vars:4,consts:[[3,"icon",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"icon"]],template:function(t,e){1&t&&(r.YNc(0,p,1,1,"tui-icon",0),r.YNc(1,f,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,null==e.directive?null:e.directive.tuiDropdownOpenChange)))},dependencies:[u.s$,i.O5,i.Ov,o.R],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)}._small[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})();const m=new u.Al(g),v={interactive:m,disabled:m},y=(0,h.JN)(v)},59679:(t,e,n)=>{n.d(e,{qS:()=>i.q,_H:()=>l});var i=n(98015),r=(n(16737),n(76733)),o=n(90621),s=n(55466),a=n(20755);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[r.ez,o.KW,s.cn,s.SC]}),e})();n(58025)},98015:(t,e,n)=>{n.d(e,{q:()=>F});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11262),l=n(11892),c=n(65026),u=n(86253),h=n(58373),d=n(73740),p=n(41589),f=n(80567),g=n(11978),m=n(90621),v=n(55466),y=n(83140),b=n(25690),_=n(58025),w=n(76733),x=n(28858),C=n(9997),k=n(38001),O=n(2365),M=n(36344),S=n(77430),A=n(14863);function P(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 E(t,e){if(1&t&&(o.TgZ(0,"div",6),o.YNc(1,P,2,1,"ng-container",7),o.qZA()),2&t){o.oxw();const t=o.MAs(9);o.xp6(1),o.Q6J("polymorpheusOutlet",t)}}function T(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"section",8)(1,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(2," + "),o.qZA(),o.TgZ(3,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(-e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(4," - "),o.qZA()()}if(2&t){const t=o.oxw(),e=o.MAs(1);o.xp6(1),o.Q6J("appearance",e.appearance)("disabled",!t.canIncrement)("iconLeft",t.icons.up),o.xp6(2),o.Q6J("appearance",e.appearance)("disabled",!t.canDecrement)("iconLeft",t.icons.down)}}function I(t,e){1&t&&o.GkF(0)}function D(t,e){1&t&&o.Hsn(0,2)}const z=["*",[["input"]],[["tuiContent"]]],N=new o.OlP("");class F extends g.F9{constructor(){super(...arguments),this.isIOS=(0,o.f3M)(u.FA),this.textfieldSize=(0,o.f3M)(v.kI),this.options=(0,o.f3M)(_.vy),this.unfinishedValue="",this.polymorpheusValueContent=l.Mm,this.valueTransformer=(0,o.f3M)(N,{optional:!0}),this.numberFormat=p.Jl,this.controller=(0,o.f3M)(v.Cs),this.numberFormat$=(0,o.f3M)(p.HO).pipe((0,c.NA)(this.cdr),(0,s.sL)()).subscribe((t=>{this.numberFormat=t})),this.min=this.options.min,this.max=this.options.max,this.step=this.options.step}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){return!!this.textfield?.focused}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":this.precision?"decimal":"numeric"}get calculatedMaxLength(){return 18+(this.precision&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}onValueChange(t){const e=(0,a.vZ)(t,this.numberFormat.decimalSeparator);if(this.unfinishedValue=null,!Number.isNaN(e))return this.isNativeValueNotFinished?(this.unfinishedValue=t,void this.cdr.markForCheck()):void(ethis.computedMax||(this.value=e));this.value=null}writeValue(t){super.writeValue(t),this.nativeValue=this.formattedValue}get size(){return this.textfieldSize.size}get icons(){return this.options.icons}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get isNegativeAllowed(){return this.computedMin<0}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax:t[s.length,t.length-l.length]))]}}}(i=F).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-input-number"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,b.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.polymorpheusValueContent=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(m.yc,5),2&t){let t;o.iGM(t=o.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&o.NdJ("keydown.arrowDown",(function(){return e.onArrow(-e.step)}))("keydown.arrowUp",(function(){return e.onArrow(e.step)})),2&t&&o.uIk("data-size",e.size)},inputs:{min:"min",max:"max",step:"step"},features:[o._Bn([(0,y.FT)(i),(0,g.wB)(i),v.Y0]),o.qOj],ngContentSelectors:["*","input","tuiContent"],decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tabindex","-1","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","iconLeft","click.prevent","mousedown.prevent"]],template:function(t,e){1&t&&(o.F$t(z),o.TgZ(0,"tui-primitive-textfield",0,1),o.NdJ("focusedChange",(function(t){return e.onFocused(t)}))("valueChange",(function(t){return e.onValueChange(t)})),o.Hsn(2),o.Hsn(3,1,["ngProjectAs","input",5,["input"]]),o.YNc(4,E,2,1,"div",2),o.qZA(),o.YNc(5,T,5,6,"section",3),o.YNc(6,I,1,0,"ng-container",4),o.ALo(7,"async"),o.YNc(8,D,1,0,"ng-template",null,5,o.W1O)),2&t&&(o.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("invalid",e.computedInvalid)("maskito",e.mask)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.computedValue),o.xp6(4),o.Q6J("ngIf",e.polymorpheusValueContent.length),o.xp6(1),o.Q6J("ngIf",e.step),o.xp6(1),o.Q6J("ngIf",o.lcZ(7,12,e.polymorpheusValueContent.changes)))},dependencies:[w.O5,x.ro,C.y,k.B,O.A,M.T,b.s$,S.n,A.x,w.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;align-items:center;justify-content:center;border-radius:0}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,r.gn)([d.UM],F.prototype,"computeMin",null),(0,r.gn)([d.UM],F.prototype,"computeMax",null),(0,r.gn)([d.UM],F.prototype,"calculateMask",null)},16737:(t,e,n)=>{n.d(e,{g:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}ngDoCheck(){this.host.nativeFocusableElement&&(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input-number"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},58025:(t,e,n)=>{n.d(e,{vy:()=>o});var i=n(73740);const r={icons:{up:"@tui.plus",down:"@tui.minus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0},o=(0,i.JN)(r)},71918:(t,e,n)=>{n.d(e,{Qf:()=>s}),n(14814),n(5583);var i=n(76733),r=n(90621),o=n(20755);n(71938);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({imports:[i.ez,r.KW]}),e})()},14814:(t,e,n)=>{n.d(e,{K:()=>y});var i=n(20755),r=n(52674),o=n(63098),s=n(71938),a=n(11978),l=n(90621),c=n(55466),u=n(83140),h=n(82673),d=n(9997),p=n(38001),f=n(10938),g=n(1);const m=["*",[["input"]]],v=["*","input"];let y=(()=>{var t;class e extends a.M${constructor(){super(...arguments),this.textfieldSize=(0,i.f3M)(c.kI),this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,r.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}handleOption(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}onValueChange(t){this.value=t,this.open=!0}get canOpen(){return this.interactive&&!!this.datalist}onActiveZone(t){this.updateFocused(t)}getFallbackValue(){return""}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}setNativeValue(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-input"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,o.gX,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(s.Bb,5),i.Gf(l.yc,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.dropdown=t.first),i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([c.E2,(0,u.FT)(t),(0,o.oE)(t),(0,a.wB)(t)],[h.yn]),i.qOj],ngContentSelectors:v,decls:4,vars:11,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(m),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA()()),2&t&&(i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.canOpen)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},dependencies:[d.y,p.B,f.t,g.B],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}),e})()},5583:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},90621:(t,e,n)=>{n.d(e,{iQ:()=>i.i,yc:()=>i.y,KW:()=>c,MB:()=>u.M});var i=n(9997),r=(n(38001),n(76733)),o=n(43226),s=n(61573),a=n(44806),l=n(20755);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=l.oAB({type:t}),t.ɵinj=l.cJS({imports:[r.ez,o.u5,a.W,s.R]}),e})();n(55466);var u=n(20633);n(21842)},9997:(t,e,n)=>{n.d(e,{i:()=>H,y:()=>V});var i,r=n(84911),o=n(20755),s=n(55181),a=n(52674),l=n(73740),c=n(2239),u=n(75430),h=n(11978),d=n(55466),p=n(83140),f=n(82673),g=n(25690),m=n(10409),v=n(92425),y=n(76733),b=n(43226),_=n(5362),w=n(70380),x=n(8355),C=n(93714),k=n(21842);const O=["focusableElement"];function M(t,e){1&t&&o.GkF(0)}function S(t,e){1&t&&o.GkF(0)}function A(t,e){1&t&&(o.TgZ(0,"div",17),o.Hsn(1,2),o.qZA())}function P(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}const E=function(t){return{$implicit:t}};function T(t,e){if(1&t&&(o.TgZ(0,"div",18),o.YNc(1,P,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconLeftContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function I(t,e){if(1&t&&(o.TgZ(0,"label",21),o.Hsn(1,3),o.qZA()),2&t){const t=o.oxw();o.ekj("t-placeholder_raised",t.placeholderRaised),o.Q6J("for",t.computedId)}}function D(t,e){if(1&t&&o._UZ(0,"tui-icon",24),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t)}}function z(t,e){if(1&t&&(o.TgZ(0,"div",22),o.YNc(1,D,1,1,"tui-icon",23),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.controller.customContent)}}function N(t,e){if(1&t&&o._UZ(0,"tui-icon",27),2&t){const t=e.polymorpheusOutlet;o.Udp("border","0.25rem solid transparent"),o.Q6J("icon",t.toString())}}function F(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"span",25),o.NdJ("click.stop",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.clear())})),o.YNc(1,N,1,3,"tui-icon",26),o.qZA()}if(2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconCleaner||t.controller.options.iconCleaner)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function L(t,e){if(1&t&&o._UZ(0,"tui-tooltip",28),2&t){const t=o.oxw();o.Q6J("content",null==t.hintOptions?null:t.hintOptions.content)("describeId",t.computedId)}}function R(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}function B(t,e){if(1&t&&(o.TgZ(0,"div",29),o.YNc(1,R,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}const j=[[["input"]],[["select"]],[["tuiContent"]],"*"],H={s:1.25,m:1.75,l:2.25};class V extends h.Xn{constructor(){super(...arguments),this.legacyOptions=(0,o.f3M)(d.z1),this.el=(0,s.AG)(),this.options=(0,o.f3M)(c.z1),this.controller=(0,o.f3M)(d.Cs),this.hintOptions=(0,o.f3M)(u.bZ,{optional:!0}),this.autofilled=!1,this.editable=!0,this.iconCleaner=this.legacyOptions.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.value="",this.valueChange=new o.vpe}get prefix(){return this.controller.prefix}get postfix(){return this.controller.postfix}get filler(){return 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,a.zb)(this.el)}get appearance(){return"table"===this.options.appearance?"table":this.controller.appearance}onModelChange(t){this.updateValue(t)}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){return!!this.content?.length}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,f._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){return!!this.hintOptions?.content&&!this.computedDisabled}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){const t=(this.nativeFocusableElement?.placeholder||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!t}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){return!!this.hintOptions?.content&&(this.legacyOptions.hintOnDisabled||!this.computedDisabled)}get name(){return"cc-exp"===this.nativeFocusableElement?.autocomplete?"ccexpiryyear":null}get computedId(){return this.nativeFocusableElement?.id||""}onFocused(t){this.updateFocused(t)}getIndent$(t){return(0,m.R)(t,"scroll").pipe((0,v.U)((()=>-1*Math.max(t.scrollLeft,0))))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(t){const{nativeFocusableElement:e}=this;e&&t.target!==e&&(t.preventDefault(),e.focus())}onAutofilled(t){this.updateAutofilled(t)}detectRetargetFromLabel(t){(0,s.UP)(t)&&t.stopImmediatePropagation()}get iconPaddingLeft(){return H[this.size]}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)}}(i=V).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,g.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.content=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(O,5),2&t){let t;o.iGM(t=o.CRH())&&(e.focusableElement=t.first)}},hostVars:15,hostBindings:function(t,e){1&t&&o.NdJ("focusin",(function(){return e.onFocused(!0)}))("focusout",(function(){return e.onFocused(!1)})),2&t&&(o.uIk("data-size",e.size),o.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),o.ekj("_autofilled",e.autofilled)("_label-outside","table"===e.options.appearance||e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},features:[o._Bn([(0,p.FT)(i),d.Y0]),o.qOj],ngContentSelectors:["input","select","tuiContent","*"],decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown"],["automation-id","tui-primitive-textfield__native-input",1,"t-input",3,"disabled","id","ngModel","readOnly","tabIndex","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"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",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"],["tuiAppearance","icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiAppearance","icon",3,"icon"],["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,"icon",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"icon"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"icon","border",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"icon"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(o.F$t(j),o.YNc(0,M,1,0,"ng-container",0),o.ALo(1,"async"),o.YNc(2,S,1,0,"ng-container",0),o.ALo(3,"async"),o.TgZ(4,"div",1),o.NdJ("click.prevent.silent",(function(t){return e.detectRetargetFromLabel(t)}))("mousedown",(function(t){return e.onMouseDown(t)})),o.ALo(5,"async"),o.Hsn(6),o.Hsn(7,1),o.TgZ(8,"input",2,3),o.NdJ("ngModelChange",(function(t){return e.onModelChange(t)})),o.qZA(),o.YNc(10,A,2,0,"div",4),o.TgZ(11,"div",5),o.YNc(12,T,2,4,"div",6),o.TgZ(13,"div",7),o.YNc(14,I,2,3,"label",8),o.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),o.ALo(18,"async"),o.qZA()()(),o.TgZ(19,"div",12),o.YNc(20,z,2,1,"div",13),o.YNc(21,F,2,4,"span",14),o.YNc(22,L,1,2,"tui-tooltip",15),o.YNc(23,B,2,4,"div",16),o.qZA()()()),2&t){const t=o.MAs(9),n=o.MAs(17);o.Q6J("ngIf",o.lcZ(1,29,null==e.content?null:e.content.changes)),o.xp6(2),o.Q6J("ngIf",o.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),o.xp6(2),o.Udp("--text-indent",o.lcZ(5,33,n.pre$),"px"),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),o.xp6(4),o.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tabIndex",e.computedFocusable?0:-1),o.uIk("aria-invalid",e.computedInvalid)("name",e.name),o.xp6(2),o.Q6J("ngIf",e.inputHidden),o.xp6(2),o.Q6J("ngIf",e.iconLeftContent),o.xp6(2),o.Q6J("ngIf",e.hasPlaceholder),o.xp6(2),o.Udp("text-indent",o.lcZ(18,35,e.getIndent$(t)),"px"),o.ekj("t-has-value",e.value),o.xp6(4),o.Q6J("ngIf",e.hasCustomContent),o.xp6(1),o.Q6J("ngIf",e.hasCleaner),o.xp6(1),o.Q6J("ngIf",e.showHint),o.xp6(1),o.Q6J("ngIf",e.iconContent)}},dependencies:[y.O5,b.Fj,b.JJ,b.On,g.s$,_.o,w.w,x.R,C.N,k.Z,y.Ov],styles:['[_nghost-%COMP%]{position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){.t-input[_ngcontent-%COMP%]:active{font-size:1rem}}.t-input[inputMode=none][_ngcontent-%COMP%]{caret-color:transparent}.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-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .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=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]{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%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-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%;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=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;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-status-negative)}._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-tertiary)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[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-primary)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto;border:.25rem solid transparent}._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;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size=s]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}[data-size=s][_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}.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-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;padding-inline-end:0}.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)([l.UM],V.prototype,"getIndent$",null)},38001:(t,e,n)=>{n.d(e,{B:()=>a});var i=n(20755),r=n(11978),o=n(83140),s=n(9997);let a=(()=>{var t;class e extends r.D1{constructor(){super(...arguments),this.host=(0,i.f3M)(s.y)}get readOnly(){return this.host.readOnly||!this.host.editable}onValueChange(t){this.host.onModelChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[i._Bn([(0,o.cp)(t)]),i.qOj]}),e})()},20633:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(20755),r=n(10676),o=n(55181),s=n(55466),a=n(83140);const l=["tuiTextfieldLegacy",""];let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.idService=(0,i.f3M)(r.ll),this.controller=(0,i.f3M)(s.Cs),this.host=(0,i.f3M)(a.S0),this.host.process(this.el)}get id(){return this.el.id||this.idService.generate()}get inputMode(){return this.el.inputMode||this.host.inputMode}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","tuiTextfieldLegacy",""],["textarea","tuiTextfieldLegacy",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("input",(function(t){return 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([s.Y0])],attrs:l,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){[_nghost-%COMP%]:active{font-size:1rem}}[inputMode=none][_nghost-%COMP%]{caret-color:transparent}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_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}[_nghost-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_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=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost{padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-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}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),e})()},21842:(t,e,n)=>{n.d(e,{Z:()=>d});var i=n(20755),r=n(83140),o=n(56424),s=n(45047),a=n(69286),l=n(55333),c=n(92425),u=n(18004);const h=["pre"];let d=(()=>{var t;class e{constructor(){this.textfield=(0,i.f3M)(r.KZ),this.fontsReady$=(0,i.f3M)(r.tS),this.prefix$=new o.X(""),this.pre$=(0,s.T)(this.fontsReady$,this.prefix$).pipe((0,a.g)(0),(0,l.h)((()=>!!this.pre?.nativeElement.isConnected)),(0,c.U)((()=>this.pre?.nativeElement.offsetWidth||0)),(0,u.x)())}ngDoCheck(){this.prefix$.next(this.prefix)}get isContextTable(){return"table"===this.textfield.appearance}get filler(){const{focused:t,placeholder:e,exampleText:n,value:i,textfield:r}=this;return e&&n?"":t?n||r.filler.slice(i.length):""}get value(){return this.textfield.value}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}get placeholder(){return this.textfield.nativeFocusableElement?.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=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){if(1&t&&i.Gf(h,7,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.pre=t.first)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("animationstart",(function(){return e.ngDoCheck()})),2&t&&i.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&i._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(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;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-tertiary);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-primary)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),e})()},76459:(t,e,n)=>{n.d(e,{Q4:()=>O,TA:()=>k,Ig:()=>M});var i=n(20755),r=n(43226),o=n(11892),s=n(65026),a=n(55181),l=n(73740),c=n(63098),u=n(41589),h=n(11978),d=n(25690),p=n(78748),f=n(45047),g=n(30453),m=n(73843),v=n(92425),y=n(18004),b=n(76733),_=n(46877),w=n(8355);function x(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=i.oxw();i.Q6J("icon",t.icons.check)("tuiScrollIntoView",!0)}}function C(t,e){1&t&&i._UZ(0,"span",4)}let k=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(c.N1),this.el=(0,a.AG)(),this.changeDetection$=new p.x,this.abstractControl=(0,i.f3M)(h.M$,{optional:!0}),this.control=(0,i.f3M)(r.a5),this.option=(0,i.f3M)(c.bH),this.dataList=(0,i.f3M)(c.qi,{optional:!0}),this.icons=(0,i.f3M)(u.Gs),this.context=(0,i.f3M)(d.yf),this.selected$=(0,f.T)(this.changeDetection$,this.control.valueChanges||g.E,(0,s.mL)(this.el,"animationstart")).pipe((0,m.O)(null),(0,v.U)((()=>this.selected)),(0,y.x)())}ngOnInit(){Promise.resolve().then((()=>{(0,l.Pc)(this.option.value)&&!this.option.disabled&&this.host.checkOption?.(this.option.value)}))}ngDoCheck(){this.changeDetection$.next()}get value(){return this.abstractControl?.value??this.control.value}get matcher(){return this.host.identityMatcher||o.bg}get selected(){return(0,l.Pc)(this.option.value)&&(0,l.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"icon","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"icon","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(i.GkF(0,0),i.YNc(1,x,1,2,"tui-icon",1),i.ALo(2,"async"),i.YNc(3,C,1,0,"ng-template",null,2,i.W1O)),2&t){const t=i.MAs(4);i.Q6J("ngTemplateOutlet",e.context.$implicit),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,3,e.selected$))("ngIfElse",t)}},dependencies:[b.O5,b.tP,_._,w.R,b.Ov],styles:['@keyframes _ngcontent-%COMP%_retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:_ngcontent-%COMP%_retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{margin-inline-start:auto;width:1.75rem;border:.25rem solid transparent;border-inline-start-width:.5rem}tui-data-list[data-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.375rem}tui-data-list[data-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),e})();const O=new d.Al(k);let M=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[b.ez]}),e})()},83368:(t,e,n)=>{n.d(e,{Jy:()=>l}),n(73740),n(63098),n(11978),n(19975),n(67917),n(61819),n(26505),n(61122);var i=n(76733),r=n(90621),o=n(76459),s=n(55466),a=n(20755);n(71938),n(94187);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[i.ez,r.KW,o.Ig,s.WU,s.cn]}),e})();n(46914)},26505:(t,e,n)=>{n.d(e,{u:()=>F});var i=n(20755),r=n(86253),o=n(52674),s=n(63098),a=n(71938),l=n(11637),c=n(11978),u=n(83239),h=n(90621),d=n(76459),p=n(55466),f=n(83140),g=n(82673),m=n(46914),v=n(76733),y=n(25690),b=n(9997),_=n(38001),w=n(5362),x=n(20857),C=n(60732),k=n(10938),O=n(1);function M(t,e){1&t&&i.Hsn(0,2,["*ngIf","isMobile"])}function S(t,e){if(1&t&&i.YNc(0,M,1,0,"ng-content",6),2&t){const t=i.oxw();i.Q6J("ngIf",t.isMobile)}}function A(t,e){1&t&&i.GkF(0,7)}function P(t,e){if(1&t&&i._UZ(0,"div",10),2&t){const t=e.polymorpheusOutlet;i.Q6J("textContent",t)}}const E=function(t,e){return{$implicit:t,active:e}};function T(t,e){if(1&t&&(i.TgZ(0,"div",8),i.YNc(1,P,1,1,"div",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.computedContent)("polymorpheusOutletContext",i.WLB(2,E,t.value,t.computedFocused))}}function I(t,e){1&t&&i.GkF(0)}function D(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,I,1,0,"ng-container",12),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.arrow)}}const z=["*",[["input"]],[["select"]]],N=["*","input","select"];let F=(()=>{var t;class e extends c.F9{constructor(){super(...arguments),this.itemsHandlers=(0,i.f3M)(l.Ys),this.textfieldCleaner=(0,i.f3M)(p.Ym),this.textfieldSize=(0,i.f3M)(p.kI),this.arrowMode=(0,i.f3M)(u.Ii),this.options=(0,i.f3M)(m.l),this.isMobile=(0,i.f3M)(r.fL),this.open=!1,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.textfield?.nativeFocusableElement??null}get focused(){return(0,o.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}onValueChange(t){this.value=t||null}handleOption(t){this.focusInput(),this.value=t,this.open=!1}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedContent(){return this.valueContent||this.computedValue}onActiveZone(t){this.updateFocused(t)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,c.sC,7),i.Suo(n,s.gX,5,i.Rgc)),2&t){let t;i.iGM(t=i.CRH())&&(e.nativeSelect=t.first),i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(h.yc,5),i.Gf(a.Bb,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first),i.iGM(t=i.CRH())&&(e.dropdown=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[i._Bn([(0,f.FT)(t),(0,c.wB)(t),(0,s.oE)(t),(0,s.P7)(d.Q4)],[g.yn]),i.qOj],ngContentSelectors:N,decls:10,vars:16,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(i.F$t(z),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("keydown.backspace.prevent",(function(){return e.onKeyDownDelete()}))("keydown.delete.prevent",(function(){return e.onKeyDownDelete()}))("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,S,1,1,"ng-template",null,2,i.W1O),i.YNc(6,A,1,0,"ng-container",3),i.YNc(7,T,2,5,"div",4),i.qZA(),i.YNc(8,D,2,1,"ng-template",null,5,i.W1O),i.qZA()),2&t){const t=i.MAs(5),n=i.MAs(9);i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.interactive&&!e.nativeDropdownMode)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?n:"")("value",e.computedValue),i.xp6(5),i.Q6J("ngTemplateOutlet",t),i.xp6(1),i.Q6J("ngIf",null!==e.value)}},dependencies:[v.O5,v.tP,y.s$,b.y,_.B,w.o,x.A,C.C,k.t,O.B],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}),e})()},61122:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-select"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},46914:(t,e,n)=>{n.d(e,{l:()=>i});const i=(0,n(73740).JN)({valueContent:""})},61573:(t,e,n)=>{n.d(e,{R:()=>o}),n(70380);var i=n(76733),r=n(20755);n(75430);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({imports:[i.ez]}),e})()},70380:(t,e,n)=>{n.d(e,{w:()=>p});var i=n(20755),r=n(86253),o=n(75430),s=n(8355),a=n(25690),l=n(93714),c=n(25932),u=n(7183),h=n(76733);function d(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=e.polymorpheusOutlet;i.Q6J("icon",t)}}let p=(()=>{var t;class e extends o.bZ{constructor(){super(...arguments),this.isMobile=(0,i.f3M)(r.fL),this.describeId=""}get computedAppearance(){return this.appearance||""}stopOnMobile(t){this.isMobile&&(t.preventDefault(),t.stopPropagation()),this.driver$?.toggle()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(t,e){if(1&t&&i.Gf(o.Hr,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",context:"context"},features:[i.qOj],decls:4,vars:11,consts:[["automation-id","tui-tooltip__icon","tuiAppearance","icon",1,"t-tooltip-icon",3,"tuiAppearanceState","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"]],template:function(t,e){if(1&t&&(i.TgZ(0,"span",0,1),i.ALo(2,"async"),i.YNc(3,d,1,1,"tui-icon",2),i.qZA()),2&t){const t=i.MAs(1);i.Q6J("tuiAppearanceState",i.lcZ(2,9,t)?"hover":null)("tuiHint",e.content)("tuiHintAppearance",e.computedAppearance)("tuiHintContext",e.context)("tuiHintDescribe",e.describeId)("tuiHintDirection",e.direction)("tuiHintHideDelay",e.hideDelay)("tuiHintShowDelay",e.showDelay),i.xp6(3),i.Q6J("polymorpheusOutlet",e.icon)}},dependencies:[s.R,a.s$,l.N,c.D,u.e,h.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;pointer-events:auto;cursor:pointer;color:var(--tui-text-primary)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-status-negative)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%}.t-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})()},55466:(t,e,n)=>{n.d(e,{Y0:()=>r.Y0,Ym:()=>r.Ym,z1:()=>r.z1,kI:()=>r.kI,Cs:()=>r.Cs,E2:()=>a.E,Cd:()=>i.C,cn:()=>r.cn,SC:()=>s,WU:()=>l.W});var i=n(60732),r=n(71641);n(94267),n(55181),n(73740),n(83140),n(77430);var o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({}),e})();var a=n(33490),l=n(44806)},60732:(t,e,n)=>{n.d(e,{C:()=>c});var i=n(20755),r=n(62022),o=n(55181),s=n(52674),a=n(71938),l=n(55333);let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.host=(0,i.f3M)(a.Bb,{self:!0}),this.external=(0,i.f3M)(a.Bb,{skipSelf:!0,optional:!0}),this.external?.driver.pipe((0,l.h)((()=>this.host.dropdown===this.external?.dropdown&&!this.host.focused)),(0,r.sL)()).subscribe((t=>{t&&(0,s.BW)({initial:this.el,root:this.el})?.focus(),this.host.toggle(t)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],standalone:!0}),e})()},71641:(t,e,n)=>{n.d(e,{Y0:()=>C,Ym:()=>o.Y,z1:()=>i,kI:()=>w.k,Cs:()=>x,cn:()=>a});const i=(0,n(73740).JN)({iconCleaner:"@tui.x",hintOnDisabled:!1});var r=n(75086),o=n(70388),s=n(20755);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=s.oAB({type:t}),t.ɵinj=s.cJS({}),e})();var l=n(62022),c=n(65026),u=n(83140),h=n(45047),d=n(14553);class p{constructor(t,e,n,i,r,o,s,a,l,c,u,h,d){this.change$=t,this.options=e,this.legacyAppearance=n,this.appearanceDirective=i,this.cleanerDirective=r,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}}var f=n(54447),g=n(23127),m=n(20857),v=n(28021),y=n(97017),b=n(36344),_=n(2365),w=n(62515);const x=new s.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),C=[{provide:x,deps:[s.sBO,i,u.jt,r.x,o.Y,f.U,m.Z,v.G,y.r,w.k,_.x,b.f,g.s],useFactory:(t,e,n,...i)=>{const r=(0,h.T)(...i.map((({change$:t})=>t||d.C))).pipe((0,c.NA)(t),(0,l.sL)());return r.subscribe(),new p(r,e,n,...i)}}]},75086:(t,e,n)=>{n.d(e,{q:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.appearance=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},70388:(t,e,n)=>{n.d(e,{Y:()=>s,b:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.cleaner=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},54447:(t,e,n)=>{n.d(e,{B:()=>a,U:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},23127:(t,e,n)=>{n.d(e,{k:()=>a,s:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.filler=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},28021:(t,e,n)=>{n.d(e,{G:()=>s,a:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},20857:(t,e,n)=>{n.d(e,{A:()=>a,Z:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},97017:(t,e,n)=>{n.d(e,{r:()=>s,x:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},36344:(t,e,n)=>{n.d(e,{T:()=>a,f:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.postfix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},2365:(t,e,n)=>{n.d(e,{A:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.prefix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},62515:(t,e,n)=>{n.d(e,{k:()=>s,s:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.size="l"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},77430:(t,e,n)=>{n.d(e,{n:()=>o});var i=n(33490),r=n(20755);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[r._Bn([i.E])]}),e})()},33490:(t,e,n)=>{n.d(e,{E:()=>a});var i=n(20755),r=n(43226),o=n(83140),s=n(69401);const a={provide:o.sE,deps:[[new i.FiY,new i.PiD,r.JU]],useFactory:s.y}},5362:(t,e,n)=>{n.d(e,{o:()=>r});var i=n(20755);let r=(()=>{var t;class e{constructor(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.appearance)("data-state",e.interactiveState),i.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"}}),e})()},44806:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})()},83140:(t,e,n)=>{n.d(e,{iN:()=>r,KZ:()=>s,tS:()=>d,It:()=>p,hm:()=>v,jt:()=>y,S0:()=>b,sE:()=>w,FT:()=>a,cp:()=>_});var i=n(73740);const r=(0,i.JN)({AD:"+376###-###",AE:"+971-##-###-####",AF:"+93##-###-####",AG:"+1(268) ###-####",AI:"+1(264) ###-####",AL:"+355(###) ###-###",AM:"+374##-###-###",AO:"+244(###) ###-###",AR:"+54(###) ####-####",AT:"+43(###) ###-####",AU:"+61#-####-####",AW:"+297###-####",AZ:"+994##-###-##-##",BA:"+387 ###-####-##",BB:"+1(246) ###-####",BD:"+880##-###-###",BE:"+32(###) ###-###",BF:"+226##-##-####",BG:"+359(###) ###-###",BH:"+973####-####",BI:"+257##-##-####",BJ:"+229##-##-####",BL:"+590 ## ## ## ## ##",BM:"+1(441) ###-####",BN:"+673###-####",BO:"+591#-###-####",BQ:"+599-###-####",BR:"+55(##) ####-####",BS:"+1(242) ###-####",BT:"+975#-###-###",BW:"+267##-###-###",BY:"+375(##) ###-##-##",BZ:"+501###-####",CA:"+1(###) ###-####",CD:"+243(###) ###-###",CF:"+236-##-##-####",CG:"+242##-###-####",CH:"+41##-###-####",CI:"+225##-##-###-###",CL:"+56#-####-####",CM:"+237#####-####",CN:"+86(###) ####-####",CO:"+57(###) ###-####",CR:"+506####-####",CU:"+53#-###-####",CV:"+238(###) ##-##",CW:"+5999-###-####",CY:"+357##-###-###",CZ:"+420(###) ###-###",DE:"+49(###) ###-###-##",DJ:"+253##-##-##-##",DK:"+45##-##-##-##",DM:"+1(767) ###-####",DO:"+1(###) ###-####",DZ:"+213##-###-####",EC:"+593##-###-####",EE:"+372####-####",EG:"+20(###) ###-####",ER:"+291#-###-###",ES:"+34(###) ###-###",ET:"+251##-###-####",FI:"+358(###) ###-##-##",FJ:"+679##-#####",FK:"+500#####",FM:"+691###-####",FR:"+33 ## ## ## ## ##",GA:"+241##-##-##-##",GB:"+44##-####-####",GD:"+1(473) ###-####",GE:"+995(###) ###-###",GF:"+594 ## ## ## ## ##",GH:"+233(###) ###-###",GI:"+350###-#####",GL:"+299##-##-##",GM:"+220(###) ##-##",GN:"+224##-###-###",GP:"+590 ## ## ## ## ##",GQ:"+240##-###-####",GR:"+30(###) ###-####",GT:"+502#-###-####",GW:"+245#-######",GY:"+592###-####",HK:"+852####-####",HN:"+504####-####",HR:"+385##-###-####",HT:"+509##-##-####",HU:"+36(###) ###-###",ID:"+62(###) ###-##-###",IE:"+353(###) ###-###",IL:"+972##-###-####",IN:"+91(####) ###-###",IQ:"+964(###) ###-####",IR:"+98(###) ###-####",IS:"+354###-####",IT:"+39(###) ####-###",JM:"+1(876) ###-####",JO:"+962#-####-####",JP:"+81-##-####-####",KE:"+254###-######",KG:"+996(###) ###-###",KH:"+855##-###-###",KM:"+269##-#####",KN:"+1(869) ###-####",KP:"+850####-#############",KR:"+82##-###-####",KW:"+965####-####",KY:"+1(345) ###-####",KZ:"+7(###) ###-##-##",LA:"+856##-##-###-###",LB:"+961##-###-###",LC:"+1(758) ###-####",LI:"+423(###) ###-####",LK:"+94##-###-####",LR:"+231##-###-###",LS:"+266#-###-####",LT:"+370(###) ##-###",LU:"+352(###) ###-###",LV:"+371##-###-###",LY:"+218##-###-####",MA:"+212##-####-###",MC:"+377###-###-###",MD:"+373####-####",ME:"+382##-###-###",MF:"+590 ## ## ## ## ##",MG:"+261##-##-#####",MK:"+389##-###-###",ML:"+223##-##-####",MM:"+95##-###-###",MN:"+976##-##-####",MO:"+853####-####",MQ:"+596 ## ## ## ## ##",MR:"+222##-##-####",MS:"+1(664) ###-####",MT:"+356####-####",MU:"+230####-####",MV:"+960###-####",MW:"+265#-####-####",MX:"+52(###) ###-####",MY:"+60(###) ###-###",MZ:"+258##-###-###",NA:"+264##-###-####",NC:"+687 ### ###",NE:"+227##-##-####",NG:"+234(###) ###-####",NI:"+505####-####",NL:"+31##-###-####",NO:"+47(###) ##-###",NP:"+977##-###-###",NZ:"+64(###) ###-####",OM:"+968##-###-###",PA:"+507###-####",PE:"+51(###) ###-###",PF:"+689 ## ## ## ##",PG:"+675(###) ##-###",PH:"+63(###) ###-####",PK:"+92(###) ###-####",PL:"+48(###) ###-###",PT:"+351##-###-####",PW:"+680###-####",PY:"+595(###) ###-###",QA:"+974####-####",RE:"+262 ## ## ## ## ##",RO:"+40##-###-####",RS:"+381##-###-####",RU:"+7### ###-##-##",RW:"+250(###) ###-###",SA:"+966#-####-####",SB:"+677###-####",SC:"+248#-###-###",SD:"+249##-###-####",SE:"+46##-###-####",SG:"+65####-####",SH:"+290####",SI:"+386##-###-###",SK:"+421(###) ###-###",SL:"+232##-######",SM:"+378####-######",SN:"+221##-###-####",SO:"+252##-###-###",SR:"+597###-####",ST:"+239##-#####",SV:"+503##-##-####",SX:"+1(721) ###-####",SY:"+963##-####-###",SZ:"+268##-##-####",TC:"+1(649) ###-####",TD:"+235##-##-##-##",TG:"+228##-###-###",TH:"+66##-###-####",TJ:"+992##-###-####",TL:"+670###-#####",TM:"+993#-###-####",TN:"+216##-###-###",TO:"+676#####",TR:"+90(###) ###-####",TT:"+1(868) ###-####",TW:"+886#-####-####",TZ:"+255##-###-####",UA:"+380(##) ###-##-##",UG:"+256(###) ###-###",US:"+1(###) ###-####",UY:"+598#-###-##-##",UZ:"+998##-###-####",VC:"+1(784) ###-####",VE:"+58(###) ###-####",VG:"+1(284)###-####",VN:"+84(###) ####-###",VU:"+678##-#####",WS:"+685##-####",XK:"+383##-###-###",YE:"+967###-###-###",YT:"+262 ## ## ## ## ##",ZA:"+27##-###-####",ZM:"+260##-###-####",ZW:"+263#-######",VA:"+39 #### ###-####",WF:"+681 ## ##-##",VI:"+1(340) ###-####",JE:"+44(####) ######",AC:"+247###-####",TV:"+686###-####",TK:"+690###-####",TA:"+290###-####",SS:"+211### ###-###",SJ:"+47 ## ##-##-##",PS:"+970 #### ###-###",PR:"+1(###) ###-####",PM:"+508 ### ##-##-##",NU:"+683 ###-####",NR:"+674 ###-####",NF:"+672##-####",MP:"+1(670) ###-####",MH:"+692 ###-####",KI:"+686 ####-####",IO:"+246 ### ####",IM:"+44(####) ######",GU:"+1(###) ###-###",GG:"+44(###) ###-####",FO:"+298 ######",EH:"+212 #### #####",CX:"+61 # ####-####",CK:"+682 ## ###",CC:"+61 # ####-####",AX:"+358 ## ###-####",AS:"+1(###) ###-####"});var o=n(20755);const s=new o.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function a(t){return(0,i.Q2)(s,t)}var l=n(76733),c=n(3489),u=n(30453),h=n(20530);const d=new o.OlP("[TUI_FONTS_READY]",{factory:()=>(0,c.D)((0,o.f3M)(l.K0).fonts?.ready||u.E).pipe((0,h.d)({bufferSize:1,refCount:!1}))}),p=(0,i.JN)({});var f=n(42772),g=n(82673);(0,i.N1)((()=>(0,g.lx)((0,o.f3M)(f.s5)))),(0,i.N1)((()=>!!(0,o.f3M)(f.m9).chrome)),(0,i.N1)((()=>void 0!==(0,o.f3M)(f.m9)?.mozCancelFullScreen)),(0,i.N1)((()=>(0,o.f3M)(f.m9).location.host.endsWith("stackblitz.io")));var m=n(15625);n(92425),n(71209),new o.OlP("[TUI_MONTH_FORMATTER]"),m.$;const v=new o.OlP("[TUI_SANITIZER]"),y=(0,i.JN)("textfield"),b=new o.OlP("[TUI_TEXTFIELD_HOST]");function _(t){return(0,i.Q2)(b,t)}(0,i.N1)((()=>(0,o.f3M)(f.m9).matchMedia("(any-pointer: coarse)").matches));const w=new o.OlP("[TUI_VALUE_ACCESSOR]")},82673:(t,e,n)=>{n.d(e,{yn:()=>C,uJ:()=>c,ux:()=>i,_X:()=>a,fn:()=>l,ht:()=>h,lx:()=>f,jL:()=>g,zm:()=>v,u7:()=>y,NK:()=>x});const i={DMY:"dd/mm/yyyy",MDY:"mm/dd/yyyy",YMD:"yyyy/mm/dd"};var r=n(11892);const o=1.5,s=2.5;function a(t,e=!1,n=!1,i=!1,r="m"){const a="s"===r?0:.25;let l=0;return t&&(l+=o+a),e&&(l+=o+a),n&&(l+=o+a),i&&(l+=s+a),l}function l(t,e){return t[e].replaceAll(/[()\- ]/g,"").length}const c=`?v=${r.Ml}`,u=t=>t.includes(".svg#")?t:`#${t}`;function h(t){const e=t.endsWith("/")?t:`${t}/`;return t=>t.startsWith("tuiIcon")?`${e}${t}.svg${c}#${t}`:u(t)}var d=n(21247);const p=/^((?!chrome|android).)*safari/i;function f(t){return(0,d.i)(t)||p.test(t.userAgent.toLowerCase())}function g(t){const e=t.trim();return e.startsWith("<")&&e.endsWith(">")}const m=/\([#]+\)|[#\- ]/g;function v(t,e){return t[e].replaceAll(m,"")}function y(t){const e=Number(t.slice(1,4));return e<600||e>799}const b='width="',_='height="',w="")));if(!i?.includes(b)||!i.includes(_))return`${n.replace(w,``;const r=i.indexOf(b),o=i.indexOf(_),s=r+b.length,a=o+_.length,l=i.slice(s,i.indexOf('"',s)),c=i.slice(a,i.indexOf('"',a));if(!c||!l||l.includes("%")||c.includes("%")||l.includes("em")||c.includes("em"))return n.replace(w,`${n}`}const C=(0,n(71938).fx)({limitWidth:"fixed",align:"right"})},12405:(t,e,n)=>{n.d(e,{EY:()=>p,IO:()=>d,LC:()=>r,X$:()=>s,ZE:()=>g,ZN:()=>f,_j:()=>i,eR:()=>u,jt:()=>a,k1:()=>m,l3:()=>o,oB:()=>c,pV:()=>h,vP:()=>l});class i{}class r{}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}}class f{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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(){queueMicrotask((()=>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,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}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 g{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,i=0;const r=this.players.length;0==r?queueMicrotask((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++e==r&&this._onFinish()})),t.onDestroy((()=>{++n==r&&this._onDestroy()})),t.onStart((()=>{++i==r&&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 m="!"},80396:(t,e,n)=>{n.d(e,{Ar:()=>mt,DT:()=>Wt,NH:()=>ft,Th:()=>Gt,Vi:()=>_,nV:()=>b});var i=n(12405),r=n(20755);function o(t){return new r.vHH(3e3,!1)}function s(t){switch(t.length){case 0:return new i.ZN;case 1:return t[0];default:return new i.ZE(t)}}function a(t,e,n=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(e.forEach((e=>{const r=e.get("offset"),u=r==l,h=u&&c||new Map;e.forEach(((e,r)=>{let a=r,l=e;if("offset"!==r)switch(a=t.normalizePropertyName(a,s),l){case i.k1:l=n.get(r);break;case i.l3:l=o.get(r);break;default:l=t.normalizeStyleValue(r,a,l,s)}h.set(a,l)})),u||a.push(h),c=h,l=r})),s.length)throw new r.vHH(3502,!1);return a}function l(t,e,n,i){switch(e){case"start":t.onStart((()=>i(n&&c(n,"start",t))));break;case"done":t.onDone((()=>i(n&&c(n,"done",t))));break;case"destroy":t.onDestroy((()=>i(n&&c(n,"destroy",t))))}}function c(t,e,n){const i=n.totalTime,r=!!n.disabled,o=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,r),s=t._data;return null!=s&&(o._data=s),o}function u(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function h(t,e,n){let i=t.get(e);return i||t.set(e,i=n),i}function d(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}const p=(()=>"undefined"==typeof document?null:document.documentElement)();function f(t){const e=t.parentNode||t.host||null;return e===p?null:e}let g=null,m=!1;function v(t,e){for(;e;){if(e===t)return!0;e=f(e)}return!1}function y(t,e,n){if(n)return Array.from(t.querySelectorAll(e));const i=t.querySelector(e);return i?[i]:[]}let b=(()=>{var t;class e{validateStyleProperty(t){return function(t){g||(g=("undefined"!=typeof document?document.body:null)||{},m=!!g.style&&"WebkitAppearance"in g.style);let e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in g.style,!e&&m)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in g.style),e}(t)}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,o,s=[],a){return new i.ZN(n,r)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})(),_=(()=>{class t{}return t.NOOP=new b,t})();const w=1e3,x="ng-enter",C="ng-leave",k="ng-trigger",O=".ng-trigger",M="ng-animating",S=".ng-animating";function A(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:P(parseFloat(e[1]),e[2])}function P(t,e){return"s"===e?t*w:t}function E(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){const i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let s,a=0,l="";if("string"==typeof t){const n=t.match(i);if(null===n)return e.push(o()),{duration:0,delay:0,easing:""};s=P(parseFloat(n[1]),n[2]);const r=n[3];null!=r&&(a=P(parseFloat(r),n[4]));const c=n[5];c&&(l=c)}else s=t;if(!n){let t=!1,n=e.length;s<0&&(e.push(new r.vHH(3100,!1)),t=!0),a<0&&(e.push(new r.vHH(3101,!1)),t=!0),t&&e.splice(n,0,o())}return{duration:s,delay:a,easing:l}}(t,e,n)}function T(t,e={}){return Object.keys(t).forEach((n=>{e[n]=t[n]})),e}function I(t){const e=new Map;return Object.keys(t).forEach((n=>{const i=t[n];e.set(n,i)})),e}function D(t,e=new Map,n){if(n)for(let[t,i]of n)e.set(t,i);for(let[n,i]of t)e.set(n,i);return e}function z(t,e,n){e.forEach(((e,i)=>{const r=V(i);n&&!n.has(i)&&n.set(i,t.style[r]),t.style[r]=e}))}function N(t,e){e.forEach(((e,n)=>{const i=V(n);t.style[i]=""}))}function F(t){return Array.isArray(t)?1==t.length?t[0]:(0,i.vP)(t):t}const L=new RegExp("{{\\s*(.+?)\\s*}}","g");function R(t){let e=[];if("string"==typeof t){let n;for(;n=L.exec(t);)e.push(n[1]);L.lastIndex=0}return e}function B(t,e,n){const i=t.toString(),o=i.replace(L,((t,i)=>{let o=e[i];return null==o&&(n.push(new r.vHH(3003,!1)),o=""),o.toString()}));return o==i?t:o}function j(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function V(t){return t.replace(H,((...t)=>t[1].toUpperCase()))}function $(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw e.type,new r.vHH(3004,!1)}}function q(t,e){return window.getComputedStyle(t)[e]}const Z="*";function U(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach((t=>function(t,e,n){if(":"==t[0]){const i=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 i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(new r.vHH(3015,!1)),e;const o=i[1],s=i[2],a=i[3];e.push(J(o,a));const l=o==Z&&a==Z;"<"!=s[0]||l||e.push(J(a,o))}(t,n,e))):n.push(t),n}const G=new Set(["true","1"]),Q=new Set(["false","0"]);function J(t,e){const n=G.has(t)||Q.has(t),i=G.has(e)||Q.has(e);return(r,o)=>{let s=t==Z||t==r,a=e==Z||e==o;return!s&&n&&"boolean"==typeof r&&(s=r?G.has(t):Q.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?G.has(e):Q.has(e)),s&&a}}const Y=":self",W=new RegExp(`s*${Y}s*,?`,"g");function K(t,e,n,i){return new X(t).build(e,n,i)}class X{constructor(t){this._driver=t}build(t,e,n){const i=new tt(e);return this._resetContextStyleTimingState(i),$(this,F(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(new r.vHH(3006,!1)),t.definitions.forEach((t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach((t=>{n.name=t,o.push(this.visitState(n,e))})),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push(new r.vHH(3007,!1))})),{type:7,name:t.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const o=new Set,s=i||{};n.styles.forEach((t=>{t instanceof Map&&t.forEach((t=>{R(t).forEach((t=>{s.hasOwnProperty(t)||o.add(t)}))}))})),o.size&&(j(o.values()),e.errors.push((t.name,new r.vHH(3008,!1))))}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=$(this,F(t.animation),e);return{type:1,matchers:U(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map((t=>$(this,t,e))),options:et(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map((t=>{e.currentTime=n;const r=$(this,t,e);return i=Math.max(i,e.currentTime),r}));return e.currentTime=i,{type:3,steps:r,options:et(t.options)}}visitAnimate(t,e){const n=function(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return nt(E(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some((t=>"{"==t.charAt(0)&&"{"==t.charAt(1)))){const t=nt(0,0,"");return t.dynamic=!0,t.strValue=n,t}const i=E(n,e);return nt(i.duration,i.delay,i.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let o=t.styles?t.styles:(0,i.oB)({});if(5==o.type)r=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,i.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,r=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let t of o)"string"==typeof t?t===i.l3?n.push(t):e.errors.push(new r.vHH(3002,!1)):n.push(I(t));let s=!1,a=null;return n.forEach((t=>{if(t instanceof Map&&(t.has("easing")&&(a=t.get("easing"),t.delete("easing")),!s))for(let e of t.values())if(e.toString().indexOf("{{")>=0){s=!0;break}})),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,n)=>{const s=e.collectedStyles.get(e.currentQuerySelector),a=s.get(n);let l=!0;a&&(o!=i&&o>=a.startTime&&i<=a.endTime&&(e.errors.push((a.startTime,a.endTime,new r.vHH(3010,!1))),l=!1),o=a.startTime),l&&s.set(n,{startTime:o,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},o=R(t);o.length&&o.forEach((t=>{i.hasOwnProperty(t)||n.push(new r.vHH(3001,!1))}))}(t,e.options,e.errors)}))}))}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(new r.vHH(3011,!1)),n;let i=0;const o=[];let s=!1,a=!1,l=0;const c=t.steps.map((t=>{const n=this._makeStyleAst(t,e);let r=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach((t=>{if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}}));else if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}(n.styles),c=0;return null!=r&&(i++,c=n.offset=r),a=a||c<0||c>1,s=s||c0&&i{const r=h>0?i==d?1:h*i:o[i],s=r*g;e.currentTime=p+f.delay+s,f.duration=s,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)})),n}visitReference(t,e){return{type:8,animation:$(this,F(t.animation),e),options:et(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:et(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function(t){const e=!!t.split(/\s*,\s*/).find((t=>t==Y));return e&&(t=t.replace(W,"")),[t=t.replace(/@\*/g,O).replace(/@\w+/g,(t=>O+"-"+t.slice(1))).replace(/:animating/g,S),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,h(e.collectedStyles,e.currentQuerySelector,new Map);const s=$(this,F(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:et(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(new r.vHH(3013,!1));const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:E(t.timings,e.errors,!0);return{type:12,animation:$(this,F(t.animation),e),timings:n,options:null}}}class tt{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function et(t){var e;return t?(t=T(t)).params&&(t.params=(e=t.params)?T(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function it(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class rt{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}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 ot=new RegExp(":enter","g"),st=new RegExp(":leave","g");function at(t,e,n,i,r,o=new Map,s=new Map,a,l,c=[]){return(new lt).buildKeyframes(t,e,n,i,r,o,s,a,l,c)}class lt{buildKeyframes(t,e,n,i,r,o,s,a,l,c=[]){l=l||new rt;const u=new ut(t,e,l,i,r,c,[]);u.options=a;const h=a.delay?A(a.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([o],null,u.errors,a),$(this,n,u);const d=u.timelines.filter((t=>t.containsAnimation()));if(d.length&&s.size){let t;for(let n=d.length-1;n>=0;n--){const i=d[n];if(i.element===e){t=i;break}}t&&!t.allowOnlyTimelineStyles()&&t.setStyles([s],null,u.errors,a)}return d.length?d.map((t=>t.buildKeyframes())):[it(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const i of t){const t=i?.delay;if(t){const r="number"==typeof t?t:A(B(t,i?.params??{},e.errors));n.delayNextStep(r)}}}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==r&&t.forEach((t=>{const n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)})),i}visitReference(t,e){e.updateOptions(t.options,!0),$(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ct);const t=A(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach((t=>$(this,t,i))),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?A(t.options.delay):0;t.steps.forEach((o=>{const s=e.createSubContext(t.options);r&&s.delayNextStep(r),$(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)})),n.forEach((t=>e.currentTimeline.mergeTimelineCollectedStyles(t))),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return E(e.params?B(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),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((t=>{const n=t.offset||0;o.forwardTime(n*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?A(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ct);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach(((n,i)=>{e.currentQueryIndex=i;const s=e.createSubContext(t.options,n);r&&s.delayNextStep(r),n===e.element&&(a=s.currentTimeline),$(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe();const l=s.currentTimeline.currentTime;o=Math.max(o,l)})),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,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;$(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ct={};class ut{constructor(t,e,n,i,r,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ct,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ht(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=A(n.duration)),null!=n.delay&&(i.delay=A(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach((n=>{e&&t.hasOwnProperty(n)||(t[n]=B(r[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 i=e||this.element,r=new ut(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ct,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new dt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(st,"."+this._leaveClassName);const e=1!=n;let i=this._driver.query(this.element,t,e);0!==n&&(i=n<0?i.slice(i.length+n,i.length):i.slice(0,n)),a.push(...i)}return o||0!=a.length||s.push(new r.vHH(3014,!1)),a}}class ht{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ht(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[t,e]of this._globalTimelineStyles)this._backFill.set(t,e||i.l3),this._currentKeyframe.set(t,i.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function(t,e){const n=new Map;let r;return t.forEach((t=>{if("*"===t){r=r||e.keys();for(let t of r)n.set(t,i.l3)}else D(t,n)})),n}(t,this._globalTimelineStyles);for(let[t,e]of s){const r=B(e,o,n);this._pendingStyles.set(t,r),this._localTimelineStyles.has(t)||this._backFill.set(t,this._globalTimelineStyles.get(t)??i.l3),this._updateStyle(t,r)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((t,e)=>{this._currentKeyframe.set(e,t)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)})))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach(((t,e)=>{const n=this._styleSummary.get(e);(!n||t.time>n.time)&&this._updateStyle(e,t.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach(((o,s)=>{const a=D(o,new Map,this._backFill);a.forEach(((n,r)=>{n===i.k1?t.add(r):n===i.l3&&e.add(r)})),n||a.set("offset",s/this.duration),r.push(a)}));const o=t.size?j(t.values()):[],s=e.size?j(e.values()):[];if(n){const t=r[0],e=new Map(t);t.set("offset",0),e.set("offset",1),r=[t,e]}return it(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class dt extends ht{constructor(t,e,n,i,r,o,s=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,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:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=n+e,s=e/o,a=D(t[0]);a.set("offset",0),r.push(a);const l=D(t[0]);l.set("offset",pt(s)),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let s=D(t[i]);const a=e+s.get("offset")*n;s.set("offset",pt(a/o)),r.push(s)}n=o,e=0,i="",t=r}return it(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}const gt=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class mt extends ft{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let o="";const s=n.toString().trim();if(gt.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(new r.vHH(3005,!1))}return s+o}}function vt(t,e,n,i,r,o,s,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const yt={};class bt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some((t=>t(e,n,i,r)))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,n):new Map}build(t,e,n,i,r,o,s,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||yt,p=s&&s.params||yt,f=this.buildStyles(n,p,u),g=a&&a.params||yt,m=this.buildStyles(i,g,u),v=new Set,y=new Map,b=new Map,_="void"===i,w={params:_t(g,d),delay:this.ast.options?.delay},x=c?[]:at(t,e,this.ast.animation,r,o,f,m,w,l,u);let C=0;if(x.forEach((t=>{C=Math.max(t.duration+t.delay,C)})),u.length)return vt(e,this._triggerName,n,i,_,f,m,[],[],y,b,C,u);x.forEach((t=>{const n=t.element,i=h(y,n,new Set);t.preStyleProps.forEach((t=>i.add(t)));const r=h(b,n,new Set);t.postStyleProps.forEach((t=>r.add(t))),n!==e&&v.add(n)}));const k=j(v.values());return vt(e,this._triggerName,n,i,_,f,m,x,k,y,b,C)}}function _t(t,e){const n=T(e);for(const e in t)t.hasOwnProperty(e)&&null!=t[e]&&(n[e]=t[e]);return n}class wt{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,i=T(this.defaultParams);return Object.keys(t).forEach((e=>{const n=t[e];null!==n&&(i[e]=n)})),this.styles.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,r)=>{t&&(t=B(t,i,e));const o=this.normalizer.normalizePropertyName(r,e);t=this.normalizer.normalizeStyleValue(r,o,t,e),n.set(r,t)}))})),n}}class xt{constructor(t,e,n){var i,r;this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach((t=>{const e=t.options&&t.options.params||{};this.states.set(t.name,new wt(t.style,e,n))})),Ct(this.states,"true","1"),Ct(this.states,"false","0"),e.transitions.forEach((e=>{this.transitionFactories.push(new bt(t,e,this.states))})),this.fallbackTransition=(i=t,r=this.states,this._normalizer,new bt(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find((r=>r.match(t,e,n,i)))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ct(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}const kt=new rt;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],i=K(this._driver,e,n,[]);if(n.length)throw new r.vHH(3503,!1);this._animations.set(t,i)}_buildPlayer(t,e,n){const i=t.element,r=a(this._normalizer,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const o=[],a=this._animations.get(t);let l;const c=new Map;if(a?(l=at(this._driver,e,a,x,C,new Map,new Map,n,kt,o),l.forEach((t=>{const e=h(c,t.element,new Map);t.postStyleProps.forEach((t=>e.set(t,null)))}))):(o.push(new r.vHH(3300,!1)),l=[]),o.length)throw new r.vHH(3504,!1);c.forEach(((t,e)=>{t.forEach(((n,r)=>{t.set(r,this._driver.computeStyle(e,r,i.l3))}))}));const u=s(l.map((t=>{const e=c.get(t.element);return this._buildPlayer(t,new Map,e)})));return this._playersById.set(t,u),u.onDestroy((()=>this.destroy(t))),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw new r.vHH(3301,!1);return e}listen(t,e,n,i){const r=u(e,"","","");return l(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n){const n=i[0]||{};return void this.create(t,e,n)}const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Mt="ng-animate-queued",St="ng-animate-disabled",At=[],Pt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Et={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed";class It{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value"),i=n?t.value:t;if(this.value=function(t){return null!=t?t:null}(i),n){const e=T(t);delete e.value,this.options=e}else this.options={};this.options.params||(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 Dt="void",zt=new It(Dt);class Nt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Vt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.has(e))throw new r.vHH(3302,!1);if(null==n||0==n.length)throw new r.vHH(3303,!1);if("start"!=(o=n)&&"done"!=o)throw new r.vHH(3400,!1);var o;const s=h(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);const l=h(this._engine.statesByElement,t,new Map);return l.has(e)||(Vt(t,k),Vt(t,k+"-"+e),l.set(e,zt)),()=>{this._engine.afterFlush((()=>{const t=s.indexOf(a);t>=0&&s.splice(t,1),this._triggers.has(e)||l.delete(e)}))}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw new r.vHH(3401,!1);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),o=new Lt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Vt(t,k),Vt(t,k+"-"+e),this._engine.statesByElement.set(t,s=new Map));let a=s.get(e);const l=new It(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s.set(e,l),a||(a=zt),l.value!==Dt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let i=0;i{N(t,n),z(t,i)}))}return}const c=h(this._engine.playersByElement,t,[]);c.forEach((t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()}));let u=r.matchTransition(a.value,l.value,t,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(Vt(t,Mt),o.onStart((()=>{$t(t,Mt)}))),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){this._triggers.delete(t),this._engine.statesByElement.forEach((e=>e.delete(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,O,!0);n.forEach((t=>{if(t[Tt])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,i){const r=this._engine.statesByElement.get(t),o=new Map;if(r){const a=[];if(r.forEach(((e,n)=>{if(o.set(n,e.value),this._triggers.has(n)){const e=this.trigger(t,n,Dt,i);e&&a.push(e)}})),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),n&&s(a).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 i=new Set;e.forEach((e=>{const r=e.name;if(i.has(r))return;i.add(r);const o=this._triggers.get(r).fallbackTransition,s=n.get(r)||zt,a=new It(Dt),l=new Lt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,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 i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[Tt];i&&i!==Pt||(n.afterFlush((()=>this.clearElementCache(t))),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Vt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach((n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach((e=>{if(e.name==n.triggerName){const i=u(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,l(n.player,e.phase,i,e.callback)}})),i.markedForDestroy?this._engine.afterFlush((()=>{i.destroy()})):e.push(n)})),this._queue=[],e.sort(((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1}))}destroy(t){this.players.forEach((t=>t.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class Ft{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}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)=>{}}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 Nt(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,i=this.namespacesByHostElement;if(n.length-1>=0){let r=!1,o=this.driver.getParentElement(e);for(;o;){const e=i.get(o);if(e){const i=n.indexOf(e);n.splice(i+1,0,t),r=!0;break}o=this.driver.getParentElement(o)}r||n.unshift(t)}else n.push(t);return i.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 i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush((()=>{})),this.afterFlushAnimationsDone((()=>{const n=this._fetchNamespace(t);this.namespacesByHostElement.delete(n.hostElement);const i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(e),delete this._namespaceLookup[t]})))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let t of n.values())if(t.namespaceId){const n=this._fetchNamespace(t.namespaceId);n&&e.add(n)}return e}trigger(t,e,n,i){if(Rt(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Rt(e))return;const r=e[Tt];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Vt(t,St)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),$t(t,St))}removeNode(t,e,n){if(Rt(e)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n);const r=this.namespacesByHostElement.get(e);r&&r.id!==t&&r.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,n,i,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,n,i,r){return Rt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,O,!0);e.forEach((t=>this.destroyActiveAnimationsForElement(t))),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,S,!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 s(this.players).onDone((()=>t()));t()}))}processLeaveNode(t){const e=t[Tt];if(e&&e.setForRemoval){if(t[Tt]=Pt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(St)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!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 t=0;tt())),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone((()=>{t.forEach((t=>t()))})):t.forEach((t=>t()))}}reportError(t){throw new r.vHH(3402,!1)}_flushAnimations(t,e){const n=new rt,o=[],a=new Map,l=[],c=new Map,u=new Map,d=new Map,p=new Set;this.disabledNodes.forEach((t=>{p.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let t=0;t{const n=x+y++;v.set(e,n),t.forEach((t=>Vt(t,n)))}));const b=[],_=new Set,w=new Set;for(let t=0;t_.add(t))):w.add(e))}const k=new Map,O=Ht(g,Array.from(_));O.forEach(((t,e)=>{const n=C+y++;k.set(e,n),t.forEach((t=>Vt(t,n)))})),t.push((()=>{m.forEach(((t,e)=>{const n=v.get(e);t.forEach((t=>$t(t,n)))})),O.forEach(((t,e)=>{const n=k.get(e);t.forEach((t=>$t(t,n)))})),b.forEach((t=>{this.processLeaveNode(t)}))}));const M=[],A=[];for(let t=this._namespaceList.length-1;t>=0;t--)this._namespaceList[t].drainQueuedTransitions(e).forEach((t=>{const e=t.player,i=t.element;if(M.push(e),this.collectedEnterElements.length){const n=i[Tt];if(n&&n.setForMove){if(n.previousTriggersValues&&n.previousTriggersValues.has(t.triggerName)){const e=n.previousTriggersValues.get(t.triggerName),i=this.statesByElement.get(t.element);if(i&&i.has(t.triggerName)){const n=i.get(t.triggerName);n.value=e,i.set(t.triggerName,n)}}return void e.destroy()}}const r=!f||!this.driver.containsElement(f,i),s=k.get(i),a=v.get(i),p=this._buildInstruction(t,n,a,s,r);if(p.errors&&p.errors.length)return void A.push(p);if(r)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);if(t.isFallbackTransition)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);const g=[];p.timelines.forEach((t=>{t.stretchStartingKeyframe=!0,this.disabledNodes.has(t.element)||g.push(t)})),p.timelines=g,n.append(i,p.timelines);const m={instruction:p,player:e,element:i};l.push(m),p.queriedElements.forEach((t=>h(c,t,[]).push(e))),p.preStyleProps.forEach(((t,e)=>{if(t.size){let n=u.get(e);n||u.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}})),p.postStyleProps.forEach(((t,e)=>{let n=d.get(e);n||d.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}))}));if(A.length){const t=[];A.forEach((e=>{t.push((e.triggerName,e.errors,new r.vHH(3505,!1)))})),M.forEach((t=>t.destroy())),this.reportError(t)}const P=new Map,E=new Map;l.forEach((t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))})),o.forEach((t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((t=>{h(P,e,[]).push(t),t.destroy()}))}));const T=b.filter((t=>Ut(t,u,d))),I=new Map;jt(I,this.driver,w,d,i.l3).forEach((t=>{Ut(t,u,d)&&T.push(t)}));const D=new Map;m.forEach(((t,e)=>{jt(D,this.driver,new Set(t),u,i.k1)})),T.forEach((t=>{const e=I.get(t),n=D.get(t);I.set(t,new Map([...e?.entries()??[],...n?.entries()??[]]))}));const F=[],L=[],R={};l.forEach((t=>{const{element:e,player:i,instruction:r}=t;if(n.has(e)){if(p.has(e))return i.onDestroy((()=>z(e,r.toStyles))),i.disabled=!0,i.overrideTotalTime(r.totalTime),void o.push(i);let t=R;if(E.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}i.push(n)}i.forEach((e=>E.set(e,t)))}const n=this._buildAnimation(i.namespaceId,r,P,a,D,I);if(i.setRealPlayer(n),t===R)F.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=s(e)),o.push(i)}}else N(e,r.fromStyles),i.onDestroy((()=>z(e,r.toStyles))),L.push(i),p.has(e)&&o.push(i)})),L.forEach((t=>{const e=a.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}})),o.forEach((t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(let t=0;t!t.destroyed));r.length?qt(this,e,r):this.processLeaveNode(e)}return b.length=0,F.forEach((t=>{this.players.push(t),t.onDone((()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)})),t.play()})),F}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Dt;e.forEach((e=>{e.queued||(t||e.triggerName==i)&&o.push(e)}))}}return(n||i)&&(o=o.filter((t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName)))),o}_beforeAnimationBuild(t,e,n){const i=e.triggerName,r=e.element,o=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:i;for(const t of e.timelines){const i=t.element,a=i!==r,l=h(n,i,[]);this._getPreviousPlayers(i,a,o,s,e.toState).forEach((t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)}))}N(r,e.fromStyles)}_buildAnimation(t,e,n,r,o,l){const c=e.triggerName,u=e.element,d=[],p=new Set,f=new Set,g=e.timelines.map((e=>{const s=e.element;p.add(s);const h=s[Tt];if(h&&h.removedBeforeQueried)return new i.ZN(e.duration,e.delay);const g=s!==u,m=function(t){const e=[];return Zt(t,e),e}((n.get(s)||At).map((t=>t.getRealPlayer()))).filter((t=>{const e=t;return!!e.element&&e.element===s})),v=o.get(s),y=l.get(s),b=a(this._normalizer,e.keyframes,v,y),_=this._buildPlayer(e,b,m);if(e.subTimeline&&r&&f.add(s),g){const e=new Lt(t,c,s);e.setRealPlayer(_),d.push(e)}return _}));d.forEach((t=>{h(this.playersByQueriedElement,t.element,[]).push(t),t.onDone((()=>function(t,e,n){let i=t.get(e);if(i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}return i}(this.playersByQueriedElement,t.element,t)))})),p.forEach((t=>Vt(t,M)));const m=s(g);return m.onDestroy((()=>{p.forEach((t=>$t(t,M))),z(u,e.toStyles)})),f.forEach((t=>{h(r,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 i.ZN(t.duration,t.delay)}}class Lt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach(((e,n)=>{e.forEach((e=>l(t,n,void 0,e)))})),this._queuedCallbacks.clear(),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){h(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 Rt(t){return t&&1===t.nodeType}function Bt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function jt(t,e,n,i,r){const o=[];n.forEach((t=>o.push(Bt(t))));const s=[];i.forEach(((n,i)=>{const o=new Map;n.forEach((t=>{const n=e.computeStyle(i,t,r);o.set(t,n),n&&0!=n.length||(i[Tt]=Et,s.push(i))})),t.set(i,o)}));let a=0;return n.forEach((t=>Bt(t,o[a++]))),s}function Ht(t,e){const n=new Map;if(t.forEach((t=>n.set(t,[]))),0==e.length)return n;const i=new Set(e),r=new Map;function o(t){if(!t)return 1;let e=r.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:i.has(s)?1:o(s),r.set(t,e),e}return e.forEach((t=>{const e=o(t);1!==e&&n.get(e).push(t)})),n}function Vt(t,e){t.classList?.add(e)}function $t(t,e){t.classList?.remove(e)}function qt(t,e,n){s(n).onDone((()=>t.processLeaveNode(e)))}function Zt(t,e){for(let n=0;nr.add(t))):e.set(t,i),n.delete(t),!0}class Gt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ft(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const t=[],e=[],n=K(this._driver,o,t,e);if(t.length)throw new r.vHH(3404,!1);e.length,a=function(t,e,n){return new xt(t,e,n)}(i,n,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n){this._transitionEngine.removeNode(t,e,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=d(n),o=i;this._timelineEngine.command(t,e,r,o)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=d(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let Qt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(z(this._element,this._initialStyles),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),z(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Jt(t){let e=null;return t.forEach(((t,n)=>{(function(t){return"display"===t||"position"===t})(n)&&(e=e||new Map,e.set(n,t))})),e}class Yt{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=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]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy((()=>{this.domPlayer.removeEventListener("finish",e)}))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach((t=>{e.push(Object.fromEntries(t))})),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((e,n)=>{"offset"!==n&&t.set(n,this._finished?e:q(this.element,n))})),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class Wt{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,i,r,o=[]){const s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);const a=new Map,l=o.filter((t=>t instanceof Yt));(function(t,e){return 0===t||0===e})(n,i)&&l.forEach((t=>{t.currentSnapshot.forEach(((t,e)=>a.set(e,t)))}));let c=function(t){return t.length?t[0]instanceof Map?t:t.map((t=>I(t))):[]}(e).map((t=>D(t)));c=function(t,e,n){if(n.size&&e.length){let i=e[0],r=[];if(n.forEach(((t,e)=>{i.has(e)||r.push(e),i.set(e,t)})),r.length)for(let n=1;ni.set(e,q(t,e))))}}return e}(t,c,a);const u=function(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Jt(e[0]),e.length>1&&(i=Jt(e[e.length-1]))):e instanceof Map&&(n=Jt(e)),n||i?new Qt(t,n,i):null}(t,c);return new Yt(t,c,s,u)}}},62561:(t,e,n)=>{function i(t){return null!=t&&"false"!=`${t}`}function r(t){return Array.isArray(t)?t:[t]}n.d(e,{Eq:()=>r,Ig:()=>i})},76733:(t,e,n)=>{n.d(e,{$G:()=>N,ED:()=>U,EM:()=>pt,Gx:()=>it,HT:()=>s,JF:()=>gt,K0:()=>l,Mx:()=>T,NF:()=>ht,Nd:()=>ot,O5:()=>j,Ov:()=>tt,PC:()=>G,PM:()=>dt,RF:()=>q,S$:()=>f,Ts:()=>rt,Ye:()=>v,Zx:()=>at,b0:()=>m,bD:()=>ct,ez:()=>lt,i8:()=>et,mk:()=>z,n9:()=>Z,q:()=>o,sg:()=>R,tP:()=>Q,w_:()=>a});var i=n(20755);let r=null;function o(){return r}function s(t){r||(r=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(u)},providedIn:"platform"}),e})(),u=(()=>{var t;class e extends c{constructor(){super(),this._doc=(0,i.f3M)(l),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){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new t},providedIn:"platform"}),e})();function h(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 d(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,i=n-("/"===t[n-1]?1:0);return t.slice(0,i)+t.slice(n)}function p(t){return t&&"?"!==t[0]?"?"+t:t}let f=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(m)},providedIn:"root"}),e})();const g=new i.OlP("appBaseHref");let m=(()=>{var t;class e extends f{constructor(t,e){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(l).location?.origin??""}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 h(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+p(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(c),i.LFG(g,8))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),v=(()=>{var t;class e{constructor(t){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(d(b(e))),this._locationStrategy.onPopState((t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+p(e))}normalize(t){return e.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,b(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((t=>{this._notifyUrlChangeListeners(t.url,t.state)}))),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_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=e).normalizeQueryParams=p,t.joinWithSlash=h,t.stripTrailingSlash=d,t.ɵfac=function(e){return new(e||t)(i.LFG(f))},t.ɵprov=i.Yz7({token:t,factory:function(){return y()},providedIn:"root"}),e})();function y(){return new v((0,i.LFG)(f))}function b(t){return t.replace(/\/index.html$/,"")}var _=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(_||{}),w=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(w||{}),x=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(x||{});function C(t,e){const n=(0,i.cg1)(t),r=n[i.wAp.NumberSymbols][e];if(void 0===r){if(e===x.CurrencyDecimal)return n[i.wAp.NumberSymbols][x.Decimal];if(e===x.CurrencyGroup)return n[i.wAp.NumberSymbols][x.Group]}return r}const k=i.kL8,O=/^(\d+)?\.((\d+)(-(\d+))?)?$/,M=".",S="0";function A(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}let P=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;var n;return t?e=new t:(n=i.LFG(i.soG),e=new E(n)),e},providedIn:"root"}),e})(),E=(()=>{var t;class e extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(k(e||this.locale)(t)){case w.Zero:return"zero";case w.One:return"one";case w.Two:return"two";case w.Few:return"few";case w.Many:return"many";default:return"other"}}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.soG))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function T(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}const I=/\s+/,D=[];let z=(()=>{var t;class e{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this.initialClasses=D,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(I):D}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(I):t}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const e of t)this._updateState(e,!0);else if(null!=t)for(const e of Object.keys(t))this._updateState(e,Boolean(t[e]));this._applyStateDiff()}_updateState(t,e){const n=this.stateMap.get(t);void 0!==n?(n.enabled!==e&&(n.changed=!0,n.enabled=e),n.touched=!0):this.stateMap.set(t,{enabled:e,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const e=t[0],n=t[1];n.changed?(this._toggleClass(e,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(e,!1),this.stateMap.delete(e)),n.touched=!1}}_toggleClass(t,e){(t=t.trim()).length>0&&t.split(I).forEach((t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)}))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})(),N=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=(0,i.Lck)(this.ngComponentOutletNgModule,F(e)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(F(e)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:e,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[e,n]of this._inputsUsed)n?(t.setInput(e,this.ngComponentOutletInputs[e]),this._inputsUsed.set(e,!1)):(t.setInput(e,void 0),this._inputsUsed.delete(e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[i.TTD]}),e})();function F(t){return t.get(i.h0i).injector}class L{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 R=(()=>{var t;class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation(((t,n,i)=>{if(null==t.previousIndex)e.createEmbeddedView(this._template,new L(t.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)e.remove(null===n?void 0:n);else if(null!==n){const r=e.get(n);e.move(r,i),B(r,t)}}));for(let t=0,n=e.length;t{B(e.get(t.currentIndex),t)}))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.ɵdir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function B(t,e){t.context.$implicit=e.item}let j=(()=>{var t;class e{constructor(t,e){this._viewContainer=t,this._context=new H,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){V("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){V("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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.ɵdir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class H{constructor(){this.$implicit=null,this.ngIf=null}}function V(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class ${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 q=(()=>{var t;class e{constructor(){this._defaultViews=[],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.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.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const e of this._defaultViews)e.enforceState(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),e})(),Z=(()=>{var t;class e{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new $(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),e})(),U=(()=>{var t;class e{constructor(t,e,n){n._addDefault(new $(t,e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),e})(),G=(()=>{var t;class e{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split("."),o=-1===n.indexOf("-")?void 0:i.JOm.DashCase;null!=e?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${e}${r}`:e,o):this._renderer.removeStyle(this._ngEl.nativeElement,n,o)}_applyChanges(t){t.forEachRemovedItem((t=>this._setStyle(t.key,null))),t.forEachAddedItem((t=>this._setStyle(t.key,t.currentValue))),t.forEachChangedItem((t=>this._setStyle(t.key,t.currentValue)))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),Q=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:e,ngTemplateOutletContext:n,ngTemplateOutletInjector:i}=this;this._viewRef=t.createEmbeddedView(e,n,i?{injector:i}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]}),e})();function J(t,e){return new i.vHH(2100,!1)}class Y{createSubscription(t,e){return(0,i.rg0)((()=>t.subscribe({next:e,error:t=>{throw t}})))}dispose(t){(0,i.rg0)((()=>t.unsubscribe()))}}class W{createSubscription(t,e){return t.then(e,(t=>{throw t}))}dispose(t){}}const K=new W,X=new Y;let tt=(()=>{var t;class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}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(t){if((0,i.QGY)(t))return K;if((0,i.F4k)(t))return X;throw J()}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.ɵpipe=i.Yjl({name:"async",type:t,pure:!1,standalone:!0}),e})(),et=(()=>{var t;class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw J();return t.toLowerCase()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"lowercase",type:t,pure:!0,standalone:!0}),e})();const nt=/#/g;let it=(()=>{var t;class e{constructor(t){this._localization=t}transform(t,e,n){if(null==t)return"";if("object"!=typeof e||null===e)throw J();return e[function(t,e,n,i){let r=`=${t}`;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}(t,Object.keys(e),this._localization,n)].replace(nt,t.toString())}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(P,16))},t.ɵpipe=i.Yjl({name:"i18nPlural",type:t,pure:!0,standalone:!0}),e})(),rt=(()=>{var t;class e{transform(t){return JSON.stringify(t,null,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"json",type:t,pure:!1,standalone:!0}),e})(),ot=(()=>{var t;class e{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=st}transform(t,e=st){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t),i=e!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem((t=>{this.keyValues.push({key:t.key,value:t.currentValue})}))),(n||i)&&(this.keyValues.sort(e),this.compareFn=e),this.keyValues}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.aQg,16))},t.ɵpipe=i.Yjl({name:"keyvalue",type:t,pure:!1,standalone:!0}),e})();function st(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n{var t;class e{constructor(t){this._locale=t}transform(t,e,n){if(!function(t){return!(null==t||""===t||t!=t)}(t))return null;n=n||this._locale;try{return function(t,e,n){return function(t,e,n,i,r,o,s=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,o,s=Math.abs(t)+"",a=0;for((n=s.indexOf(M))>-1&&(s=s.replace(M,"")),(i=s.search(/e/i))>0?(n<0&&(n=i),n+=+s.slice(i+1),s=s.substring(0,i)):n<0&&(n=s.length),i=0;s.charAt(i)===S;i++);if(i===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===S;)o--;for(n-=i,e=[],r=0;i<=o;i++,r++)e[r]=Number(s.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);s&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(o){const t=o.match(O);if(null===t)throw new Error(`${o} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(u=A(e)),null!=n&&(h=A(n)),null!=i?d=A(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const o=Math.min(Math.max(e,r),n);let s=o+t.integerLen,a=i[s];if(s>0){i.splice(Math.max(t.integerLen,s));for(let t=s;t=5)if(s-1<0){for(let e=0;e>s;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[s-1]++;for(;r=c?i.pop():l=!1),e>=10?1:0}),0);u&&(i.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let m=[];for(l=p.every((t=>!t));f0?m=p.splice(f,p.length):(m=p,p=[0]);const v=[];for(p.length>=e.lgSize&&v.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)v.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),a=v.join(C(n,i)),m.length&&(a+=C(n,r)+m.join("")),g&&(a+=C(n,x.Exponential)+"+"+g)}else a=C(n,x.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(M)?r.split(M):[r.substring(0,r.lastIndexOf(S)+1),r.substring(r.lastIndexOf(S)+1)],a=s[0],l=s[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let t=0;t{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})();const ct="browser",ut="server";function ht(t){return t===ct}function dt(t){return t===ut}let pt=(()=>{var t;class e{}return(t=e).ɵprov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new ft((0,i.LFG)(l),window)}),e})();class ft{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=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&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class gt{}},20755:(t,e,n)=>{n.d(e,{$8M:()=>tr,$WT:()=>Bt,$Z:()=>Oa,$Zp:()=>Pe,AFp:()=>ms,ALo:()=>Pu,AaK:()=>f,AsE:()=>qc,BQk:()=>Xl,CHM:()=>jn,CRH:()=>ch,DdM:()=>bu,Dn7:()=>Iu,EJc:()=>bh,EiD:()=>Ro,EpF:()=>nc,F$t:()=>uc,F4k:()=>rc,FYo:()=>Is,FiY:()=>ur,Flj:()=>Je,G48:()=>Lh,G7q:()=>zu,Gf:()=>ah,GfV:()=>Ns,GkF:()=>tc,Gpc:()=>v,HDt:()=>_h,HTZ:()=>ku,Hsn:()=>hc,Ikx:()=>Zc,JOm:()=>fr,JVY:()=>fo,JZr:()=>w,Jf7:()=>oa,KtG:()=>Hn,L6k:()=>go,LAX:()=>vo,LFG:()=>Y,LMc:()=>ed,LSH:()=>Vo,Lbi:()=>bs,Lck:()=>du,MAs:()=>Zl,MMx:()=>mu,MR2:()=>Yo,NdJ:()=>oc,O4$:()=>di,Ojb:()=>ws,OlP:()=>H,Oqu:()=>Vc,P3R:()=>qo,PiD:()=>hr,Q6J:()=>Ul,QGY:()=>ic,QbO:()=>_s,Qsj:()=>Ds,R0b:()=>Ws,RDi:()=>to,Rgc:()=>Ru,SBq:()=>Es,Sil:()=>xh,Suo:()=>lh,T8G:()=>la,TTD:()=>gn,TgZ:()=>Ql,Tiy:()=>zs,Tol:()=>Ac,Udp:()=>Mc,VKq:()=>_u,VuI:()=>td,W1O:()=>ph,WLB:()=>wu,XFs:()=>N,Xpm:()=>Pt,Xq5:()=>Dl,Xts:()=>Uo,Y36:()=>ka,YKP:()=>hu,YNc:()=>$l,Yjl:()=>Nt,Yz7:()=>O,Z0I:()=>A,ZZ4:()=>Wh,_Bn:()=>cu,_UZ:()=>Yl,_Vd:()=>Ss,_uU:()=>jc,aQg:()=>Xh,c2e:()=>vh,cEC:()=>sl,cJS:()=>M,cg1:()=>Yc,d8E:()=>Uc,dDg:()=>Mh,dqk:()=>j,eBb:()=>mo,eJc:()=>fh,ekj:()=>Sc,eoX:()=>Sh,evT:()=>sa,f3M:()=>W,g9A:()=>ys,gHi:()=>Rs,gM2:()=>Du,gxx:()=>Go,h0i:()=>uu,hij:()=>$c,iGM:()=>sh,iPO:()=>Th,ifc:()=>it,jDz:()=>yu,kL8:()=>Wc,kcU:()=>pi,ktI:()=>qs,l5B:()=>xu,lG2:()=>zt,lcZ:()=>Eu,lqb:()=>us,lri:()=>Ch,mCW:()=>xo,n5z:()=>Wi,n_E:()=>Lu,oAB:()=>It,oJD:()=>Ho,oxw:()=>lc,pB0:()=>yo,q3G:()=>jo,qLn:()=>$s,qOj:()=>kl,qZA:()=>Jl,qbA:()=>Cu,qzn:()=>po,rWj:()=>kh,rg0:()=>hn,s9C:()=>dc,sBO:()=>Rh,s_b:()=>$u,soG:()=>yh,tb:()=>Eh,tdS:()=>rn,tp0:()=>dr,uIk:()=>Hl,uOi:()=>$o,vHH:()=>x,vpe:()=>Js,wAp:()=>Xc,xi3:()=>Tu,xp6:()=>xa,ynx:()=>Kl,z2F:()=>Ih,z3N:()=>ho,zSh:()=>os,zW0:()=>Pl,zs3:()=>Hs});var i=n(78748),r=n(902),o=n(48132),s=n(45047),a=n(56424),l=n(71209),c=n(88557),u=n(84787),h=n(18004);function d(t){for(let e in t)if(t[e]===d)return e;throw Error("Could not find renamed property on target object.")}function p(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function f(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(f).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 g(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const m=d({__forward_ref__:d});function v(t){return t.__forward_ref__=v,t.toString=function(){return f(this())},t}function y(t){return b(t)?t():t}function b(t){return"function"==typeof t&&t.hasOwnProperty(m)&&t.__forward_ref__===v}function _(t){return t&&!!t.ɵproviders}const w="https://g.co/ng/security#xss";class x extends Error{constructor(t,e){super(function(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}(t,e)),this.code=t}}function C(t){return"string"==typeof t?t:null==t?"":String(t)}function k(t,e){throw new x(-201,!1)}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function M(t){return{providers:t.providers||[],imports:t.imports||[]}}function S(t){return P(t,T)||P(t,D)}function A(t){return null!==S(t)}function P(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(I)||t.hasOwnProperty(z))?t[I]:null}const T=d({ɵprov:d}),I=d({ɵinj:d}),D=d({ngInjectableDef:d}),z=d({ngInjectorDef:d});var N=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(N||{});let F;function L(){return F}function R(t){const e=F;return F=t,e}function B(t,e,n){const i=S(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&N.Optional?null:void 0!==e?e:void k(f(t))}const j=globalThis;class H{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=O({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const V={},$="__NG_DI_FLAG__",q="ngTempTokenPath",Z=/\n/gm,U="__source";let G;function Q(t){const e=G;return G=t,e}function J(t,e=N.Default){if(void 0===G)throw new x(-203,!1);return null===G?B(t,void 0,e):G.get(t,e&N.Optional?null:void 0,e)}function Y(t,e=N.Default){return(L()||J)(y(t),e)}function W(t,e=N.Default){return Y(t,K(e))}function K(t){return void 0===t||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function X(t){const e=[];for(let n=0;ne){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==pt(e,c,0)||2&i&&c!==t){if(Ct(i))return!1;s=!0}}}}else{if(!s&&!Ct(i)&&!Ct(l))return!1;if(s&&Ct(l))continue;s=!1,i=l|1&i}}return Ct(i)||s}function Ct(t){return!(1&t)}function kt(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||Ct(s)||(e+=St(o,r),r=""),i=s,o=o||!Ct(i);n++}return""!==r&&(e+=St(o,r)),e}function Pt(t){return et((()=>{const e=Ht(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||it.Emulated,styles:t.styles||ot,_:null,schemas:t.schemas||null,tView:null,id:""};Vt(n);const i=t.dependencies;return n.directiveDefs=$t(i,!1),n.pipeDefs=$t(i,!0),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const t of n)e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n}))}function Et(t){return Ft(t)||Lt(t)}function Tt(t){return null!==t}function It(t){return et((()=>({type:t.type,bootstrap:t.bootstrap||ot,declarations:t.declarations||ot,imports:t.imports||ot,exports:t.exports||ot,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null})))}function Dt(t,e){if(null==t)return rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}function zt(t){return et((()=>{const e=Ht(t);return Vt(e),e}))}function Nt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ft(t){return t[st]||null}function Lt(t){return t[at]||null}function Rt(t){return t[lt]||null}function Bt(t){const e=Ft(t)||Lt(t)||Rt(t);return null!==e&&e.standalone}function jt(t,e){const n=t[ct]||null;if(!n&&!0===e)throw new Error(`Type ${f(t)} does not have 'ɵmod' property.`);return n}function Ht(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||rt,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||ot,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Dt(t.inputs,e),outputs:Dt(t.outputs)}}function Vt(t){t.features?.forEach((e=>e(t)))}function $t(t,e){if(!t)return null;const n=e?Rt:Et;return()=>("function"==typeof t?t():t).map((t=>n(t))).filter(Tt)}const qt=0,Zt=1,Ut=2,Gt=3,Qt=4,Jt=5,Yt=6,Wt=7,Kt=8,Xt=9,te=10,ee=11,ne=12,ie=13,re=14,oe=15,se=16,ae=17,le=18,ce=19,ue=20,he=21,de=22,pe=23,fe=24,ge=25,me=1,ve=2,ye=7,be=9,_e=11;function we(t){return Array.isArray(t)&&"object"==typeof t[me]}function xe(t){return Array.isArray(t)&&!0===t[me]}function Ce(t){return!!(4&t.flags)}function ke(t){return t.componentOffset>-1}function Oe(t){return!(1&~t.flags)}function Me(t){return!!t.template}function Se(t,e){return t.hasOwnProperty(ut)?t[ut]:null}const Ae=Symbol("SIGNAL");function Pe(t){return"function"==typeof t&&void 0!==t[Ae]}function Ee(t,e){return(null===t||"object"!=typeof t)&&Object.is(t,e)}let Te=null,Ie=!1;function De(t){const e=Te;return Te=t,e}const ze={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Ne(t){if(Ie)throw new Error("");if(null===Te)return;const e=Te.nextProducerIndex++;Ge(Te),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ve(t){Ge(t);for(let e=0;e0}function Ge(t){t.producerNode??(t.producerNode=[]),t.producerIndexOfThis??(t.producerIndexOfThis=[]),t.producerLastReadVersion??(t.producerLastReadVersion=[])}function Qe(t){t.liveConsumerNode??(t.liveConsumerNode=[]),t.liveConsumerIndexOfThis??(t.liveConsumerIndexOfThis=[])}function Je(t,e){const n=Object.create(Xe);n.computation=t,e?.equal&&(n.equal=e.equal);const i=()=>{if(Fe(n),Ne(n),n.value===Ke)throw n.error;return n.value};return i[Ae]=n,i}const Ye=Symbol("UNSET"),We=Symbol("COMPUTING"),Ke=Symbol("ERRORED"),Xe=(()=>({...ze,value:Ye,dirty:!0,error:null,equal:Ee,producerMustRecompute:t=>t.value===Ye||t.value===We,producerRecomputeValue(t){if(t.value===We)throw new Error("Detected cycle in computations.");const e=t.value;t.value=We;const n=je(t);let i;try{i=t.computation()}catch(e){i=Ke,t.error=e}finally{He(t,n)}e!==Ye&&e!==Ke&&i!==Ke&&t.equal(e,i)?t.value=e:(t.value=i,t.version++)}}))();let tn=function(){throw new Error};function en(){tn()}let nn=null;function rn(t,e){const n=Object.create(on);function i(){return Ne(n),n.value}return n.value=t,e?.equal&&(n.equal=e.equal),i.set=an,i.update=ln,i.mutate=cn,i.asReadonly=un,i[Ae]=n,i}const on=(()=>({...ze,equal:Ee,readonlyFn:void 0}))();function sn(t){t.version++,Le(t),nn?.()}function an(t){const e=this[Ae];Re()||en(),e.equal(e.value,t)||(e.value=t,sn(e))}function ln(t){Re()||en(),an.call(this,t(this[Ae].value))}function cn(t){const e=this[Ae];Re()||en(),t(e.value),sn(e)}function un(){const t=this[Ae];if(void 0===t.readonlyFn){const e=()=>this();e[Ae]=t,t.readonlyFn=e}return t.readonlyFn}function hn(t){const e=De(null);try{return t()}finally{De(e)}}const dn=()=>{},pn=(()=>({...ze,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:dn}))();class fn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function gn(){return mn}function mn(t){return t.type.prototype.ngOnChanges&&(t.setInput=yn),vn}function vn(){const t=_n(this),e=t?.current;if(e){const n=t.previous;if(n===rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yn(t,e,n,i){const r=this.declaredInputs[n],o=_n(t)||function(t,e){return t[bn]=e}(t,{previous:rt,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new fn(l&&l.currentValue,e,a===rt),t[i]=e}gn.ngInherit=!0;const bn="__ngSimpleChanges__";function _n(t){return t[bn]||null}const wn=function(t,e,n){},xn="svg";function Cn(t){for(;Array.isArray(t);)t=t[qt];return t}function kn(t,e){return Cn(e[t])}function On(t,e){return Cn(e[t.index])}function Mn(t,e){return t.data[e]}function Sn(t,e){return t[e]}function An(t,e){const n=e[t];return we(n)?n:n[qt]}function Pn(t,e){return null==e?null:t[e]}function En(t){t[ae]=0}function Tn(t){1024&t[Ut]||(t[Ut]|=1024,Dn(t,1))}function In(t){1024&t[Ut]&&(t[Ut]&=-1025,Dn(t,-1))}function Dn(t,e){let n=t[Gt];if(null===n)return;n[Jt]+=e;let i=n;for(n=n[Gt];null!==n&&(1===e&&1===i[Jt]||-1===e&&0===i[Jt]);)n[Jt]+=e,i=n,n=n[Gt]}function zn(t,e){if(!(256&~t[Ut]))throw new x(911,!1);null===t[he]&&(t[he]=[]),t[he].push(e)}const Nn={lFrame:oi(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fn(){return Nn.bindingsEnabled}function Ln(){return null!==Nn.skipHydrationRootTNode}function Rn(){return Nn.lFrame.lView}function Bn(){return Nn.lFrame.tView}function jn(t){return Nn.lFrame.contextLView=t,t[Kt]}function Hn(t){return Nn.lFrame.contextLView=null,t}function Vn(){let t=$n();for(;null!==t&&64===t.type;)t=t.parent;return t}function $n(){return Nn.lFrame.currentTNode}function qn(t,e){const n=Nn.lFrame;n.currentTNode=t,n.isParent=e}function Zn(){return Nn.lFrame.isParent}function Un(){Nn.lFrame.isParent=!1}function Gn(){const t=Nn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qn(){return Nn.lFrame.bindingIndex++}function Jn(t){const e=Nn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Yn(t,e){const n=Nn.lFrame;n.bindingIndex=n.bindingRootIndex=t,Wn(e)}function Wn(t){Nn.lFrame.currentDirectiveIndex=t}function Kn(t){const e=Nn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Xn(){return Nn.lFrame.currentQueryIndex}function ti(t){Nn.lFrame.currentQueryIndex=t}function ei(t){const e=t[Zt];return 2===e.type?e.declTNode:1===e.type?t[Yt]:null}function ni(t,e,n){if(n&N.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&N.Host||(i=ei(r),null===i)||(r=r[re],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Nn.lFrame=ri();return i.currentTNode=e,i.lView=t,!0}function ii(t){const e=ri(),n=t[Zt];Nn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ri(){const t=Nn.lFrame,e=null===t?null:t.child;return null===e?oi(t):e}function oi(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 si(){const t=Nn.lFrame;return Nn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ai=si;function li(){const t=si();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 ci(){return Nn.lFrame.selectedIndex}function ui(t){Nn.lFrame.selectedIndex=t}function hi(){const t=Nn.lFrame;return Mn(t.tView,t.selectedIndex)}function di(){Nn.lFrame.currentNamespace=xn}function pi(){Nn.lFrame.currentNamespace=null}let fi=!0;function gi(){return fi}function mi(t){fi=t}function vi(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[l]<0&&(t[ae]+=65536),(a>13>16&&(3&t[Ut])===e&&(t[Ut]+=8192,xi(s,o)):xi(s,o)}const ki=-1;class Oi{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Mi(t){return t!==ki}function Si(t){return 32767&t}function Ai(t,e){let n=t>>16,i=e;for(;n>0;)i=i[re],n--;return i}let Pi=!0;function Ei(t){const e=Pi;return Pi=t,e}const Ti=255,Ii=5;let Di=0;const zi={};function Ni(t,e){const n=Li(t,e);if(-1!==n)return n;const i=e[Zt];i.firstCreatePass&&(t.injectorIndex=e.length,Fi(i.data,t),Fi(e,null),Fi(i.blueprint,null));const r=Ri(t,e),o=t.injectorIndex;if(Mi(r)){const t=Si(r),n=Ai(r,e),i=n[Zt].data;for(let r=0;r<8;r++)e[o+r]=n[t+r]|i[t+r]}return e[o+8]=r,o}function Fi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Li(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ri(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){if(i=Xi(r),null===i)return ki;if(n++,r=r[re],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return ki}function Bi(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ht)&&(i=n[ht]),null==i&&(i=n[ht]=Di++);const r=i&Ti,o=1<>Ii)]|=o}(t,e,n)}function ji(t,e,n){if(n&N.Optional||void 0!==t)return t;k()}function Hi(t,e,n,i){if(n&N.Optional&&void 0===i&&(i=null),!(n&(N.Self|N.Host))){const r=t[Xt],o=R(void 0);try{return r?r.get(e,i,n&N.Optional):B(e,i,n&N.Optional)}finally{R(o)}}return ji(i,0,n)}function Vi(t,e,n,i=N.Default,r){if(null!==t){if(2048&e[Ut]&&!(i&N.Self)){const r=function(t,e,n,i,r){let o=t,s=e;for(;null!==o&&null!==s&&2048&s[Ut]&&!(512&s[Ut]);){const t=$i(o,s,n,i|N.Self,zi);if(t!==zi)return t;let e=o.parent;if(!e){const t=s[ue];if(t){const e=t.get(n,zi,i);if(e!==zi)return e}e=Xi(s),s=s[re]}o=e}return r}(t,e,n,i,zi);if(r!==zi)return r}const r=$i(t,e,n,i,zi);if(r!==zi)return r}return Hi(e,n,i,r)}function $i(t,e,n,i,r){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(ht)?t[ht]:void 0;return"number"==typeof e?e>=0?e&Ti:Yi:e}(n);if("function"==typeof o){if(!ni(e,t,i))return i&N.Host?ji(r,0,i):Hi(e,n,i,r);try{let t;if(t=o(i),null!=t||i&N.Optional)return t;k()}finally{ai()}}else if("number"==typeof o){let r=null,s=Li(t,e),a=ki,l=i&N.Host?e[oe][Yt]:null;for((-1===s||i&N.SkipSelf)&&(a=-1===s?Ri(t,e):e[s+8],a!==ki&&Qi(i,!1)?(r=e[Zt],s=Si(a),e=Ai(a,e)):s=-1);-1!==s;){const t=e[Zt];if(Gi(o,s,t.data)){const t=qi(s,e,n,r,i,l);if(t!==zi)return t}a=e[s+8],a!==ki&&Qi(i,e[Zt].data[s+8]===l)&&Gi(o,s,e)?(r=t,s=Si(a),e=Ai(a,e)):s=-1}}return r}function qi(t,e,n,i,r,o){const s=e[Zt],a=s.data[t+8],l=Zi(a,s,n,null==i?ke(a)&&Pi:i!=s&&!!(3&a.type),r&N.Host&&o===a);return null!==l?Ui(e,s,l,a):zi}function Zi(t,e,n,i,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=t.directiveEnd,u=o>>20,h=r?a+u:c;for(let t=i?a:a+u;t=l&&e.type===n)return t}if(r){const t=s[l];if(t&&Me(t)&&t.type===n)return l}return null}function Ui(t,e,n,i){let r=t[n];const o=e.data;if(r instanceof Oi){const s=r;s.resolving&&function(t,e){throw new x(-200,`Circular dependency in DI detected for ${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():C(t)}(o[n]));const a=Ei(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?R(s.injectImpl):null;ni(t,i,N.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const i=mn(e);(n.preOrderHooks??(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-t,r),o&&((n.preOrderHooks??(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&R(l),Ei(a),s.resolving=!1,ai()}}return r}function Gi(t,e,n){const i=1<>Ii)]&i)}function Qi(t,e){return!(t&N.Self||t&N.Host&&e)}class Ji{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return Vi(this._tNode,this._lView,t,K(n),e)}}function Yi(){return new Ji(Vn(),Rn())}function Wi(t){return et((()=>{const e=t.prototype.constructor,n=e[ut]||Ki(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[ut]||Ki(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t}))}function Ki(t){return b(t)?()=>{const e=Ki(y(t));return e&&e()}:Se(t)}function Xi(t){const e=t[Zt],n=e.type;return 2===n?e.declTNode:1===n?t[Yt]:null}function tr(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 i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(er)?t[er]:Object.defineProperty(t,er,{value:[]})[er];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}))}function ir(t,e){t.forEach((t=>Array.isArray(t)?ir(t,e):e(t)))}function rr(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function or(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function sr(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;){const e=r-2;t[r]=t[e],r--}t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function lr(t,e){const n=cr(t,e);if(n>=0)return t[1|n]}function cr(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=t[n<<1];if(e===o)return n<<1;o>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ur=tt(nr("Optional"),8),hr=tt(nr("Self"),2),dr=tt(nr("SkipSelf"),4);function pr(t){return!(128&~t.flags)}var fr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(fr||{});const gr=/^>|^->||--!>|)/g,vr=new Map;let yr=0;const br="__ngContext__";function _r(t,e){var n;we(e)?(t[br]=e[ce],n=e,vr.set(n[ce],n)):t[br]=e}let wr;function xr(t,e){return wr(t,e)}function Cr(t){const e=t[Gt];return xe(e)?e[Gt]:e}function kr(t){return Mr(t[ne])}function Or(t){return Mr(t[Qt])}function Mr(t){for(;null!==t&&!xe(t);)t=t[Qt];return t}function Sr(t,e,n,i,r){if(null!=i){let o,s=!1;xe(i)?o=i:we(i)&&(s=!0,i=i[qt]);const a=Cn(i);0===t&&null!==n?null==r?Nr(e,n,a):zr(e,n,a,r||null,!0):1===t&&null!==n?zr(e,n,a,r||null,!0):2===t?function(t,e,n){const i=Lr(t,e);i&&function(t,e,n,i){t.removeChild(e,n,i)}(t,i,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,i,r){const o=n[ye];o!==Cn(n)&&Sr(e,t,i,o,r);for(let r=_e;r0&&(t[n-1][Qt]=i[Qt]);const s=or(t,_e+e);Jr(i[Zt],r=i,r[ee],2,null,null),r[qt]=null,r[Yt]=null;const a=s[le];null!==a&&a.detachView(s[Zt]),i[Gt]=null,i[Qt]=null,i[Ut]&=-129}var r;return i}function Tr(t,e){if(!(256&e[Ut])){const n=e[ee];e[pe]&&$e(e[pe]),e[fe]&&$e(e[fe]),n.destroyNode&&Jr(t,e,n,3,null,null),function(t){let e=t[ne];if(!e)return Ir(t[Zt],t);for(;e;){let n=null;if(we(e))n=e[ne];else{const t=e[_e];t&&(n=t)}if(!n){for(;e&&!e[Qt]&&e!==t;)we(e)&&Ir(e[Zt],e),e=e[Gt];null===e&&(e=t),we(e)&&Ir(e[Zt],e),n=e&&e[Qt]}e=n}}(e)}}function Ir(t,e){if(!(256&e[Ut])){e[Ut]&=-129,e[Ut]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t=0?i[e]():i[-e].unsubscribe(),t+=2}else{const e=i[n[t+1]];n[t].call(e)}null!==i&&(e[Wt]=null);const r=e[he];if(null!==r){e[he]=null;for(let t=0;t-1){const{encapsulation:n}=t.data[i.directiveStart+e];if(n===it.None||n===it.Emulated)return null}return On(i,n)}}(t,e.parent,n)}function zr(t,e,n,i,r){t.insertBefore(e,n,i,r)}function Nr(t,e,n){t.appendChild(e,n)}function Fr(t,e,n,i,r){null!==i?zr(t,e,n,i,r):Nr(t,e,n)}function Lr(t,e){return t.parentNode(e)}function Rr(t,e,n){return $r(t,e,n)}let Br,jr,Hr,Vr,$r=function(t,e,n){return 40&t.type?On(t,n):null};function qr(t,e,n,i){const r=Dr(t,i,e),o=e[ee],s=Rr(i.parent||e[Yt],i,e);if(null!=r)if(Array.isArray(n))for(let t=0;tt,createScript:t=>t,createScriptURL:t=>t})}catch{}return jr}()?.createHTML(t)||t}function to(t){Hr=t}function eo(){if(void 0!==Hr)return Hr;if("undefined"!=typeof document)return document;throw new x(210,!1)}function no(){if(void 0===Vr&&(Vr=null,j.trustedTypes))try{Vr=j.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vr}function io(t){return no()?.createHTML(t)||t}function ro(t){return no()?.createScriptURL(t)||t}class oo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${w})`}}class so extends oo{getTypeName(){return"HTML"}}class ao extends oo{getTypeName(){return"Style"}}class lo extends oo{getTypeName(){return"Script"}}class co extends oo{getTypeName(){return"URL"}}class uo extends oo{getTypeName(){return"ResourceURL"}}function ho(t){return t instanceof oo?t.changingThisBreaksApplicationSecurity:t}function po(t,e){const n=function(t){return t instanceof oo&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${w})`)}return n===e}function fo(t){return new so(t)}function go(t){return new ao(t)}function mo(t){return new lo(t)}function vo(t){return new co(t)}function yo(t){return new uo(t)}class bo{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Xr(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class _o{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Xr(t),e}}const wo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xo(t){return(t=String(t)).match(wo)?t:"unsafe:"+t}function Co(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ko(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Oo=Co("area,br,col,hr,img,wbr"),Mo=Co("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),So=Co("rp,rt"),Ao=ko(So,Mo),Po=ko(Oo,ko(Mo,Co("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ko(So,Co("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ao),Eo=Co("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),To=ko(Eo,Co("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Co("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Io=Co("script,style,template");class Do{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Po.hasOwnProperty(e))return this.sanitizedSomething=!0,!Io.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t"),!0}endElement(t){const e=t.nodeName.toLowerCase();Po.hasOwnProperty(e)&&!Oo.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Fo(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 zo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,No=/([^\#-~ |!])/g;function Fo(t){return t.replace(/&/g,"&").replace(zo,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(No,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let Lo;function Ro(t,e){let n=null;try{Lo=Lo||function(t){const e=new _o(t);return function(){try{return!!(new window.DOMParser).parseFromString(Xr(""),"text/html")}catch{return!1}}()?new bo(e):e}(t);let i=e?String(e):"";n=Lo.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Lo.getInertBodyElement(i)}while(i!==o);return Xr((new Do).sanitizeChildren(Bo(n)||n))}finally{if(n){const t=Bo(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Bo(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var jo=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(jo||{});function Ho(t){const e=Zo();return e?io(e.sanitize(jo.HTML,t)||""):po(t,"HTML")?io(ho(t)):Ro(eo(),C(t))}function Vo(t){const e=Zo();return e?e.sanitize(jo.URL,t)||"":po(t,"URL")?ho(t):xo(C(t))}function $o(t){const e=Zo();if(e)return ro(e.sanitize(jo.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return ro(ho(t));throw new x(904,!1)}function qo(t,e,n){return function(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?$o:Vo}(e,n)(t)}function Zo(){const t=Rn();return t&&t[te].sanitizer}const Uo=new H("ENVIRONMENT_INITIALIZER"),Go=new H("INJECTOR",-1),Qo=new H("INJECTOR_DEF_TYPES");class Jo{get(t,e=V){if(e===V){const e=new Error(`NullInjectorError: No provider for ${f(t)}!`);throw e.name="NullInjectorError",e}return e}}function Yo(t){return{ɵproviders:t}}function Wo(...t){return{ɵproviders:Ko(0,t),ɵfromNgModule:!0}}function Ko(t,...e){const n=[],i=new Set;let r;const o=t=>{n.push(t)};return ir(e,(t=>{const e=t;ts(e,o,[],i)&&(r||(r=[]),r.push(e))})),void 0!==r&&Xo(r,o),n}function Xo(t,e){for(let n=0;n{e(t,i)}))}}function ts(t,e,n,i){if(!(t=y(t)))return!1;let r=null,o=E(t);const s=!o&&Ft(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const e=t.ngModule;if(o=E(e),!o)return!1;r=e}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const t="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const r of t)ts(r,e,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let t;i.add(r);try{ir(o.imports,(r=>{ts(r,e,n,i)&&(t||(t=[]),t.push(r))}))}finally{}void 0!==t&&Xo(t,e)}if(!a){const t=Se(r)||(()=>new r);e({provide:r,useFactory:t,deps:ot},r),e({provide:Qo,useValue:r,multi:!0},r),e({provide:Uo,useValue:()=>Y(r),multi:!0},r)}const s=o.providers;if(null!=s&&!a){const n=t;es(s,(t=>{e(t,n)}))}}}return r!==t&&void 0!==t.providers}function es(t,e){for(let n of t)_(n)&&(n=n.ɵproviders),Array.isArray(n)?es(n,e):e(n)}const ns=d({provide:String,useValue:d});function is(t){return null!==t&&"object"==typeof t&&ns in t}function rs(t){return"function"==typeof t}const os=new H("Set Injector scope."),ss={},as={};let ls;function cs(){return void 0===ls&&(ls=new Jo),ls}class us{}class hs extends us{get destroyed(){return this._destroyed}constructor(t,e,n,i){super(),this.parent=e,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gs(t,(t=>this.processProvider(t))),this.records.set(Go,fs(void 0,this)),i.has("environment")&&this.records.set(us,fs(void 0,this));const r=this.records.get(os);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Qo.multi,ot,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=Q(this),n=R(void 0);try{return t()}finally{Q(e),R(n)}}get(t,e=V,n=N.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(dt))return t[dt](this);n=K(n);const i=Q(this),r=R(void 0);try{if(!(n&N.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof H)&&S(t);e=n&&this.injectableDefInScope(n)?fs(ds(t),ss):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}const i=n&N.Self?cs():this.parent;return e=n&N.Optional&&e===V?null:e,i.get(t,e)}catch(e){if("NullInjectorError"===e.name){if((e[q]=e[q]||[]).unshift(f(t)),i)throw e;return function(t,e,n,i){const r=t[q];throw e[U]&&r.unshift(e[U]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"ɵ"==t.charAt(1)?t.slice(2):t;let r=f(e);if(Array.isArray(e))r=e.map(f).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):f(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(Z,"\n ")}`}("\n"+t.message,r,"R3InjectorError",i),t.ngTokenPath=r,t[q]=null,t}(e,t,0,this.source)}throw e}finally{R(r),Q(i)}var o}resolveInjectorInitializers(){const t=Q(this),e=R(void 0);try{const t=this.get(Uo.multi,ot,N.Self);for(const e of t)e()}finally{Q(t),R(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(f(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){let e=rs(t=y(t))?t:y(t&&t.provide);const n=function(t){return is(t)?fs(void 0,t.useValue):fs(ps(t),ss)}(t);if(rs(t)||!0!==t.multi)this.records.get(e);else{let n=this.records.get(e);n||(n=fs(void 0,ss,!0),n.factory=()=>X(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e){var n;return e.value===ss&&(e.value=as,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=y(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function ds(t){const e=S(t),n=null!==e?e.factory:Se(t);if(null!==n)return n;if(t instanceof H)throw new x(204,!1);if(t instanceof Function)return function(t){const e=t.length;if(e>0)throw sr(e,"?"),new x(204,!1);const n=(i=t)&&(i[T]||i[D])||null;var i;return null!==n?()=>n.factory(t):()=>new t}(t);throw new x(204,!1)}function ps(t,e,n){let i;if(rs(t)){const e=y(t);return Se(e)||ds(e)}if(is(t))i=()=>y(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...X(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Y(y(t.useExisting));else{const e=y(t&&(t.useClass||t.provide));if(!t.deps)return Se(e)||ds(e);i=()=>new e(...X(t.deps))}var r;return i}function fs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function gs(t,e){for(const n of t)Array.isArray(n)?gs(n,e):n&&_(n)?gs(n.ɵproviders,e):e(n)}const ms=new H("AppId",{providedIn:"root",factory:()=>vs}),vs="ng",ys=new H("Platform Initializer"),bs=new H("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_s=new H("AnimationModuleType"),ws=new H("CSP nonce",{providedIn:"root",factory:()=>eo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let xs=(t,e,n)=>null;function Cs(t,e,n=!1){return xs(t,e,n)}class ks{}class Os{}class Ms{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${f(t)}.`);return e.ngComponent=t,e}(t)}}let Ss=(()=>{class t{}return t.NULL=new Ms,t})();function As(){return Ps(Vn(),Rn())}function Ps(t,e){return new Es(On(t,e))}let Es=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=As,t})();function Ts(t){return t instanceof Es?t.nativeElement:t}class Is{}let Ds=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function(){const t=Rn(),e=An(Vn().index,t);return(we(e)?e:t)[ee]}(),t})(),zs=(()=>{var t;class e{}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>null}),e})();class Ns{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Fs=new Ns("16.2.12"),Ls={};function Rs(t){if(!L()&&!G)throw new x(-203,!1)}function Bs(t,e=null,n=null,i){const r=js(t,e,n,i);return r.resolveInjectorInitializers(),r}function js(t,e=null,n=null,i,r=new Set){const o=[n||ot,Wo(t)];return i=i||("object"==typeof t?void 0:f(t)),new hs(o,e||cs(),i||null,r)}let Hs=(()=>{var t;class e{static create(t,e){if(Array.isArray(t))return Bs({name:""},e,t,"");{const e=t.name??"";return Bs({name:e},t.parent,t.providers,e)}}}return(t=e).THROW_IF_NOT_FOUND=V,t.NULL=new Jo,t.ɵprov=O({token:t,providedIn:"any",factory:()=>Y(Go)}),t.__NG_ELEMENT_ID__=-1,e})();function Vs(t){return t.ngOriginalError}class $s{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Vs(t);for(;e&&Vs(e);)e=Vs(e);return e||null}}let qs=(()=>{var t;class e{}return(t=e).__NG_ELEMENT_ID__=Us,t.__NG_ENV_ID__=t=>t,e})();class Zs extends qs{constructor(t){super(),this._lView=t}onDestroy(t){return zn(this._lView,t),()=>function(t,e){if(null===t[he])return;const n=t[he].indexOf(e);-1!==n&&t[he].splice(n,1)}(this._lView,t)}}function Us(){return new Zs(Rn())}class Gs extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i=t,o=e||(()=>null),s=n;if(t&&"object"==typeof t){const e=t;i=e.next?.bind(e),o=e.error?.bind(e),s=e.complete?.bind(e)}this.__isAsync&&(o=Qs(o),i&&(i=Qs(i)),s&&(s=Qs(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof r.w0&&t.add(a),a}}function Qs(t){return e=>{setTimeout(t,void 0,e)}}const Js=Gs;function Ys(...t){}class Ws{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Js(!1),this.onMicrotaskEmpty=new Js(!1),this.onStable=new Js(!1),this.onError=new Js(!1),"undefined"==typeof Zone)throw new x(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){const t="function"==typeof j.requestAnimationFrame;let e=j[t?"requestAnimationFrame":"setTimeout"],n=j[t?"cancelAnimationFrame":"clearTimeout"];if("undefined"!=typeof Zone&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(j,(()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{t.lastRequestAnimationFrameId=-1,ta(t),t.isCheckStableRunning=!0,Xs(t),t.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),t.fakeTopEventTask.invoke()})),ta(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(function(t){return!!Array.isArray(t)&&1===t.length&&!0===t[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(r,o,s,a);try{return ea(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),na(t)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return ea(t),n.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),na(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,ta(t),Xs(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular((()=>t.onError.emit(r))),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ws.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(Ws.isInAngularZone())throw new x(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,Ks,Ys,Ys);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Ks={};function Xs(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 ta(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ea(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function na(t){t._nesting--,Xs(t)}const ia=new H("",{providedIn:"root",factory:ra});function ra(){const t=W(Ws);let e=!0;const n=new o.y((n=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular((()=>{n.next(e),n.complete()}))})),i=new o.y((n=>{let i;t.runOutsideAngular((()=>{i=t.onStable.subscribe((()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{e||t.hasPendingMacrotasks||t.hasPendingMicrotasks||(e=!0,n.next(!0))}))}))}));const r=t.onUnstable.subscribe((()=>{Ws.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular((()=>{n.next(!1)})))}));return()=>{i.unsubscribe(),r.unsubscribe()}}));return(0,s.T)(n,i.pipe((0,c.B)()))}function oa(t){return t.ownerDocument.defaultView}function sa(t){return t.ownerDocument}function aa(t){return t instanceof Function?t():t}function la(t,e){!e&&Rs();const n=e?.injector??W(Hs);if(!function(t){return"browser"===(t??W(Hs)).get(bs)}(n))return{destroy(){}};let i;const r=n.get(qs).onDestroy((()=>i?.())),o=n.get(ha),s=o.handler??(o.handler=new ua),a=n.get(Ws),l=n.get($s,null,{optional:!0}),c=new ca(a,l,(()=>{i?.(),t()}));return i=()=>{s.unregister(c),r()},s.register(c),{destroy:i}}class ca{constructor(t,e,n){this.zone=t,this.errorHandler=e,this.callbackFn=n}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class ua{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new x(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(t)}unregister(t){this.callbacks.delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of this.callbacks)t.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.callbacks.add(t);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let ha=(()=>{var t;class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function da(t){for(;t;){t[Ut]|=64;const e=Cr(t);if(512&t[Ut]&&!e)return t;t=e}return null}const pa=!1,fa=new H("",{providedIn:"root",factory:()=>pa});let ga=null;function ma(t,e){return t[e]??_a()}function va(t,e){const n=_a();n.producerNode?.length&&(t[e]=ga,n.lView=t,ga=ba())}const ya={...ze,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{da(t.lView)},lView:null};function ba(){return Object.create(ya)}function _a(){return ga??(ga=ba()),ga}const wa={};function xa(t){Ca(Bn(),Rn(),ci()+t,!1)}function Ca(t,e,n,i){if(!i)if(3&~e[Ut]){const i=t.preOrderHooks;null!==i&&bi(e,i,0,n)}else{const i=t.preOrderCheckHooks;null!==i&&yi(e,i,n)}ui(n)}function ka(t,e=N.Default){const n=Rn();return null===n?Y(t,e):Vi(Vn(),n,y(t),e)}function Oa(){throw new Error("invalid")}function Ma(t,e,n,i,r,o,s,a,l,c,u){const h=e.blueprint.slice();return h[qt]=r,h[Ut]=140|i,(null!==c||t&&2048&t[Ut])&&(h[Ut]|=2048),En(h),h[Gt]=h[re]=t,h[Kt]=n,h[te]=s||t&&t[te],h[ee]=a||t&&t[ee],h[Xt]=l||t&&t[Xt]||null,h[Yt]=o,h[ce]=yr++,h[de]=u,h[ue]=c,h[oe]=2==e.type?t[oe]:h,h}function Sa(t,e,n,i,r){let o=t.data[e];if(null===o)o=function(t,e,n,i,r){const o=$n(),s=Zn(),a=s?o:o&&o.parent,l=t.data[e]=function(t,e,n,i,r,o){let s=e?e.injectorIndex:-1,a=0;return Ln()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a,n,e,i,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(t,e,n,i,r),Nn.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const t=function(){const t=Nn.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===t?-1:t.injectorIndex}return qn(o,!0),o}function Aa(t,e,n,i){if(0===n)return-1;const r=e.length;for(let r=0;rge&&Ca(t,e,ge,!1),wn(a?2:0,r);const s=a?o:null,l=je(s);try{null!==s&&(s.dirty=!1),n(i,r)}finally{He(s,l)}}finally{a&&null===e[pe]&&va(e,pe),ui(s),wn(a?3:1,r)}}function Ea(t,e,n){if(Ce(e)){const i=De(null);try{const i=e.directiveStart,r=e.directiveEnd;for(let e=i;e0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(r)!=s&&r.push(s),r.push(n,i,o)}}(t,e,i,Aa(t,n,r.hostVars,wa),r)}function Za(t,e,n,i,r,o){const s=o[e];if(null!==s)for(let t=0;t{var t;class e{constructor(){this.all=new Set,this.queue=new Map}create(t,e,n){const i="undefined"==typeof Zone?null:Zone.current,r=function(t,e,n){const i=Object.create(pn);n&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=e;const r=t=>{i.cleanupFn=t};return i.ref={notify:()=>Be(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Ve(i))return;i.hasRun=!0;const t=je(i);try{i.cleanupFn(),i.cleanupFn=dn,i.fn(r)}finally{He(i,t)}},cleanup:()=>i.cleanupFn()},i.ref}(t,(t=>{this.all.has(t)&&this.queue.set(t,i)}),n);let o;this.all.add(r),r.notify();const s=()=>{r.cleanup(),o?.(),this.all.delete(r),this.queue.delete(r)};return o=e?.onDestroy(s),{destroy:s}}flush(){if(0!==this.queue.size)for(const[t,e]of this.queue)this.queue.delete(t),e?e.run((()=>t.run())):t.run()}get isQueueEmpty(){return 0===this.queue.size}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function sl(t,e){!e?.injector&&Rs();const n=e?.injector??W(Hs),i=n.get(ol),r=!0!==e?.manualCleanup?n.get(qs):null;return i.create(t,r,!!e?.allowSignalWrites)}function al(t,e,n){let i=n?t.styles:null,r=n?t.classes:null,o=0;if(null!==e)for(let t=0;t0){dl(t,1);const e=n.components;null!==e&&gl(t,e,1)}}function gl(t,e,n){for(let i=0;i-1&&(Er(t,n),or(e,n))}this._attachedToViewContainer=!1}Tr(this._lView[Zt],this._lView)}onDestroy(t){zn(this._lView,t)}markForCheck(){da(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ut]&=-129}reattach(){this._lView[Ut]|=128}detectChanges(){ul(this._lView[Zt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Jr(this._lView[Zt],t=this._lView,t[ee],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t}}class vl extends ml{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ul(t[Zt],t,t[Kt],!1)}checkNoChanges(){}get context(){return null}}class yl extends Ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ft(t);return new wl(e,this.ngModule)}}function bl(t){const e=[];for(let n in t)if(t.hasOwnProperty(n)){const i=t[n];e.push({propName:i,templateName:n})}return e}class _l{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=K(n);const i=this.injector.get(t,Ls,n);return i!==Ls||e===Ls?i:this.parentInjector.get(t,e,n)}}class wl extends Os{get inputs(){const t=this.componentDef,e=t.inputTransforms,n=bl(t.inputs);if(null!==e)for(const t of n)e.hasOwnProperty(t.propName)&&(t.transform=e[t.propName]);return n}get outputs(){return bl(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(At).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,n,i){let r=(i=i||this.ngModule)instanceof us?i:i?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const o=r?new _l(t,r):t,s=o.get(Is,null);if(null===s)throw new x(407,!1);const a={rendererFactory:s,sanitizer:o.get(zs,null),effectManager:o.get(ol,null),afterRenderEventManager:o.get(ha,null)},l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n,i){const r=i.get(fa,pa)||n===it.ShadowDom,o=t.selectRootElement(e,r);return o}(l,n,this.componentDef.encapsulation,o):Ar(l,c,function(t){const e=t.toLowerCase();return"svg"===e?xn:"math"===e?"math":null}(c)),h=this.componentDef.onPush?576:528,d=this.componentDef.signals?4608:h;let p=null;null!==u&&(p=Cs(u,o,!0));const f=za(0,null,null,1,0,null,null,null,null,null,null),g=Ma(null,f,null,d,null,null,a,l,o,null,p);let m,v;ii(g);try{const t=this.componentDef;let i,r=null;t.findHostDirectiveDefs?(i=[],r=new Map,t.findHostDirectiveDefs(t,i,r),i.push(t)):i=[t];const o=function(t,e,n,i,r,o,s){const a=r[Zt];!function(t,e,n,i){for(const n of t)e.mergedAttrs=mt(e.mergedAttrs,n.hostAttrs);null!==e.mergedAttrs&&(al(e,e.mergedAttrs,!0),null!==n&&Kr(i,n,e))}(i,t,e,s);let l=null;null!==e&&(l=Cs(e,r[Xt]));const c=o.rendererFactory.createRenderer(e,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const h=Ma(r,Da(n),null,u,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Va(a,t,i.length-1),Ya(r,h),r[t.index]=h}(function(t,e){const n=t[Zt],i=ge;return t[i]=e,Sa(n,i,2,"#host",null)}(g,u),u,t,i,g,a,l);v=Mn(f,ge),u&&function(t,e,n,i){if(i)ft(t,n,["ng-version",Fs.full]);else{const{attrs:i,classes:r}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&Wr(t,n,r.join(" "))}}(l,t,u,n),void 0!==e&&function(t,e,n){const i=t.projection=[];for(let t=0;t=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=mt(r.hostAttrs,n=mt(n,r.hostAttrs))}}(r)}function Ol(t){return t===rt?{}:t===ot?[]:t}function Ml(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Sl(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Al(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}function Pl(t){return e=>{e.findHostDirectiveDefs=El,e.hostDirectives=(Array.isArray(t)?t:t()).map((t=>"function"==typeof t?{directive:y(t),inputs:rt,outputs:rt}:{directive:y(t.directive),inputs:Tl(t.inputs),outputs:Tl(t.outputs)}))}}function El(t,e,n){if(null!==t.hostDirectives)for(const i of t.hostDirectives){const t=Lt(i.directive);Il(t.declaredInputs,i.inputs),El(t,e,n),n.set(t,i),e.push(t)}}function Tl(t){if(void 0===t||0===t.length)return rt;const e={};for(let n=0;n(mi(!0),Ar(i,r,Nn.lFrame.currentNamespace));function Kl(t,e,n){const i=Rn(),r=Bn(),o=t+ge,s=r.firstCreatePass?function(t,e,n,i,r){const o=e.consts,s=Pn(o,i),a=Sa(e,t,8,"ng-container",s);return null!==s&&al(a,s,!0),Ra(e,n,a,Pn(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,i,e,n):r.data[o];qn(s,!0);const a=ec(r,i,s,t);return i[o]=a,gi()&&qr(r,i,a,s),_r(a,i),Oe(s)&&(Ta(r,i,s),Ea(r,s,i)),null!=n&&Ia(i,s),Kl}function Xl(){let t=Vn();const e=Bn();return Zn()?Un():(t=t.parent,qn(t,!1)),e.firstCreatePass&&(vi(e,t),Ce(t)&&e.queries.elementEnd(t)),Xl}function tc(t,e,n){return Kl(t,e,n),Xl(),tc}let ec=(t,e,n,i)=>{return mi(!0),r=e[ee],o="",r.createComment(function(t){return t.replace(gr,(t=>t.replace(mr,"​$1​")))}(o));var r,o};function nc(){return Rn()}function ic(t){return!!t&&"function"==typeof t.then}function rc(t){return!!t&&"function"==typeof t.subscribe}function oc(t,e,n,i){const r=Rn(),o=Bn(),s=Vn();return function(t,e,n,i,r,o,s){const a=Oe(i),l=t.firstCreatePass&&Xa(t),c=e[Kt],u=Ka(e);let h=!0;if(3&i.type||s){const d=On(i,e),p=s?s(d):d,f=u.length,g=s?t=>s(Cn(t[i.index])):i.index;let m=null;if(!s&&a&&(m=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let t=0;ti?n[i]:null}"string"==typeof o&&(t+=2)}return null}(t,e,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,h=!1;else{o=ac(i,e,c,o,!1);const t=n.listen(p,r,o);u.push(o,t),l&&l.push(r,g,f,f+1)}}else o=ac(i,e,c,o,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){const t=p.length;if(t)for(let n=0;n-1?An(t.index,e):e);let a=sc(e,n,i,s),l=o.__ngNextListenerFn__;for(;l;)a=sc(e,n,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&s.preventDefault(),a}}function lc(t=1){return function(t){return(Nn.lFrame.contextLView=function(t,e){for(;t>0;)e=e[re],t--;return e}(t,Nn.lFrame.contextLView))[Kt]}(t)}function cc(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(t);for(let r=0;r>17&32767}function mc(t){return 2|t}function vc(t){return(131068&t)>>2}function yc(t,e){return-131069&t|e<<2}function bc(t){return 1|t}function _c(t,e,n,i,r){const o=t[n+1],s=null===e;let a=i?gc(o):vc(o),l=!1;for(;0!==a&&(!1===l||s);){const n=t[a],r=t[a+1];wc(n,e)&&(l=!0,t[a+1]=i?bc(r):mc(r)),a=i?gc(r):vc(r)}l&&(t[n+1]=i?mc(o):bc(o))}function wc(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&cr(t,e)>=0}const xc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cc(t){return t.substring(xc.key,xc.keyEnd)}function kc(t,e){const n=xc.textEnd;return n===e?-1:(e=xc.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,xc.key=e,n),Oc(t,e,n))}function Oc(t,e,n){for(;e=0;n=kc(e,n))ar(t,Cc(e),!0)}function Ec(t,e,n,i){const r=Rn(),o=Bn(),s=Jn(2);o.firstUpdatePass&&Ic(o,t,s,i),e!==wa&&Rl(r,s,e)&&Fc(o,o.data[ci()],r,r[ee],t,r[s+1]=function(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=f(ho(t)))),t}(e,n),i,s)}function Tc(t,e){return e>=t.expandoStartIndex}function Ic(t,e,n,i){const r=t.data;if(null===r[n+1]){const o=r[ci()],s=Tc(t,n);Bc(o,i)&&null===e&&!s&&(e=!1),e=function(t,e,n,i){const r=Kn(t);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=zc(n=Dc(null,t,e,n,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(n=Dc(r,t,e,n,i),null===o){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==vc(i))return t[gc(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Dc(null,t,e,n[1],i),n=zc(n,e.attrs,i),function(t,e,n,i){t[gc(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else o=function(t,e,n){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=gc(t[a+1]);t[i+1]=fc(e,a),0!==e&&(t[e+1]=yc(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=fc(a,0),0!==a&&(t[a+1]=yc(t[a+1],i)),a=i;else t[i+1]=fc(l,0),0===a?a=i:t[l+1]=yc(t[l+1],i),l=i;u&&(t[i+1]=mc(t[i+1])),_c(t,c,i,!0),_c(t,c,i,!1),function(t,e,n,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&cr(o,e)>=0&&(n[i+1]=bc(n[i+1]))}(e,c,t,i,o),s=fc(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,n,s,i)}}function Dc(t,e,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[r],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[r+1];u===wa&&(u=c?ot:void 0);let h=c?lr(u,i):l===i?u:void 0;if(o&&!Rc(h)&&(h=lr(e,i)),Rc(h)&&(a=h,s))return a;const d=t[r+1];r=s?gc(d):vc(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=lr(t,i))}return a}function Rc(t){return void 0!==t}function Bc(t,e){return!!(t.flags&(e?8:16))}function jc(t,e=""){const n=Rn(),i=Bn(),r=t+ge,o=i.firstCreatePass?Sa(i,r,1,e,null):i.data[r],s=Hc(i,n,o,e,t);n[r]=s,gi()&&qr(i,n,s,o),qn(o,!1)}let Hc=(t,e,n,i,r)=>(mi(!0),function(t,e){return t.createText(e)}(e[ee],i));function Vc(t){return $c("",t,""),Vc}function $c(t,e,n){const i=Rn(),r=Vl(i,t,e,n);return r!==wa&&nl(i,ci(),r),$c}function qc(t,e,n,i,r){const o=Rn(),s=function(t,e,n,i,r,o){const s=Bl(t,Nn.lFrame.bindingIndex,n,r);return Jn(2),s?e+C(n)+i+C(r)+o:wa}(o,t,e,n,i,r);return s!==wa&&nl(o,ci(),s),qc}function Zc(t,e,n){const i=Rn();return Rl(i,Qn(),e)&&La(Bn(),hi(),i,t,e,i[ee],n,!0),Zc}function Uc(t,e,n){const i=Rn();if(Rl(i,Qn(),e)){const r=Bn(),o=hi();La(r,o,i,t,e,function(t,e,n){return(null===t||Me(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[me])return t;t=t[qt]}return null}(n[e.index])),n[ee]}(Kn(r.data),o,i),n,!0)}return Uc}const Gc=void 0;var Qc=["en",[["a","p"],["AM","PM"],Gc],[["AM","PM"],Gc,Gc],[["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"]],Gc,[["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"]],Gc,[["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}",Gc,"{1} 'at' {0}",Gc],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##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 Jc={};function Yc(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Kc(e);if(n)return n;const i=e.split("-")[0];if(n=Kc(i),n)return n;if("en"===i)return Qc;throw new x(701,!1)}function Wc(t){return Yc(t)[Xc.PluralCase]}function Kc(t){return t in Jc||(Jc[t]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[t]),Jc[t]}var Xc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Xc||{});const tu="en-US";let eu=tu;function nu(t,e,n,i,r){if(t=y(t),Array.isArray(t))for(let o=0;o>20;if(rs(t)||!t.multi){const i=new Oi(c,r,ka),p=ou(l,e,r?u:u+d,h);-1===p?(Bi(Ni(a,s),o,l),iu(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=ou(l,e,u+d,h),f=ou(l,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){Bi(Ni(a,s),o,l);const u=function(t,e,n,i,r){const o=new Oi(t,n,ka);return o.multi=[],o.index=e,o.componentProviders=0,ru(o,r,i&&!n),o}(r?au:su,n.length,r,i,c);!r&&m&&(n[f].providerFactory=u),iu(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(u),s.push(u)}else iu(o,t,p>-1?p:f,ru(n[r?f:p],c,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function iu(t,e,n,i){const r=rs(e),o=!!e.useClass;if(r||o){const s=(o?y(e.useClass):e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function ru(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ou(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=Bn();if(i.firstCreatePass){const r=Me(t);nu(n,i.data,i.blueprint,r,!0),nu(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class uu{}class hu{}function du(t,e){return new pu(t,e??null,[])}class pu extends uu{constructor(t,e,n){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yl(this);const i=jt(t);this._bootstrapComponents=aa(i.bootstrap),this._r3Injector=js(t,e,[{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver},...n],f(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((t=>t())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class fu extends hu{constructor(t){super(),this.moduleType=t}create(t){return new pu(this.moduleType,t,[])}}class gu extends uu{constructor(t){super(),this.componentFactoryResolver=new yl(this),this.instance=null;const e=new hs([...t.providers,{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],t.parent||cs(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mu(t,e,n=null){return new gu({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let vu=(()=>{var t;class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=Ko(0,t.type),n=e.length>0?mu([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return(t=e).ɵprov=O({token:t,providedIn:"environment",factory:()=>new t(Y(us))}),e})();function yu(t){t.getStandaloneInjector=e=>e.get(vu).getOrCreateStandaloneInjector(t)}function bu(t,e,n){const i=Gn()+t,r=Rn();return r[i]===wa?Fl(r,i,n?e.call(n):e()):Ll(r,i)}function _u(t,e,n,i){return Mu(Rn(),Gn(),t,e,n,i)}function wu(t,e,n,i,r){return Su(Rn(),Gn(),t,e,n,i,r)}function xu(t,e,n,i,r,o,s){return Au(Rn(),Gn(),t,e,n,i,r,o,s)}function Cu(t,e,n,i,r,o,s,a){const l=Gn()+t,c=Rn(),u=jl(c,l,n,i,r,o);return Rl(c,l+4,s)||u?Fl(c,l+5,a?e.call(a,n,i,r,o,s):e(n,i,r,o,s)):Ll(c,l+5)}function ku(t,e,n,i,r,o,s,a,l){const c=Gn()+t,u=Rn(),h=jl(u,c,n,i,r,o);return Bl(u,c+4,s,a)||h?Fl(u,c+6,l?e.call(l,n,i,r,o,s,a):e(n,i,r,o,s,a)):Ll(u,c+6)}function Ou(t,e){const n=t[e];return n===wa?void 0:n}function Mu(t,e,n,i,r,o){const s=e+n;return Rl(t,s,r)?Fl(t,s+1,o?i.call(o,r):i(r)):Ou(t,s+1)}function Su(t,e,n,i,r,o,s){const a=e+n;return Bl(t,a,r,o)?Fl(t,a+2,s?i.call(s,r,o):i(r,o)):Ou(t,a+2)}function Au(t,e,n,i,r,o,s,a,l){const c=e+n;return jl(t,c,r,o,s,a)?Fl(t,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):Ou(t,c+4)}function Pu(t,e){const n=Bn();let i;const r=t+ge;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Se(i.type)),s=R(ka);try{const t=Ei(!1),e=o();return Ei(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Rn(),r,e),e}finally{R(s)}}function Eu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?Mu(r,Gn(),e,o.transform,n,o):o.transform(n)}function Tu(t,e,n,i){const r=t+ge,o=Rn(),s=Sn(o,r);return Nu(o,r)?Su(o,Gn(),e,s.transform,n,i,s):s.transform(n,i)}function Iu(t,e,n,i,r){const o=t+ge,s=Rn(),a=Sn(s,o);return Nu(s,o)?function(t,e,n,i,r,o,s,a){const l=e+n;return function(t,e,n,i,r){const o=Bl(t,e,n,i);return Rl(t,e+2,r)||o}(t,l,r,o,s)?Fl(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Ou(t,l+3)}(s,Gn(),e,a.transform,n,i,r,a):a.transform(n,i,r)}function Du(t,e,n,i,r,o){const s=t+ge,a=Rn(),l=Sn(a,s);return Nu(a,s)?Au(a,Gn(),e,l.transform,n,i,r,o,l):l.transform(n,i,r,o)}function zu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?function(t,e,n,i,r,o){let s=e+n,a=!1;for(let e=0;e{class t{}return t.__NG_ELEMENT_ID__=Hu,t})();const Bu=Ru,ju=class extends Bu{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){const i=function(t,e,n,i){const r=e.tView,o=Ma(t,r,n,4096&t[Ut]?4096:16,null,e,null,null,null,i?.injector??null,i?.hydrationInfo??null),s=t[e.index];o[se]=s;const a=t[le];return null!==a&&(o[le]=a.createEmbeddedView(r)),rl(r,o,n),o}(this._declarationLView,this._declarationTContainer,t,{injector:e,hydrationInfo:n});return new ml(i)}};function Hu(){return Vu(Vn(),Rn())}function Vu(t,e){return 4&t.type?new ju(e,t,Ps(t,e)):null}let $u=(()=>{class t{}return t.__NG_ELEMENT_ID__=qu,t})();function qu(){return Ju(Vn(),Rn())}const Zu=$u,Uu=class extends Zu{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ps(this._hostTNode,this._hostLView)}get injector(){return new Ji(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ri(this._hostTNode,this._hostLView);if(Mi(t)){const e=Ai(t,this._hostLView),n=Si(t),i=e[Zt].data[n+8];return new Ji(i,e)}return new Ji(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Gu(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-_e}createEmbeddedView(t,e,n){let i,r;"number"==typeof n?i=n:null!=n&&(i=n.index,r=n.injector);const o=(this._lContainer,t.ssrId,null),s=t.createEmbeddedViewImpl(e||{},r,o),a=!!o&&!pr(this._hostTNode);return this.insertImpl(s,i,a),s}createComponent(t,e,n,i,r){const o=t&&!("function"==typeof t);let s;if(o)s=e;else{const t=e||{};s=t.index,n=t.injector,i=t.projectableNodes,r=t.environmentInjector||t.ngModuleRef}const a=o?t:new wl(Ft(t)),l=n||this.parentInjector;if(!r&&null==a.ngModule){const t=(o?l:this.parentInjector).get(us,null);t&&(r=t)}Ft(a.componentType??{});const c=(this._lContainer,null),u=c?.firstChild??null,h=a.create(l,i,u,r),d=!!c&&!pr(this._hostTNode);return this.insertImpl(h.hostView,s,d),h}insert(t,e){return this.insertImpl(t,e,!1)}insertImpl(t,e,n){const i=t._lView;if(i[Zt],xe(i[Gt])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[Gt],n=new Uu(e,e[Yt],e[Gt]);n.detach(n.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;return function(t,e,n,i=!0){const r=e[Zt];if(function(t,e,n,i){const r=_e+i,o=n.length;i>0&&(n[r-1][Qt]=e),i0)i.push(s[t/2]);else{const r=o[t+1],s=e[-n];for(let t=_e;t{var t;class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise(((t,e)=>{this.resolve=t,this.reject=e})),this.appInits=W(gh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=e();if(ic(n))t.push(n);else if(rc(n)){const e=new Promise(((t,e)=>{n.subscribe({complete:t,error:e})}));t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then((()=>{e()})).catch((t=>{this.reject(t)})),0===t.length&&e(),this.initialized=!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),vh=(()=>{var t;class e{log(t){console.log(t)}warn(t){console.warn(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})();const yh=new H("LocaleId",{providedIn:"root",factory:()=>W(yh,N.Optional|N.SkipSelf)||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||tu)}),bh=new H("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let _h=(()=>{var t;class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new a.X(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class wh{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let xh=(()=>{var t;class e{compileModuleSync(t){return new fu(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=aa(jt(t).declarations).reduce(((t,e)=>{const n=Ft(e);return n&&t.push(new wl(n)),t}),[]);return new wh(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const Ch=new H(""),kh=new H("");let Oh,Mh=(()=>{var t;class e{constructor(t,e,n){this._ngZone=t,this.registry=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Oh||(Oh=n,n.addToWindow(e)),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:()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{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())queueMicrotask((()=>{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 i=-1;e&&e>0&&(i=setTimeout((()=>{this._callbacks=this._callbacks.filter((t=>t.timeoutId!==i)),t(this._didWork,this.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,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}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,n){return[]}}return(t=e).ɵfac=function(e){return new(e||t)(Y(Ws),Y(Sh),Y(kh))},t.ɵprov=O({token:t,factory:t.ɵfac}),e})(),Sh=(()=>{var t;class e{constructor(){this._applications=new Map}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 Oh?.findTestabilityInTree(this,t,e)??null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})(),Ah=null;const Ph=new H("PlatformDestroyListeners"),Eh=new H("appBootstrapListener");function Th(t){try{const{rootComponent:n,appProviders:i,platformProviders:r}=t,o=function(t=[]){if(Ah)return Ah;const e=function(t=[],e){return Hs.create({name:e,providers:[{provide:os,useValue:"platform"},{provide:Ph,useValue:new Set([()=>Ah=null])},...t]})}(t);return Ah=e,tn=()=>{throw new x(600,!1)},function(t){const e=t.get(ys,null);e?.forEach((t=>t()))}(e),e}(r),s=[Yo([[],(e=()=>new Ws({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!1,shouldCoalesceRunChangeDetection:!1}),[{provide:Ws,useFactory:e},{provide:Uo,multi:!0,useFactory:()=>{const t=W(Fh,{optional:!0});return()=>t.initialize()}},{provide:zh,useFactory:Nh},{provide:ia,useFactory:ra}])]),...i||[]],a=new gu({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ws);return l.run((()=>{a.resolveInjectorInitializers();const t=a.get($s,null);let e;l.runOutsideAngular((()=>{e=l.onError.subscribe({next:e=>{t.handleError(e)}})}));const i=()=>a.destroy(),r=o.get(Ph);return r.add(i),a.onDestroy((()=>{e.unsubscribe(),r.delete(i)})),function(t,e,i){try{const i=(()=>{const t=a.get(mh);return t.runInitializers(),t.donePromise.then((()=>{var t,e,i;e=t=a.get(yh,tu)||tu,i="Expected localeId to be defined",null==e&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(eu=t.toLowerCase().replace(/_/g,"-"));const r=a.get(Ih);return void 0!==n&&r.bootstrap(n),r}))})();return ic(i)?i.catch((n=>{throw e.runOutsideAngular((()=>t.handleError(n))),n})):i}catch(n){throw e.runOutsideAngular((()=>t.handleError(n))),n}}(t,l)}))}catch(t){return Promise.reject(t)}var e}let Ih=(()=>{var t;class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(zh),this.zoneIsStable=W(ia),this.componentTypes=[],this.components=[],this.isStable=W(_h).hasPendingTasks.pipe((0,u.w)((t=>t?(0,l.of)(!1):this.zoneIsStable)),(0,h.x)(),(0,c.B)()),this._injector=W(us)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,e){const n=t instanceof Os;if(!this._injector.get(mh).done)throw!n&&Bt(t),new x(405,!1);let i;i=n?t:this._injector.get(Ss).resolveComponentFactory(t),this.componentTypes.push(i.componentType);const r=i.isBoundToModule?void 0:this._injector.get(uu),o=e||i.selector,s=i.create(Hs.NULL,[],o,r),a=s.location.nativeElement,l=s.injector.get(Ch,null);return l?.registerApplication(a),s.onDestroy((()=>{this.detachView(s.hostView),Dh(this.components,s),l?.unregisterApplication(a)})),this._loadComponent(s),s}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Dh(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const e=this._injector.get(Eh,[]);e.push(...this._bootstrapListeners),e.forEach((e=>e(t)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((t=>t())),this._views.slice().forEach((t=>t.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Dh(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new x(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const zh=new H("",{providedIn:"root",factory:()=>W($s).handleError.bind(void 0)});function Nh(){const t=W(Ws),e=W($s);return n=>t.runOutsideAngular((()=>e.handleError(n)))}let Fh=(()=>{var t;class e{constructor(){this.zone=W(Ws),this.applicationRef=W(Ih)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Lh(){}let Rh=(()=>{class t{}return t.__NG_ELEMENT_ID__=Bh,t})();function Bh(t){return function(t,e,n){if(ke(t)&&!n){const n=An(t.index,e);return new ml(n,n)}if(47&t.type){const t=e[oe];return new ml(t,e)}return null}(Vn(),Rn(),!(16&~t))}class jh{constructor(){}supports(t){return zl(t)}create(t){return new Vh(t)}}const Hh=(t,e)=>e;class Vh{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||Hh}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const o=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),o=!0),r=r._next,e++})),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=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,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new $h(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Zh),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||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zh),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class $h{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 qh{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 Zh{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qh,this.map.set(e,n)),n.add(t)}get(t,e){const n=t,i=this.map.get(n);return i?i.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 Uh(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}})),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Jh(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 Jh{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 Yh(){return new Wh([new jh])}let Wh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Yh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(null!=e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Yh}),e})();function Kh(){return new Xh([new Gh])}let Xh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Kh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Kh}),e})();function td(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function ed(t,e){const n=Ft(t),i=e.elementInjector||cs();return new wl(n).create(i,e.projectableNodes,e.hostElement,e.environmentInjector)}},62022:(t,e,n)=>{n.d(e,{O4:()=>u,sL:()=>s});var i=n(20755),r=n(48132),o=n(81749);function s(t){t||((0,i.gHi)(s),t=(0,i.f3M)(i.ktI));const e=new r.y((e=>t.onDestroy(e.next.bind(e))));return t=>t.pipe((0,o.R)(e))}class a extends Error{constructor(t,e){super(function(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(t,e)),this.code=t}}let l=null;function c(t){const e=l;return l=t,e}function u(t,e){const n=!e?.manualCleanup;n&&!e?.injector&&(0,i.gHi)(u);const r=n?e?.injector?.get(i.ktI)??(0,i.f3M)(i.ktI):null;let o;return o=e?.requireSync?(0,i.tdS)({kind:0}):(0,i.tdS)({kind:1,value:e?.initialValue}),function(e){const n=c(null);try{return(()=>{const e=t.subscribe({next:t=>o.set({kind:1,value:t}),error:t=>o.set({kind:2,error:t})});r?.onDestroy(e.unsubscribe.bind(e))})()}finally{c(n)}}(),(0,i.Flj)((()=>{const t=o();switch(t.kind){case 1:return t.value;case 2:throw t.error;case 0:throw new a(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}}))}},43226:(t,e,n)=>{n.d(e,{Cf:()=>y,Fj:()=>g,JJ:()=>$,JL:()=>q,JU:()=>u,NI:()=>dt,On:()=>gt,UX:()=>Et,Wl:()=>d,_:()=>_t,_Y:()=>mt,a5:()=>H,cw:()=>X,eT:()=>xt,gN:()=>j,kI:()=>w,oH:()=>Ot,sg:()=>St,u5:()=>Pt});var i=n(20755),r=n(76733),o=n(3489),s=n(30319),a=n(92425);let l=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.ɵdir=i.lG2({type:t}),e})(),c=(()=>{var t;class e extends l{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();const u=new i.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,i.Gpc)((()=>d)),multi:!0};let d=(()=>{var t;class e extends c{writeValue(t){this.setProperty("checked",t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([h]),i.qOj]}),e})();const p={provide:u,useExisting:(0,i.Gpc)((()=>g)),multi:!0},f=new i.OlP("CompositionEventMode");let g=(()=>{var t;class e extends l{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(f,8))},t.ɵdir=i.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&&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)}))},features:[i._Bn([p]),i.qOj]}),e})();function m(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function v(t){return null!=t&&"number"==typeof t.length}const y=new i.OlP("NgValidators"),b=new i.OlP("NgAsyncValidators"),_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class w{static min(t){return function(t){return e=>{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return function(t){return m(t.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return m(t.value)||_.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>m(e.value)||!v(e.value)?null:e.value.lengthv(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return x;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(m(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return A(t)}static composeAsync(t){return E(t)}}function x(t){return null}function C(t){return null!=t}function k(t){return(0,i.QGY)(t)?(0,o.D)(t):t}function O(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function M(t,e){return e.map((e=>e(t)))}function S(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function A(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return O(M(t,e))}}function P(t){return null!=t?A(S(t)):null}function E(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const n=M(t,e).map(k);return(0,s.D)(n).pipe((0,a.U)(O))}}function T(t){return null!=t?E(S(t)):null}function I(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function D(t){return t._rawValidators}function z(t){return t._rawAsyncValidators}function N(t){return t?Array.isArray(t)?t:[t]:[]}function F(t,e){return Array.isArray(t)?t.includes(e):t===e}function L(t,e){const n=N(e);return N(t).forEach((t=>{F(n,t)||n.push(t)})),n}function R(t,e){return N(e).filter((e=>!F(t,e)))}class B{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=P(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=T(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=void 0){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}}class j extends B{get formDirective(){return null}get path(){return null}}class H extends B{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class V{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let $=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(H,2))},t.ɵdir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)},features:[i.qOj]}),e})(),q=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,10))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)("ng-submitted",e.isSubmitted)},features:[i.qOj]}),e})();const Z="VALID",U="INVALID",G="PENDING",Q="DISABLED";function J(t){return(W(t)?t.validators:t)||null}function Y(t,e){return(W(e)?e.asyncValidators:t)||null}function W(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class K{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}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===Z}get invalid(){return this.status===U}get pending(){return this.status==G}get disabled(){return this.status===Q}get enabled(){return this.status!==Q}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._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(L(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(L(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(R(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(R(t,this._rawAsyncValidators))}hasValidator(t){return F(this._rawValidators,t)}hasAsyncValidator(t){return F(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=G,!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=Q,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Z,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...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}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Z&&this.status!==G||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()?Q:Z}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=G,this._hasOwnPendingAsyncValidator=!0;const e=k(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){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}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 i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Q:this.errors?U:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(G)?G:this._anyControlsHaveStatus(U)?U:Z}_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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){W(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?P(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?T(e):e||null)}}class X extends K{constructor(t,e,n){super(J(e),Y(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={}){(function(t,e,n){t._forEachChild(((t,e)=>{if(void 0===n[e])throw new i.vHH(1002,"")}))})(this,0,t),Object.keys(t).forEach((n=>{(function(t,e,n){const r=t.controls;if(!Object.keys(r).length)throw new i.vHH(1e3,"");if(!r[n])throw new i.vHH(1001,"")})(this,0,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=>{const i=this.controls[n];i&&i.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((n,i)=>{n.reset(t?t[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,n)=>(t[n]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),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,n]of Object.entries(this.controls))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,i)=>{n=e(n,t,i)})),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}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const tt=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>et}),et="always";function nt(t,e,n=et){ot(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===n)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&at(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&&at(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 it(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),st(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function rt(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function ot(t,e){const n=D(t);null!==e.validator?t.setValidators(I(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=z(t);null!==e.asyncValidator?t.setAsyncValidators(I(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();rt(e._rawValidators,r),rt(e._rawAsyncValidators,r)}function st(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=D(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.validator));r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=z(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.asyncValidator));r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return rt(e._rawValidators,i),rt(e._rawAsyncValidators,i),n}function at(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function ct(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===g?n=t:(e=t,Object.getPrototypeOf(e.constructor)===c?i=t:r=t)})),r||i||n||null}function ut(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ht(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const dt=class extends K{constructor(t=null,e,n){super(J(e),Y(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),W(e)&&(e.nonNullable||e.initialValueIsDefault)&&(ht(t)?this.defaultValue=t.value:this.defaultValue=t)}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=this.defaultValue,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){ut(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ut(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){ht(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}},pt={provide:H,useExisting:(0,i.Gpc)((()=>gt))},ft=(()=>Promise.resolve())();let gt=(()=>{var t;class e extends H{constructor(t,e,n,r,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new dt,this._registered=!1,this.name="",this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=ct(0,r)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),lt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){nt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){ft.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,n=0!==e&&(0,i.VuI)(e);ft.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?(e=t,[...this._parent.path,e]):[t];var e}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,9),i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(i.sBO,8),i.Y36(tt,8))},t.ɵdir=i.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:[i._Bn([pt]),i.qOj,i.TTD]}),e})(),mt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const vt={provide:u,useExisting:(0,i.Gpc)((()=>_t)),multi:!0};let yt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})(),bt=(()=>{var t;class e{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:yt}),e})(),_t=(()=>{var t;class e extends c{constructor(t,e,n,r){super(t,e),this._registry=n,this._injector=r,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,i.f3M)(tt,{optional:!0})??et}ngOnInit(){this._control=this._injector.get(H),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(bt),i.Y36(i.zs3))},t.ɵdir=i.lG2({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i._Bn([vt]),i.qOj]}),e})();const wt={provide:u,useExisting:(0,i.Gpc)((()=>xt)),multi:!0};let xt=(()=>{var t;class e extends c{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([wt]),i.qOj]}),e})();const Ct=new i.OlP("NgModelWithFormControlWarning"),kt={provide:H,useExisting:(0,i.Gpc)((()=>Ot))};let Ot=(()=>{var t;class e extends H{set isDisabled(t){}constructor(t,e,n,r,o){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=ct(0,n)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&it(e,this,!1),nt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}lt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&it(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=e)._ngModelWarningSentOnce=!1,t.ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(Ct,8),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([kt]),i.qOj,i.TTD]}),e})();const Mt={provide:j,useExisting:(0,i.Gpc)((()=>St))};let St=(()=>{var t;class e extends j{constructor(t,e,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.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&&(st(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 nt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){it(t.control||null,t,!1),function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,e=this.form,n=this.directives,e._syncPendingControls(),n.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),"dialog"===t?.target?.method;var e,n}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(it(e||null,t),n instanceof dt&&(nt(n,t,this.callSetDisabledState),t.control=n))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){ot(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const n=function(t,e){return st(t,e)}(e,t);n&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){ot(this.form,this),this._oldForm&&st(this._oldForm,this)}_checkFormPresent(){this.form}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Mt]),i.qOj,i.TTD]}),e})(),At=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[yt]}),e})(),Pt=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})(),Et=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ct,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})()},43232:(t,e,n)=>{n.d(e,{Cg:()=>D,Dx:()=>R,H7:()=>B,s3:()=>u,se:()=>x});var i=n(20755),r=n(76733);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),()=>{t.removeEventListener(e,n)}}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,c=(()=>{var t;class e{build(){return new XMLHttpRequest}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const u=new i.OlP("EventManagerPlugins");let h=(()=>{var t;class e{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)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find((e=>e.supports(t))),!e)throw new i.vHH(5101,!1);return this._eventNameToPlugin.set(t,e),e}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(u),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class d{constructor(t){this._doc=t}}const p="ng-app-id";let f=(()=>{var t;class e{constructor(t,e,n,i={}){this.doc=t,this.appId=e,this.nonce=n,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,r.PM)(i),this.resetHostNodes()}addStyles(t){for(const e of t)1===this.changeUsageCount(e,1)&&this.onStyleAdded(e)}removeStyles(t){for(const e of t)this.changeUsageCount(e,-1)<=0&&this.onStyleRemoved(e)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach((t=>t.remove())),t.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const e of this.getAllStyles())this.addStyleToHost(t,e)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const e of this.hostNodes)this.addStyleToHost(e,t)}onStyleRemoved(t){const e=this.styleRef;e.get(t)?.elements?.forEach((t=>t.remove())),e.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${p}="${this.appId}"]`);if(t?.length){const e=new Map;return t.forEach((t=>{null!=t.textContent&&e.set(t.textContent,t)})),e}return null}changeUsageCount(t,e){const n=this.styleRef;if(n.has(t)){const i=n.get(t);return i.usage+=e,i.usage}return n.set(t,{usage:e,elements:[]}),e}getStyleElement(t,e){const n=this.styleNodesInDOM,i=n?.get(e);if(i?.parentNode===t)return n.delete(e),i.removeAttribute(p),i;{const t=this.doc.createElement("style");return this.nonce&&t.setAttribute("nonce",this.nonce),t.textContent=e,this.platformIsServer&&t.setAttribute(p,this.appId),t}}addStyleToHost(t,e){const n=this.getStyleElement(t,e);t.appendChild(n);const i=this.styleRef,r=i.get(e)?.elements;r?r.push(n):i.set(e,{elements:[n],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.AFp),i.LFG(i.Ojb,8),i.LFG(i.Lbi))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},m=/%COMP%/g,v="%COMP%",y=`_nghost-${v}`,b=`_ngcontent-${v}`,_=new i.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function w(t,e){return e.map((e=>e.replace(m,t)))}let x=(()=>{var t;class e{constructor(t,e,n,i,o,s,a,l=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=i,this.doc=o,this.platformId=s,this.ngZone=a,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=(0,r.PM)(s),this.defaultRenderer=new C(t,o,a,this.platformIsServer)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;this.platformIsServer&&e.encapsulation===i.ifc.ShadowDom&&(e={...e,encapsulation:i.ifc.Emulated});const n=this.getOrCreateRenderer(t,e);return n instanceof S?n.applyToHost(t):n instanceof M&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const o=this.doc,s=this.ngZone,a=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(e.encapsulation){case i.ifc.Emulated:r=new S(a,l,e,this.appId,c,o,s,u);break;case i.ifc.ShadowDom:return new O(a,l,t,e,o,s,this.nonce,u);default:r=new M(a,l,e,c,o,s,u)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(h),i.LFG(f),i.LFG(i.AFp),i.LFG(_),i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(i.R0b),i.LFG(i.Ojb))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class C{constructor(t,e,n,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(g[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(k(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(k(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new i.vHH(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=g[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=g[n];i?t.removeAttributeNS(i,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){if("string"==typeof t&&!(t=(0,r.q)().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(n))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>t(e))):t(e))&&e.preventDefault()}}}function k(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class O extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,a),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=w(i.id,i.styles);for(const t of l){const e=document.createElement("style");s&&e.setAttribute("nonce",s),e.textContent=t,this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class M extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?w(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class S extends M{constructor(t,e,n,i,r,o,s,a){const l=i+"-"+n.id;var c;super(t,e,n,r,o,s,a,l),this.contentAttr=(c=l,b.replace(m,c)),this.hostAttr=function(t){return y.replace(m,t)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}let A=(()=>{var t;class e extends d{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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const P=["alt","control","meta","shift"],E={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{var t;class e extends d{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,r.q)().onAndCancel(t,o.domEventName,s)))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),o="code."),P.forEach((t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")})),o+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(t,e){let n=E[t.key]||t.key,i="";return e.indexOf("code.")>-1&&(n=t.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),P.forEach((e=>{e!==n&&(0,T[e])(t)&&(i+=e+".")})),i+=n,i===e)}static eventCallback(t,n,i){return r=>{e.matchEventFullKeyCode(r,t)&&i.runGuarded((()=>n(r)))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function D(t,e){return(0,i.iPO)({rootComponent:t,...z(e)})}function z(t){return{appProviders:[...F,...t?.providers??[]],platformProviders:N}}const N=[{provide:i.Lbi,useValue:r.bD},{provide:i.g9A,useValue:function(){s.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}],F=(i.rWj,i.lri,i.dDg,i.R0b,i.eoX,i.rWj,i.dDg,i.dDg,i.R0b,i.eoX,i.rWj,[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:u,useClass:A,multi:!0,deps:[r.K0,i.R0b,i.Lbi]},{provide:u,useClass:I,multi:!0,deps:[r.K0]},x,f,h,{provide:i.FYo,useExisting:x},{provide:r.JF,useClass:c,deps:[]},[]]);function L(){return new R((0,i.LFG)(r.K0))}let R=(()=>{var t;class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:L(),e},providedIn:"root"}),e})();"undefined"!=typeof window&&window;let B=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(e){let n=null;return n=e?new(e||t):i.LFG(H),n},providedIn:"root"}),e})();function j(t){return new H(t.get(r.K0))}let H=(()=>{var t;class e extends B{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 i.vHH(5200,!1);case i.q3G.URL:return(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 i.vHH(5201,!1);default:throw new i.vHH(5202,!1)}}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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:j(i.LFG(i.zs3)),e},providedIn:"root"}),e})()},99222:(t,e,n)=>{n.d(e,{gz:()=>be,m2:()=>Ut,F0:()=>In,rH:()=>zn,Od:()=>Nn,lC:()=>Se,Xs:()=>ae,Hx:()=>ct,bU:()=>Rn,ZU:()=>jn});var i=n(20755),r=n(11070),o=n(3489),s=n(71209),a=n(56424);const l=(0,n(99046).d)((t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}));var c=n(38442),u=n(45623),h=n(83562),d=n(22222),p=n(51960),f=n(30453),g=n(48132),m=n(902),v=n(96142),y=n(70134);function b(){return(0,v.e)(((t,e)=>{let n=null;t._refCount++;const i=new y.Q(e,void 0,void 0,void 0,(()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const i=t._connection,r=n;n=null,!i||r&&i!==r||i.unsubscribe(),e.unsubscribe()}));t.subscribe(i),i.closed||(n=t.connect())}))}class _ extends g.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,v.A)(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new m.w0;const e=this.getSubject();t.add(this.source.subscribe(new y.Q(e,void 0,(()=>{this._teardown(),e.complete()}),(t=>{this._teardown(),e.error(t)}),(()=>this._teardown())))),t.closed&&(this._connection=null,t=m.w0.EMPTY)}return t}refCount(){return b()(this)}}var w=n(78748),x=n(76733),C=n(92425),k=n(84787),O=n(21813),M=n(73843),S=n(55333),A=n(45130),P=n(80407);function E(t=T){return(0,v.e)(((e,n)=>{let i=!1;e.subscribe(new y.Q(n,(t=>{i=!0,n.next(t)}),(()=>i?n.complete():n.error(t()))))}))}function T(){return new l}var I=n(69401);function D(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,(0,O.q)(1),n?(0,P.d)(e):E((()=>new l)))}var z=n(70109),N=n(31570),F=n(17560),L=n(27795);function R(t){return t<=0?()=>f.E:(0,v.e)(((e,n)=>{let i=[];e.subscribe(new y.Q(n,(e=>{i.push(e),t{for(const t of i)n.next(t);n.complete()}),void 0,(()=>{i=null})))}))}var B=n(97376),j=n(36293),H=n(81749),V=n(42605),$=n(43232);const q="primary",Z=Symbol("RouteTitle");class U{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function G(t){return new U(t)}function Q(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t))}return t===e}function W(t){return t.length>0?t[t.length-1]:null}function K(t){return(0,r.b)(t)?t:(0,i.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,s.of)(t)}const X={exact:function t(e,n,i){if(!lt(e.segments,n.segments))return!1;if(!rt(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r],i))return!1}return!0},subset:nt},tt={exact:function(t,e){return J(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((n=>Y(t[n],e[n])))},ignored:()=>!0};function et(t,e,n){return X[n.paths](t.root,e.root,n.matrixParams)&&tt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function nt(t,e,n){return it(t,e,e.segments,n)}function it(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!!lt(r,n)&&!e.hasChildren()&&!!rt(r,n,i)}if(t.segments.length===n.length){if(!lt(t.segments,n))return!1;if(!rt(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!nt(t.children[n],e.children[n],i))return!1}return!0}{const r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!lt(t.segments,r)&&!!rt(t.segments,r,i)&&!!t.children[q]&&it(t.children[q],e,o,i)}}function rt(t,e,n){return e.every(((e,i)=>tt[n](t[i].parameters,e.parameters)))}class ot{constructor(t=new st([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return ht.serialize(this)}}class st{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach((t=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class at{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=G(this.parameters)),this._parameterMap}toString(){return bt(this)}}function lt(t,e){return t.length===e.length&&t.every(((t,n)=>t.path===e[n].path))}let ct=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new ut},providedIn:"root"}),e})();class ut{parse(t){const e=new Ot(t);return new ot(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${pt(t.root,!0)}`,n=function(t){const e=Object.keys(t).map((e=>{const n=t[e];return Array.isArray(n)?n.map((t=>`${gt(e)}=${gt(t)}`)).join("&"):`${gt(e)}=${gt(n)}`})).filter((t=>!!t));return e.length?`?${e.join("&")}`:""}(t.queryParams);var i;return`${e}${n}${"string"==typeof t.fragment?`#${i=t.fragment,encodeURI(i)}`:""}`}}const ht=new ut;function dt(t){return t.segments.map((t=>bt(t))).join("/")}function pt(t,e){if(!t.hasChildren())return dt(t);if(e){const e=t.children[q]?pt(t.children[q],!1):"",n=[];return Object.entries(t.children).forEach((([t,e])=>{t!==q&&n.push(`${t}:${pt(e,!1)}`)})),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach((([t,i])=>{t===q&&(n=n.concat(e(i,t)))})),Object.entries(t.children).forEach((([t,i])=>{t!==q&&(n=n.concat(e(i,t)))})),n}(t,((e,n)=>n===q?[pt(t.children[q],!1)]:[`${n}:${pt(e,!1)}`]));return 1===Object.keys(t.children).length&&null!=t.children[q]?`${dt(t)}/${e[0]}`:`${dt(t)}/(${e.join("//")})`}}function ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gt(t){return ft(t).replace(/%3B/gi,";")}function mt(t){return ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vt(t){return decodeURIComponent(t)}function yt(t){return vt(t.replace(/\+/g,"%20"))}function bt(t){return`${mt(t.path)}${e=t.parameters,Object.keys(e).map((t=>`;${mt(t)}=${mt(e[t])}`)).join("")}`;var e}const _t=/^[^\/()?;#]+/;function wt(t){const e=t.match(_t);return e?e[0]:""}const xt=/^[^\/()?;=#]+/,Ct=/^[^=?&#]+/,kt=/^[^&#]+/;class Ot{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new st([],{}):new st([],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[q]=new st(t,e)),n}parseSegment(){const t=wt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new i.vHH(4009,!1);return this.capture(t),new at(vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(xt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=wt(this.remaining);t&&(n=t,this.capture(n))}t[vt(e)]=vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Ct);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(kt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=yt(e),r=yt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=wt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new i.vHH(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=q);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[q]:new st([],s),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 i.vHH(4011,!1)}}function Mt(t){return t.segments.length>0?new st([],{[q]:t}):t}function St(t){const e={};for(const n of Object.keys(t.children)){const i=St(t.children[n]);if(n===q&&0===i.segments.length&&i.hasChildren())for(const[t,n]of Object.entries(i.children))e[t]=n;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[q]){const e=t.children[q];return new st(t.segments.concat(e.segments),e.children)}return t}(new st(t.segments,e))}function At(t){return t instanceof ot}function Pt(t){let e;const n=Mt(function n(i){const r={};for(const t of i.children){const e=n(t);r[t.outlet]=e}const o=new st(i.url,r);return i===t&&(e=o),o}(t.root));return e??n}function Et(t,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(0===e.length)return Dt(o,o,o,n,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Nt(!0,0,t);let e=0,n=!1;const i=t.reduce(((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return Object.entries(i.outlets).forEach((([t,n])=>{e[t]="string"==typeof n?n.split("/"):n})),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach(((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))})),t):[...t,i]}),[]);return new Nt(n,e,i)}(e);if(s.toRoot())return Dt(o,o,new st([],{}),n,r);const a=function(t,e,n){if(t.isAbsolute)return new Ft(e,!0,0);if(!n)return new Ft(e,!1,NaN);if(null===n.parent)return new Ft(n,!0,0);const r=Tt(t.commands[0])?0:1;return function(t,e,n){let r=t,o=e,s=n;for(;s>o;){if(s-=o,r=r.parent,!r)throw new i.vHH(4005,!1);o=r.segments.length}return new Ft(r,!1,o-s)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(s,o,t),l=a.processChildren?Rt(a.segmentGroup,a.index,s.commands):Lt(a.segmentGroup,a.index,s.commands);return Dt(o,a.segmentGroup,l,n,r)}function Tt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function It(t){return"object"==typeof t&&null!=t&&t.outlets}function Dt(t,e,n,i,r){let o,s={};i&&Object.entries(i).forEach((([t,e])=>{s[t]=Array.isArray(e)?e.map((t=>`${t}`)):`${e}`})),o=t===e?n:zt(t,e,n);const a=Mt(St(o));return new ot(a,s,r)}function zt(t,e,n){const i={};return Object.entries(t.children).forEach((([t,r])=>{i[t]=r===e?n:zt(r,e,n)})),new st(t.segments,i)}class Nt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Tt(n[0]))throw new i.vHH(4003,!1);const r=n.find(It);if(r&&r!==W(n))throw new i.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ft{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Lt(t,e,n){if(t||(t=new st([],{})),0===t.segments.length&&t.hasChildren())return Rt(t,e,n);const i=function(t,e,n){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const e=t.segments[r],s=n[i];if(It(s))break;const a=`${s}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Vt(a,l,e))return o;i+=2}else{if(!Vt(a,{},e))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndext!==q))&&t.children[q]&&1===t.numberOfChildren&&0===t.children[q].segments.length){const i=Rt(t.children[q],e,n);return new st(t.segments,i.children)}return Object.entries(i).forEach((([n,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(r[n]=Lt(t.children[n],e,i))})),Object.entries(t.children).forEach((([t,e])=>{void 0===i[t]&&(r[t]=e)})),new st(t.segments,r)}}function Bt(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=Bt(new st([],{}),0,n))})),e}function Ht(t){const e={};return Object.entries(t).forEach((([t,n])=>e[t]=`${n}`)),e}function Vt(t,e,n){return t==n.path&&J(e,n.parameters)}const $t="imperative";class qt{constructor(t,e){this.id=t,this.url=e}}class Zt extends qt{constructor(t,e,n="imperative",i=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends qt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Gt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=16}}class Jt extends qt{constructor(t,e,n,i){super(t,e),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt extends qt{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ne{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ie{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}class le{}class ce{constructor(t){this.url=t}}class ue{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new he,this.attachRef=null}}let he=(()=>{var t;class e{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 ue,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class de{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=pe(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=pe(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=fe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return fe(t,this._root).map((t=>t.value))}}function pe(t,e){if(t===e.value)return e;for(const n of e.children){const e=pe(t,n);if(e)return e}return null}function fe(t,e){if(t===e.value)return[e];for(const n of e.children){const i=fe(t,n);if(i.length)return i.unshift(e),i}return[]}class ge{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function me(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class ve extends de{constructor(t,e){super(t),this.snapshot=e,Ce(this,t)}toString(){return this.snapshot.toString()}}function ye(t,e){const n=function(t,e){const n=new we([],{},{},"",{},q,e,null,{});return new xe("",new ge(n,[]))}(0,e),i=new a.X([new at("",{})]),r=new a.X({}),o=new a.X({}),s=new a.X({}),l=new a.X(""),c=new be(i,r,s,l,o,q,e,n.root);return c.snapshot=n.root,new ve(new ge(c,[]),n)}class be{constructor(t,e,n,i,r,o,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=r,this.outlet=o,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe((0,C.U)((t=>t[Z])))??(0,s.of)(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r}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,C.U)((t=>G(t))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)((t=>G(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _e(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce(((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}})),{params:{},data:{},resolve:{}})}(n.slice(i))}class we{get title(){return this.data?.[Z]}constructor(t,e,n,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._resolve=l}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=G(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((t=>t.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xe extends de{constructor(t,e){super(e),this.url=t,Ce(this,e)}toString(){return ke(this._root)}}function Ce(t,e){e.value._routerState=t,e.children.forEach((e=>Ce(t,e)))}function ke(t){const e=t.children.length>0?` { ${t.children.map(ke).join(", ")} } `:"";return`${t.value}${e}`}function Oe(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,J(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),J(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nJ(t.parameters,r[e].parameters)));var i,r;const o=!t.parent!=!e.parent;return n&&!o&&(!t.parent||Me(t.parent,e.parent))}let Se=(()=>{var t;class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(he),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb),this.inputBinder=(0,i.f3M)(Pe,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}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 i.vHH(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,o=this.parentContexts.getOrCreateContext(this.name).children,s=new Ae(t,o,n.injector);this.activated=n.createComponent(r,{index:n.length,injector:s,environmentInjector:e??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]}),e})();class Ae{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===be?this.route:t===he?this.childContexts:this.parent.get(t,e)}}const Pe=new i.OlP("");function Ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map((e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return Ee(t,e,i);return Ee(t,e)}))}(t,e,n);return new ge(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const i=n.route;return i.value._futureSnapshot=e.value,i.children=e.children.map((e=>Ee(t,e))),i}}const n=(i=e.value,new be(new a.X(i.url),new a.X(i.params),new a.X(i.queryParams),new a.X(i.fragment),new a.X(i.data),i.outlet,i.component,i)),r=e.children.map((e=>Ee(t,e)));return new ge(n,r)}var i}const Te="ngNavigationCancelingError";function Ie(t,e){const{redirectTo:n,navigationBehaviorOptions:i}=At(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=De(!1,0,e);return r.url=n,r.navigationBehaviorOptions=i,r}function De(t,e,n){const i=new Error("NavigationCancelingError: "+(t||""));return i[Te]=!0,i.cancellationCode=e,n&&(i.url=n),i}function ze(t){return t&&t[Te]}let Ne=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},dependencies:[Se],encapsulation:2}),e})();function Fe(t){const e=t.children&&t.children.map(Fe),n=e?{...t,children:e}:{...t};return n.component||n.loadComponent||!e&&!n.loadChildren||!n.outlet||n.outlet===q||(n.component=Ne),n}function Le(t){return t.outlet||q}function Re(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Be{constructor(t,e,n,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Oe(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]})),Object.values(i).forEach((t=>{this.deactivateRouteAndItsChildren(t,n)}))}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new se(t.value.snapshot))})),t.children.length&&this.forwardEvent(new re(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(Oe(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const n=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),Oe(n.route.value),this.activateChildRoutes(t,null,e.children)}else{const n=Re(i.snapshot);e.attachRef=null,e.route=i,e.injector=n,e.outlet&&e.outlet.activateWith(i,e.injector),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}class je{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class He{constructor(t,e){this.component=t,this.route=e}}function Ve(t,e,n){const i=t._root;return qe(i,e?e._root:null,n,[i.value])}function $e(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||(0,i.Z0I)(t)?e.get(t):t:r}function qe(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=me(e);return t.children.forEach((t=>{!function(t,e,n,i,r={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!lt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!lt(t.url,e.url)||!J(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Me(t,e)||!J(t.queryParams,e.queryParams);default:return!Me(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new je(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?qe(t,e,a?a.children:null,i,r):qe(t,e,n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new He(a.outlet.component,s))}else s&&Ze(e,a,r),r.canActivateChecks.push(new je(i)),o.component?qe(t,null,a?a.children:null,i,r):qe(t,null,n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]})),Object.entries(o).forEach((([t,e])=>Ze(e,n.getContext(t),r))),r}function Ze(t,e,n){const i=me(t),r=t.value;Object.entries(i).forEach((([t,i])=>{r.component?Ze(i,e?e.children.getContext(t):null,n):Ze(i,e,n)})),r.component&&e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new He(e.outlet.component,r)):n.canDeactivateChecks.push(new He(null,r))}function Ue(t){return"function"==typeof t}function Ge(t){return t instanceof l||"EmptyError"===t?.name}const Qe=Symbol("INITIAL_VALUE");function Je(){return(0,k.w)((t=>(0,c.a)(t.map((t=>t.pipe((0,O.q)(1),(0,M.O)(Qe))))).pipe((0,C.U)((t=>{for(const e of t)if(!0!==e){if(e===Qe)return Qe;if(!1===e||e instanceof ot)return e}return!0})),(0,S.h)((t=>t!==Qe)),(0,O.q)(1))))}function Ye(t){return(0,d.z)((0,N.b)((t=>{if(At(t))throw Ie(0,t)})),(0,C.U)((t=>!0===t)))}class We{constructor(t){this.segmentGroup=t||null}}class Ke{constructor(t){this.urlTree=t}}function Xe(t){return(0,p._)(new We(t))}function tn(t){return(0,p._)(new Ke(t))}class en{constructor(t,e){this.urlSerializer=t,this.urlTree=e}noMatchError(t){return new i.vHH(4002,!1)}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[q])return t.redirectTo,(0,p._)(new i.vHH(4e3,!1));r=r.children[q]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new ot(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach((([t,i])=>{if("string"==typeof i&&i.startsWith(":")){const r=i.substring(1);n[t]=e[r]}else n[t]=i})),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let o={};return Object.entries(e.children).forEach((([e,r])=>{o[e]=this.createSegmentGroup(t,r,n,i)})),new st(r,o)}createSegments(t,e,n,i){return e.map((e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n)))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new i.vHH(4001,!1);return r}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}const nn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rn(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...nn}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(e.matcher||Q)(n,t,e);if(!i)return{...nn};const r={};Object.entries(i.posParams??{}).forEach((([t,e])=>{r[t]=e.path}));const o=i.consumed.length>0?{...r,...i.consumed[i.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function on(t,e,n,i){if(n.length>0&&function(t,e,n){return n.some((n=>sn(t,e,n)&&Le(n)!==q))}(t,n,i))return{segmentGroup:new st(e,function(t,e){const n={};n[q]=e;for(const e of t)if(""===e.path&&Le(e)!==q){const t=new st([],{});n[Le(e)]=t}return n}(i,new st(n,t.children))),slicedSegments:[]};if(0===n.length&&function(t,e,n){return n.some((n=>sn(t,e,n)))}(t,n,i)){const e=new st(t.segments,function(t,e,n,i,r){const o={};for(const e of i)if(sn(t,n,e)&&!r[Le(e)]){const t=new st([],{});o[Le(e)]=t}return{...r,...o}}(t,0,n,i,t.children));return{segmentGroup:e,slicedSegments:n}}return{segmentGroup:new st(t.segments,t.children),slicedSegments:n}}function sn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class an{constructor(t,e,n,i,r,o,s){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=r,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new en(this.urlSerializer,this.urlTree)}noMatchError(t){return new i.vHH(4002,!1)}recognize(){const t=on(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,q).pipe((0,F.K)((t=>{if(t instanceof Ke)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);if(t instanceof We)throw this.noMatchError(t);throw t})),(0,C.U)((t=>{const e=new we([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,{}),n=new ge(e,t),i=new xe("",n),r=function(t,e,n=null,i=null){return Et(Pt(t),e,n,i)}(e,[],this.urlTree.queryParams,this.urlTree.fragment);return r.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(r),this.inheritParamsAndData(i._root),{state:i,tree:r}})))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,q).pipe((0,F.K)((t=>{if(t instanceof We)throw this.noMatchError(t);throw t})))}inheritParamsAndData(t){const e=t.value,n=_e(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,i){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,i,!0)}processChildren(t,e,n){const i=[];for(const t of Object.keys(n.children))"primary"===t?i.unshift(t):i.push(t);return(0,o.D)(i).pipe((0,z.b)((i=>{const r=n.children[i],o=function(t,e){const n=t.filter((t=>Le(t)===e));return n.push(...t.filter((t=>Le(t)!==e))),n}(e,i);return this.processSegmentGroup(t,o,r,i)})),(0,L.R)(((t,e)=>(t.push(...e),t))),(0,P.d)(null),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,R(1),n?(0,P.d)(e):E((()=>new l)))}(),(0,A.z)((t=>{if(null===t)return Xe(n);const e=cn(t);return e.sort(((t,e)=>t.value.outlet===q?-1:e.value.outlet===q?1:t.value.outlet.localeCompare(e.value.outlet))),(0,s.of)(e)})))}processSegment(t,e,n,i,r,a){return(0,o.D)(e).pipe((0,z.b)((o=>this.processSegmentAgainstRoute(o._injector??t,e,o,n,i,r,a).pipe((0,F.K)((t=>{if(t instanceof We)return(0,s.of)(null);throw t}))))),D((t=>!!t)),(0,F.K)((t=>{if(Ge(t))return function(t,e,n){return 0===e.length&&!t.children[n]}(n,i,r)?(0,s.of)([]):Xe(n);throw t})))}processSegmentAgainstRoute(t,e,n,i,r,o,s){return function(t,e,n,i){return!!(Le(t)===i||i!==q&&sn(e,n,t))&&("**"===t.path||rn(e,t,n).matched)}(n,i,r,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,i,n,r,o,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,i,e,n,r,o):Xe(i):Xe(i)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?tn(r):this.applyRedirects.lineralizeSegments(n,r).pipe((0,A.z)((n=>{const r=new st(n,{});return this.processSegment(t,e,r,n,i,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){const{matched:s,consumedSegments:a,remainingSegments:l,positionalParamSegments:c}=rn(e,i,r);if(!s)return Xe(e);const u=this.applyRedirects.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?tn(u):this.applyRedirects.lineralizeSegments(i,u).pipe((0,A.z)((i=>this.processSegment(t,n,e,i.concat(l),o,!1))))}matchSegmentAgainstRoute(t,e,n,r,o,a){let l;if("**"===n.path){const t=r.length>0?W(r).parameters:{},i=new we(r,t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n));l=(0,s.of)({snapshot:i,consumedSegments:[],remainingSegments:[]}),e.children={}}else l=function(t,e,n,r,o){const a=rn(t,e,n);return a.matched?(r=function(t,e){return t.providers&&!t._injector&&(t._injector=(0,i.MMx)(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n,i){const r=e.canMatch;if(!r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canMatch)}(r)?r.canMatch(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(r,e,n).pipe((0,C.U)((t=>!0===t?a:{...nn})))):(0,s.of)(a)}(e,n,r,t,this.urlSerializer).pipe((0,C.U)((({matched:t,consumedSegments:e,remainingSegments:i,parameters:r})=>t?{snapshot:new we(e,r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n)),consumedSegments:e,remainingSegments:i}:null)));return l.pipe((0,k.w)((i=>null===i?Xe(e):(t=n._injector??t,this.getChildConfig(t,n,r).pipe((0,k.w)((({routes:r})=>{const a=n._loadedInjector??t,{snapshot:l,consumedSegments:c,remainingSegments:u}=i,{segmentGroup:h,slicedSegments:d}=on(e,c,u,r);if(0===d.length&&h.hasChildren())return this.processChildren(a,r,h).pipe((0,C.U)((t=>null===t?null:[new ge(l,t)])));if(0===r.length&&0===d.length)return(0,s.of)([new ge(l,[])]);const p=Le(n)===o;return this.processSegment(a,r,h,d,p?q:o,!0).pipe((0,C.U)((t=>[new ge(l,t)])))})))))))}getChildConfig(t,e,n){return e.children?(0,s.of)({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector}):function(t,e,n,i){const r=e.canLoad;if(void 0===r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canLoad)}(r)?r.canLoad(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(t,e,n,this.urlSerializer).pipe((0,A.z)((n=>n?this.configLoader.loadChildren(t,e).pipe((0,N.b)((t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector}))):(0,p._)(De(!1,3))))):(0,s.of)({routes:[],injector:t})}}function ln(t){const e=t.value.routeConfig;return e&&""===e.path}function cn(t){const e=[],n=new Set;for(const i of t){if(!ln(i)){e.push(i);continue}const t=e.find((t=>i.value.routeConfig===t.value.routeConfig));void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const t of n){const n=cn(t.children);e.push(new ge(t.value,n))}return e.filter((t=>!n.has(t)))}function un(t){return t.data||{}}function hn(t){return t.resolve||{}}function dn(t){return"string"==typeof t.title||null===t.title}function pn(t){return(0,k.w)((e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,C.U)((()=>e))):(0,s.of)(e)}))}const fn=new i.OlP("ROUTES");let gn=(()=>{var t;class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return(0,s.of)(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const e=K(t.loadComponent()).pipe((0,C.U)(mn),(0,N.b)((e=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=e})),(0,j.x)((()=>{this.componentLoaders.delete(t)}))),n=new _(e,(()=>new w.x)).pipe(b());return this.componentLoaders.set(t,n),n}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const n=function(t,e,n,r){return K(t.loadChildren()).pipe((0,C.U)(mn),(0,A.z)((t=>t instanceof i.YKP||Array.isArray(t)?(0,s.of)(t):(0,o.D)(e.compileModuleAsync(t)))),(0,C.U)((e=>{let i,o;r&&r(t);return Array.isArray(e)?o=e:(i=e.create(n).injector,o=i.get(fn,[],{optional:!0,self:!0}).flat()),{routes:o.map(Fe),injector:i}})))}(e,this.compiler,t,this.onLoadEndListener),r=n.pipe((0,j.x)((()=>{this.childrenLoaders.delete(e)}))),a=new _(r,(()=>new w.x)).pipe(b());return this.childrenLoaders.set(e,a),a}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function mn(t){return(e=t)&&"object"==typeof e&&"default"in e?t.default:t;var e}let vn=(()=>{var t;class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new w.x,this.transitionAbortSubject=new w.x,this.configLoader=(0,i.f3M)(gn),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(ct),this.rootContexts=(0,i.f3M)(he),this.inputBindingEnabled=null!==(0,i.f3M)(Pe,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,s.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=t=>this.events.next(new ne(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new ee(t))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:e})}setupNavigations(t,e,n){return this.transitions=new a.X({id:0,currentUrlTree:e,currentRawUrl:e,currentBrowserUrl:e,extractedUrl:t.urlHandlingStrategy.extract(e),urlAfterRedirects:t.urlHandlingStrategy.extract(e),rawUrl:e,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:$t,restoredState:null,currentSnapshot:n.snapshot,targetSnapshot:null,currentRouterState:n,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,S.h)((t=>0!==t.id)),(0,C.U)((e=>({...e,extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)}))),(0,k.w)((e=>{this.currentTransition=e;let n=!1,i=!1;return(0,s.of)(e).pipe((0,N.b)((t=>{this.currentNavigation={id:t.id,initialUrl:t.rawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),(0,k.w)((n=>{const i=n.currentBrowserUrl.toString(),r=!t.navigated||n.extractedUrl.toString()!==i||i!==n.currentUrlTree.toString(),o=n.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!r&&"reload"!==o){const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.rawUrl),t,0)),n.resolve(null),f.E}if(t.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return(0,s.of)(n).pipe((0,k.w)((t=>{const e=this.transitions?.getValue();return this.events.next(new Zt(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),e!==this.transitions?.getValue()?f.E:Promise.resolve(t)})),(a=this.environmentInjector,l=this.configLoader,c=this.rootComponentType,u=t.config,h=this.urlSerializer,d=t.paramsInheritanceStrategy,(0,A.z)((t=>function(t,e,n,i,r,o,s="emptyOnly"){return new an(t,e,n,i,r,s,o).recognize()}(a,l,c,u,t.extractedUrl,h,d).pipe((0,C.U)((({state:e,tree:n})=>({...t,targetSnapshot:e,urlAfterRedirects:n}))))))),(0,N.b)((t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:t.urlAfterRedirects};const n=new Yt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(n)})));var a,l,c,u,h,d;if(r&&t.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:i,source:r,restoredState:o,extras:a}=n,l=new Zt(t,this.urlSerializer.serialize(i),r,o);this.events.next(l);const c=ye(0,this.rootComponentType).snapshot;return this.currentTransition=e={...n,targetSnapshot:c,urlAfterRedirects:i,extras:{...a,skipLocationChange:!1,replaceUrl:!1}},(0,s.of)(e)}{const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.extractedUrl),t,1)),n.resolve(null),f.E}})),(0,N.b)((t=>{const e=new Wt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,C.U)((t=>(this.currentTransition=e={...t,guards:Ve(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e))),function(t,e){return(0,A.z)((n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,s.of)({...n,guardsResult:!0}):function(t,e,n,i){return(0,o.D)(t).pipe((0,A.z)((t=>function(t,e,n,i,r){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=Re(e)??r,a=$e(o,s);return K(function(t){return t&&Ue(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,i):s.runInContext((()=>a(t,e,n,i)))).pipe(D())}));return(0,s.of)(a).pipe(Je())}(t.component,t.route,n,e,i))),D((t=>!0!==t),!0))}(l,i,r,t).pipe((0,A.z)((n=>n&&"boolean"==typeof n?function(t,e,n,i){return(0,o.D)(e).pipe((0,z.b)((e=>(0,u.z)(function(t,e){return null!==t&&e&&e(new ie(t)),(0,s.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new oe(t)),(0,s.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=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,h.P)((()=>{const r=e.guards.map((r=>{const o=Re(e.node)??n,s=$e(r,o);return K(function(t){return t&&Ue(t.canActivateChild)}(s)?s.canActivateChild(i,t):o.runInContext((()=>s(i,t)))).pipe(D())}));return(0,s.of)(r).pipe(Je())}))));return(0,s.of)(r).pipe(Je())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map((i=>(0,h.P)((()=>{const r=Re(e)??n,o=$e(i,r);return K(function(t){return t&&Ue(t.canActivate)}(o)?o.canActivate(e,t):r.runInContext((()=>o(e,t)))).pipe(D())}))));return(0,s.of)(r).pipe(Je())}(t,e.route,n)))),D((t=>!0!==t),!0))}(i,a,t,e):(0,s.of)(n))),(0,C.U)((t=>({...n,guardsResult:t}))))}))}(this.environmentInjector,(t=>this.events.next(t))),(0,N.b)((t=>{if(e.guardsResult=t.guardsResult,At(t.guardsResult))throw Ie(this.urlSerializer,t.guardsResult);const n=new Kt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(n)})),(0,S.h)((t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",3),!1))),pn((e=>{if(e.guards.canActivateChecks.length)return(0,s.of)(e).pipe((0,N.b)((t=>{const e=new Xt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,k.w)((e=>{let n=!1;return(0,s.of)(e).pipe((i=t.paramsInheritanceStrategy,r=this.environmentInjector,(0,A.z)((t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return(0,s.of)(t);let a=0;return(0,o.D)(n).pipe((0,z.b)((t=>function(t,e,n,i){const r=t.routeConfig,a=t._resolve;return void 0===r?.title||dn(r)||(a[Z]=r.title),function(t,e,n,i){const r=(a=t,[...Object.keys(a),...Object.getOwnPropertySymbols(a)]);var a;if(0===r.length)return(0,s.of)({});const l={};return(0,o.D)(r).pipe((0,A.z)((r=>function(t,e,n,i){const r=Re(e)??i,o=$e(t,r);return K(o.resolve?o.resolve(e,n):r.runInContext((()=>o(e,n))))}(t[r],e,n,i).pipe(D(),(0,N.b)((t=>{l[r]=t}))))),R(1),(0,B.h)(l),(0,F.K)((t=>Ge(t)?f.E:(0,p._)(t))))}(a,t,e,i).pipe((0,C.U)((e=>(t._resolvedData=e,t.data=_e(t,n).resolve,r&&dn(r)&&(t.data[Z]=r.title),null))))}(t.route,e,i,r))),(0,N.b)((()=>a++)),R(1),(0,A.z)((e=>a===n.length?(0,s.of)(t):f.E)))}))),(0,N.b)({next:()=>n=!0,complete:()=>{n||this.cancelNavigationTransition(e,"",2)}}));var i,r})),(0,N.b)((t=>{const e=new te(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})))})),pn((t=>{const e=t=>{const n=[];t.routeConfig?.loadComponent&&!t.routeConfig._loadedComponent&&n.push(this.configLoader.loadComponent(t.routeConfig).pipe((0,N.b)((e=>{t.component=e})),(0,C.U)((()=>{}))));for(const i of t.children)n.push(...e(i));return n};return(0,c.a)(e(t.targetSnapshot.root)).pipe((0,P.d)(),(0,O.q)(1))})),pn((()=>this.afterPreactivation())),(0,C.U)((n=>{const i=function(t,e,n){const i=Ee(t,e._root,n?n._root:void 0);return new ve(i,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e={...n,targetRouterState:i},e})),(0,N.b)((()=>{this.events.next(new le)})),(r=this.rootContexts,a=t.routeReuseStrategy,l=t=>this.events.next(t),d=this.inputBindingEnabled,(0,C.U)((t=>(new Be(a,t.targetRouterState,t.currentRouterState,l,d).activate(r),t)))),(0,O.q)(1),(0,N.b)({next:e=>{n=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ut(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects))),t.titleStrategy?.updateTitle(e.targetRouterState.snapshot),e.resolve(!0)},complete:()=>{n=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,N.b)((t=>{throw t})))),(0,j.x)((()=>{if(!n&&!i){const t="";this.cancelNavigationTransition(e,t,1)}this.currentNavigation?.id===e.id&&(this.currentNavigation=null)})),(0,F.K)((n=>{if(i=!0,ze(n))this.events.next(new Gt(e.id,this.urlSerializer.serialize(e.extractedUrl),n.message,n.cancellationCode)),ze(r=n)&&At(r.url)?this.events.next(new ce(n.url)):e.resolve(!1);else{this.events.next(new Jt(e.id,this.urlSerializer.serialize(e.extractedUrl),n,e.targetSnapshot??void 0));try{e.resolve(t.errorHandler(n))}catch(t){e.reject(t)}}var r;return f.E})));var r,a,l,d})))}cancelNavigationTransition(t,e,n){const i=new Gt(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(i),t.resolve(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function yn(t){return t!==$t}let bn=(()=>{var t;class e{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find((t=>t.outlet===q));return e}getResolvedTitleForRoute(t){return t.data[Z]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(_n)},providedIn:"root"}),e})(),_n=(()=>{var t;class e extends bn{constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG($.Dx))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),wn=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Cn)},providedIn:"root"}),e})();class xn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Cn=(()=>{var t;class e extends xn{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const kn=new i.OlP("",{providedIn:"root",factory:()=>({})});let On=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Mn)},providedIn:"root"}),e})(),Mn=(()=>{var t;class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var Sn=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Sn||{});function An(t){throw t}function Pn(t,e,n){return e.parse("/")}const En={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Tn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let In=(()=>{var t;class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.ɵrouterPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this._events=new w.x,this.options=(0,i.f3M)(kn,{optional:!0})||{},this.pendingTasks=(0,i.f3M)(i.HDt),this.errorHandler=this.options.errorHandler||An,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Pn,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(On),this.routeReuseStrategy=(0,i.f3M)(wn),this.titleStrategy=(0,i.f3M)(bn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,i.f3M)(fn,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.f3M)(vn),this.urlSerializer=(0,i.f3M)(ct),this.location=(0,i.f3M)(x.Ye),this.componentInputBindingEnabled=!!(0,i.f3M)(Pe,{optional:!0}),this.eventsSubscription=new m.w0,this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ot,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ye(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe((t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId}),(t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe((t=>{try{const{currentTransition:e}=this.navigationTransitions;if(null===e)return void(Dn(t)&&this._events.next(t));if(t instanceof Zt)yn(e.source)&&(this.browserUrlTree=e.extractedUrl);else if(t instanceof Qt)this.rawUrlTree=e.rawUrl;else if(t instanceof Yt){if("eager"===this.urlUpdateStrategy){if(!e.extras.skipLocationChange){const t=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl);this.setBrowserUrl(t,e)}this.browserUrlTree=e.urlAfterRedirects}}else if(t instanceof le)this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects);else if(t instanceof Gt)0!==t.code&&1!==t.code&&(this.navigated=!0),3!==t.code&&2!==t.code||this.restoreHistory(e);else if(t instanceof ce){const n=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),i={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yn(e.source)};this.scheduleNavigation(n,$t,null,i,{resolve:e.resolve,reject:e.reject,promise:e.promise})}t instanceof Jt&&this.restoreHistory(e,!0),t instanceof Ut&&(this.navigated=!0),Dn(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}}));this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),$t,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((t=>{const e="popstate"===t.type?"popstate":"hashchange";"popstate"===e&&setTimeout((()=>{this.navigateToSyncWithBrowser(t.url,e,t.state)}),0)})))}navigateToSyncWithBrowser(t,e,n){const i={replaceUrl:!0},r=n?.navigationId?n:null;if(n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,0!==Object.keys(t).length&&(i.state=t)}const o=this.parseUrl(t);this.scheduleNavigation(o,e,r,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Fe),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=e,a=s?this.currentUrlTree.fragment:r;let l,c=null;switch(o){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{l=Pt(n?n.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof t[0]&&t[0].startsWith("/")||(t=[]),l=this.currentUrlTree.root}return Et(l,t,c,a??null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=At(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,$t,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e}),{})}scheduleNavigation(t,e,n,i,r){if(this.disposed)return Promise.resolve(!1);let o,s,a;r?(o=r.resolve,s=r.reject,a=r.promise):a=new Promise(((t,e)=>{o=t,s=e}));const l=this.pendingTasks.add();return c=()=>{queueMicrotask((()=>this.pendingTasks.remove(l)))},this.events.pipe((0,S.h)((t=>t instanceof Ut||t instanceof Gt||t instanceof Jt||t instanceof Qt)),(0,C.U)((t=>t instanceof Ut||t instanceof Qt?Sn.COMPLETE:t instanceof Gt&&(0===t.code||1===t.code)?Sn.REDIRECTING:Sn.FAILED)),(0,S.h)((t=>t!==Sn.REDIRECTING)),(0,O.q)(1)).subscribe((()=>{c()})),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((t=>Promise.reject(t)));var c}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl){const t=this.browserPageId,i={...e.extras.state,...this.generateNgRouterState(e.id,t)};this.location.replaceState(n,"",i)}else{const t={...e.extras.state,...this.generateNgRouterState(e.id,this.browserPageId+1)};this.location.go(n,"",t)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.browserPageId,n=this.currentPageId-e;0!==n?this.location.historyGo(n):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===n&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}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))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e}:{navigationId:t}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dn(t){return!(t instanceof le||t instanceof ce)}let zn=(()=>{var t;class e{constructor(t,e,n,i,r,o){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=i,this.el=r,this.locationStrategy=o,this.href=null,this.commands=null,this.onChanges=new w.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const s=r.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===s||"area"===s,this.isAnchorElement?this.subscription=t.events.subscribe((t=>{t instanceof Ut&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,e,n,i,r){if(null===this.urlTree)return!0;if(this.isAnchorElement){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const o={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,o),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,e){const n=this.renderer,i=this.el.nativeElement;null!==e?n.setAttribute(i,t,e):n.removeAttribute(i,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(be),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(x.S$))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLink",""]],hostVars:1,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.uIk("target",e.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",i.VuI],replaceUrl:["replaceUrl","replaceUrl",i.VuI],routerLink:"routerLink"},standalone:!0,features:[i.Xq5,i.TTD]}),e})(),Nn=(()=>{var t;class e{get isActive(){return this._isActive}constructor(t,e,n,r,o){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.vpe,this.routerEventsSubscription=t.events.subscribe((t=>{t instanceof Ut&&this.update()}))}ngAfterContentInit(){(0,s.of)(this.links.changes,(0,s.of)(null)).pipe((0,V.J)()).subscribe((t=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter((t=>!!t)).map((t=>t.onChanges));this.linkInputChangesSubscription=(0,o.D)(t).pipe((0,V.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(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask((()=>{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)})),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))}))}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>!!n.urlTree&&t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(zn,8))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,zn,5),2&t){let t;i.iGM(t=i.CRH())&&(e.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[i.TTD]}),e})();const Fn=new i.OlP("");let Ln=(()=>{var t;class e{constructor(t,e,n,i,r={}){this.urlSerializer=t,this.transitions=e,this.viewportScroller=n,this.zone=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof Zt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ut?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qt&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof ae&&(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.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new ae(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function Rn(t,...e){return(0,i.MR2)([{provide:fn,multi:!0,useValue:t},[],{provide:be,useFactory:Bn,deps:[In]},{provide:i.tb,multi:!0,useFactory:Hn},e.map((t=>t.ɵproviders))])}function Bn(t){return t.routerState.root}function jn(t={}){return{ɵkind:4,ɵproviders:[{provide:Fn,useFactory:()=>{const e=(0,i.f3M)(x.EM),n=(0,i.f3M)(i.R0b),r=(0,i.f3M)(vn),o=(0,i.f3M)(ct);return new Ln(o,r,e,n,t)}}]}}function Hn(){const t=(0,i.f3M)(i.zs3);return e=>{const n=t.get(i.z2F);if(e!==n.components[0])return;const r=t.get(In),o=t.get(Vn);1===t.get($n)&&r.initialNavigation(),t.get(qn,null,i.XFs.Optional)?.setUpPreloading(),t.get(Fn,null,i.XFs.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}i.Xts;const Vn=new i.OlP("",{factory:()=>new w.x}),$n=new i.OlP("",{providedIn:"root",factory:()=>1}),qn=new i.OlP("");x.Ye},28858:(t,e,n)=>{n.d(e,{ro:()=>a});var i=n(8239),r=n(20755),o=n(43226),s=n(7618);let a=(()=>{class t{constructor(){this.elementRef=(0,r.f3M)(r.SBq).nativeElement,this.ngZone=(0,r.f3M)(r.R0b),this.maskedElement=null,this.options=null,this.elementPredicate=s.gI;const t=(0,r.f3M)(o.Fj,{self:!0,optional:!0});if(t){const e=t.writeValue.bind(t);t.writeValue=t=>{e(this.options?(0,s.CV)(String(t??""),this.options):t)}}}ngOnChanges(){var t=this;return(0,i.Z)((function*(){const{elementPredicate:e,options:n}=t;if(t.maskedElement?.destroy(),!n)return;const i=yield e(t.elementRef);t.elementPredicate===e&&t.ngZone.runOutsideAngular((()=>{t.maskedElement=new s.C8(i,n)}))}))()}ngOnDestroy(){this.maskedElement?.destroy()}}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","maskito",""]],inputs:{options:["maskito","options"],elementPredicate:["maskitoElement","elementPredicate"]},standalone:!0,features:[r.TTD]}),t})()},42772:(t,e,n)=>{n.d(e,{Ct:()=>g,H3:()=>f,KS:()=>y,L1:()=>p,de:()=>v,m9:()=>d,s5:()=>m,yZ:()=>b});var i=n(20755),r=n(48132),o=n(88557),s=n(10409),a=n(73843),l=n(92425),c=n(18004),u=n(20530),h=n(76733);const d=new i.OlP("[WINDOW]: An abstraction over global window object",{factory:()=>{const{defaultView:t}=(0,i.f3M)(h.K0);if(!t)throw new Error("Window is not available");return t}}),p=new i.OlP("[ANIMATION_FRAME]: Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:t,cancelAnimationFrame:e}=(0,i.f3M)(d);return new r.y((n=>{let i=NaN;const r=e=>{n.next(e),i=t(r)};return i=t(r),()=>{e(i)}})).pipe((0,o.B)())}}),f=(new i.OlP("[CACHES]: An abstraction over window.caches object",{factory:()=>(0,i.f3M)(d).caches}),new i.OlP("[CRYPTO]: An abstraction over window.crypto object",{factory:()=>(0,i.f3M)(d).crypto}),new i.OlP("[TOKEN_CSS]: An abstraction over window.CSS object",{factory:()=>(0,i.f3M)(d).CSS??{escape:t=>t,supports:()=>!1}}),new i.OlP("[HISTORY]: An abstraction over window.history object",{factory:()=>(0,i.f3M)(d).history}),new i.OlP("[LOCAL_STORAGE]: An abstraction over window.localStorage object",{factory:()=>(0,i.f3M)(d).localStorage})),g=new i.OlP("[LOCATION]: An abstraction over window.location object",{factory:()=>(0,i.f3M)(d).location}),m=new i.OlP("[NAVIGATOR]: An abstraction over window.navigator object",{factory:()=>(0,i.f3M)(d).navigator}),v=(new i.OlP("[MEDIA_DEVICES]: An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,i.f3M)(m).mediaDevices}),new i.OlP("[NETWORK_INFORMATION]: An abstraction over window.navigator.connection object",{factory:()=>(0,i.f3M)(m).connection||null}),new i.OlP("[PAGE_VISIBILITY]: Shared Observable based on `document visibility changed`",{factory:()=>{const t=(0,i.f3M)(h.K0);return(0,s.R)(t,"visibilitychange").pipe((0,a.O)(0),(0,l.U)((()=>"hidden"!==t.visibilityState)),(0,c.x)(),(0,u.d)({refCount:!1,bufferSize:1}))}})),y=new i.OlP("[PERFORMANCE]: An abstraction over window.performance object",{factory:()=>(0,i.f3M)(d).performance}),b=(new i.OlP("[SCREEN]: An abstraction over window.screen object",{factory:()=>(0,i.f3M)(d).screen}),new i.OlP("[SESSION_STORAGE]: An abstraction over window.sessionStorage object",{factory:()=>(0,i.f3M)(d).sessionStorage}),new i.OlP("[SPEECH_RECOGNITION]: An abstraction over SpeechRecognition class",{factory:()=>{const t=(0,i.f3M)(d);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new i.OlP("[SPEECH_SYNTHESIS]: An abstraction over window.speechSynthesis object",{factory:()=>(0,i.f3M)(d).speechSynthesis}),new i.OlP("[USER_AGENT]: An abstraction over window.navigator.userAgent object",{factory:()=>(0,i.f3M)(m).userAgent}))},81695:(t,e,n)=>{n.d(e,{IM:()=>h,Vi:()=>u,k2:()=>a});var i=n(86889),r=n(20755),o=n(48132);const s="undefined"!=typeof MutationObserver?MutationObserver:class{observe(){}disconnect(){}takeRecords(){return[]}},a=new r.OlP("[MUTATION_OBSERVER_INIT]: MutationObserver config");function l(t,e){return null!==t.getAttribute(e)||void 0}function c({nativeElement:t}){const e=t.getAttribute("attributeFilter");return{attributeFilter:e?.split(",").map((t=>t.trim())),attributeOldValue:l(t,"attributeOldValue"),attributes:l(t,"attributes"),characterData:l(t,"characterData"),characterDataOldValue:l(t,"characterDataOldValue"),childList:l(t,"childList"),subtree:l(t,"subtree")}}let u=(()=>{var t;class e extends s{constructor(t,e,n,o,s,l,c){super((t=>{this.waMutationObserver.emit(t)})),(0,i.Z)(this,"nativeElement",(0,r.f3M)(r.SBq).nativeElement),(0,i.Z)(this,"config",(0,r.f3M)(a)),(0,i.Z)(this,"waMutationObserver",new r.vpe),this.observe(this.nativeElement,this.config)}ngOnDestroy(){this.disconnect()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("attributeFilter"),r.$8M("attributeOldValue"),r.$8M("attributes"),r.$8M("characterData"),r.$8M("characterDataOldValue"),r.$8M("childList"),r.$8M("subtree"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waMutationObserver",""]],outputs:{waMutationObserver:"waMutationObserver"},exportAs:["MutationObserver"],standalone:!0,features:[r._Bn([{provide:a,deps:[r.SBq],useFactory:c}]),r.qOj]})),e})(),h=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(a);super((n=>{const i=new s((t=>{n.next(t)}));return i.observe(t,e),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})()},34749:(t,e,n)=>{n.d(e,{P:()=>h,ax:()=>u});var i=n(86889),r=n(20755),o=n(48132),s=n(42772);const a="undefined"!=typeof ResizeObserver?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},l="content-box",c=new r.OlP("[RESIZE_OPTION_BOX]: Box model to observe changes",{providedIn:"root",factory:()=>l});let u=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(c);super((n=>{const i=new a((t=>n.next(t)));return i.observe(t,{box:e}),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})(),h=(()=>{var t;class e{constructor(t){(0,i.Z)(this,"box",void 0),(0,i.Z)(this,"waResizeObserver",(0,r.f3M)(u)),this.box=t}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("waResizeBox"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waResizeObserver",""]],outputs:{waResizeObserver:"waResizeObserver"},standalone:!0,features:[r._Bn([u,{provide:c,deps:[r.SBq],useFactory:({nativeElement:t})=>t.getAttribute("waResizeBox")||l}])]})),e})();new r.OlP("[RESIZE_OBSERVER_SUPPORT]: Resize Observer API support",{providedIn:"root",factory:()=>!!(0,r.f3M)(s.m9).ResizeObserver})},25797:(t,e,n)=>{n.d(e,{J0:()=>f,uX:()=>g});var i=n(43232),r=n(76733),o=n(20755);class s{supports(t){return t.includes(this.modifier)}unwrap(t){return t.split(".").filter((t=>!this.modifier.includes(t))).join(".")}}const a=new o.OlP("[GLOBAL_HANDLER]: Global event target handler",{factory:()=>{const t=(0,o.f3M)(r.K0);return e=>"body"===e?t.body:t.defaultView[e]||t.createElement("div")}});let l=(()=>{var t;class e extends s{constructor(){super(...arguments),this.handler=(0,o.f3M)(a),this.modifier=">"}addEventListener(t,e,n){return this.manager.addEventListener(this.handler(e.split(">")[0]),e.split(">")[1],n)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),c=(()=>{var t;class e extends s{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,e.includes(".capture"))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),u=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),h=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier="resize"}supports(t){return"resize"===t}addEventListener(t,e,n){if("undefined"==typeof ResizeObserver||!(t instanceof Element))return()=>{};const i=new ResizeObserver((t=>this.manager.getZone().run((()=>n(t)))));return i.observe(t),()=>i.disconnect()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),d=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),p=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(t,n,i){return e.ngZone=this.manager.getZone(),e.ngZone.runOutsideAngular((()=>this.manager.addEventListener(t,this.unwrap(n),i)))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();const f=[p,l,c,u,h,d,(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})()].map((t=>({provide:i.s3,multi:!0,useClass:t})));function g(t){return(e,n,i)=>{const{value:r}=i;i.value=function(...e){t.apply(this,e)&&(p.ngZone?p.ngZone.run((()=>r.apply(this,e))):r.apply(this,e))}}}},25690:(t,e,n)=>{n.d(e,{Al:()=>s,GL:()=>l,s$:()=>c,yf:()=>o});var i=n(86889),r=n(20755);const o=new r.OlP("POLYMORPHEUS_CONTEXT");class s{constructor(t,e){(0,i.Z)(this,"component",void 0),(0,i.Z)(this,"i",void 0),this.component=t,this.i=e}createInjector(t,e){return r.zs3.create({parent:this.i||t,providers:[{provide:o,useValue:e}]})}}class a{constructor(t){(0,i.Z)(this,"$implicit",void 0),this.$implicit=t}get polymorpheusOutlet(){return this.$implicit}}let l=(()=>{var t;class e{constructor(t=(0,r.f3M)(r.Rgc,{self:!0}),e=(0,r.f3M)(r.sBO)){(0,i.Z)(this,"template",void 0),(0,i.Z)(this,"cdr",void 0),(0,i.Z)(this,"polymorpheus",""),this.template=t,this.cdr=e}static ngTemplateContextGuard(t,e){return!0}check(){this.cdr.markForCheck()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.sBO))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"],standalone:!0})),e})(),c=(()=>{var t;class e{constructor(){(0,i.Z)(this,"vcr",(0,r.f3M)(r.s_b)),(0,i.Z)(this,"i",(0,r.f3M)(r.gxx)),(0,i.Z)(this,"t",(0,r.f3M)(r.Rgc)),(0,i.Z)(this,"c",void 0),(0,i.Z)(this,"content",""),(0,i.Z)(this,"context",void 0)}static ngTemplateContextGuard(t,e){return!0}ngOnChanges({content:t}){const e=this.getContext();if(this.c?.injector.get(r.sBO).markForCheck(),!t)return;this.vcr.clear();const n=e&&new Proxy(e,{get:(t,e)=>this.getContext()?.[e]});h(this.content)?this.process(this.content,n):null!=(e instanceof a&&e.$implicit)&&this.vcr.createEmbeddedView(this.template,n,{injector:this.i})}ngDoCheck(){u(this.content)&&this.content.check()}get template(){return u(this.content)?this.content.template:this.content instanceof r.Rgc?this.content:this.t}getContext(){return u(t=this.content)||t instanceof r.Rgc||h(this.content)?this.context:new a(this.context&&"function"==typeof this.content?this.content(this.context):this.content);var t}process(t,e){const n=t.createInjector(this.i,e);this.c=this.vcr.createComponent(t.component,{injector:n})}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},standalone:!0,features:[r.TTD]})),e})();function u(t){return t instanceof l}function h(t){return t instanceof s}},89088:(t,e,n)=>{n.d(e,{Z:()=>pn});var i={};n.r(i),n.d(i,{decode:()=>c,encode:()=>d,format:()=>p,parse:()=>M});var r={};n.r(r),n.d(r,{Any:()=>P,Cc:()=>E,Cf:()=>T,P:()=>S,S:()=>A,Z:()=>I});var o={};n.r(o),n.d(o,{arrayReplaceAt:()=>et,assign:()=>tt,escapeHtml:()=>pt,escapeRE:()=>gt,fromCodePoint:()=>it,has:()=>X,isMdAsciiPunct:()=>bt,isPunctChar:()=>yt,isSpace:()=>mt,isString:()=>W,isValidEntityCode:()=>nt,isWhiteSpace:()=>vt,lib:()=>wt,normalizeReference:()=>_t,unescapeAll:()=>lt,unescapeMd:()=>at});var s={};n.r(s),n.d(s,{parseLinkDestination:()=>Ct,parseLinkLabel:()=>xt,parseLinkTitle:()=>kt});const a={};function l(t,e){"string"!=typeof e&&(e=l.defaultChars);const n=function(t){let e=a[t];if(e)return e;e=a[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);e.push(n)}for(let n=0;n=55296&&t<=57343?"���":String.fromCharCode(t),i+=6;continue}}if(240==(248&o)&&i+91114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),i+=9;continue}}e+="�"}}return e}))}l.defaultChars=";/?:@&=+$,#",l.componentChars="";const c=l,u={};function h(t,e,n){"string"!=typeof e&&(n=e,e=h.defaultChars),void 0===n&&(n=!0);const i=function(t){let e=u[t];if(e)return e;e=u[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&e+1=56320&&n<=57343){r+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(t[e])}return r}h.defaultChars=";/?:@&=+$,-_.!~*'()#",h.componentChars="-_.!~*'()";const d=h;function p(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function f(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const g=/^([a-z0-9.+-]+:)/i,m=/:[0-9]*$/,v=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,y=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),b=["'"].concat(y),_=["%","/","?",";","#"].concat(b),w=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,C=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,k={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};f.prototype.parse=function(t,e){let n,i,r,o=t;if(o=o.trim(),!e&&1===t.split("#").length){const t=v.exec(o);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let s=g.exec(o);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,o=o.substr(s.length)),(e||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),!r||s&&k[s]||(o=o.substr(2),this.slashes=!0)),!k[s]&&(r||s&&!O[s])){let t,e,n=-1;for(let t=0;t127?i+="x":i+=n[t];if(!i.match(x)){const i=t.slice(0,e),r=t.slice(e+1),s=n.match(C);s&&(i.push(s[1]),r.unshift(s[2])),r.length&&(o=r.join(".")+o),this.hostname=i.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),O[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},f.prototype.parseHost=function(t){let e=m.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const M=function(t,e){if(t&&t instanceof f)return t;const n=new f;return n.parse(t,e),n},S=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,A=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,P=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,E=/[\0-\x1F\x7F-\x9F]/,T=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,I=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,D=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),z=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var N;const F=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),L=null!==(N=String.fromCodePoint)&&void 0!==N?N:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var R=function(t){return t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",t}(R||{}),B=function(t){return t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE",t}(B||{});function j(t){return t>=R.ZERO&&t<=R.NINE}var H=function(t){return t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity",t}(H||{}),V=function(t){return t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute",t}(V||{});class ${constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=H.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=V.Strict}startEntity(t){this.decodeMode=t,this.state=H.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case H.EntityStart:return t.charCodeAt(e)===R.NUM?(this.state=H.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=H.NamedEntity,this.stateNamedEntity(t,e));case H.NumericStart:return this.stateNumericStart(t,e);case H.NumericDecimal:return this.stateNumericDecimal(t,e);case H.NumericHex:return this.stateNumericHex(t,e);case H.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===R.LOWER_X?(this.state=H.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=H.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e=R.UPPER_A&&i<=R.UPPER_F||i>=R.LOWER_A&&i<=R.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}var i;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=F.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==R.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14;for(;e=R.UPPER_A&&t<=R.UPPER_Z||t>=R.LOWER_A&&t<=R.LOWER_Z||j(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14,0!==r){if(s===R.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==V.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var o;return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,i=(n[e]&B.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~B.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case H.NamedEntity:return 0===this.result||this.decodeMode===V.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case H.NumericDecimal:return this.emitNumericEntity(0,2);case H.NumericHex:return this.emitNumericEntity(0,3);case H.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case H.EntityStart:return 0}}}function q(t){let e="";const n=new $(t,(t=>e+=L(t)));return function(t,i){let r=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(r,o),n.startEntity(i);const s=n.write(t,o+1);if(s<0){r=o+n.end();break}r=o+s,o=0===s?r+1:r}const s=e+t.slice(r);return e="",s}}function Z(t,e,n,i){const r=(e&B.BRANCH_LENGTH)>>7,o=e&B.JUMP_TABLE;if(0===r)return 0!==o&&i===o?n:-1;if(o){const e=i-o;return e<0||e>=r?-1:t[n+e]-1}let s=n,a=s+r-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(ni))return t[e+r];a=e-1}}return-1}const U=q(D);function G(t,e=V.Legacy){return U(t,e)}function Q(t){for(let e=1;e'"]/g,J),Y(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Y(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));const K=Object.prototype.hasOwnProperty;function X(t,e){return K.call(t,e)}function tt(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function et(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function nt(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||!(65535&~t&&65534!=(65535&t))||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function it(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const rt=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ot=new RegExp(rt.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),st=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function at(t){return t.indexOf("\\")<0?t:t.replace(rt,"$1")}function lt(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ot,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&st.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return nt(n)?it(n):t}const n=G(t);return n!==t?n:t}(t,n)}))}const ct=/[&<>"]/,ut=/[&<>"]/g,ht={"&":"&","<":"<",">":">",'"':"""};function dt(t){return ht[t]}function pt(t){return ct.test(t)?t.replace(ut,dt):t}const ft=/[.?*+^$[\]\\(){}|-]/g;function gt(t){return t.replace(ft,"\\$&")}function mt(t){switch(t){case 9:case 32:return!0}return!1}function vt(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function yt(t){return S.test(t)||A.test(t)}function bt(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function _t(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const wt={mdurl:i,ucmicro:r};function xt(t,e,n){let i,r,o,s;const a=t.posMax,l=t.pos;for(t.pos=e+1,i=1;t.pos32))return o;if(41===i){if(0===s)break;s--}r++}return e===r||0!==s||(o.str=lt(t.slice(e,r)),o.pos=r,o.ok=!0),o}function kt(t,e,n,i){let r,o=e;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)s.str=i.str,s.marker=i.marker;else{if(o>=n)return s;let i=t.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return s;e++,o++,40===i&&(i=41),s.marker=i}for(;o"+pt(o.content)+""},Ot.code_block=function(t,e,n,i,r){const o=t[e];return""+pt(t[e].content)+"\n"},Ot.fence=function(t,e,n,i,r){const o=t[e],s=o.info?lt(o.info).trim():"";let a,l="",c="";if(s){const t=s.split(/(\s+)/g);l=t[0],c=t.slice(2).join("")}if(a=n.highlight&&n.highlight(o.content,l,c)||pt(o.content),0===a.indexOf("${a}\n`}return`
    ${a}
    \n`},Ot.image=function(t,e,n,i,r){const o=t[e];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(t,e,n)},Ot.hardbreak=function(t,e,n){return n.xhtmlOut?"
    \n":"
    \n"},Ot.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},Ot.text=function(t,e){return pt(t[e].content)},Ot.html_block=function(t,e){return t[e].content},Ot.html_inline=function(t,e){return t[e].content},Mt.prototype.renderAttrs=function(t){let e,n,i;if(!t.attrs)return"";for(i="",e=0,n=t.attrs.length;e\n":">",r},Mt.prototype.renderInline=function(t,e,n){let i="";const r=this.rules;for(let o=0,s=t.length;o=0&&(n=this.attrs[e][1]),n},Et.prototype.attrJoin=function(t,e){const n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e};const Tt=Et;function It(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}It.prototype.Token=Tt;const Dt=It,zt=/\r\n?|\n/g,Nt=/\0/g;function Ft(t){return/^<\/a\s*>/i.test(t)}const Lt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Rt=/\((c|tm|r)\)/i,Bt=/\((c|tm|r)\)/gi,jt={c:"©",r:"®",tm:"™"};function Ht(t,e){return jt[e.toLowerCase()]}function Vt(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||(i.content=i.content.replace(Bt,Ht)),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}function $t(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||Lt.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}const qt=/['"]/,Zt=/['"]/g;function Ut(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Gt(t,e){let n;const i=[];for(let r=0;r=0&&!(i[n].level<=s);n--);if(i.length=n+1,"text"!==o.type)continue;let a=o.content,l=0,c=a.length;t:for(;l=0)f=a.charCodeAt(u.index-1);else for(n=r-1;n>=0&&"softbreak"!==t[n].type&&"hardbreak"!==t[n].type;n--)if(t[n].content){f=t[n].content.charCodeAt(t[n].content.length-1);break}let g=32;if(l=48&&f<=57&&(d=h=!1),h&&d&&(h=m,d=v),h||d){if(d)for(n=i.length-1;n>=0;n--){let h=i[n];if(i[n].level=0;s--){const a=r[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&o>0&&o--,Ft(a.content)&&o++),!(o>0)&&"text"===a.type&&t.md.linkify.test(a.content)){const n=a.content;let o=t.md.linkify.match(n);const l=[];let c=a.level,u=0;o.length>0&&0===o[0].index&&s>0&&"text_special"===r[s-1].type&&(o=o.slice(1));for(let e=0;eu){const e=new t.Token("text","",0);e.content=n.slice(u,a),e.level=c,l.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",r]],h.level=c++,h.markup="linkify",h.info="auto",l.push(h);const d=new t.Token("text","",0);d.content=s,d.level=c,l.push(d);const p=new t.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=o[e].lastIndex}if(u=0;e--)"inline"===t.tokens[e].type&&(Rt.test(t.tokens[e].content)&&Vt(t.tokens[e].children),Lt.test(t.tokens[e].content)&&$t(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&qt.test(t.tokens[e].content)&&Gt(t.tokens[e].children,t)}],["text_join",function(t){let e,n;const i=t.tokens,r=i.length;for(let t=0;t0&&this.level++,this.tokens.push(i),i},Wt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Wt.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;te;)if(!mt(this.src.charCodeAt(--t)))return t+1;return t},Wt.prototype.skipChars=function(t,e){for(let n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Wt.prototype.getLines=function(t,e,n,i){if(t>=e)return"";const r=new Array(e-t);for(let o=0,s=t;sn?new Array(t-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},Wt.prototype.Token=Tt;const Kt=Wt;function Xt(t,e){const n=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];return t.src.slice(n,i)}function te(t){const e=[],n=t.length;let i=0,r=t.charCodeAt(i),o=!1,s=0,a="";for(;i=i)return-1;let o=t.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=i)return-1;if(o=t.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",re="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",oe=new RegExp("^(?:"+ie+"|"+re+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),se=new RegExp("^(?:"+ie+"|"+re+")"),ae=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(se.source+"\\s*$"),/^$/,!1]],le=[["table",function(t,e,n,i){if(e+2>n)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let o=t.bMarks[r]+t.tShift[r];if(o>=t.eMarks[r])return!1;const s=t.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s)return!1;if(o>=t.eMarks[r])return!1;const a=t.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a&&!mt(a))return!1;if(45===s&&mt(a))return!1;for(;o=4)return!1;c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const h=c.length;if(0===h||h!==u.length)return!1;if(i)return!0;const d=t.parentType;t.parentType="table";const p=t.md.block.ruler.getRules("blockquote"),f=[e,0];t.push("table_open","table",1).map=f,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e=4)break;if(c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=h-c.length,m>65536)break;r===e+2&&(t.push("tbody_open","tbody",1).map=g=[e+2,0]),t.push("tr_open","tr",1).map=[r,r+1];for(let e=0;e=4))break;i++,r=i}t.line=r;const o=t.push("code_block","code",0);return o.content=t.getLines(e,r,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}],["fence",function(t,e,n,i){let r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(r+3>o)return!1;const s=t.src.charCodeAt(r);if(126!==s&&96!==s)return!1;let a=r;r=t.skipChars(r,s);let l=r-a;if(l<3)return!1;const c=t.src.slice(a,r),u=t.src.slice(r,o);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(i)return!0;let h=e,d=!1;for(;h++,!(h>=n||(r=a=t.bMarks[h]+t.tShift[h],o=t.eMarks[h],r=4||(r=t.skipChars(r,s),r-a=4)return!1;if(62!==t.src.charCodeAt(r))return!1;if(i)return!0;const a=[],l=[],c=[],u=[],h=t.md.block.ruler.getRules("blockquote"),d=t.parentType;t.parentType="blockquote";let p,f=!1;for(p=e;p=o)break;if(62===t.src.charCodeAt(r++)&&!e){let e,n,i=t.sCount[p]+1;32===t.src.charCodeAt(r)?(r++,i++,n=!1,e=!0):9===t.src.charCodeAt(r)?(e=!0,(t.bsCount[p]+i)%4==3?(r++,i++,n=!1):n=!0):e=!1;let s=i;for(a.push(t.bMarks[p]),t.bMarks[p]=r;r=o,l.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(e?1:0),c.push(t.sCount[p]),t.sCount[p]=s-i,u.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(f)break;let i=!1;for(let e=0,r=h.length;e";const v=[e,0];m.map=v,t.md.block.tokenize(t,e,p),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=s,t.parentType=d,v[1]=t.line;for(let n=0;n=4)return!1;let o=t.bMarks[e]+t.tShift[e];const s=t.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o=4)return!1;if(t.listIndent>=0&&t.sCount[l]-t.listIndent>=4&&t.sCount[l]=t.blkIndent&&(p=!0),(d=ne(t,l))>=0){if(u=!0,s=t.bMarks[l]+t.tShift[l],h=Number(t.src.slice(s,d-1)),p&&1!==h)return!1}else{if(!((d=ee(t,l))>=0))return!1;u=!1}if(p&&t.skipSpaces(d)>=t.eMarks[l])return!1;if(i)return!0;const f=t.src.charCodeAt(d-1),g=t.tokens.length;u?(a=t.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=t.push("bullet_list_open","ul",1);const m=[l,0];a.map=m,a.markup=String.fromCharCode(f);let v=!1;const y=t.md.block.ruler.getRules("list"),b=t.parentType;for(t.parentType="list";l=r?1:i-e,p>4&&(p=1);const g=e+p;a=t.push("list_item_open","li",1),a.markup=String.fromCharCode(f);const m=[l,0];a.map=m,u&&(a.info=t.src.slice(s,d-1));const b=t.tight,_=t.tShift[l],w=t.sCount[l],x=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=g,t.tight=!0,t.tShift[l]=h-t.bMarks[l],t.sCount[l]=i,h>=r&&t.isEmpty(l+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,l,n,!0),t.tight&&!v||(c=!1),v=t.line-l>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=x,t.tShift[l]=_,t.sCount[l]=w,t.tight=b,a=t.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=t.line,m[1]=l,l>=n)break;if(t.sCount[l]=4)break;let C=!1;for(let e=0,i=y.length;e=4)return!1;if(91!==t.src.charCodeAt(r))return!1;function a(e){const n=t.lineMax;if(e>=n||t.isEmpty(e))return null;let i=!1;if(t.sCount[e]-t.blkIndent>3&&(i=!0),t.sCount[e]<0&&(i=!0),!i){const i=t.md.block.ruler.getRules("reference"),r=t.parentType;t.parentType="reference";let o=!1;for(let r=0,s=i.length;r=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(r))return!1;let s=t.src.slice(r,o),a=0;for(;a=4)return!1;let s=t.src.charCodeAt(r);if(35!==s||r>=o)return!1;let a=1;for(s=t.src.charCodeAt(++r);35===s&&r6||rr&&mt(t.src.charCodeAt(l-1))&&(o=l),t.line=e+1;const c=t.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[e,t.line];const u=t.push("inline","",0);return u.content=t.src.slice(r,o).trim(),u.map=[e,t.line],u.children=[],t.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,n){const i=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let o,s=0,a=e+1;for(;a3)continue;if(t.sCount[a]>=t.blkIndent){let e=t.bMarks[a]+t.tShift[a];const n=t.eMarks[a];if(e=n))){s=61===o?1:2;break}}if(t.sCount[a]<0)continue;let e=!1;for(let r=0,o=i.length;r3)continue;if(t.sCount[o]<0)continue;let e=!1;for(let r=0,s=i.length;r=n))&&!(t.sCount[s]=o){t.line=n;break}const e=t.line;let l=!1;for(let o=0;o=t.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),s=t.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i},he.prototype.scanDelims=function(t,e){const n=this.posMax,i=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let o=t;for(;o?@[]^_`{|}~-".split("").forEach((function(t){ge[t.charCodeAt(0)]=1}));const ve={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(126!==i)return!1;const r=t.scanDelims(t.pos,!0);let o=r.length;const s=String.fromCharCode(i);if(o<2)return!1;let a;o%2&&(a=t.push("text","",0),a.content=s,o--);for(let e=0;e=0;n--){const i=e[n];if(95!==i.marker&&42!==i.marker)continue;if(-1===i.end)continue;const r=e[i.end],o=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===r.token+1,s=String.fromCharCode(i.marker),a=t.tokens[i.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const l=t.tokens[r.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--)}}const be={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(95!==i&&42!==i)return!1;const r=t.scanDelims(t.pos,42===i);for(let e=0;e\x00-\x20]*)$/,xe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ce=/^&([a-z][a-z0-9]{1,31});/i;function ke(t){const e={},n=t.length;if(!n)return;let i=0,r=-2;const o=[];for(let s=0;sa;l-=o[l]+1){const e=t[l];if(e.marker===n.marker&&e.open&&e.end<0){let i=!1;if((e.close||n.open)&&(e.length+n.length)%3==0&&(e.length%3==0&&n.length%3==0||(i=!0)),!i){const i=l>0&&!t[l-1].open?o[l-1]+1:0;o[s]=s-l+i,o[l]=i,n.open=!1,e.end=s,e.close=!1,c=-1,r=-2;break}}}-1!==c&&(e[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Oe=[["text",function(t,e){let n=t.pos;for(;n0)return!1;const n=t.pos;if(n+3>t.posMax)return!1;if(58!==t.src.charCodeAt(n))return!1;if(47!==t.src.charCodeAt(n+1))return!1;if(47!==t.src.charCodeAt(n+2))return!1;const i=t.pending.match(fe);if(!i)return!1;const r=i[1],o=t.md.linkify.matchAtStart(t.src.slice(n-r.length));if(!o)return!1;let s=o.url;if(s.length<=r.length)return!1;s=s.replace(/\*+$/,"");const a=t.md.normalizeLink(s);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-r.length);const e=t.push("link_open","a",1);e.attrs=[["href",a]],e.markup="linkify",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(s);const n=t.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return t.pos+=s.length-r.length,!0}],["newline",function(t,e){let n=t.pos;if(10!==t.src.charCodeAt(n))return!1;const i=t.pending.length-1,r=t.posMax;if(!e)if(i>=0&&32===t.pending.charCodeAt(i))if(i>=1&&32===t.pending.charCodeAt(i-1)){let e=i-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n=i)return!1;let r=t.src.charCodeAt(n);if(10===r){for(e||t.push("hardbreak","br",0),n++;n=55296&&r<=56319&&n+1=56320&&e<=57343&&(o+=t.src[n+1],n++)}const s="\\"+o;if(!e){const e=t.push("text_special","",0);r<256&&0!==ge[r]?e.content=o:e.content=s,e.markup=s,e.info="escape"}return t.pos=n+1,!0}],["backticks",function(t,e){let n=t.pos;if(96!==t.src.charCodeAt(n))return!1;const i=n;n++;const r=t.posMax;for(;n=h)return!1;if(l=f,r=t.md.helpers.parseLinkDestination(t.src,f,t.posMax),r.ok){for(s=t.md.normalizeLink(r.str),t.md.validateLink(s)?f=r.pos:s="",l=f;f=h||41!==t.src.charCodeAt(f))&&(c=!0),f++}if(c){if(void 0===t.env.references)return!1;if(f=0?i=t.src.slice(l,f++):f=p+1):f=p+1,i||(i=t.src.slice(d,p)),o=t.env.references[_t(i)],!o)return t.pos=u,!1;s=o.href,a=o.title}if(!e){t.pos=d,t.posMax=p;const e=[["href",s]];t.push("link_open","a",1).attrs=e,a&&e.push(["title",a]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=f,t.posMax=h,!0}],["image",function(t,e){let n,i,r,o,s,a,l,c,u="";const h=t.pos,d=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const p=t.pos+2,f=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(f<0)return!1;if(o=f+1,o=d)return!1;for(c=o,a=t.md.helpers.parseLinkDestination(t.src,o,t.posMax),a.ok&&(u=t.md.normalizeLink(a.str),t.md.validateLink(u)?o=a.pos:u=""),c=o;o=d||41!==t.src.charCodeAt(o))return t.pos=h,!1;o++}else{if(void 0===t.env.references)return!1;if(o=0?r=t.src.slice(c,o++):o=f+1):o=f+1,r||(r=t.src.slice(p,f)),s=t.env.references[_t(r)],!s)return t.pos=h,!1;u=s.href,l=s.title}if(!e){i=t.src.slice(p,f);const e=[];t.md.inline.parse(i,t.md,t.env,e);const n=t.push("image","img",0),r=[["src",u],["alt",""]];n.attrs=r,n.children=e,n.content=i,l&&r.push(["title",l])}return t.pos=o,t.posMax=d,!0}],["autolink",function(t,e){let n=t.pos;if(60!==t.src.charCodeAt(n))return!1;const i=t.pos,r=t.posMax;for(;;){if(++n>=r)return!1;const e=t.src.charCodeAt(n);if(60===e)return!1;if(62===e)break}const o=t.src.slice(i+1,n);if(we.test(o)){const n=t.md.normalizeLink(o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}if(_e.test(o)){const n=t.md.normalizeLink("mailto:"+o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const n=t.posMax,i=t.pos;if(60!==t.src.charCodeAt(i)||i+2>=n)return!1;const r=t.src.charCodeAt(i+1);if(33!==r&&63!==r&&47!==r&&!function(t){const e=32|t;return e>=97&&e<=122}(r))return!1;const o=t.src.slice(i).match(oe);if(!o)return!1;if(!e){const e=t.push("html_inline","",0);e.content=o[0],s=e.content,/^\s]/i.test(s)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var s;return t.pos+=o[0].length,!0}],["entity",function(t,e){const n=t.pos,i=t.posMax;if(38!==t.src.charCodeAt(n))return!1;if(n+1>=i)return!1;if(35===t.src.charCodeAt(n+1)){const i=t.src.slice(n).match(xe);if(i){if(!e){const e="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n=t.push("text_special","",0);n.content=nt(e)?it(e):it(65533),n.markup=i[0],n.info="entity"}return t.pos+=i[0].length,!0}}else{const i=t.src.slice(n).match(Ce);if(i){const n=G(i[0]);if(n!==i[0]){if(!e){const e=t.push("text_special","",0);e.content=n,e.markup=i[0],e.info="entity"}return t.pos+=i[0].length,!0}}}return!1}]],Me=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length;ke(t.delimiters);for(let t=0;t0&&i++,"text"===r[e].type&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;s||t.pos++,o[e]=t.pos},Se.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,i=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(s){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Se.prototype.parse=function(t,e,n,i){const r=new this.State(t,e,n,i);this.tokenize(r);const o=this.ruler2.getRules(""),s=o.length;for(let t=0;t=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const i=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},Ne="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Fe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Le(t){const e=t.re=function(t){const e={};return t=t||{},e.src_Any=P.source,e.src_Cc=E.source,e.src_Z=I.source,e.src_P=S.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|"),e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice();function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(Ne),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(i(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(i(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(i(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(i(e.tpl_host_fuzzy_test),"i");const r=[];function o(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e];if(null===n)return;const i={validate:null,link:null};if(t.__compiled__[e]=i,"[object Object]"===Ee(n))return"[object RegExp]"!==Ee(n.validate)?Te(n.validate)?i.validate=n.validate:o(e,n):i.validate=function(t){return function(e,n){const i=e.slice(n);return t.test(i)?i.match(t)[0].length:0}}(n.validate),void(Te(n.normalize)?i.normalize=n.normalize:n.normalize?o(e,n):i.normalize=function(t,e){e.normalize(t)});"[object String]"!==Ee(n)?o(e,n):r.push(e)})),r.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const s=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Ie).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function Re(t,e){const n=t.__index__,i=t.__last_index__,r=t.__text_cache__.slice(n,i);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}function Be(t,e){const n=new Re(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function je(t,e){if(!(this instanceof je))return new je(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||De.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Pe({},De,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Pe({},ze,t),this.__compiled__={},this.__tlds__=Fe,this.__tlds_replaced__=!1,this.re={},Le(this)}je.prototype.add=function(t,e){return this.__schemas__[t]=e,Le(this),this},je.prototype.set=function(t){return this.__opts__=Pe(this.__opts__,t),this},je.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let e,n,i,r,o,s,a,l,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(r=this.testSchemaAt(t,e[2],a.lastIndex),r){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0},je.prototype.pretest=function(t){return this.re.pretest.test(t)},je.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},je.prototype.match=function(t){const e=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(e.push(Be(this,n)),n=this.__last_index__);let i=n?t.slice(n):t;for(;this.test(i);)e.push(Be(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},je.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,Be(this,0)):null},je.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),Le(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Le(this),this)},je.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},je.prototype.onCompile=function(){};const He=je,Ve=2147483647,$e=36,qe=/^xn--/,Ze=/[^\0-\x7F]/,Ue=/[\x2E\u3002\uFF0E\uFF61]/g,Ge={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qe=Math.floor,Je=String.fromCharCode;function Ye(t){throw new RangeError(Ge[t])}function We(t,e){const n=t.split("@");let i="";n.length>1&&(i=n[0]+"@",t=n[1]);const r=function(t,e){const n=[];let i=t.length;for(;i--;)n[i]=e(t[i]);return n}((t=t.replace(Ue,".")).split("."),e).join(".");return i+r}function Ke(t){const e=[];let n=0;const i=t.length;for(;n=55296&&r<=56319&&n>1,t+=Qe(t/e);t>455;i+=$e)t=Qe(t/35);return Qe(i+36*t/(t+38))},en=function(t){const e=[],n=t.length;let i=0,r=128,o=72,s=t.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&Ye("not-basic"),e.push(t.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&Ye("invalid-input");const s=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:$e;s>=$e&&Ye("invalid-input"),s>Qe((Ve-i)/e)&&Ye("overflow"),i+=s*e;const c=r<=o?1:r>=o+26?26:r-o;if(sQe(Ve/u)&&Ye("overflow"),e*=u}const c=e.length+1;o=tn(i-s,c,0==s),Qe(i/c)>Ve-r&&Ye("overflow"),r+=Qe(i/c),i%=c,e.splice(i++,0,r)}var a;return String.fromCodePoint(...e)},nn=function(t){const e=[],n=(t=Ke(t)).length;let i=128,r=0,o=72;for(const n of t)n<128&&e.push(Je(n));const s=e.length;let a=s;for(s&&e.push("-");a=i&&eQe((Ve-r)/l)&&Ye("overflow"),r+=(n-i)*l,i=n;for(const n of t)if(nVe&&Ye("overflow"),n===i){let t=r;for(let n=$e;;n+=$e){const i=n<=o?1:n>=o+26?26:n-o;if(tString.fromCodePoint(...t)},decode:en,encode:nn,toASCII:function(t){return We(t,(function(t){return Ze.test(t)?"xn--"+nn(t):t}))},toUnicode:function(t){return We(t,(function(t){return qe.test(t)?en(t.slice(4).toLowerCase()):t}))}},on={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},sn=/^(vbscript|javascript|file|data):/,an=/^data:image\/(gif|png|jpeg|webp);/;function ln(t){const e=t.trim().toLowerCase();return!sn.test(e)||an.test(e)}const cn=["http:","https:","mailto:"];function un(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toASCII(e.hostname)}catch(t){}return d(p(e))}function hn(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toUnicode(e.hostname)}catch(t){}return c(p(e),c.defaultChars+"%")}function dn(t,e){if(!(this instanceof dn))return new dn(t,e);e||W(t)||(e=t||{},t="default"),this.inline=new Ae,this.block=new ue,this.core=new Yt,this.renderer=new St,this.linkify=new He,this.validateLink=ln,this.normalizeLink=un,this.normalizeLinkText=hn,this.utils=o,this.helpers=tt({},s),this.options={},this.configure(t),e&&this.set(e)}dn.prototype.set=function(t){return tt(this.options,t),this},dn.prototype.configure=function(t){const e=this;if(W(t)){const e=t;if(!(t=on[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},dn.prototype.enable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},dn.prototype.disable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},dn.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},dn.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");const n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},dn.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},dn.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},dn.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const pn=dn},8239:(t,e,n)=>{function i(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(i,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var s=t.apply(e,n);function a(t){i(s,r,o,a,l,"next",t)}function l(t){i(s,r,o,a,l,"throw",t)}a(void 0)}))}}n.d(e,{Z:()=>r})},86889:(t,e,n)=>{function i(t){return i="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},i(t)}function r(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:()=>r})},84911:(t,e,n)=>{function i(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function a(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((i=i.apply(t,e||[])).next())}))}function s(t){return this instanceof s?(this.v=t,this):new s(t)}function a(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return",(function(t){return function(e){return Promise.resolve(e).then(t,u)}})),i[Symbol.asyncIterator]=function(){return this},i;function a(t,e){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||l(t,e)}))},e&&(i[t]=e(i[t])))}function l(t,e){try{(n=r[t](e)).value instanceof s?Promise.resolve(n.value.v).then(c,u):h(o[0][2],n)}catch(t){h(o[0][3],t)}var n}function c(t){l("next",t)}function u(t){l("throw",t)}function h(t,e){t(e),o.shift(),o.length&&l(o[0][0],o[0][1])}}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){!function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}(i,r,(e=t[n](e)).done,e.value)}))}}}n.d(e,{FC:()=>a,KL:()=>l,_T:()=>i,gn:()=>r,mG:()=>o,qq:()=>s}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}},t=>{t(t.s=1679)}]); \ No newline at end of file diff --git a/v2/index.html b/v2/index.html index ac7dea411..2723259fb 100644 --- a/v2/index.html +++ b/v2/index.html @@ -20,5 +20,5 @@ - + diff --git a/v2/main.32127e0271ad4855.js b/v2/main.b535f8e44f6aa7ac.js similarity index 99% rename from v2/main.32127e0271ad4855.js rename to v2/main.b535f8e44f6aa7ac.js index e394aebb3..99ab3732a 100644 --- a/v2/main.32127e0271ad4855.js +++ b/v2/main.b535f8e44f6aa7ac.js @@ -1 +1 @@ -(self.webpackChunkeditor_demo=self.webpackChunkeditor_demo||[]).push([[179],{7618:(t,e,n)=>{function i(t){const{anchorOffset:e=0,focusOffset:n=0}=t.ownerDocument.getSelection()||{};return[Math.min(e,n),Math.max(e,n)]}n.d(e,{A_:()=>s,C8:()=>O,CV:()=>k,fD:()=>m,gI:()=>o});class r{constructor(t){this.element=t,this.maxLength=1/0}get value(){return this.element.innerText.replace(/\n\n$/,"\n")}set value(t){this.element.innerHTML=t.replace(/\n$/,"\n\n")}get selectionStart(){return i(this.element)[0]}get selectionEnd(){return i(this.element)[1]}setSelectionRange(t,e){!function(t,[e,n]){var i,r;const o=t.ownerDocument,s=o.createRange();s.setStart(t.firstChild||t,Math.min(e,(null===(i=t.textContent)||void 0===i?void 0:i.length)||0)),s.setEnd(t.lastChild||t,Math.min(n,(null===(r=t.textContent)||void 0===r?void 0:r.length)||0));const a=o.getSelection();a&&(a.removeAllRanges(),a.addRange(s))}(this.element,[t||0,e||0])}select(){this.setSelectionRange(0,this.value.length)}}const o=t=>t.isContentEditable?function(t){const e=new r(t);return new Proxy(t,{get(t,n){if(n in e)return e[n];const i=t[n];return"function"==typeof i?i.bind(t):i},set:(t,n,i,r)=>Reflect.set(n in e?e:t,n,i,r)})}(t):t.querySelector("input,textarea")||t,s={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class a{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}redo(){const t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}updateHistory(t){if(!this.now)return void(this.now=t);const e=this.now.value!==t.value,n=this.now.selection.some(((e,n)=>e!==t.selection[n]));(e||n)&&(e&&(this.past.push(this.now),this.future=[]),this.now=t)}updateElement(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}function l(t){return"string"==typeof t}function c(t,e,n,i){let r="";for(let o=e.length;o{const i=e[n];return l(i)?t===i:t.match(i)})):e.test(t)}function h(t,e,n=null){if(u(t.value,e))return t;const{value:i,selection:r}=Array.isArray(e)?function(t,e,n){let i=null,r=null;const o=Array.from(t.value).reduce(((o,s,a)=>{const u=o+c(e,o,s,n),h=e[u.length];return l(h)?u+h:s.match(h)?(null===i&&a>=t.selection[0]&&(i=u.length),null===r&&a>=t.selection[1]&&(r=u.length),u+s):u}),""),s=c(e,o,"",n);return{value:u(o+s,e)?o+s:o,selection:[null!=i?i:o.length,null!=r?r:o.length]}}(t,e,n):function({value:t,selection:e},n){const[i,r]=e;let o=i,s=r;return{value:Array.from(t).reduce(((t,e,a)=>{const l=t+e;return i===a&&(o=t.length),r===a&&(s=t.length),l.match(n)?l:t}),""),selection:[o,s]}}(t,e);return{selection:r,value:Array.isArray(e)?i.slice(0,e.length):i}}function d(t,e){if(!Array.isArray(e))return t;const[n,i]=t.selection,r=[],o=Array.from(t.value).reduce(((t,o,s)=>{const a=e[s];return s===n&&r.push(t.length),s===i&&r.push(t.length),l(a)&&a===o?t:t+o}),"");return r.length<2&&r.push(...new Array(2-r.length).fill(o.length)),{value:o,selection:[r[0],r[1]]}}class p{constructor(t,e){this.initialElementState=t,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:n,selection:i}=h(this.initialElementState,this.getMaskExpression(this.initialElementState));this.value=n,this.selection=i}addCharacters([t,e],n){const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,t)+n+i.slice(e),selection:[t+n.length,t+n.length]}),o={value:i,selection:[t,e]},s=d(o,r),[a,l]=function({value:t,selection:e},n,i){const[r,o]=e;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:e}):i)?[r,r+n.length]:[r,o]}}(s,n,this.maskOptions.overwriteMode).selection,c=s.value.slice(0,a)+n,u=c.length,p=h({value:c+s.value.slice(l),selection:[u,u]},r,o);if(i.slice(0,a)===h({value:c,selection:[u,u]},r,o).value||function(t,...e){return e.every((({value:e,selection:n})=>e===t.value&&n[0]===t.selection[0]&&n[1]===t.selection[1]))}(this,p))throw new Error("Invalid mask value");this.value=p.value,this.selection=p.selection}deleteCharacters([t,e]){if(t===e||!e)return;const{value:n}=this,i=this.getMaskExpression({value:n.slice(0,t)+n.slice(e),selection:[t,t]}),r={value:n,selection:[t,e]},o=d(r,i),[s,a]=o.selection,l=h({value:o.value.slice(0,s)+o.value.slice(a),selection:[s,s]},i,r);this.value=l.value,this.selection=l.selection}getMaskExpression(t){const{mask:e}=this.maskOptions;return"function"==typeof e?e(t):e}}class f{constructor(t){this.element=t,this.listeners=[]}listen(t,e,n){const i=e;this.element.addEventListener(t,i,n),this.listeners.push((()=>this.element.removeEventListener(t,i)))}destroy(){this.listeners.forEach((t=>t()))}}function g(t,e,n){return t.ctrlKey===!!(1&e)&&t.altKey===!!(2&e)&&t.shiftKey===!!(4&e)&&t.metaKey===!!(8&e)&&t.keyCode===n}function m(t,e){var n;const i=t.value;if("string"==typeof e)t.value=e;else{const[i,r]=e.selection;t.value=e.value,t.matches(":focus")&&(null===(n=t.setSelectionRange)||void 0===n||n.call(t,i,r))}t.value!==i&&t.dispatchEvent(new Event("input",{bubbles:!0}))}function v({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];const o=n?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[n?i:o,n?o:r]}function y({value:t,selection:e},n){const[i,r]=e;return i!==r?[i,r]:(n?[i,r+1]:[i-1,r]).map((e=>Math.min(Math.max(e,0),t.length)))}const b=/\s+$/g,_=/^\s+/g,w=/\s/;function x({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];if(n){const e=t.slice(i),[n]=e.match(_)||[""],r=e.trimStart().search(w);return[i,-1!==r?i+n.length+r:t.length]}const o=t.slice(0,r),[s]=o.match(b)||[""],a=o.trimEnd().split("").reverse().findIndex((t=>t.match(w)));return[-1!==a?r-s.length-a:0,r]}function C(t=[]){return(e,...n)=>t.reduce(((t,e)=>Object.assign(Object.assign({},t),e(t,...n))),e)}function k(t,e){const n=Object.assign(Object.assign({},s),e),i=C(n.preprocessors),r=C(n.postprocessors),o="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:a}=i({elementState:o,data:""},"validation"),l=new p(a,n),{value:c,selection:u}=r(l,o);return"string"==typeof t?c:{value:c,selection:u}}class O extends a{constructor(t,e){super(),this.element=t,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new f(this.element),this.options=Object.assign(Object.assign({},s),this.maskitoOptions),this.preprocessor=C(this.options.preprocessors),this.postprocessor=C(this.options.postprocessors),this.teardowns=this.options.plugins.map((t=>t(this.element,this.options))),this.updateHistory(this.elementState),this.eventListener.listen("keydown",(t=>function(t){return g(t,1,89)||g(t,5,90)||g(t,12,90)}(t)?(t.preventDefault(),this.redo()):function(t){return g(t,1,90)||g(t,8,90)}(t)?(t.preventDefault(),this.undo()):void 0)),this.eventListener.listen("beforeinput",(t=>{var e;const n=t.inputType.includes("Forward");switch(this.updateHistory(this.elementState),t.inputType){case"historyUndo":return t.preventDefault(),this.undo();case"historyRedo":return t.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:t,isForward:n,selection:y(this.elementState,n)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:t,isForward:n,selection:x(this.elementState,n),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:t,isForward:n,selection:v(this.elementState,n),force:!0});case"insertCompositionText":case"insertReplacementText":return;case"insertLineBreak":case"insertParagraph":return this.handleEnter(t);default:return this.handleInsert(t,t.data||(null===(e=t.dataTransfer)||void 0===e?void 0:e.getData("text/plain"))||"")}})),this.eventListener.listen("input",(({inputType:t})=>{"insertCompositionText"!==t&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))})),this.eventListener.listen("compositionend",(()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)}))}get elementState(){const{value:t,selectionStart:e,selectionEnd:n}=this.element;return{value:t,selection:[e||0,n||0]}}get maxLength(){const{maxLength:t}=this.element;return-1===t?1/0:t}destroy(){this.eventListener.destroy(),this.teardowns.forEach((t=>null==t?void 0:t()))}updateElementState({value:t,selection:e},n={inputType:"insertText",data:null}){const i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(e),i!==t&&this.dispatchInputEvent(n)}updateSelectionRange([t,e]){var n;const{element:i}=this;!i.matches(":focus")||i.selectionStart===t&&i.selectionEnd===e||null===(n=i.setSelectionRange)||void 0===n||n.call(i,t,e)}updateValue(t){this.element.value=t}ensureValueFitsMask(){this.updateElementState(k(this.elementState,this.options))}dispatchInputEvent(t={inputType:"insertText",data:null}){globalThis.InputEvent&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}handleDelete({event:t,selection:e,isForward:n,force:i=!1}){const r={value:this.elementState.value,selection:e},[o,s]=r.selection,{elementState:a}=this.preprocessor({elementState:r,data:""},n?"deleteForward":"deleteBackward"),l=new p(a,this.options),[c,u]=a.selection;l.deleteCharacters([c,u]);const h=this.postprocessor(l,r);if(r.value.slice(0,o)+r.value.slice(s)!==h.value||i||this.element.isContentEditable){if(t.preventDefault(),function(t,...e){return e.every((({value:e})=>e===t.value))}(r,a,l,h))return this.updateSelectionRange(n?[u,u]:[c,c]);this.updateElementState(h,{inputType:t.inputType,data:null}),this.updateHistory(h)}}handleInsert(t,e){const n=this.elementState,{elementState:i,data:r=e}=this.preprocessor({data:e,elementState:n},"insert"),o=new p(i,this.options);try{o.addCharacters(i.selection,r)}catch(e){return t.preventDefault()}const[s,a]=i.selection,l=n.value.slice(0,s)+e+n.value.slice(a),c=this.postprocessor(o,n);if(c.value.length>this.maxLength)return t.preventDefault();(l!==c.value||this.element.isContentEditable)&&(t.preventDefault(),this.updateElementState(c,{data:e,inputType:t.inputType}),this.updateHistory(c))}handleEnter(t){(this.isTextArea||this.element.isContentEditable)&&this.handleInsert(t,"\n")}}},11262:(t,e,n)=>{n.d(e,{H$:()=>yt,f8:()=>Rt,jX:()=>J,n9:()=>st,nQ:()=>K,rC:()=>jt,tr:()=>nt,vZ:()=>xt});var i=n(7618);function r(t,e,n){const i=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(i):i}function o(t){return t.replaceAll(/\W/g,"").length}function s(t,{day:e,month:n,year:i}={}){const r=new Date(t);return e&&r.setDate(r.getDate()+e),n&&r.setMonth(r.getMonth()+n),i&&r.setFullYear(r.getFullYear()+i),r}const a=t=>{var e,n,i;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}};function l(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function c(t,e){return!(t.length!t.match(/^0+$/)))}function u(t,e,n){const i=o(e);return t.replace(n,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${i}}`,"g"))||[]}function h(t,e){const n=e.replaceAll(/[^dmy]/g,""),i=t.replaceAll(/\D+/g,""),r={day:i.slice(n.indexOf("d"),n.lastIndexOf("d")+1),month:i.slice(n.indexOf("m"),n.lastIndexOf("m")+1),year:i.slice(n.indexOf("y"),n.lastIndexOf("y")+1)};return Object.fromEntries(Object.entries(r).filter((([t,e])=>Boolean(e))).sort((([t],[n])=>e.toLowerCase().indexOf(t[0])>e.toLowerCase().indexOf(n[0])?1:-1)))}function d(t,e){var n,i,r,o,s,a,l;const c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?`20${t.year}`:t.year,u=new Date(Number(null!=c?c:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(s=null==e?void 0:e.minutes)&&void 0!==s?s:"0"),Number(null!==(a=null==e?void 0:e.seconds)&&void 0!==a?a:"0"),Number(null!==(l=null==e?void 0:e.milliseconds)&&void 0!==l?l:"0"));return u.setFullYear(Number(null!=c?c:"0")),u}const p=", ";function f({day:t,month:e,year:n,hours:i,minutes:r,seconds:o,milliseconds:s},{dateMode:a,dateTimeSeparator:l=p,timeMode:c}){var u;const h=2===(null===(u=a.match(/y/g))||void 0===u?void 0:u.length)?null==n?void 0:n.slice(-2):n;return(a+(c?l+c:"")).replaceAll(/d+/g,null!=t?t:"").replaceAll(/m+/g,null!=e?e:"").replaceAll(/y+/g,null!=h?h:"").replaceAll(/H+/g,null!=i?i:"").replaceAll("MSS",null!=s?s:"").replaceAll(/M+/g,null!=r?r:"").replaceAll(/S+/g,null!=o?o:"").replaceAll(/^\D+/g,"").replaceAll(/\D+$/g,"")}const g={day:31,month:12,year:9999},m=[".",",","б","ю"],v=new Date("0001-01-01"),y=new Date("9999-12-31"),b={hours:23,minutes:59,seconds:59,milliseconds:999},_=[":","."],w={hours:2,minutes:2,seconds:2,milliseconds:3},x=" ",C="​",k="–",O="—",M="-",S="−",A="ー",P=":",E=":";function T({dateString:t,dateModeTemplate:e,dateSegmentsSeparator:n,offset:i,selection:[r,o]}){const s=h(t,e),l=Object.entries(s),c={};for(const[t,s]of l){const l=f(c,{dateMode:e}),u=g[t],h=l.length&&n.length,d=i+l.length+h+a(e)[t],p=d>=r&&d===o;if(p&&Number(s)>Number(u))return{validatedDateString:"",updatedSelection:[r,o]};if(p&&Number(s)<1)return{validatedDateString:"",updatedSelection:[r,o]};c[t]=s}const u=f(c,{dateMode:e}),d=u.length-t.length;return{validatedDateString:u,updatedSelection:[r+d,o+d]}}const I=/[\\^$.*+?()[\]{}|]/g,D=new RegExp(I.source);function z(t){return t&&D.test(t)?t.replaceAll(I,"\\$&"):t}function N(t,{prefix:e,postfix:n}){var i,r;const o=new RegExp(`^${z(e)}`),s=new RegExp(`${z(n)}$`),[a=""]=null!==(i=t.match(o))&&void 0!==i?i:[],[l=""]=null!==(r=t.match(s))&&void 0!==r?r:[];return{extractedPrefix:a,extractedPostfix:l,cleanValue:t.replace(o,"").replace(s,"")}}function F(t){return t}function L(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function R(t,e,n=0){return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?R(`0${t.slice(0,e.length-1)}`,e,n+1):R(`${t.slice(0,e.length-1)}0`,e,n)}function B(t){return t.replaceAll(new RegExp(E,"g"),P)}function j(t){return t.replaceAll(/[0-9]/g,(t=>String.fromCharCode(t.charCodeAt(0)-65248)))}function H(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:B(n)},data:B(e)}}}function V({dateModeTemplate:t,dateSegmentSeparator:e,splitFn:n,uniteFn:i}){return({value:r,selection:o})=>{var s;const[a,l]=o,{dateStrings:c,restPart:u=""}=n(r),d=[];let p=0;c.forEach((e=>{const n=h(e,t),i=Object.entries(n).reduce(((t,[e,n])=>{const{validatedSegmentValue:i,prefixedZeroesCount:r}=R(n,`${g[e]}`);return p+=r,Object.assign(Object.assign({},t),{[e]:i})}),{});d.push(f(i,{dateMode:t}))}));const m=i(d,r)+((null===(s=c[c.length-1])||void 0===s?void 0:s.endsWith(e))?e:"")+u;return p&&m.slice(l+p,l+p+e.length)===e&&(p+=e.length),{selection:[a+p,l+p],value:m}}}function $({dateModeTemplate:t,firstDateEndSeparator:e,dateSegmentSeparator:n,pseudoFirstDateEndSeparators:i}){return({elementState:r,data:s})=>{const{value:a,selection:l}=r,c=function(t,e){const n=o(e),[i=""]=t.match(new RegExp(`(\\D*\\d){${n}}`))||[];return i}(a,t),u=i.filter((t=>!e.includes(t)&&t!==n)),h=new RegExp(`[${u.join("")}]`,"gi");return{elementState:{selection:l,value:c&&a.length>c.length?c+a.slice(c.length).replace(/^[\D\s]*/,e):a},data:s.replace(h,e)}}}function q(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:j(n)},data:j(e)}}}function Z(t,e){const n=a(e);return Object.fromEntries(Object.entries(t).map((([t,e])=>{const i=n[t];return[t,e.length===i&&e.match(/^0+$/)?"1".padStart(i,"0"):e]})))}function U({dateModeTemplate:t,min:e=v,max:n=y,rangeSeparator:i="",dateSegmentSeparator:o="."}){return({value:s,selection:a})=>{const p=i&&s.endsWith(i),g=u(s,t,i);let m="";for(const s of g){m+=m?i:"";const a=h(s,t);c(s,t)?m+=f(l(r(d(a),e,n)),{dateMode:t}):m+=f(Z(a,t),{dateMode:t})+(s.endsWith(o)?o:"")}return{selection:a,value:m+(p?i:"")}}}function G({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n="",dateTimeSeparator:i=p}){return({elementState:r,data:o})=>{const s=n?new RegExp(`${n}|-`):i,a=o.split(s),l=o.includes(i)?[a[0]]:a;if(l.every((n=>n.trim().split(/\D/).filter(Boolean).length===t.split(e).length))){const s=l.map((n=>function(t,e,n){const i=t.split(/\D/).filter(Boolean),r=e.split(n);return i.map(((t,e)=>e===r.length-1?t:t.padStart(r[e].length,"0"))).join(n)}(n,t,e))).join(n);return{elementState:r,data:`${s}${o.includes(i)&&i+a[1]||""}`}}return{elementState:r,data:o}}}function Q(t){const e=new RegExp(`${z(t)}$`);return t?({value:n,selection:i},r)=>{if(!n&&!r.value.endsWith(t))return{value:n,selection:i};if(!n.endsWith(t)&&!r.value.endsWith(t))return{selection:i,value:n+t};const o=r.value.replace(e,""),s=r.selection[1]>=o.length,a=function(t,e){let n="";for(let i=0;i{const i=t.length-1-n,r=a[i]===e&&s;return t[i]!==e||r?t.slice(0,i+1)+e+t.slice(i+1):t}),n)}}:F}function J(t){return t?({value:e,selection:n},i)=>{if(e.startsWith(t)||!e&&!i.value.startsWith(t))return{value:e,selection:n};const[r,o]=n,s=Array.from(t).reduce(((t,e,n)=>t[n]===e?t:t.slice(0,n)+e+t.slice(n)),e),a=s.length-e.length;return{selection:[r+a,o+a],value:s}}:F}function Y({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};const a=r.replaceAll(new RegExp(`[^\\d${z(e)}${n}]`,"g"),"");if(!a)return{elementState:i,data:""};const[l,c]=s;let h=c+r.length;const d=o.slice(0,l)+a+o.slice(h),p=u(d,t,n);let f="";const g=Boolean(n)&&d.includes(n);for(const r of p){const{validatedDateString:o,updatedSelection:s}=T({dateString:r,dateModeTemplate:t,dateSegmentsSeparator:e,offset:f.length,selection:[l,h]});if(r&&!o)return{elementState:i,data:""};h=s[1],f+=g&&!f?o+n:o}const m=f.slice(l,h);return{elementState:{selection:s,value:f.slice(0,l)+m.split(e).map((t=>"0".repeat(t.length))).join(e)+f.slice(h)},data:m}}}function W(t,e,n){return(i,r)=>{const o=()=>e(i,r);return i.addEventListener(t,o,n),()=>i.removeEventListener(t,o,n)}}function K(t){return e=>{const n=e.ownerDocument;let i=0;const o=()=>i++,s=()=>{i=Math.max(--i,0)},a=()=>{if(!e.matches(":focus"))return;if(i)return n.addEventListener("mouseup",a,{once:!0,passive:!0});const o=e.selectionStart||0,s=e.selectionEnd||0,[l,c]=t(e.value,[o,s]);(l>o||c{n.removeEventListener("selectionchange",a),n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",s)}}}const X=()=>{};function tt({step:t,fullMode:e,timeSegmentMaxValues:n}){const r=function(t){return new Map([["hours",et(t,"HH")],["minutes",et(t,"MM")],["seconds",et(t,"SS")],["milliseconds",et(t,"MSS")]])}(e);return t<=0?X:e=>{const o=o=>{if("ArrowUp"!==o.key&&"ArrowDown"!==o.key)return;o.preventDefault();const s=e.selectionStart||0,a=function({segmentsIndexes:t,selectionStart:e}){for(const[n,i]of t.entries()){const[t,r]=i;if(t<=e&&e<=r)return n}return null}({segmentsIndexes:r,selectionStart:s});if(!a)return;const l=function({selection:t,value:e,toAdd:n,max:i}){const[r,o]=t,s=function(t,e){return t<0&&(t+=Math.floor(Math.abs(t)/e+1)*e),t%e}(Number(e.slice(r,o).padEnd(o-r,"0"))+n,i+1);return e.slice(0,r)+String(s).padStart(o-r,"0")+e.slice(o,e.length)}({selection:r.get(a),value:e.value,toAdd:"ArrowUp"===o.key?t:-t,max:n[a]});(0,i.fD)(e,{value:l,selection:[s,s]})};return e.addEventListener("keydown",o),()=>e.removeEventListener("keydown",o)}}function et(t,e){const n=t.indexOf(e);return-1===n?[-1,-1]:[n,n+e.length]}function nt({mode:t,separator:e=".",max:n,min:r}){const o=t.split("/").join(e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(o).map((t=>e.includes(t)?t:/\d/)),overwriteMode:"replace",preprocessors:[q(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:o,dateSegmentsSeparator:e}),Y({dateModeTemplate:o,dateSegmentsSeparator:e})],postprocessors:[V({dateModeTemplate:o,dateSegmentSeparator:e,splitFn:t=>({dateStrings:[t]}),uniteFn:([t])=>t}),U({min:r,max:n,dateModeTemplate:o,dateSegmentSeparator:e})]})}const it=[M,k,O,S,A];function rt({dateModeTemplate:t,rangeSeparator:e,minLength:n,maxLength:i,max:o=y}){return L(n)&&L(i)?F:({value:a,selection:p})=>{const g=u(a,t,e);if(2!==g.length||g.some((e=>!c(e,t))))return{value:a,selection:p};const[m,v]=g.map((e=>d(h(e,t)))),y=s(m,Object.assign(Object.assign({},n),{day:(null==n?void 0:n.day)&&n.day-1})),b=L(i)?o:s(m,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),_=r(v,y,o),w=_>b?b:_;return{selection:p,value:g[0]+e+f(l(w),{dateMode:t})}}}function ot({dateModeTemplate:t,rangeSeparator:e}){return({value:n,selection:i})=>{const r=u(n,t,e),o=2===r.length&&r.every((e=>c(e,t))),[s,a]=i,l=s>=n.length,p=0===s&&a>=n.length;if(!l&&!p||!o)return{value:n,selection:i};const[f,g]=r.map((e=>d(h(e,t))));return{selection:i,value:f>g?r.reverse().join(e):n}}}function st({mode:t,min:e,max:n,minLength:r,maxLength:o,dateSeparator:s=".",rangeSeparator:a=`${x}${k}${x}`}){const l=t.split("/").join(s),c=Array.from(l).map((t=>s.includes(t)?t:/\d/));return Object.assign(Object.assign({},i.A_),{mask:[...c,...Array.from(a),...c],overwriteMode:"replace",preprocessors:[q(),$({dateModeTemplate:l,dateSegmentSeparator:s,firstDateEndSeparator:a,pseudoFirstDateEndSeparators:it}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s}),Y({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:s,splitFn:t=>({dateStrings:u(t,l,a)}),uniteFn:(t,e)=>t.reduce(((t,n,i)=>t+n+(!i&&e.includes(a)?a:"")),"")}),U({min:e,max:n,dateModeTemplate:l,rangeSeparator:a,dateSegmentSeparator:s}),rt({dateModeTemplate:l,minLength:r,maxLength:o,max:n,rangeSeparator:a}),ot({dateModeTemplate:l,rangeSeparator:a})]})}function at(t){return Object.fromEntries(Object.entries(t).map((([t,e])=>[t,`${e}`.padEnd(w[t],"0")])))}const lt={HH:"hours",MM:"minutes",SS:"seconds",MSS:"milliseconds"};function ct(t,e){const n=t.replaceAll(/\D+/g,"");let i=0;return Object.fromEntries(e.split(/\W/).map((t=>{const e=n.slice(i,i+t.length);return i+=t.length,[lt[t],e]})))}const ut=/^\D*/,ht=/\D*$/;function dt({hours:t="",minutes:e="",seconds:n="",milliseconds:i=""}){return`${t}:${e}:${n}.${i}`.replace(ut,"").replace(ht,"")}const pt=new RegExp(`[${_.map(z).join("")}]$`);function ft({timeString:t,paddedMaxValues:e,offset:n,selection:[i,r],timeMode:o}){const s=ct(t,o),a=Object.entries(s),l={};let c=0;for(const[t,o]of a){const s=dt(l),a=e[t],u=s.length&&1,h=n+s.length+u+w[t];if(h>=i&&h<=r&&Number(o)>Number(a))return{validatedTimeString:"",updatedTimeSelection:[i,r]};const{validatedSegmentValue:d,prefixedZeroesCount:p}=R(o,`${a}`);c+=p,l[t]=d}const[u=""]=t.match(pt)||[],h=dt(l)+u,d=Math.max(h.length-t.length,0);return{validatedTimeString:h,updatedTimeSelection:[i+c+d,r+c+d]}}function gt(t,{dateModeTemplate:e,dateTimeSeparator:n}){const i=t.includes(n);return[t.slice(0,e.length),t.slice(i?e.length+n.length:e.length)]}function mt({dateModeTemplate:t,timeMode:e,min:n=v,max:i=y,dateTimeSeparator:o}){return({value:s,selection:a})=>{const[u,g]=gt(s,{dateModeTemplate:t,dateTimeSeparator:o}),m=h(u,t),v=ct(g,e);if(!function(t,{dateMode:e,timeMode:n,dateTimeSeparator:i=p}){return t.length>=e.length+n.length+i.length&&t.split(i)[0].split(/\D/).every((t=>!t.match(/^0+$/)))}(s,{dateMode:t,timeMode:e,dateTimeSeparator:o})){const h=Z(m,t),{year:p,month:g,day:y}=c(u,t)?l(r(d(h),n,i)):h,b=f(Object.assign({year:p,month:g,day:y},v),{dateMode:t,dateTimeSeparator:o,timeMode:e});return{selection:a,value:b+s.slice(b.length)}}return{selection:a,value:f(l(r(d(m,v),n,i)),{dateMode:t,dateTimeSeparator:o,timeMode:e})}}}function vt({dateModeTemplate:t,dateSegmentsSeparator:e,dateTimeSeparator:n,timeMode:i}){const r=new RegExp(`[^\\d${_.map(z).join("")}${z(e)}]+`);return({elementState:o,data:s})=>{const{value:a,selection:l}=o;if(s===e)return{elementState:o,data:l[0]===a.length?s:""};const c=s.replace(r,"");if(!c)return{elementState:o,data:""};const[u,h]=l;let d=h+s.length;const p=a.slice(0,u)+c+a.slice(d),[f,g]=gt(p,{dateModeTemplate:t,dateTimeSeparator:n});let m="";const v=p.includes(n),{validatedDateString:y,updatedSelection:_}=T({dateString:f,dateSegmentsSeparator:e,dateModeTemplate:t,offset:0,selection:[u,d]});if(f&&!y)return{elementState:o,data:""};d=_[1],m+=y;const w=at(b),{validatedTimeString:x,updatedTimeSelection:C}=ft({timeString:g,paddedMaxValues:w,offset:m.length+n.length,selection:[u,d],timeMode:i});if(g&&!x)return{elementState:o,data:""};d=C[1],m+=v?n+x:x;const k=m.slice(u,d);return{elementState:{selection:l,value:m.slice(0,u)+k.split(e).map((t=>"0".repeat(t.length))).join(e)+m.slice(d)},data:k}}}function yt({dateMode:t,timeMode:e,dateSeparator:n=".",min:r,max:o,dateTimeSeparator:s=p,timeStep:a=0}){const l=t.split("/").join(n);return Object.assign(Object.assign({},i.A_),{mask:[...Array.from(l).map((t=>n.includes(t)?t:/\d/)),...s.split(""),...Array.from(e).map((t=>_.includes(t)?t:/\d/))],overwriteMode:"replace",preprocessors:[q(),H(),$({dateModeTemplate:l,dateSegmentSeparator:n,firstDateEndSeparator:s,pseudoFirstDateEndSeparators:s.split("")}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s}),vt({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s,timeMode:e})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:n,splitFn:t=>{const[e,n]=gt(t,{dateModeTemplate:l,dateTimeSeparator:s});return{dateStrings:[e],restPart:n}},uniteFn:([t],e)=>t+(e.includes(s)?s:"")}),mt({min:r,max:o,dateModeTemplate:l,timeMode:e,dateTimeSeparator:s})],plugins:[tt({step:a,fullMode:`${l}${s}${e}`,timeSegmentMaxValues:b})]})}function bt({prefix:t,postfix:e}){return({elementState:n,data:i})=>{const{cleanValue:r}=N(i,{prefix:t,postfix:e});return{elementState:n,data:r}}}function _t({decimalSeparator:t,isNegativeAllowed:e,precision:n,thousandSeparator:i,prefix:r,postfix:o,decimalPseudoSeparators:s=[],pseudoMinuses:a=[],minusSign:l}){const c=wt(r),u="\\d",h=e?`[${l}${a.map((t=>`\\${t}`)).join("")}]?`:"",d=i?`[${u}${z(i).replaceAll(/\s/g,"\\s")}]*`:`[${u}]*`,p=n>0?`([${z(t)}${s.map(z).join("")}]${u}{0,${Number.isFinite(n)?n:""}})?`:"",f=wt(o);return new RegExp(`^${c}${h}${d}${p}${f}$`)}function wt(t){return t?`${t.split("").map((t=>`${z(t)}?`)).join("")}`:""}function xt(t,e="."){const n=!!t.match(new RegExp(`^\\D*[${S}\\${M}${k}${O}${A}]`)),i=z(e),r=t.replaceAll(new RegExp(`${i}(?!\\d)`,"g"),"").replaceAll(new RegExp(`[^\\d${i}]`,"g"),"").replace(e,".");return r?Number((n?M:"")+r):NaN}function Ct(t,{decimalSeparator:e,thousandSeparator:n}){const[i="",r=""]=t.split(e),[,o="",s=""]=i.match(new RegExp(`([^\\d${z(n)}]+)?(.*)`))||[];return{minus:o,integerPart:s,decimalPart:r}}function kt({decimalSeparator:t,precision:e,decimalZeroPadding:n,prefix:i,postfix:r}){return e<=0||!n?F:({value:n,selection:o})=>{const{cleanValue:s,extractedPrefix:a,extractedPostfix:l}=N(n,{prefix:i,postfix:r});if(Number.isNaN(xt(s,t)))return{value:n,selection:o};const[c,u=""]=s.split(t);return{value:a+c+t+u.padEnd(e,"0")+l,selection:o}}}function Ot({prefix:t,postfix:e,decimalSeparator:n,thousandSeparator:i}){return({value:r,selection:o})=>{const[s]=o,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(r,{prefix:t,postfix:e}),{minus:u,integerPart:h,decimalPart:d}=Ct(a,{decimalSeparator:n,thousandSeparator:i}),p=!h&&!d&&a.includes(n);return!h&&!Number(d)&&s===(u+l).length||p?{selection:o,value:l+u+c}:{value:r,selection:o}}}function Mt({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:o,postfix:s,minusSign:a}){let l=!0;const c=_t({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0,minusSign:a});return({elementState:t,data:e})=>{if(!l)return{elementState:t,data:e};l=!1;const{value:n,selection:a}=t,[u,h]=a,{extractedPrefix:d,cleanValue:p,extractedPostfix:f}=N(n,{prefix:o,postfix:s}),g=(0,i.CV)({selection:[Math.max(u-d.length,0),r(h-d.length,0,p.length)],value:p},{mask:c}),[m,v]=g.selection;return{elementState:{selection:[m+d.length,v+d.length],value:d+g.value+f},data:e}}}function St({min:t,max:e,decimalSeparator:n,minusSign:i}){return({value:r,selection:o})=>{const s=xt(r,n),a=s>0?Math.min(s,e):Math.max(s,t);if(s&&a!==s){const t=`${a}`.replace(".",n).replace(M,i);return{value:t,selection:[t.length,t.length]}}return{value:r,selection:o}}}function At({decimalSeparator:t,thousandSeparator:e,decimalZeroPadding:n}){return({elementState:i,data:r},o)=>{const{value:s,selection:a}=i,[l,c]=a,u=s.slice(l,c),h=n?[t,e]:[e],d=n&&l>s.indexOf(t)&&Boolean(u.match(/^0+$/gi));return"deleteBackward"!==o&&"deleteForward"!==o||!h.includes(u)&&!d?{elementState:i,data:r}:{elementState:{value:s,selection:"deleteForward"===o?[c,c]:[l,l]},data:r}}}function Pt({decimalSeparator:t,precision:e,prefix:n,postfix:i}){const o=new RegExp(`^\\D*${z(t)}`);return({elementState:s,data:a})=>{const{value:l,selection:c}=s,{cleanValue:u,extractedPrefix:h}=N(l,{prefix:n,postfix:i}),[d,p]=c,f=r(d-h.length,0,u.length),g=r(p-h.length,0,u.length);return e<=0||u.slice(0,f).includes(t)||u.slice(g).includes(t)||!a.match(o)?{elementState:s,data:a}:{elementState:s,data:u.slice(0,f).match(/\d+/)?a:`0${a}`}}}function Et({validCharacter:t,pseudoCharacters:e,prefix:n,postfix:i}){const r=new RegExp(`[${e.join("")}]`,"gi");return({elementState:e,data:o})=>{const{value:s,selection:a}=e,{cleanValue:l,extractedPostfix:c,extractedPrefix:u}=N(s,{prefix:n,postfix:i});return{elementState:{selection:a,value:u+l.replace(r,t)+c},data:o.replace(r,t)}}}function Tt({decimalSeparator:t,prefix:e,postfix:n}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i,[a,l]=s,{cleanValue:c}=N(o,{prefix:e,postfix:n});return{elementState:i,data:!c.includes(t)||o.slice(a,l+1).includes(t)?r:r.replaceAll(new RegExp(z(t),"gi"),"")}}}function It({thousandSeparator:t,decimalSeparator:e,prefix:n,postfix:i}){return t?({value:r,selection:o})=>{const{cleanValue:s,extractedPostfix:a,extractedPrefix:l}=N(r,{prefix:n,postfix:i}),{minus:c,integerPart:u,decimalPart:h}=Ct(s,{decimalSeparator:e,thousandSeparator:t}),[d,p]=o;let[f,g]=o;return{value:l+c+Array.from(u).reduceRight(((e,n,i)=>{const r=!(!i&&n===t)&&e.length&&(e.length+1)%4==0;return r&&(n===t||((...t)=>t.every((t=>/\s/.test(t))))(n,t))?t+e:n!==t||r?r?(i<=d&&f++,i<=p&&g++,n+t+e):n+e:(i&&i<=d&&f--,i&&i<=p&&g--,e)}),"")+(s.includes(e)?e:"")+h+a,selection:[f,g]}}:F}function Dt({precision:t,decimalSeparator:e,prefix:n,postfix:i}){if(t>0)return F;const r=new RegExp(`${z(e)}.*$`,"g");return({elementState:t,data:e})=>{const{value:o,selection:s}=t,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(o,{prefix:n,postfix:i}),[u,h]=s,d=l+a.replace(r,"")+c;return{elementState:{selection:[Math.min(u,d.length),Math.min(h,d.length)],value:d},data:e.replace(r,"")}}}const zt=[0,0];function Nt({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r}){const o=function({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:i}){const r=t=>{const n=z(e);return t.replace(new RegExp(`^(\\D+)?[0${n}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${n}]+(?=[1-9])`),"$1")},o=(t,e)=>{const n=t.slice(0,e),i=t.slice(e).startsWith("0");return n.length-r(n).length+(i?1:0)};return({value:e,selection:s})=>{const[a,l]=s,{cleanValue:c,extractedPrefix:u,extractedPostfix:h}=N(e,{prefix:n,postfix:i}),d=c.includes(t),[p,f=""]=c.split(t),g=r(p);if(p===g)return{value:e,selection:s};const m=a-o(e,a),v=l-o(e,l);return{value:u+g+(d?t:"")+f+h,selection:[Math.max(m,0),Math.max(v,0)]}}}({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r});return W("blur",(t=>{const e=o({value:t.value,selection:zt},{value:"",selection:zt}).value;(0,i.fD)(t,e)}),{capture:!0})}function Ft({min:t,max:e,decimalSeparator:n}){return W("blur",((o,s)=>{const a=xt(o.value,n),l=r(a,t,e);Number.isNaN(a)||a===l||(0,i.fD)(o,(0,i.CV)(function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(l),s))}),{capture:!0})}function Lt({decimalSeparator:t,prefix:e,postfix:n}){return W("blur",(r=>{const{cleanValue:o,extractedPostfix:s,extractedPrefix:a}=N(r.value,{prefix:e,postfix:n}),l=a+o.replace(new RegExp(`^(\\D+)?${z(t)}`),`$10${t}`)+s;(0,i.fD)(r,l)}),{capture:!0})}function Rt({max:t=Number.MAX_SAFE_INTEGER,min:e=Number.MIN_SAFE_INTEGER,precision:n=0,thousandSeparator:r=x,decimalSeparator:o=".",decimalPseudoSeparators:s,decimalZeroPadding:a=!1,prefix:l="",postfix:c="",minusSign:u=S}={}){const h=[M,k,O,A,S].filter((t=>t!==r&&t!==o&&t!==u)),d=function({decimalSeparator:t,thousandSeparator:e,decimalPseudoSeparators:n=m}){return n.filter((n=>n!==e&&n!==t))}({decimalSeparator:o,thousandSeparator:r,decimalPseudoSeparators:s}),p=l.endsWith(o)&&n>0?`${l}${C}`:l;return Object.assign(Object.assign({},i.A_),{mask:_t({decimalSeparator:o,precision:n,thousandSeparator:r,prefix:p,postfix:c,isNegativeAllowed:e<0,minusSign:u}),preprocessors:[q(),Mt({decimalSeparator:o,decimalPseudoSeparators:d,pseudoMinuses:h,prefix:p,postfix:c,minusSign:u}),bt({prefix:p,postfix:c}),Et({validCharacter:u,pseudoCharacters:h,prefix:p,postfix:c}),Et({validCharacter:o,pseudoCharacters:d,prefix:p,postfix:c}),Pt({decimalSeparator:o,precision:n,prefix:p,postfix:c}),At({decimalSeparator:o,decimalZeroPadding:a,thousandSeparator:r}),Dt({precision:n,decimalSeparator:o,prefix:p,postfix:c}),Tt({decimalSeparator:o,prefix:p,postfix:c})],postprocessors:[St({decimalSeparator:o,min:e,max:t,minusSign:u}),J(p),Q(c),It({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),kt({decimalSeparator:o,decimalZeroPadding:a,precision:n,prefix:p,postfix:c}),Ot({prefix:p,postfix:c,decimalSeparator:o,thousandSeparator:r})],plugins:[Nt({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),Lt({decimalSeparator:o,prefix:p,postfix:c}),Ft({min:e,max:t,decimalSeparator:o})],overwriteMode:a?({value:t,selection:[e]})=>e<=t.indexOf(o)?"shift":"replace":"shift"})}function Bt(t,e){const n=at(t),i=new RegExp(`[^\\d${_.map(z).join("")}]+`);return({elementState:t,data:r},o)=>{if("deleteBackward"===o||"deleteForward"===o)return{elementState:t,data:r};const{value:s,selection:a}=t;if("validation"===o){const{validatedTimeString:t,updatedTimeSelection:i}=ft({timeString:s,paddedMaxValues:n,offset:0,selection:a,timeMode:e});return{elementState:{value:t,selection:i},data:r}}const l=r.replace(i,""),[c,u]=a;let h=u+l.length;const d=s.slice(0,c)+l+s.slice(h),{validatedTimeString:p,updatedTimeSelection:f}=ft({timeString:d,paddedMaxValues:n,offset:0,selection:[c,h],timeMode:e});if(d&&!p)return{elementState:t,data:""};h=f[1];const g=p.slice(c,h);return{elementState:{selection:a,value:p.slice(0,c)+"0".repeat(g.length)+p.slice(h)},data:g}}}function jt({mode:t,timeSegmentMaxValues:e={},step:n=0}){const r=Object.assign(Object.assign({},b),e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(t).map((t=>_.includes(t)?t:/\d/)),preprocessors:[q(),H(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},Bt(r,t)],plugins:[tt({fullMode:t,step:n,timeSegmentMaxValues:r})],overwriteMode:"replace"})}},56424:(t,e,n)=>{n.d(e,{X:()=>r});var i=n(78748);class r extends i.x{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}},48132:(t,e,n)=>{n.d(e,{y:()=>u});var i=n(84676),r=n(902),o=n(49837),s=n(22222),a=n(89885),l=n(3649),c=n(41855);let u=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const o=(s=t)&&s instanceof i.Lv||function(t){return t&&(0,l.m)(t.next)&&(0,l.m)(t.error)&&(0,l.m)(t.complete)}(s)&&(0,r.Nn)(s)?t:new i.Hp(t,e,n);var s;return(0,c.x)((()=>{const{operator:t,source:e}=this;o.add(t?t.call(o,e):e?this._subscribe(o):this._trySubscribe(o))})),o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=h(e))(((e,n)=>{const r=new i.Hp({next:e=>{try{t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:e});this.subscribe(r)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[o.L](){return this}pipe(...t){return(0,s.U)(t)(this)}toPromise(t){return new(t=h(t))(((t,e)=>{let n;this.subscribe((t=>n=t),(t=>e(t)),(()=>t(n)))}))}}return t.create=e=>new t(e),t})();function h(t){var e;return null!==(e=null!=t?t:a.config.Promise)&&void 0!==e?e:Promise}},35484:(t,e,n)=>{n.d(e,{t:()=>o});var i=n(78748),r=n(87541);class o extends i.x{constructor(t=1/0,e=1/0,n=r.l){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:r,_windowTime:o}=this;e||(n.push(t),!i&&n.push(r.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:i}=this,r=i.slice();for(let e=0;e{n.d(e,{x:()=>l});var i=n(48132),r=n(902);const o=(0,n(99046).d)((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var s=n(40801),a=n(41855);let l=(()=>{class t extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new c(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new o}next(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const e=this.observers.slice();for(const n of e)n.next(t)}}))}error(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:n,observers:i}=this;return e||n?r.Lc:(i.push(t),new r.w0((()=>(0,s.P)(i,t))))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:i}=this;e?t.error(n):i&&t.complete()}asObservable(){const t=new i.y;return t.source=this,t}}return t.create=(t,e)=>new c(t,e),t})();class c extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:r.Lc}}},84676:(t,e,n)=>{n.d(e,{Hp:()=>p,Lv:()=>d});var i=n(3649),r=n(902),o=n(89885),s=n(29102),a=n(96811);const l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var u=n(63112),h=n(41855);class d extends r.w0{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,(0,r.Nn)(t)&&t.add(this)):this.destination=v}static create(t,e,n){return new p(t,e,n)}next(t){this.isStopped?m(function(t){return c("N",t,void 0)}(t),this):this._next(t)}error(t){this.isStopped?m(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?m(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class p extends d{constructor(t,e,n){let r;if(super(),(0,i.m)(t))r=t;else if(t){let i;({next:r,error:e,complete:n}=t),this&&o.config.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)}this.destination={next:r?f(r):a.Z,error:f(null!=e?e:g),complete:n?f(n):a.Z}}}function f(t,e){return(...e)=>{try{t(...e)}catch(t){o.config.useDeprecatedSynchronousErrorHandling?(0,h.O)(t):(0,s.h)(t)}}}function g(t){throw t}function m(t,e){const{onStoppedNotification:n}=o.config;n&&u.z.setTimeout((()=>n(t,e)))}const v={closed:!0,next:a.Z,error:g,complete:a.Z}},902:(t,e,n)=>{n.d(e,{Lc:()=>a,w0:()=>s,Nn:()=>l});var i=n(3649);const r=(0,n(99046).d)((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));var o=n(40801);class s{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if((0,i.m)(n))try{n()}catch(e){t=e instanceof r?e.errors:[e]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const e of o)try{c(e)}catch(e){t=null!=t?t:[],e instanceof r?t=[...t,...e.errors]:t.push(e)}}if(t)throw new r(t)}}add(t){var e;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&(0,o.P)(e,t)}remove(t){const{_teardowns:e}=this;e&&(0,o.P)(e,t),t instanceof s&&t._removeParent(this)}}s.EMPTY=(()=>{const t=new s;return t.closed=!0,t})();const a=s.EMPTY;function l(t){return t instanceof s||t&&"closed"in t&&(0,i.m)(t.remove)&&(0,i.m)(t.add)&&(0,i.m)(t.unsubscribe)}function c(t){(0,i.m)(t)?t():t.unsubscribe()}},89885:(t,e,n)=>{n.d(e,{config:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},38442:(t,e,n)=>{n.d(e,{a:()=>d});var i=n(48132),r=n(56632),o=n(3489),s=n(69401),a=n(35993),l=n(38197),c=n(22713),u=n(70134),h=n(53224);function d(...t){const e=(0,l.yG)(t),n=(0,l.jO)(t),{args:h,keys:d}=(0,r.D)(t);if(0===h.length)return(0,o.D)([],e);const f=new i.y(function(t,e,n=s.y){return i=>{p(e,(()=>{const{length:r}=t,s=new Array(r);let a=r,l=r;for(let c=0;c{const r=(0,o.D)(t[c],e);let h=!1;r.subscribe(new u.Q(i,(t=>{s[c]=t,h||(h=!0,l--),l||i.next(n(s.slice()))}),(()=>{--a||i.complete()})))}),i)}),i)}}(h,e,d?t=>(0,c.n)(d,t):s.y));return n?f.pipe((0,a.Z)(n)):f}function p(t,e,n){t?(0,h.f)(n,t,e):e()}},45623:(t,e,n)=>{n.d(e,{z:()=>s});var i=n(42605),r=n(38197),o=n(3489);function s(...t){return(0,i.J)(1)((0,o.D)(t,(0,r.yG)(t)))}},83562:(t,e,n)=>{n.d(e,{P:()=>o});var i=n(48132),r=n(46974);function o(t){return new i.y((e=>{(0,r.Xf)(t()).subscribe(e)}))}},30453:(t,e,n)=>{n.d(e,{E:()=>i});const i=new(n(48132).y)((t=>t.complete()))},30319:(t,e,n)=>{n.d(e,{D:()=>u});var i=n(48132),r=n(56632),o=n(46974),s=n(38197),a=n(70134),l=n(35993),c=n(22713);function u(...t){const e=(0,s.jO)(t),{args:n,keys:u}=(0,r.D)(t),h=new i.y((t=>{const{length:e}=n;if(!e)return void t.complete();const i=new Array(e);let r=e,s=e;for(let l=0;l{e||(e=!0,s--),i[l]=t}),(()=>r--),void 0,(()=>{r&&e||(s||t.next(u?(0,c.n)(u,i):i),t.complete())})))}}));return e?h.pipe((0,l.Z)(e)):h}},3489:(t,e,n)=>{n.d(e,{D:()=>_});var i=n(46974),r=n(53224),o=n(96142),s=n(70134);function a(t,e=0){return(0,o.e)(((n,i)=>{n.subscribe(new s.Q(i,(n=>(0,r.f)(i,t,(()=>i.next(n)),e)),(()=>(0,r.f)(i,t,(()=>i.complete()),e)),(n=>(0,r.f)(i,t,(()=>i.error(n)),e))))}))}function l(t,e=0){return(0,o.e)(((n,i)=>{i.add(t.schedule((()=>n.subscribe(i)),e))}))}var c=n(48132),u=n(56818),h=n(3649);function d(t,e){if(!t)throw new Error("Iterable cannot be null");return new c.y((n=>{(0,r.f)(n,e,(()=>{const i=t[Symbol.asyncIterator]();(0,r.f)(n,e,(()=>{i.next().then((t=>{t.done?n.complete():n.next(t.value)}))}),0,!0)}))}))}var p=n(48040),f=n(43913),g=n(23234),m=n(58926),v=n(53525),y=n(369),b=n(85994);function _(t,e){return e?function(t,e){if(null!=t){if((0,p.c)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,g.z)(t))return function(t,e){return new c.y((n=>{let i=0;return e.schedule((function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())}))}))}(t,e);if((0,f.t)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,v.D)(t))return d(t,e);if((0,m.T)(t))return function(t,e){return new c.y((n=>{let i;return(0,r.f)(n,e,(()=>{i=t[u.h](),(0,r.f)(n,e,(()=>{let t,e;try{({value:t,done:e}=i.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)}),0,!0)})),()=>(0,h.m)(null==i?void 0:i.return)&&i.return()}))}(t,e);if((0,b.L)(t))return function(t,e){return d((0,b.Q)(t),e)}(t,e)}throw(0,y.z)(t)}(t,e):(0,i.Xf)(t)}},10409:(t,e,n)=>{n.d(e,{R:()=>d});var i=n(46974),r=n(48132),o=n(45130),s=n(23234),a=n(3649),l=n(35993);const c=["addListener","removeListener"],u=["addEventListener","removeEventListener"],h=["on","off"];function d(t,e,n,f){if((0,a.m)(n)&&(f=n,n=void 0),f)return d(t,e,n).pipe((0,l.Z)(f));const[g,m]=function(t){return(0,a.m)(t.addEventListener)&&(0,a.m)(t.removeEventListener)}(t)?u.map((i=>r=>t[i](e,r,n))):function(t){return(0,a.m)(t.addListener)&&(0,a.m)(t.removeListener)}(t)?c.map(p(t,e)):function(t){return(0,a.m)(t.on)&&(0,a.m)(t.off)}(t)?h.map(p(t,e)):[];if(!g&&(0,s.z)(t))return(0,o.z)((t=>d(t,e,n)))((0,i.Xf)(t));if(!g)throw new TypeError("Invalid event target");return new r.y((t=>{const e=(...e)=>t.next(1m(e)}))}function p(t,e){return n=>i=>t[n](e,i)}},46974:(t,e,n)=>{n.d(e,{Xf:()=>g});var i=n(84911),r=n(23234),o=n(43913),s=n(48132),a=n(48040),l=n(53525),c=n(369),u=n(58926),h=n(85994),d=n(3649),p=n(29102),f=n(49837);function g(t){if(t instanceof s.y)return t;if(null!=t){if((0,a.c)(t))return v=t,new s.y((t=>{const e=v[f.L]();if((0,d.m)(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,r.z)(t))return g=t,new s.y((t=>{for(let e=0;e{i.then((e=>{t.closed||(t.next(e),t.complete())}),(e=>t.error(e))).then(null,p.h)}));if((0,l.D)(t))return m(t);if((0,u.T)(t))return n=t,new s.y((t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()}));if((0,h.L)(t))return e=t,m((0,h.Q)(e))}var e,n,i,g,v;throw(0,c.z)(t)}function m(t){return new s.y((e=>{(function(t,e){var n,r,o,s;return(0,i.mG)(this,void 0,void 0,(function*(){try{for(n=(0,i.KL)(t);!(r=yield n.next()).done;){const t=r.value;if(e.next(t),e.closed)return}}catch(t){o={error:t}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}e.complete()}))})(t,e).catch((t=>e.error(t)))}))}},45047:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(42605),r=n(46974),o=n(30453),s=n(38197),a=n(3489);function l(...t){const e=(0,s.yG)(t),n=(0,s._6)(t,1/0),l=t;return l.length?1===l.length?(0,r.Xf)(l[0]):(0,i.J)(n)((0,a.D)(l,e)):o.E}},14553:(t,e,n)=>{n.d(e,{C:()=>o});var i=n(48132),r=n(96811);const o=new i.y(r.Z)},71209:(t,e,n)=>{n.d(e,{of:()=>o});var i=n(38197),r=n(3489);function o(...t){const e=(0,i.yG)(t);return(0,r.D)(t,e)}},82479:(t,e,n)=>{n.d(e,{S:()=>a});var i=n(48132),r=n(46974),o=n(15130),s=n(70134);function a(...t){return 1===(t=(0,o.k)(t)).length?(0,r.Xf)(t[0]):new i.y(function(t){return e=>{let n=[];for(let i=0;n&&!e.closed&&i{if(n){for(let t=0;t{n.d(e,{_:()=>o});var i=n(48132),r=n(3649);function o(t,e){const n=(0,r.m)(t)?t:()=>t,o=t=>t.error(n());return new i.y(e?t=>e.schedule(o,0,t):o)}},1925:(t,e,n)=>{n.d(e,{H:()=>s});var i=n(48132),r=n(68634),o=n(16943);function s(t=0,e,n=r.P){let s=-1;return null!=e&&((0,o.K)(e)?n=e:s=e),new i.y((e=>{let i=(r=t)instanceof Date&&!isNaN(r)?+t-n.now():t;var r;i<0&&(i=0);let o=0;return n.schedule((function(){e.closed||(e.next(o++),0<=s?this.schedule(void 0,s):e.complete())}),i)}))}},87493:(t,e,n)=>{n.d(e,{$:()=>c});var i=n(48132),r=n(46974),o=n(15130),s=n(30453),a=n(70134),l=n(38197);function c(...t){const e=(0,l.jO)(t),n=(0,o.k)(t);return n.length?new i.y((t=>{let i=n.map((()=>[])),o=n.map((()=>!1));t.add((()=>{i=o=null}));for(let s=0;!t.closed&&s{if(i[s].push(n),i.every((t=>t.length))){const n=i.map((t=>t.shift()));t.next(e?e(...n):n),i.some(((t,e)=>!t.length&&o[e]))&&t.complete()}}),(()=>{o[s]=!0,!i[s].length&&t.complete()})));return()=>{i=o=null}})):s.E}},70134:(t,e,n)=>{n.d(e,{Q:()=>r});var i=n(84676);class r extends i.Lv{constructor(t,e,n,i,r){super(t),this.onFinalize=r,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}},17560:(t,e,n)=>{n.d(e,{K:()=>s});var i=n(46974),r=n(70134),o=n(96142);function s(t){return(0,o.e)(((e,n)=>{let o,a=null,l=!1;a=e.subscribe(new r.Q(n,void 0,void 0,(r=>{o=(0,i.Xf)(t(r,s(t)(e))),a?(a.unsubscribe(),a=null,o.subscribe(n)):l=!0}))),l&&(a.unsubscribe(),a=null,o.subscribe(n))}))}},70109:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(45130),r=n(3649);function o(t,e){return(0,r.m)(e)?(0,i.z)(t,e,1):(0,i.z)(t,1)}},24249:(t,e,n)=>{n.d(e,{D:()=>a});var i=n(96142),r=n(96811),o=n(70134),s=n(46974);function a(t){return(0,i.e)(((e,n)=>{let i=!1,a=null,l=null;const c=()=>{if(null==l||l.unsubscribe(),l=null,i){i=!1;const t=a;a=null,n.next(t)}};e.subscribe(new o.Q(n,(e=>{null==l||l.unsubscribe(),i=!0,a=e,l=new o.Q(n,c,r.Z),(0,s.Xf)(t(e)).subscribe(l)}),(()=>{c(),n.complete()}),void 0,(()=>{a=l=null})))}))}},20155:(t,e,n)=>{n.d(e,{b:()=>s});var i=n(68634),r=n(96142),o=n(70134);function s(t,e=i.z){return(0,r.e)(((n,i)=>{let r=null,s=null,a=null;const l=()=>{if(r){r.unsubscribe(),r=null;const t=s;s=null,i.next(t)}};function c(){const n=a+t,o=e.now();if(o{s=n,a=e.now(),r||(r=e.schedule(c,t),i.add(r))}),(()=>{l(),i.complete()}),void 0,(()=>{s=r=null})))}))}},80407:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(96142),r=n(70134);function o(t){return(0,i.e)(((e,n)=>{let i=!1;e.subscribe(new r.Q(n,(t=>{i=!0,n.next(t)}),(()=>{i||n.next(t),n.complete()})))}))}},69286:(t,e,n)=>{n.d(e,{g:()=>h});var i=n(68634),r=n(45623),o=n(21813),s=n(91105),a=n(97376),l=n(45130);function c(t,e){return e?n=>(0,r.z)(e.pipe((0,o.q)(1),(0,s.l)()),n.pipe(c(t))):(0,l.z)(((e,n)=>t(e,n).pipe((0,o.q)(1),(0,a.h)(e))))}var u=n(1925);function h(t,e=i.z){const n=(0,u.H)(t,e);return c((()=>n))}},18004:(t,e,n)=>{n.d(e,{x:()=>s});var i=n(69401),r=n(96142),o=n(70134);function s(t,e=i.y){return t=null!=t?t:a,(0,r.e)(((n,i)=>{let r,s=!0;n.subscribe(new o.Q(i,(n=>{const o=e(n);!s&&t(r,o)||(s=!1,r=o,i.next(n))})))}))}function a(t,e){return t===e}},93311:(t,e,n)=>{n.d(e,{l:()=>o});var i=n(45623),r=n(71209);function o(...t){return e=>(0,i.z)(e,(0,r.of)(...t))}},55333:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>t.call(e,n,o++)&&i.next(n))))}))}},36293:(t,e,n)=>{n.d(e,{x:()=>r});var i=n(96142);function r(t){return(0,i.e)(((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}}))}},91105:(t,e,n)=>{n.d(e,{l:()=>s});var i=n(96142),r=n(70134),o=n(96811);function s(){return(0,i.e)(((t,e)=>{t.subscribe(new r.Q(e,o.Z))}))}},92425:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{i.next(t.call(e,n,o++))})))}))}},97376:(t,e,n)=>{n.d(e,{h:()=>r});var i=n(92425);function r(t){return(0,i.U)((()=>t))}},42605:(t,e,n)=>{n.d(e,{J:()=>o});var i=n(45130),r=n(69401);function o(t=1/0){return(0,i.z)(r.y,t)}},45130:(t,e,n)=>{n.d(e,{z:()=>l});var i=n(92425),r=n(46974),o=n(96142),s=(n(53224),n(70134)),a=n(3649);function l(t,e,n=1/0){return(0,a.m)(e)?l(((n,o)=>(0,i.U)(((t,i)=>e(n,t,o,i)))((0,r.Xf)(t(n,o)))),n):("number"==typeof e&&(n=e),(0,o.e)(((e,i)=>function(t,e,n,i,o,a,l,c){const u=[];let h=0,d=0,p=!1;const f=()=>{!p||u.length||h||e.complete()},g=t=>{h++;let o=!1;(0,r.Xf)(n(t,d++)).subscribe(new s.Q(e,(t=>{e.next(t)}),(()=>{o=!0}),void 0,(()=>{if(o)try{for(h--;u.length&&hh{p=!0,f()}))),()=>{}}(e,i,t,n))))}},74114:(t,e,n)=>{n.d(e,{G:()=>o});var i=n(96142),r=n(70134);function o(){return(0,i.e)(((t,e)=>{let n,i=!1;t.subscribe(new r.Q(e,(t=>{const r=n;n=t,i&&e.next([r,t]),i=!0})))}))}},74842:(t,e,n)=>{n.d(e,{r:()=>l});var i=n(30453),r=n(96142),o=n(70134),s=n(46974),a=n(1925);function l(t){let e,n=1/0;return null!=t&&("object"==typeof t?({count:n=1/0,delay:e}=t):n=t),n<=0?()=>i.E:(0,r.e)(((t,i)=>{let r,l=0;const c=()=>{if(null==r||r.unsubscribe(),r=null,null!=e){const t="number"==typeof e?(0,a.H)(e):(0,s.Xf)(e(l)),n=new o.Q(i,(()=>{n.unsubscribe(),u()}));t.subscribe(n)}else u()},u=()=>{let e=!1;r=t.subscribe(new o.Q(i,void 0,(()=>{++l{n.d(e,{R:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(function(t,e,n,i,o){return(i,o)=>{let s=n,a=e,l=0;i.subscribe(new r.Q(o,(e=>{const n=l++;a=s?t(a,e,n):(s=!0,e),o.next(a)}),void 0))}}(t,e,arguments.length>=2))}},88557:(t,e,n)=>{n.d(e,{B:()=>l});var i=n(3489),r=n(21813),o=n(78748),s=n(84676),a=n(96142);function l(t={}){const{connector:e=(()=>new o.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:l=!0}=t;return t=>{let o=null,u=null,h=null,d=0,p=!1,f=!1;const g=()=>{null==u||u.unsubscribe(),u=null},m=()=>{g(),o=h=null,p=f=!1},v=()=>{const t=o;m(),null==t||t.unsubscribe()};return(0,a.e)(((t,a)=>{d++,f||p||g();const y=h=null!=h?h:e();a.add((()=>{d--,0!==d||f||p||(u=c(v,l))})),y.subscribe(a),o||(o=new s.Hp({next:t=>y.next(t),error:t=>{f=!0,g(),u=c(m,n,t),y.error(t)},complete:()=>{p=!0,g(),u=c(m,r),y.complete()}}),(0,i.D)(t).subscribe(o))}))(t)}}function c(t,e,...n){return!0===e?(t(),null):!1===e?null:e(...n).pipe((0,r.q)(1)).subscribe((()=>t()))}},20530:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(35484),r=n(88557);function o(t,e,n){var o,s;let a,l=!1;return t&&"object"==typeof t?(a=null!==(o=t.bufferSize)&&void 0!==o?o:1/0,e=null!==(s=t.windowTime)&&void 0!==s?s:1/0,l=!!t.refCount,n=t.scheduler):a=null!=t?t:1/0,(0,r.B)({connector:()=>new i.t(a,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}},14776:(t,e,n)=>{n.d(e,{T:()=>r});var i=n(55333);function r(t){return(0,i.h)(((e,n)=>t<=n))}},73843:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(45623),r=n(38197),o=n(96142);function s(...t){const e=(0,r.yG)(t);return(0,o.e)(((n,r)=>{(e?(0,i.z)(t,n,e):(0,i.z)(t,n)).subscribe(r)}))}},84787:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(46974),r=n(96142),o=n(70134);function s(t,e){return(0,r.e)(((n,r)=>{let s=null,a=0,l=!1;const c=()=>l&&!s&&r.complete();n.subscribe(new o.Q(r,(n=>{null==s||s.unsubscribe();let l=0;const u=a++;(0,i.Xf)(t(n,u)).subscribe(s=new o.Q(r,(t=>r.next(e?e(n,t,u,l++):t)),(()=>{s=null,c()})))}),(()=>{l=!0,c()})))}))}},21813:(t,e,n)=>{n.d(e,{q:()=>s});var i=n(30453),r=n(96142),o=n(70134);function s(t){return t<=0?()=>i.E:(0,r.e)(((e,n)=>{let i=0;e.subscribe(new o.Q(n,(e=>{++i<=t&&(n.next(e),t<=i&&n.complete())})))}))}},81749:(t,e,n)=>{n.d(e,{R:()=>a});var i=n(96142),r=n(70134),o=n(46974),s=n(96811);function a(t){return(0,i.e)(((e,n)=>{(0,o.Xf)(t).subscribe(new r.Q(n,(()=>n.complete()),s.Z)),!n.closed&&e.subscribe(n)}))}},85228:(t,e,n)=>{n.d(e,{o:()=>o});var i=n(96142),r=n(70134);function o(t,e=!1){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{const r=t(n,o++);(r||e)&&i.next(n),!r&&i.complete()})))}))}},31570:(t,e,n)=>{n.d(e,{b:()=>a});var i=n(3649),r=n(96142),o=n(70134),s=n(69401);function a(t,e,n){const a=(0,i.m)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,r.e)(((t,e)=>{var n;null===(n=a.subscribe)||void 0===n||n.call(a);let i=!0;t.subscribe(new o.Q(e,(t=>{var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)}),(()=>{var t;i=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()}),(t=>{var n;i=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)}),(()=>{var t,e;i&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)})))})):s.y}},38356:(t,e,n)=>{n.d(e,{p:()=>c});var i=n(68634),r=n(96142),o=n(70134),s=n(46974);const a={leading:!0,trailing:!1};var l=n(1925);function c(t,e=i.z,n=a){const c=(0,l.H)(t,e);return function(t,e=a){return(0,r.e)(((n,i)=>{const{leading:r,trailing:a}=e;let l=!1,c=null,u=null,h=!1;const d=()=>{null==u||u.unsubscribe(),u=null,a&&(g(),h&&i.complete())},p=()=>{u=null,h&&i.complete()},f=e=>u=(0,s.Xf)(t(e)).subscribe(new o.Q(i,d,p)),g=()=>{if(l){l=!1;const t=c;c=null,i.next(t),!h&&f(t)}};n.subscribe(new o.Q(i,(t=>{l=!0,c=t,(!u||u.closed)&&(r?g():f(t))}),(()=>{h=!0,(!(a&&l&&u)||u.closed)&&i.complete()})))}))}((()=>c),n)}},17544:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(96142),r=n(70134),o=n(46974),s=n(69401),a=n(96811),l=n(38197);function c(...t){const e=(0,l.jO)(t);return(0,i.e)(((n,i)=>{const l=t.length,c=new Array(l);let u=t.map((()=>!1)),h=!1;for(let e=0;e{c[e]=t,h||u[e]||(u[e]=!0,(h=u.every(s.y))&&(u=null))}),a.Z));n.subscribe(new r.Q(i,(t=>{if(h){const n=[t,...c];i.next(e?e(...n):n)}})))}))}},80054:(t,e,n)=>{n.d(e,{o:()=>a});var i=n(902);class r extends i.w0{constructor(t,e){super()}schedule(t,e=0){return this}}const o={setInterval(...t){const{delegate:e}=o;return((null==e?void 0:e.setInterval)||setInterval)(...t)},clearInterval(t){const{delegate:e}=o;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var s=n(40801);class a extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return o.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;o.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(t){i=!0,n=t||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.P)(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}},65804:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(87541);class r{constructor(t,e=r.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}r.now=i.l.now;class o extends r{constructor(t,e=r.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},68634:(t,e,n)=>{n.d(e,{P:()=>o,z:()=>r});var i=n(80054);const r=new(n(65804).v)(i.o),o=r},87541:(t,e,n)=>{n.d(e,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},63112:(t,e,n)=>{n.d(e,{z:()=>i});const i={setTimeout(...t){const{delegate:e}=i;return((null==e?void 0:e.setTimeout)||setTimeout)(...t)},clearTimeout(t){const{delegate:e}=i;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},56818:(t,e,n)=>{n.d(e,{h:()=>i});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},49837:(t,e,n)=>{n.d(e,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},38197:(t,e,n)=>{n.d(e,{_6:()=>l,jO:()=>s,yG:()=>a});var i=n(3649),r=n(16943);function o(t){return t[t.length-1]}function s(t){return(0,i.m)(o(t))?t.pop():void 0}function a(t){return(0,r.K)(o(t))?t.pop():void 0}function l(t,e){return"number"==typeof o(t)?t.pop():e}},56632:(t,e,n)=>{n.d(e,{D:()=>a});const{isArray:i}=Array,{getPrototypeOf:r,prototype:o,keys:s}=Object;function a(t){if(1===t.length){const n=t[0];if(i(n))return{args:n,keys:null};if((e=n)&&"object"==typeof e&&r(e)===o){const t=s(n);return{args:t.map((t=>n[t])),keys:t}}}var e;return{args:t,keys:null}}},15130:(t,e,n)=>{n.d(e,{k:()=>r});const{isArray:i}=Array;function r(t){return 1===t.length&&i(t[0])?t[0]:t}},40801:(t,e,n)=>{function i(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:()=>i})},99046:(t,e,n)=>{function i(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:()=>i})},22713:(t,e,n)=>{function i(t,e){return t.reduce(((t,n,i)=>(t[n]=e[i],t)),{})}n.d(e,{n:()=>i})},41855:(t,e,n)=>{n.d(e,{O:()=>s,x:()=>o});var i=n(89885);let r=null;function o(t){if(i.config.useDeprecatedSynchronousErrorHandling){const e=!r;if(e&&(r={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=r;if(r=null,t)throw e}}else t()}function s(t){i.config.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=t)}},53224:(t,e,n)=>{function i(t,e,n,i=0,r=!1){const o=e.schedule((function(){n(),r?t.add(this.schedule(null,i)):this.unsubscribe()}),i);if(t.add(o),!r)return o}n.d(e,{f:()=>i})},69401:(t,e,n)=>{function i(t){return t}n.d(e,{y:()=>i})},23234:(t,e,n)=>{n.d(e,{z:()=>i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},53525:(t,e,n)=>{n.d(e,{D:()=>r});var i=n(3649);function r(t){return Symbol.asyncIterator&&(0,i.m)(null==t?void 0:t[Symbol.asyncIterator])}},3649:(t,e,n)=>{function i(t){return"function"==typeof t}n.d(e,{m:()=>i})},48040:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(49837),r=n(3649);function o(t){return(0,r.m)(t[i.L])}},58926:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(56818),r=n(3649);function o(t){return(0,r.m)(null==t?void 0:t[i.h])}},11070:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(48132),r=n(3649);function o(t){return!!t&&(t instanceof i.y||(0,r.m)(t.lift)&&(0,r.m)(t.subscribe))}},43913:(t,e,n)=>{n.d(e,{t:()=>r});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.then)}},85994:(t,e,n)=>{n.d(e,{L:()=>s,Q:()=>o});var i=n(84911),r=n(3649);function o(t){return(0,i.FC)(this,arguments,(function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield(0,i.qq)(e.read());if(n)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(t)}}finally{e.releaseLock()}}))}function s(t){return(0,r.m)(null==t?void 0:t.getReader)}},16943:(t,e,n)=>{n.d(e,{K:()=>r});var i=n(3649);function r(t){return t&&(0,i.m)(t.schedule)}},96142:(t,e,n)=>{n.d(e,{A:()=>r,e:()=>o});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.lift)}function o(t){return e=>{if(r(e))return e.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},35993:(t,e,n)=>{n.d(e,{Z:()=>o});var i=n(92425);const{isArray:r}=Array;function o(t){return(0,i.U)((e=>function(t,e){return r(e)?t(...e):t(e)}(t,e)))}},96811:(t,e,n)=>{function i(){}n.d(e,{Z:()=>i})},22222:(t,e,n)=>{n.d(e,{U:()=>o,z:()=>r});var i=n(69401);function r(...t){return o(t)}function o(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce(((t,e)=>e(t)),e)}}},29102:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(89885),r=n(63112);function o(t){r.z.setTimeout((()=>{const{onUnhandledError:e}=i.config;if(!e)throw t;e(t)}))}},369:(t,e,n)=>{function i(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(e,{z:()=>i})},1679:(t,e,n)=>{var i=n(20755),r=n(43232),o=n(8239),s=n(99222),a=n(42772),l=n(89037);const c=JSON.parse('{"i8":"2.0.21-alpha.5"}');var u=n(63613);let h=(()=>{var t;class e{constructor(){this.pageLoaded$=(0,i.f3M)(l.V1),this.pageLoadedInit="0",this.pageLoaded=this.pageLoaded$,this.router=(0,i.f3M)(s.F0),this.storage=(0,i.f3M)(a.H3),this.version=c.i8}ngOnInit(){this.replaceEnvInURI()}replaceEnvInURI(){var t=this;return(0,o.Z)((function*(){const e=t.storage.getItem("env");e&&(t.storage.removeItem("env"),yield t.router.navigateByUrl(e))}))()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["app"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.Ikx("$.class._loaded",e.pageLoaded),i.ekj("_loaded",e.pageLoadedInit))},standalone:!0,features:[i.jDz],decls:4,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["ngProjectAs","tuiDocNavigation",5,["tuiDocNavigation"],1,"app-version"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-doc-main"),i.ynx(1,0),i.TgZ(2,"p",1),i._uU(3),i.qZA(),i.BQk(),i.qZA()),2&t&&(i.xp6(3),i.hij(" v",e.version," "))},dependencies:[u.og],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-primary)}.link[_ngcontent-%COMP%]{margin-left:1rem}.app-version[_ngcontent-%COMP%]{color:var(--tui-text-secondary);font:var(--tui-font-text-xs)}@media not (min-width: 480px){.app-version[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),e})();var d=n(76733),p=n(12405),f=n(80396);let g=(()=>{var t;class e extends p._j{constructor(t,e){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}};this._renderer=t.createRenderer(e.body,n)}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,p.vP)(t):t;return y(this._renderer,null,e,"register",[n]),new m(e,this._renderer)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(d.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class m extends p.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new v(this._id,t,e||{},this._renderer)}}class v{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return y(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function y(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const b="@",_="@.disabled";let w=(()=>{var t;class e{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(t,e)=>{const n=e?.parentNode(t);n&&e.removeChild(n,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);if(!t){const e=()=>this._rendererCache.delete(n);t=new x("",n,this.engine,e),this._rendererCache.set(n,t)}return t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(o),new C(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(t,e,n){t>=0&&te(n))):(0==this._animationCallbacksBuffer.length&&queueMicrotask((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((t=>{const[e,n]=t;e(n)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(f.Th),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class x{constructor(t,e,n,i){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone((()=>{queueMicrotask((()=>{this.delegate.destroy()}))})),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==b&&e==_?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class C extends x{constructor(t,e,n,i,r){super(e,n,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==b?"."==e.charAt(1)&&e==_?(n=void 0===n||!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==b){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.slice(1),o="";return r.charAt(0)!=b&&([r,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,(t=>{const e=t._data||-1;this.factory.scheduleListenerCallback(e,n,t)}))}return this.delegate.listen(t,e,n)}}let k=(()=>{var t;class e extends f.Th{constructor(t,e,n,i){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(d.K0),i.LFG(f.Vi),i.LFG(f.NH),i.LFG(i.z2F))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const O=[{provide:p._j,useClass:g},{provide:f.NH,useFactory:function(){return new f.Ar}},{provide:f.Th,useClass:k},{provide:i.FYo,useFactory:function(t,e,n){return new w(t,e,n)},deps:[r.se,f.Th,i.R0b]}],M=[{provide:f.Vi,useFactory:()=>new f.DT},{provide:i.QbO,useValue:"BrowserAnimations"},...O];f.Vi,f.nV,i.QbO;var S=n(25797);const A="anchors",P="appearance",E="mention",T="color-picker",I="checkbox",D="custom-tool/color-picker",z="embed/html5",N="embed/iframe",F="embed/youtube",L="focus",R="font",B="groups",j="highlight/code",H="highlight/text",V="images/preview",$="images/resizable",q="images/upload",Z="custom-tool/paste-emoji",U="custom-tool/paste-image",G="processing/cleanup-html",Q="processing/legacy-html",J="processing/markdown",Y="processing/markdown-extension",W="starter-kit",K="toolbar/bottom",X="toolbar/floating",tt=[{section:"Documentation",title:"Starter Kit",route:W,keywords:"editor, setup, starter kit, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Playground",keywords:"reproduce, issue, bug, sandbox, playground, test, stackblitz",route:"stackblitz",target:"_blank"},{section:"Documentation",title:"ColorPicker",route:T,keywords:"цвет, выбор, градиент, gradient, палитра, input, inputcolor"},{section:"Documentation",title:"Font",route:R,keywords:"editor, font, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Anchors",route:A,keywords:"editor, anchors, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Checkbox",route:I,keywords:"editor, checkbox, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Appearance",route:P,keywords:"editor, appearance, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Mention",route:E,keywords:"editor, mention, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Groups",route:B,keywords:"editor, draggable, nested, hilite, groups, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Focus",route:L,keywords:"editor, focus, focusable, wysiwyg, редактор, фокус, html, rich, text"},{section:"Documentation",title:"Custom tool",subPages:[{section:"Documentation",title:"Paste emoji",keywords:"editor, custom, tool, emoji, wysiwyg, редактор, текст, html, rich, text",route:`/${Z}`},{section:"Documentation",title:"Color picker",keywords:"editor, custom color picker, color picker, tool, wysiwyg, редактор, выбрать цвет, html, rich, text",route:`/${D}`},{section:"Documentation",title:"Paste image",keywords:"editor, paste image, tool, wysiwyg, редактор, текст, html, rich, text",route:`/${U}`},{section:"Documentation",title:"Font size tool",keywords:"editor, custom font size tool, tool, wysiwyg, редактор, выбрать размер, html, rich, text",route:`/${R}`,fragment:"custom-size-tool"}]},{section:"Documentation",title:"Highlight",subPages:[{section:"Documentation",title:"Mark text",keywords:"editor, highlight, text, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${H}`},{section:"Documentation",title:"Code block",keywords:"editor, highlight, code, block, pre, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${j}`}]},{section:"Documentation",title:"Processing",subPages:[{section:"Documentation",title:"Legacy html",keywords:"editor, processing, content, legacy html, wysiwyg, редактор, текст, html, rich, text",route:`/${Q}`},{section:"Documentation",title:"Cleanup html",keywords:"editor, processing, content, cleanup html, wysiwyg, редактор, текст, html, rich, text",route:`/${G}`}]},{section:"Documentation",title:"Markdown",subPages:[{section:"Documentation",title:"Extension",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${Y}`},{section:"Documentation",title:"Custom parsing",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${J}`}]},{section:"Documentation",title:"Images",subPages:[{section:"Documentation",title:"Resizable",keywords:"editor, resizable, image, wysiwyg, редактор, текст, html, rich, text",route:`/${$}`},{section:"Documentation",title:"Preview images",keywords:"editor, preview, images, wysiwyg, редактор, текст, html, rich, text",route:`/${V}`},{section:"Documentation",title:"Upload",keywords:"editor, upload, images, wysiwyg, редактор, текст, html, rich, text",route:`/${q}`}]},{section:"Documentation",title:"Embed",subPages:[{section:"Documentation",title:"Youtube",keywords:"editor, embed, video player, audio player, youtube, wysiwyg, редактор, плейер, плеер, ютуб, текст, html, rich, text",route:`/${F}`},{section:"Documentation",title:"Iframe",keywords:"editor, embed, iframe, wysiwyg, редактор, айфрейм, html, rich, text",route:`/${N}`},{section:"Documentation",title:"HTML5",keywords:"editor, embed, video player, audio player, html5, wysiwyg, редактор, плеер, html, rich, text",route:`/${z}`}]},{section:"Documentation",title:"Toolbar",subPages:[{section:"Documentation",title:"Align bottom",keywords:"editor, toolbar, bottom, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${K}`},{section:"Documentation",title:"Floating",keywords:"editor, toolbar, floating, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${X}`}]}],et=[(0,l.ws)({path:W,loadComponent:(Et=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3601)]).then(n.bind(n,13601))})),function(){return Et.apply(this,arguments)}),title:"StarterKit"}),(0,l.ws)({path:"stackblitz",loadComponent:(Pt=(0,o.Z)((function*(){return n.e(2966).then(n.bind(n,42966))})),function(){return Pt.apply(this,arguments)}),title:"Stackblitz Starter"}),(0,l.ws)({path:T,loadComponent:(At=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4555)]).then(n.bind(n,94555))})),function(){return At.apply(this,arguments)}),title:"Input color picker"}),(0,l.ws)({path:R,loadComponent:(St=(0,o.Z)((function*(){return n.e(7742).then(n.bind(n,87742))})),function(){return St.apply(this,arguments)}),title:"Font"}),(0,l.ws)({path:A,loadComponent:(Mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3198)]).then(n.bind(n,63198))})),function(){return Mt.apply(this,arguments)}),title:"Anchors"}),(0,l.ws)({path:P,loadComponent:(Ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8687)]).then(n.bind(n,88687))})),function(){return Ot.apply(this,arguments)}),title:"Appearance"}),(0,l.ws)({path:I,loadComponent:(kt=(0,o.Z)((function*(){return n.e(698).then(n.bind(n,40698))})),function(){return kt.apply(this,arguments)}),title:"Checkbox"}),(0,l.ws)({path:E,loadComponent:(Ct=(0,o.Z)((function*(){return n.e(5693).then(n.bind(n,15693))})),function(){return Ct.apply(this,arguments)}),title:"Mention"}),(0,l.ws)({path:L,loadComponent:(xt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3920)]).then(n.bind(n,93920))})),function(){return xt.apply(this,arguments)}),title:"Focus"}),(0,l.ws)({path:B,loadComponent:(wt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1753)]).then(n.bind(n,1753))})),function(){return wt.apply(this,arguments)}),title:"Groups"}),(0,l.ws)({path:"upload-files",loadComponent:(_t=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4623)]).then(n.bind(n,4623))})),function(){return _t.apply(this,arguments)}),title:"Upload files"}),(0,l.ws)({path:Z,loadComponent:(bt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3587)]).then(n.bind(n,43587))})),function(){return bt.apply(this,arguments)}),title:"Editor — Paste emoji custom tool"}),(0,l.ws)({path:D,loadComponent:(yt=(0,o.Z)((function*(){return n.e(3459).then(n.bind(n,33459))})),function(){return yt.apply(this,arguments)}),title:"Editor — Color picker custom tool"}),(0,l.ws)({path:U,loadComponent:(vt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return vt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:U,loadComponent:(mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return mt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:H,loadComponent:(gt=(0,o.Z)((function*(){return n.e(8500).then(n.bind(n,38500))})),function(){return gt.apply(this,arguments)}),title:"Editor — Highlight text"}),(0,l.ws)({path:Q,loadComponent:(ft=(0,o.Z)((function*(){return n.e(8912).then(n.bind(n,8912))})),function(){return ft.apply(this,arguments)}),title:"Editor — Legacy html"}),(0,l.ws)({path:G,loadComponent:(pt=(0,o.Z)((function*(){return n.e(5857).then(n.bind(n,75857))})),function(){return pt.apply(this,arguments)}),title:"Editor — Cleanup html"}),(0,l.ws)({path:J,loadComponent:(dt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8827)]).then(n.bind(n,18827))})),function(){return dt.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:Y,loadComponent:(ht=(0,o.Z)((function*(){return n.e(2638).then(n.bind(n,42638))})),function(){return ht.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:j,loadComponent:(ut=(0,o.Z)((function*(){return n.e(5811).then(n.bind(n,75811))})),function(){return ut.apply(this,arguments)}),title:"Editor — Highlight code"}),(0,l.ws)({path:$,loadComponent:(ct=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2098)]).then(n.bind(n,22098))})),function(){return ct.apply(this,arguments)}),title:"Editor — Resizable images"}),(0,l.ws)({path:V,loadComponent:(lt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8931)]).then(n.bind(n,68931))})),function(){return lt.apply(this,arguments)}),title:"Editor — Preview images"}),(0,l.ws)({path:q,loadComponent:(at=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2859)]).then(n.bind(n,82859))})),function(){return at.apply(this,arguments)}),title:"Editor — Upload images"}),(0,l.ws)({path:F,loadComponent:(st=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(5439)]).then(n.bind(n,95439))})),function(){return st.apply(this,arguments)}),title:"Editor — YouTube"}),(0,l.ws)({path:N,loadComponent:(ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4105)]).then(n.bind(n,34105))})),function(){return ot.apply(this,arguments)}),title:"Editor — Iframe"}),(0,l.ws)({path:z,loadComponent:(rt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1131)]).then(n.bind(n,81131))})),function(){return rt.apply(this,arguments)}),title:"Editor — HTML5"}),(0,l.ws)({path:K,loadComponent:(it=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(999)]).then(n.bind(n,40999))})),function(){return it.apply(this,arguments)}),title:"Editor — Toolbar"}),(0,l.ws)({path:X,loadComponent:(nt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2119)]).then(n.bind(n,22119))})),function(){return nt.apply(this,arguments)}),title:"Editor — Toolbar"}),{path:"**",redirectTo:W}];var nt,it,rt,ot,st,at,lt,ct,ut,ht,dt,pt,ft,gt,mt,vt,yt,bt,_t,wt,xt,Ct,kt,Ot,Mt,St,At,Pt,Et,Tt=n(68704),It=n(25690);let Dt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["logo"]],standalone:!0,features:[i.jDz],decls:3,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["icon","assets/icons/logo.svg",1,"logo-icon"]],template:function(t,e){1&t&&(i.TgZ(0,"a",0)(1,"span",1),i._UZ(2,"tui-icon",2),i.qZA()())},dependencies:[s.rH,Tt.lI3,Tt.RJr],styles:['[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-primary)}.logo-icon[_ngcontent-%COMP%]{min-width:180px;min-height:30px;color:#eb5a3d}.logo-icon[tuiTheme="dark"][_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%]{color:#fff}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}'],changeDetection:0}),e})();const zt=new It.Al(Dt),Nt={providers:[[...M],(0,s.bU)(et,(0,s.ZU)({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),S.J0,{provide:d.S$,useClass:d.b0},{provide:l.Yx,useValue:"Editor | "},{provide:l.Or,useValue:zt},{provide:l.AC,useValue:["Description and examples","API"]},{provide:l.V5,useValue:tt},{provide:l.yO,useValue:t=>{const e="https://github.com/taiga-family/editor/tree/main/libs";return t.path?`${e}/${t.path}`:t.package&&"kit"===t.package.toLowerCase()?`${e}/${t.package.toLowerCase()}/src/lib/editor/${(t.header[0].toLowerCase()+t.header.slice(1)).replaceAll(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}`:null}}]};(0,i.G48)(),(0,r.Cg)(h,Nt).catch((t=>console.error(t)))},63613:(t,e,n)=>{n.d(e,{D_:()=>q,lh:()=>W,oI:()=>Ct,cJ:()=>xe,b7:()=>Lt,Cv:()=>an,Ei:()=>Ie,og:()=>Si,t9:()=>hi,xR:()=>Zi,Cn:()=>Di,NC:()=>Ot,fz:()=>Ut});var i=n(76733),r=n(20755);class o{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,n.readOnly=!0,(this._document.fullscreenElement||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{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let s=(()=>{var t;class e{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new o(t,this._document)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const a=new r.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let l=(()=>{var t;class e{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 i=()=>{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(i,1)))};i()}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=e).ɵfac=function(e){return new(e||t)(r.Y36(s),r.Y36(r.R0b),r.Y36(a,8))},t.ɵdir=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"}}),e})(),c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({}),e})();var u=n(32101),h=n(36541),d=n(11679),p=n(56424),f=n(55333),g=n(21813),m=n(84787),v=n(31570),y=n(30453),b=n(17560),_=n(51960),w=n(87493),x=n(92425),C=n(3489),k=n(80054),O=n(902);const M={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=M;i&&(e=i.requestAnimationFrame,n=i.cancelAnimationFrame);const r=e((e=>{n=void 0,t(e)}));return new O.w0((()=>null==n?void 0:n(r)))},requestAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.cancelAnimationFrame)||cancelAnimationFrame)(...t)},delegate:void 0};class S extends k.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=M.requestAnimationFrame((()=>t.flush(void 0)))))}recycleAsyncId(t,e,n=0){if(null!=n&&n>0||null==n&&this.delay>0)return super.recycleAsyncId(t,e,n);t.actions.some((t=>t.id===e))||(M.cancelAnimationFrame(e),t._scheduled=void 0)}}var A=n(65804);class P extends A.v{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let i;t=t||n.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,i){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw i}}}const E=new P(S);var T=n(43232);const I=new r.OlP("HIGHLIGHT_OPTIONS");let D,z=(()=>{var t;class e{constructor(t,e,n){this.doc=t,this.platformId=e,this._options=n,this._ready=new p.X(null),this.ready=this._ready.asObservable().pipe((0,f.h)((t=>!!t)),(0,g.q)(1)),(0,i.NF)(e)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe((0,m.w)((e=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=e,this.loadLineNumbers().pipe((0,v.b)((t=>{t.activateLineNumbers(),this._ready.next(e)})))):(this._ready.next(e),y.E))),(0,b.K)((t=>(console.error("[HLJS] ",t),y.E)))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,_._)((()=>"The full library and the core library were imported, only one of them should be imported!"));if(this._options.fullLibraryLoader&&this._options.languages)return(0,_._)((()=>"The highlighting languages were imported they are not needed!"));if(this._options.coreLibraryLoader&&!this._options.languages)return(0,_._)((()=>"The highlighting languages were not imported!"));if(!this._options.coreLibraryLoader&&this._options.languages)return(0,_._)((()=>"The core library was not imported!"));if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,m.w)((t=>this._loadLanguages(t))))}return(0,_._)((()=>"Highlight.js library was not imported!"))}_loadLanguages(t){const e=Object.entries(this._options.languages).map((([e,n])=>N(n()).pipe((0,v.b)((n=>t.registerLanguage(e,n))))));return(0,w.$)(...e).pipe((0,x.U)((()=>t)))}loadCoreLibrary(){return N(this._options.coreLibraryLoader())}loadFullLibrary(){return N(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,C.D)(this._options.lineNumbersLoader())}setTheme(t){(0,i.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const N=t=>(0,C.D)(t).pipe((0,f.h)((t=>!!t?.default)),(0,x.U)((t=>t.default)));let F=(()=>{var t;class e{get hljs(){return this._hljs}constructor(t,e){this._loader=t,this._hljs=null,t.ready.subscribe((t=>{this._hljs=t,e&&e.config&&(t.configure(e.config),t.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))}))}highlight(t,{language:e,ignoreIllegals:n}){return this._loader.ready.pipe((0,x.U)((i=>i.highlight(t,{language:e,ignoreIllegals:n}))))}highlightAuto(t,e){return this._loader.ready.pipe((0,x.U)((n=>n.highlightAuto(t,e))))}highlightElement(t){return this._loader.ready.pipe((0,x.U)((e=>e.highlightElement(t))))}highlightAll(){return this._loader.ready.pipe((0,x.U)((t=>t.highlightAll())))}configure(t){return this._loader.ready.pipe((0,x.U)((e=>e.configure(t))))}registerLanguage(t,e){return this._loader.ready.pipe((0,v.b)((n=>n.registerLanguage(t,e))))}unregisterLanguage(t){return this._loader.ready.pipe((0,v.b)((e=>e.unregisterLanguage(t))))}registerAliases(t,{languageName:e}){return this._loader.ready.pipe((0,v.b)((n=>n.registerAliases(t,{languageName:e}))))}listLanguages(){return this._loader.ready.pipe((0,x.U)((t=>t.listLanguages())))}getLanguage(t){return this._loader.ready.pipe((0,x.U)((e=>e.getLanguage(t))))}safeMode(){return this._loader.ready.pipe((0,x.U)((t=>t.safeMode())))}debugMode(){return this._loader.ready.pipe((0,x.U)((t=>t.debugMode())))}lineNumbersBlock(t){return this._loader.ready.pipe((0,f.h)((t=>!!t.lineNumbersBlock)),(0,v.b)((e=>e.lineNumbersBlock(t))))}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(z),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),L=(()=>{var t;class e{constructor(t,e,n,i,o){this._hljs=e,this._sanitizer=n,this.platformId=i,this._options=o,this.highlighted=new r.vpe,this._nativeElement=t.nativeElement}ngOnChanges(t){(0,i.NF)(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,e){this.setTextContent(t),this._hljs.highlightAuto(t,e).subscribe((t=>{this.setInnerHTML(t?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(t)}))}addLineNumbers(){this.destroyLineNumbersObserver(),E.schedule((()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver((()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()})),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})}))}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){E.schedule((()=>this._nativeElement.textContent=t))}setInnerHTML(t){E.schedule((()=>{return this._nativeElement.innerHTML=(e=this._sanitizer.sanitize(r.q3G.HTML,t)||"",function(){if(!D)try{D=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return D}()?.createHTML(e)||e);var e}))}}return(t=e).ɵfac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(F),r.Y36(T.H7),r.Y36(r.Lbi),r.Y36(I,8))},t.ɵdir=r.lG2({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[r.TTD]}),e})();var R=n(78748),B=n(1925),j=n(73843);function H(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 V(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",3),r._uU(1," "),r._UZ(2,"code",4),r._uU(3,"\n "),r.TgZ(4,"div",5),r._uU(5,"\n "),r.TgZ(6,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.copy$.next())})),r.ALo(7,"async"),r._uU(8,"\n "),r.qZA(),r._uU(9,"\n "),r.Hsn(10),r._uU(11,"\n "),r.qZA(),r._uU(12,"\n"),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw();r.xp6(2),r.Q6J("lineNumbers",!0)("highlight",t),r.xp6(4),r.Q6J("iconLeft",r.lcZ(7,4,n.icon$)||"@tui.copy")("cdkCopyToClipboard",t)}}const $=["*"];let q=(()=>{var t;class e{constructor(){this.rawLoader$$=new p.X(""),this.markdownCodeProcessor=(0,r.f3M)(u.Es),this.copy$=new R.x,this.icon$=this.copy$.pipe((0,m.w)((()=>(0,B.H)(2e3).pipe((0,x.U)((()=>"@tui.copy")),(0,j.O)("@tui.check"))))),this.processor$=this.rawLoader$$.pipe((0,m.w)(h.JQ),(0,x.U)((t=>this.markdownCodeProcessor(t)))),this.filename=""}set code(t){this.rawLoader$$.next(t)}get hasFilename(){return!!this.filename}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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"},standalone:!0,features:[r.jDz],ngContentSelectors:$,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"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"iconLeft","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,H,2,1,"p",0),r.YNc(1,V,13,6,"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$)))},dependencies:[i.O5,i.Ov,i.sg,L,d.xG,c,l],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-border-normal)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-border-normal)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-background-base)}@supports (background: color-mix(in srgb,var(--tui-background-base),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-background-base),#222 2%)}}"],changeDetection:0}),e})();var Z,U=n(84911),G=n(11892),Q=n(73740),J=n(11637);function Y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.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()()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-content_moved",r.lcZ(2,4,n.copied$)),r.xp6(2),r.uIk("data-text",t[0]),r.xp6(2),r.hij(" ",t[1]," ")}}class W{constructor(){this.copy$=new R.x,this.texts$=(0,r.f3M)(J.UV)}get copied$(){return this.copy$.pipe((0,m.w)((()=>(0,B.H)(1500).pipe((0,x.U)(G.tD),(0,j.O)(!0)))))}onClick(){this.copy$.next()}}(Z=W).ɵfac=function(t){return new(t||Z)},Z.ɵcmp=r.Xpm({type:Z,selectors:[["tui-doc-copy"]],standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:3,consts:[["appearance","","size","s","tuiButton","","type","button","class","t-copy",3,"click",4,"ngIf"],["appearance","","size","s","tuiButton","","type","button",1,"t-copy",3,"click"],[1,"t-content"],[1,"t-initial"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Y,6,6,"button",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.texts$))},dependencies:[i.O5,i.Ov,d.xG],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;border-radius:var(--tui-radius-m)}.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-primary);background:var(--tui-background-base);overflow:hidden}.t-copy[_ngcontent-%COMP%]:hover{background:var(--tui-background-base-alt)}.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,U.gn)([Q.UM],W.prototype,"copied$",null);var K,X=n(43226),tt=n(99222),et=n(25693),nt=n(66266),it=n(55181),rt=n(58373),ot=n(44501),st=n(92840),at=n(3223),lt=n(83368),ct=n(71641),ut=n(93745),ht=n(26505),dt=n(61122),pt=n(19975),ft=n(67917),gt=n(62515);const mt=["content"],vt=["resizer"];function yt(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",22),2&t){const t=r.oxw(3);r.Q6J("items",t.updateOnVariants)}}const bt=function(){return{standalone:!0}};function _t(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",16),r._uU(1),r.ALo(2,"json"),r.qZA(),r.TgZ(3,"div",17)(4,"tui-select",18),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.updateOnChange(e))})),r._uU(5," updateOn "),r.YNc(6,yt,1,1,"tui-data-list-wrapper",19),r.qZA(),r.TgZ(7,"button",20),r._uU(8," Reset "),r.qZA(),r.TgZ(9,"button",21),r._uU(10," Submit "),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,bt))}}function wt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",10)(1,"div",11),r.GkF(2,12),r.qZA(),r.TgZ(3,"button",13),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.toggleDetails())})),r._uU(4),r.qZA(),r.TgZ(5,"tui-expand",14),r.YNc(6,_t,11,6,"ng-template",15),r.qZA()()}if(2&t){const t=r.oxw();r.Q6J("formGroup",t.testForm),r.xp6(2),r.Q6J("ngTemplateOutlet",t.template),r.xp6(1),r.Q6J("tuiChevron",t.expanded),r.xp6(1),r.hij(" ",t.texts[2]," "),r.xp6(1),r.Q6J("expanded",t.expanded)}}const xt=function(){return[1,0]};class Ct{constructor(){var t;this.el=(0,it.AG)(),this.locationRef=(0,r.f3M)(i.Ye),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.template=null,this.dark=(0,h.cd)(this.params.darkMode??(0,r.f3M)(et.QN).value),this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,h.cd)(this.params.sandboxOpaque??!0),this.expanded=(0,h.cd)(this.params.sandboxExpanded??!1),this.sandboxWidth=(t=this.params.sandboxWidth,parseInt(t,10)),this.texts=(0,r.f3M)(u.ru),this.control=null,this.sticky=!0}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}onModeChange(t){this.dark=t,this.updateUrl({sandboxWidth:this.sandboxWidth,darkMode:this.dark})}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.resizable||!this.content)return;const e=t||this.resizable.nativeElement.clientWidth,n=this.el.clientWidth,i=Math.round((0,rt.K)(e,160,n))-this.delta,r=e *[_ngcontent-%COMP%]{pointer-events:auto}.t-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-medium);display:flex;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;color:var(--tui-text-primary);background-color:var(--tui-background-base);overflow:hidden;pointer-events:auto}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-background-base-alt) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-background-base-alt) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}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-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-background-neutral-1);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:var(--tui-shadow-medium);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-border-normal);outline:none;background:var(--tui-background-base);color:var(--tui-text-primary)}.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-border-normal);box-shadow:-.25rem 0 var(--tui-border-normal);transform:translateZ(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-background-base)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports (position: sticky){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,U.gn)([Q.UM],Ct.prototype,"updateUrl",null);const kt=["*"];let Ot=(()=>{var t;class e{constructor(){this.src=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-tab"]],inputs:{src:"src"},standalone:!0,features:[r.jDz],ngContentSelectors:kt,decls:3,vars:1,consts:[[1,"t-tab"],["alt","Documentation tab icon",1,"t-icon",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r._UZ(1,"img",1),r.Hsn(2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("src",e.src,r.LSH))},styles:[".t-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:0 .5rem;gap:.5rem;color:var(--tui-text-primary)}.t-tab[_ngcontent-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem}"],changeDetection:0}),e})();var Mt=n(12405),St=n(62022),At=n(65026);let Pt=(()=>{var t;class e{transform(t,e,...n){return t.filter((t=>e(t,...n)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiFilter",type:t,pure:!0,standalone:!0}),e})(),Et=(()=>{var t;class e{transform(t){return Array.from(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiToArray",type:t,pure:!0,standalone:!0}),e})();var Tt=n(50109),It=n(94030),Dt=n(44713),zt=n(59679),Nt=n(45047),Ft=n(75097);let Lt=(()=>{var t;class e{constructor(){this.locationRef=(0,r.f3M)(i.Ye),this.activatedRoute=(0,r.f3M)(tt.gz),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.alerts=(0,r.f3M)(Ft.J9),this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new r.vpe,this.changed$=new R.x,this.emits$=new p.X(1),this.template=(0,r.f3M)(r.Rgc)}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 shouldShowValues(){return"output"!==this.documentationPropertyMode}get hasItems(){return!!this.documentationPropertyValues}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}ngOnChanges(){this.changed$.next()}onValueChange(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}emitEvent(t){let e;console.info(this.attrName,t),this.emits$.next(this.emits$.value+1),void 0!==t&&(e=(0,h.sj)(t,2)),this.alerts.open(e,{label:this.attrName}).subscribe()}parseParams(t){const e=t[this.documentationPropertyName],n=t[`${this.documentationPropertyName}$`];if(!e&&!n)return;let i=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,h.p8)(e);"string"===this.documentationPropertyType&&(0,Q.dt)(i)&&(i=i.toString()),this.onValueChange(i)}setQueryParam(t){const e=this.urlSerializer.parse(this.locationRef.path()),n=t instanceof Object,i=n&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,r=n?"$":"",o=this.documentationPropertyName+r;e.queryParams={...e.queryParams,[o]:i},this.locationRef.go(this.urlStateHandler(e))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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"],standalone:!0,features:[r.TTD]}),e})(),Rt=(()=>{var t;class e{transform(t){return t.includes("null")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0,standalone:!0}),e})();var Bt=n(79611);let jt=(()=>{var t;class e{transform(t){if(4===t.length)return t.split("").reduce(((t,e)=>[...t,e,e]),[]).join("").replace("#","");if(t.startsWith("#"))return t;if("transparent"===t)return"#000000";const e=t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map((t=>Number.parseInt(t,10)));return(0,Bt.W)(...e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetColorPipe",type:t,pure:!0,standalone:!0}),e})();var Ht=n(86253);let Vt=(()=>{var t;class e{constructor(){this.isE2E=(0,r.f3M)(Ht.oD)}transform(t,e=2){return this.isE2E&&"function"==typeof t?"λ(x) => y":(0,h.sj)(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiInspectAny",type:t,pure:!0,standalone:!0}),e})(),$t=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetOpacity",type:t,pure:!0,standalone:!0}),e})(),qt=(()=>{var t;class e{transform(t){return t.includes("?")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Zt=(()=>{var t;class e{transform(t){return t.replace("?","")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Ut=(()=>{var t;class e{constructor(){this.parser=(0,r.f3M)(u.B$),this.linkHandler=(0,r.f3M)(u.x9)}transform(t){return this.parser(t).map((({type:t,extracted:e})=>({type:t,extracted:e,reference:this.linkHandler?.(e)??null}))).sort(((t,e)=>e.reference?.localeCompare(t.reference??"")??-1))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocTypeReference",type:t,pure:!0,standalone:!0}),e})();var Gt=n(60598),Qt=n(2239),Jt=n(98015),Yt=n(16737),Wt=n(70388),Kt=n(97017);function Xt(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 te(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 ee(t,e){if(1&t&&(r.TgZ(0,"code",22),r._uU(1),r.ALo(2,"tuiStripOptionalPipe"),r.qZA()),2&t){const t=r.oxw().$implicit;r.Udp("color","var(--tui-background-accent-2-pressed)"),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.attrName)," ")}}function ne(t,e){1&t&&(r.TgZ(0,"tui-badge",23),r._uU(1," Optional "),r.qZA())}function ie(t,e){1&t&&(r.TgZ(0,"tui-badge",24),r._uU(1," Deprecated "),r.qZA())}function re(t,e){if(1&t&&(r.TgZ(0,"a",27),r._uU(1),r.qZA()),2&t){const t=r.oxw().$implicit;r.uIk("href",t.reference,r.LSH),r.xp6(1),r.hij(" ",t.type," ")}}function oe(t,e){if(1&t&&r._uU(0),2&t){const t=r.oxw().$implicit;r.hij(" ",t.type," ")}}function se(t,e){1&t&&(r.TgZ(0,"span"),r._uU(1," | "),r.qZA())}function ae(t,e){if(1&t&&(r.ynx(0),r.YNc(1,re,2,2,"a",25),r.YNc(2,oe,1,1,"ng-template",null,26,r.W1O),r.YNc(4,se,2,0,"span",1),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.reference)("ngIfElse",i),r.xp6(3),r.Q6J("ngIf",!n)}}function le(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",37),2&t){r.oxw(2);const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("itemContent",t)("items",e.documentationPropertyValues)}}function ce(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-select",34),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(3).$implicit;return r.KtG(n.onValueChange(e))})),r.ALo(1,"tuiShowCleanerPipe"),r.TgZ(2,"code",35),r._uU(3,"null"),r.qZA(),r.YNc(4,le,1,2,"tui-data-list-wrapper",36),r.qZA()}if(2&t){r.oxw();const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("nativeId",e.attrName)("ngModel",e.documentationPropertyValue)("tuiTextfieldCleaner",r.lcZ(1,5,e.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",t)}}function ue(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 he(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"input",42),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue)("showIcons",!0)}}function de(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-textfield",43)(1,"input",44),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()()}if(2&t){const t=r.oxw(4).$implicit;r.xp6(1),r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue||"")}}function pe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-input-number",45),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e||0))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function fe(t,e){if(1&t&&(r.ynx(0,38),r.YNc(1,he,1,3,"input",39),r.YNc(2,de,2,2,"tui-textfield",40),r.YNc(3,pe,1,4,"tui-input-number",41),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","number")}}function ge(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ce,5,7,"tui-select",31),r.YNc(2,ue,3,3,"ng-template",null,32,r.W1O),r.YNc(4,fe,4,4,"ng-template",null,33,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 me(t,e){if(1&t&&(r.TgZ(0,"tui-notification",46),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 ve(t,e){if(1&t&&(r.TgZ(0,"td",28),r.YNc(1,ge,6,2,"ng-container",29),r.YNc(2,me,3,3,"ng-template",null,30,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 ye(t,e){if(1&t&&(r.TgZ(0,"tr",11)(1,"td",12)(2,"div",13),r.YNc(3,ee,3,5,"code",14),r.YNc(4,ne,2,0,"tui-badge",15),r.ALo(5,"tuiIsOptionalPipe"),r.YNc(6,ie,2,0,"tui-badge",16),r.qZA(),r.GkF(7,17),r.qZA(),r.TgZ(8,"td",12)(9,"span",18)(10,"code",19),r.YNc(11,ae,5,3,"ng-container",20),r.ALo(12,"tuiDocTypeReference"),r.qZA()()(),r.YNc(13,ve,4,2,"td",21),r.qZA()),2&t){const t=e.$implicit,n=r.oxw(3);r.ekj("t-deprecated",t.documentationPropertyDeprecated),r.xp6(3),r.Q6J("ngIf",t.attrName),r.xp6(1),r.Q6J("ngIf",r.lcZ(5,8,t.attrName)),r.xp6(2),r.Q6J("ngIf",t.documentationPropertyDeprecated),r.xp6(1),r.Q6J("ngTemplateOutlet",t.template),r.xp6(4),r.Q6J("ngForOf",r.lcZ(12,10,t.documentationPropertyType)),r.xp6(2),r.Q6J("ngIf",n.showValues)}}function be(t,e){if(1&t&&(r.TgZ(0,"table",4)(1,"tr",5)(2,"th",6),r._uU(3),r.qZA(),r.TgZ(4,"th",7),r._uU(5),r.qZA(),r.YNc(6,te,2,1,"th",8),r.qZA(),r.YNc(7,ye,14,12,"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 _e(t,e){if(1&t&&(r.ynx(0),r.YNc(1,be,8,4,"table",3),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length)}}const we=["*"];let xe=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.getColor=(0,r.f3M)(jt),this.getOpacity=(0,r.f3M)($t),this.propertiesConnectors=G.Mm,this.texts=(0,r.f3M)(u.IK),this.excludedProperties=(0,r.f3M)(u.et),this.activeItemIndex=0,this.heading="",this.showValues=!0,this.isAPI=!1,this.matcher=(t,e)=>!e.has(t.documentationPropertyName)}ngAfterContentInit(){(0,At.ll)(this.propertiesConnectors).pipe((0,m.w)((t=>(0,Nt.T)(...t.map((({changed$:t})=>t))))),(0,At.NA)(this.cdr),(0,St.sL)(this.destroyRef)).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 i=`rgba(${(0,Tt.R)(e).join(", ")}, ${n/100})`;t.onValueChange(i)}onOpacityChange(t,e){const n=this.getColor.transform(t.documentationPropertyValue||""),i=`rgba(${(0,Tt.R)(n)}, ${(e||0)/100})`;t.onValueChange(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Lt,4),2&t){let t;r.iGM(t=r.CRH())&&(e.propertiesConnectors=t)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},standalone:!0,features:[r._Bn([jt,$t]),r.jDz],ngContentSelectors:we,decls:5,vars:8,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","t-additional-info"],["class","t-property-code",3,"color",4,"ngIf"],["appearance","neutral","size","s",4,"ngIf"],["appearance","error","size","s",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[1,"t-code-type"],[4,"ngFor","ngForOf"],["class","t-cell t-cell_value",4,"ngIf"],[1,"t-property-code"],["appearance","neutral","size","s"],["appearance","error","size","s"],["target","_blank","class","t-code-reference",4,"ngIf","ngIfElse"],["default",""],["target","_blank",1,"t-code-reference"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["tuiSwitch","","type","checkbox","class","t-switch",3,"id","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],["tuiSwitch","","type","checkbox",1,"t-switch",3,"id","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m"],["tuiTextfield","",3,"id","ngModel","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],[1,"t-output"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Xt,2,1,"h1",0),r.Hsn(1),r.YNc(2,_e,2,1,"ng-container",1),r.ALo(3,"tuiFilter"),r.ALo(4,"tuiToArray")),2&t&&(r.Q6J("ngIf",e.heading),r.xp6(2),r.Q6J("ngIf",r.Dn7(3,2,r.lcZ(4,6,e.propertiesConnectors),e.matcher,e.excludedProperties)))},dependencies:[i.O5,Pt,i.sg,Zt,qt,Dt.Cb,i.tP,Ut,lt.Jy,ht.u,dt.O,Gt.Ek,pt.g,ft.e,X.u5,X.Fj,X.Wl,X.JJ,X.On,Rt,Vt,i.RF,i.n9,st.AE,Qt.MB,Qt.bf,Qt.qm,zt._H,Jt.q,Yt.g,It.tK,i.Ov,Et,ct.cn,Wt.b,Kt.x,gt.s],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-border-normal)}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-secondary);font-weight:400;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%] .t-property-code[_ngcontent-%COMP%]{text-decoration:line-through}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-status-negative);font-size:.75rem}.t-additional-info[_ngcontent-%COMP%]{display:flex;gap:.3125rem;align-items:center}.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)}.t-code-type[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.t-code-reference[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-action);text-decoration:none;align-items:center;justify-content:center;gap:3px}.t-code-reference[_ngcontent-%COMP%]:after{content:"";font-size:1rem;width:1rem;height:1rem;background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%}.t-switch[_ngcontent-%COMP%]{display:block}'],data:{animation:[(0,Mt.X$)("emitEvent",[(0,Mt.eR)(":increment",[(0,Mt.oB)({opacity:1}),(0,Mt.jt)("500ms ease-in")])])]},changeDetection:0}),e})();var Ce=n(42772),ke=n(86198),Oe=n(32097),Me=n(25690),Se=n(35484),Ae=n(69401),Pe=n(81059);const Ee={codeEditorVisibilityHandler:t=>Boolean(t[Pe.N.TS]&&t[Pe.N.HTML]),tabTitles:new Map,fullsize:!0,linkIcon:"@tui.link"},Te=(0,Q.JN)(Ee);let Ie=(()=>{var t;class e{transform(t,e){return[e,...Object.keys(t).filter((e=>t[e]))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0,standalone:!0}),e})();var De=n(62417),ze=n(2115);function Ne(t,e){if(1&t&&r._UZ(0,"span",8),2&t){const t=e.polymorpheusOutlet;r.Q6J("textContent",t)}}function Fe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",9),r.NdJ("click",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.copyExampleLink(e.currentTarget))})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("fragment",t.id)("iconLeft",t.options.linkIcon),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.copy$)," ")}}function Le(t,e){if(1&t&&(r.TgZ(0,"h3",5),r.YNc(1,Ne,1,1,"span",6),r.YNc(2,Fe,3,5,"a",7),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.heading),r.xp6(1),r.Q6J("ngIf",t.id)}}function Re(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 Be(t,e){if(1&t&&(r.TgZ(0,"h4",10),r.YNc(1,Re,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.description)}}function je(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 He(t,e){if(1&t&&(r.TgZ(0,"button",21),r.YNc(1,je,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw().$implicit,e=r.oxw(4);r.xp6(1),r.Q6J("polymorpheusOutlet",e.getTabTitle(t))}}function Ve(t,e){1&t&&(r.ynx(0),r.YNc(1,He,2,1,"button",20),r.BQk())}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," ")}}function qe(t,e){if(1&t&&(r.ynx(0),r.YNc(1,$e,2,1,"ng-container",11),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("polymorpheusOutlet",t)}}function Ze(t,e){if(1&t&&(r.TgZ(0,"button",25),r._uU(1),r.qZA()),2&t){const t=r.oxw(5);r.xp6(1),r.hij(" Edit on ",t.codeEditor.name," ")}}function Ue(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-loader",22),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3).ngIf,n=r.oxw();return r.KtG(n.edit(e))})),r.ALo(1,"async"),r.YNc(2,qe,2,1,"ng-container",23),r.YNc(3,Ze,2,1,"ng-template",null,24,r.W1O),r.qZA()}if(2&t){const t=r.MAs(4),e=r.oxw(4);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 Ge(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",16)(1,"tui-tabs-with-more",17),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw(3);return r.KtG(n.activeItemIndex=e)})),r.YNc(2,Ve,2,0,"ng-container",18),r.qZA(),r.YNc(3,Ue,5,6,"tui-loader",19),r.ALo(4,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw().ngIf,e=r.oxw().ngIf,n=r.oxw();r.xp6(1),r.Q6J("activeItemIndex",n.activeItemIndex),r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Q6J("ngIf",r.xi3(4,3,e,n.visible))}}function Qe(t,e){if(1&t&&r.GkF(0,29),2&t){r.oxw(4);const t=r.MAs(5);r.Q6J("ngTemplateOutlet",t)}}const Je=function(t){return{$implicit:t}};function Ye(t,e){if(1&t&&r.GkF(0,30),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,Je,(null==e?null:e[t[n.activeItemIndex]])||""))}}function We(t,e){if(1&t&&(r.TgZ(0,"div",26),r.YNc(1,Qe,1,1,"ng-container",27),r.YNc(2,Ye,1,4,"ng-template",null,28,r.W1O),r.qZA()),2&t){const t=e.index,n=r.MAs(3),i=r.oxw(3);r.ekj("t-content_animated",!i.isE2E)("t-content_visible",i.activeItemIndex===t),r.xp6(1),r.Q6J("ngIf",t===i.defaultTabIndex)("ngIfElse",n)}}function Ke(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ge,5,6,"div",14),r.YNc(2,We,4,6,"div",15),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length>1),r.xp6(1),r.Q6J("ngForOf",t)}}function Xe(t,e){if(1&t&&(r.TgZ(0,"div",12),r.YNc(1,Ke,3,2,"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 tn(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 en(t,e){if(1&t&&(r.TgZ(0,"div",31),r.Hsn(1),r.YNc(2,tn,2,1,"ng-container",11),r.ALo(3,"async"),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.Q6J("polymorpheusOutlet",r.lcZ(3,1,t.lazyComponent$))}}function nn(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 rn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,nn,2,1,"ng-container",33),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit;r.xp6(1),r.Q6J("polymorpheusOutlet",t)("polymorpheusOutletContext",r.VKq(2,Je,n))}}function on(t,e){if(1&t&&(r.TgZ(0,"tui-doc-code",32),r.YNc(1,rn,2,4,"ng-container",18),r.qZA()),2&t){const t=e.$implicit,n=r.oxw();r.Q6J("code",t),r.xp6(1),r.Q6J("ngForOf",n.codeActions)}}const sn=["*"];let an=(()=>{var t;class e{constructor(){this.clipboard=(0,r.f3M)(s),this.alerts=(0,r.f3M)(Ft.J9),this.location=(0,r.f3M)(Ce.Ct),this.copyTexts$=(0,r.f3M)(J.UV),this.processContent=(0,r.f3M)(u.$_),this.rawLoader$$=new p.X({}),this.lazyLoader$$=new Se.t(1),this.options=(0,r.f3M)(Te),this.texts=(0,r.f3M)(u.mv),this.codeEditor=(0,r.f3M)(u.lW,{optional:!0}),this.isE2E=(0,r.f3M)(Ht.oD),this.codeActions=(0,r.f3M)(u.mT),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,x.U)((([t])=>t))),this.loading$=new R.x,this.processor$=this.rawLoader$$.pipe((0,m.w)(h.vP),(0,x.U)((t=>this.processContent(t)))),this.lazyComponent$=this.lazyLoader$$.pipe((0,m.w)(Ae.y),(0,x.U)((t=>new Me.Al(t.default)))),this.id=null,this.fullsize=(0,r.f3M)(Te).fullsize,this.componentName=this.location.pathname.slice(1),this.visible=t=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(t))}set content(t){this.rawLoader$$.next(t)}set component(t){this.lazyLoader$$.next(t)}getTabTitle(t){return this.options.tabTitles.get(t)||t}copyExampleLink(t){this.clipboard.copy(t?.href??""),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(t){this.loading$.next(!0),this.codeEditor?.edit(this.componentName,this.id||"",t).finally((()=>this.loading$.next(!1)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("id",e.id),r.ekj("_fullsize",e.fullsize))},inputs:{id:"id",heading:"heading",description:"description",fullsize:"fullsize",componentName:"componentName",content:"content",component:"component"},standalone:!0,features:[r.jDz],ngContentSelectors:sn,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"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"fragment","iconLeft","click",4,"ngIf"],[3,"textContent"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"fragment","iconLeft","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs","class","t-code-editor",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",1,"t-code-editor",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Le,3,2,"h3",0),r.YNc(1,Be,2,1,"h4",1),r.YNc(2,Xe,3,4,"div",2),r.ALo(3,"async"),r.YNc(4,en,4,3,"ng-template",null,3,r.W1O),r.YNc(6,on,2,2,"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$)))},dependencies:[i.O5,Me.s$,d.xG,tt.rH,i.Ov,Ie,De.W,ze.Yh,ze.Pk,i.sg,Oe.A6,ke.c,i.tP,q],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%]:target{animation:1s .3s tuiShaking}[_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:400;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}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 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-border-normal);justify-content:space-between;align-items:center;gap:.5rem}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-code-editor[_ngcontent-%COMP%]{flex-shrink:0}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.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}),e})();var ln=n(95079),cn=n(18004),un=n(73284),hn=n(34138),dn=n(41589),pn=n(16931),fn=n(71938);let gn=(()=>{var t;class e extends Me.GL{constructor(){super(...arguments),this.injector=(0,r.f3M)(r.gxx),this.portalService=(0,r.f3M)(fn.UA),this.component=new Me.Al(yn,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1,this.content=(0,r.f3M)(r.Rgc)}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=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},standalone:!0,features:[r.qOj]}),e})();const mn=["tuiSidebar",""];function vn(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 yn=(()=>{var t;class e{constructor(){this.directive=(0,r.f3M)(gn),this.options=(0,pn.qS)((0,r.f3M)(dn.ZW)),this.left={...this.options,value:"left"},this.right={...this.options,value:"right"}}ngDoCheck(){this.directive.check()}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}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(r.d8E("@tuiSlideIn",e.animation),r.Tol(e.directionHostClass))},standalone:!0,features:[r.jDz],attrs:mn,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,vn,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))},dependencies:[ln.d,Me.s$],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-background-base);box-shadow:0 10rem var(--tui-background-base);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[hn.Gw]},changeDetection:0}),e})();var bn=n(30696),_n=n(9368),wn=n(16100),xn=n(88543),Cn=n(71918),kn=n(38442),On=n(45130);function Mn(t){return t.map((({section:t})=>t)).filter(Q.Pc).filter(((t,e,n)=>n.indexOf(t)===e))}const Sn=new r.OlP("[NAVIGATION_TITLE]"),An=new r.OlP("[NAVIGATION_LABELS]"),Pn=new r.OlP("[NAVIGATION_ITEMS]"),En=[(0,wn.S9)({appearance:"icon"}),{provide:Sn,deps:[tt.F0,tt.gz,u.Yx],useFactory:(t,e,n)=>t.events.pipe((0,f.h)((t=>t instanceof tt.m2)),(0,x.U)((()=>e.firstChild)),(0,f.h)(Q.Pc),(0,On.z)((({data:t})=>t)),(0,x.U)((({title:t})=>`${n}${t}`)),(0,St.sL)())},{provide:An,deps:[u.V5],useFactory:Mn},{provide:Pn,deps:[u.V5],useFactory:t=>[...Mn(t).map((e=>t.filter((({section:t})=>t===e)))),t.filter((t=>!t.section))]}];var Tn,In=n(14814),Dn=n(5583),zn=n(63098),Nn=n(24149),Fn=n(28021);function Ln(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Rn(t,e){if(1&t&&(r.TgZ(0,"a",16),r._uU(1),r.YNc(2,Ln,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Bn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function jn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",19),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(5),n=r.MAs(1);return r.KtG(e.onClick(n))})),r._uU(1),r.YNc(2,Bn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit;r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Hn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Rn,3,5,"a",14),r.YNc(2,jn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}function Vn(t,e){if(1&t&&(r.TgZ(0,"tui-opt-group",12),r.YNc(1,Hn,4,2,"ng-container",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 $n(t,e){if(1&t&&(r.TgZ(0,"tui-data-list"),r.YNc(1,Vn,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 qn(t,e){1&t&&(r.ynx(0),r.YNc(1,$n,3,3,"tui-data-list",10),r.BQk())}const Zn=function(t,e){return{item:t,index:e}};function Un(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(2).index;r.oxw();const o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,100*i+n))}}function Gn(t,e){if(1&t&&(r.TgZ(0,"div",23),r.YNc(1,Un,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 Qn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-accordion-item",20),r.NdJ("openChange",(function(e){const n=r.CHM(t).index,i=r.oxw();return r.KtG(i.openPagesArr[n]=e)})),r.TgZ(1,"span",21)(2,"strong"),r._uU(3),r.qZA()(),r.YNc(4,Gn,2,1,"ng-template",22),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 Jn(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(),o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,i.items.length-1+n))}}function Yn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Wn(t,e){if(1&t&&(r.TgZ(0,"a",28),r._uU(1),r.YNc(2,Yn,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw(2).item;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Kn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Xn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",29),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,Kn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw(2).item,e=r.oxw();r.Q6J("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ti(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Wn,3,5,"a",27),r.YNc(2,Xn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=r.MAs(3),e=r.oxw().item;r.xp6(1),r.Q6J("ngIf",e.route.includes("://"))("ngIfElse",t)}}function ei(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ni(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",34),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(2).index,n=r.oxw();return r.KtG(n.onGroupClick(e))})),r._UZ(1,"tui-icon",35),r._uU(2),r.YNc(3,ei,1,1,"tui-icon",17),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.Q6J("icon",i.icons.more),r.xp6(1),r.hij(" ",n.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)}}function ii(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ri(t,e){if(1&t&&(r.TgZ(0,"a",37),r._uU(1),r.YNc(2,ii,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function oi(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function si(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",38),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(4);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,oi,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit,e=r.oxw(3);r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ai(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ri,3,5,"a",36),r.YNc(2,si,3,7,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}const li=function(){return{exact:!1}};function ci(t,e){if(1&t&&(r.TgZ(0,"div",30),r.YNc(1,ni,4,5,"button",31),r.TgZ(2,"tui-expand",32)(3,"div",33),r.YNc(4,ai,4,2,"ng-container",13),r.qZA()()()),2&t){const t=r.oxw(),e=t.item,n=t.index,i=r.oxw();r.Q6J("routerLinkActiveOptions",r.DdM(4,li)),r.xp6(1),r.Q6J("ngIf",e.subPages),r.xp6(1),r.Q6J("expanded",!!i.openPagesGroupsArr[n]),r.xp6(2),r.Q6J("ngForOf",i.$pages(e.subPages))}}function ui(t,e){if(1&t&&(r.YNc(0,ti,4,2,"ng-container",25),r.YNc(1,ci,5,5,"ng-template",null,26,r.W1O)),2&t){const t=e.item,n=r.MAs(2);r.Q6J("ngIf",!t.subPages)("ngIfElse",n)}}class hi{constructor(){this.router=(0,r.f3M)(tt.F0),this.doc=(0,r.f3M)(i.K0),this.menuOpen=!1,this.sidebar=(0,r.f3M)(gn,{optional:!0}),this.labels=(0,r.f3M)(An),this.items=(0,r.f3M)(Pn),this.searchText=(0,r.f3M)(u.EI),this.activatedRoute=(0,r.f3M)(tt.gz),this.docIcons=(0,r.f3M)(u.oq),this.icons=(0,r.f3M)(dn.Gs),this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new X.NI(""),this.filtered$=(0,At.EK)(this.search).pipe((0,f.h)((t=>t.trim().length>2)),(0,x.U)((t=>this.filterItems(this.flattenSubPages(this.items),t))));const t=(0,r.f3M)(T.Dx),e=(0,r.f3M)(u.V1);(0,r.f3M)(Sn).pipe((0,At.NA)((0,r.f3M)(r.sBO)),(0,St.sL)()).subscribe((e=>{t.setTitle(e),this.openActivePageGroup()})),(0,kn.a)([this.router.events.pipe((0,f.h)((t=>t instanceof tt.Xs))),(0,r.f3M)(Sn).pipe((0,m.w)((()=>e.pipe((0,f.h)(Boolean)))))]).pipe((0,g.q)(1),(0,x.U)((([t])=>t.anchor||"")),(0,f.h)(Boolean),(0,St.sL)()).subscribe((t=>this.navigateToAnchorLink(t)))}get canOpen(){return(this.search.value?.length??0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(t){return t}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,Q.pf)(t.filter((({title:t,keywords:n=""})=>(e=e.toLowerCase().trim(),n=n.toLowerCase(),(t=t.toLowerCase()).includes(e)||n.includes(e)||t.includes((0,h.OO)(e))||n.includes((0,h.OO)(e))||e.replaceAll("-","").includes(t)||t.includes(e.replaceAll(/\s|tui/g,""))||n.includes(e.replaceAll(/\s|tui/g,""))||e.split(/\s/).find((e=>t.includes(e)))))),"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"})}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}`):[];if(!e.length||!e[e.length-1])return;const n=this.doc.createElement("a");n.href=`${this.doc.location.pathname}#${t}`,n.style.display="none",n.style.position="absolute",this.doc.body.appendChild(n),n.click(),n.remove()}}(Tn=hi).ɵfac=function(t){return new(t||Tn)},Tn.ɵcmp=r.Xpm({type:Tn,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_open",e.menuOpen)},standalone:!0,features:[r._Bn(En),r.jDz],ngContentSelectors:["*"],decls:13,vars:11,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar"],[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"],[4,"ngFor","ngForOf"],["tuiOption","",3,"href","target",4,"ngIf","ngIfElse"],["internal",""],["tuiOption","",3,"href","target"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"],["tuiOption","",3,"fragment","routerLink","target","click"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["subPagesTemplate",""],["tuiLink","","class","t-sublink",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","target","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","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"icon"],["tuiLink","","class","t-sublink t-sublink_small",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink","t-sublink_small",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","target","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"tui-input",0,1),r._uU(2),r.YNc(3,qn,2,0,"ng-container",2),r.qZA(),r.TgZ(4,"nav",3)(5,"tui-scrollbar",4)(6,"tui-accordion",5),r.YNc(7,Qn,5,3,"tui-accordion-item",6),r.qZA(),r.TgZ(8,"div",7),r.YNc(9,Jn,1,5,"ng-container",8),r.qZA(),r.YNc(10,ui,3,2,"ng-template",null,9,r.W1O),r.qZA()(),r.Hsn(12)),2&t&&(r.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),r.xp6(2),r.hij(" ",e.searchText," "),r.xp6(1),r.Q6J("ngIf",e.canOpen),r.xp6(3),r.Q6J("closeOthers",!1)("rounded",!1),r.xp6(1),r.Q6J("ngForOf",e.labels),r.xp6(2),r.Q6J("ngForOf",e.itemsWithoutSections))},dependencies:[Cn.Qf,In.K,Dn.w,Qt.qm,X.UX,X.JJ,X.oH,bn.bi,zn.qi,zn.gX,zn.bH,zn.c4,i.Ov,i.sg,i.O5,_n.R,Me.s$,tt.rH,xn.D1,Nn.z0,Nn.tR,Nn.Z0,i.tP,wn.lI,un.k,tt.Od,ut.SV,ct.cn,Wt.b,Kt.x,gt.s,Fn.a],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-background-base)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-input[_ngcontent-%COMP%] tui-icon{border:.25rem solid transparent}.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%}tui-root._reduced-motion[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%], tui-root._reduced-motion [_nghost-%COMP%] .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:-.5rem 0 -1rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-border-normal)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem;padding:.5rem 0}.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.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-primary)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.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,U.gn)([Q.UM],hi.prototype,"filterItems",null),(0,U.gn)([Q.UM],hi.prototype,"flattenSubPages",null);const di=["tuiDocHeader",""];function pi(t,e){1&t&&r._UZ(0,"tui-doc-navigation",4)}function fi(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("src",t,r.LSH)}}const gi=["*"];let mi=(()=>{var t;class e{constructor(){this.stream$=new R.x,this.router=(0,r.f3M)(tt.F0),this.icons=(0,r.f3M)(u.oq),this.logo=(0,r.f3M)(u.Or),this.menu=(0,r.f3M)(u.gG),this.open$=(0,Nt.T)(this.router.events.pipe((0,x.U)(G.tD)),this.stream$).pipe((0,j.O)(!1),(0,cn.x)())}onClick(){this.stream$.next(!0)}onActiveZone(t){t||this.stream$.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],standalone:!0,features:[r.jDz],attrs:di,ngContentSelectors:gi,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"iconLeft","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,pi,1,0,"tui-doc-navigation",1),r.ALo(2,"async"),r.qZA(),r.TgZ(3,"div",2),r.YNc(4,fi,1,1,"img",3),r.qZA(),r.Hsn(5)),2&t&&(r.Q6J("iconLeft",e.icons.menu)("title",e.menu),r.xp6(1),r.Q6J("tuiSidebar",!!r.lcZ(2,4,e.open$)),r.xp6(3),r.Q6J("polymorpheusOutlet",e.logo))},dependencies:[d.xG,ln.d,gn,i.Ov,Me.s$,hi],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:1;display:flex;box-shadow:var(--tui-shadow-small);height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-background-base);border-bottom:1px solid var(--tui-border-normal)}@supports (background: color-mix(in srgb,var(--tui-background-base),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-background-base),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.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}),e})();function vi(t,e){1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t&&(r.xp6(1),r.Oqu(", "))}function yi(t,e){if(1&t&&(r.ynx(0),r._UZ(1,"a",2),r.YNc(2,vi,2,1,"ng-container",3),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.oxw();r.xp6(1),r.Q6J("innerText",t)("routerLink",i.getRouterLink(t)),r.xp6(1),r.Q6J("ngIf",!n)}}let bi=(()=>{var t;class e{constructor(){this.pages=(0,r.f3M)(u._Z),this.text=(0,r.f3M)(u.VX),this.seeAlso=[]}getRouterLink(t){return this.pages.get(t)?.route??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.qZA(),r.YNc(2,yi,3,3,"ng-container",1)),2&t&&(r.xp6(1),r.Oqu(e.text),r.xp6(1),r.Q6J("ngForOf",e.seeAlso))},dependencies:[wn.lI,i.sg,tt.rH,i.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-secondary);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),e})();var _i;function wi(t,e){if(1&t&&(r.TgZ(0,"a",1),r._uU(1),r.qZA()),2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.Udp("height","var(--tui-height-l)"),r.Q6J("href",t,r.LSH)("iconLeft",n.icons.code),r.xp6(1),r.hij(" ",n.text,"\n")}}class xi{constructor(){this.icons=(0,r.f3M)(u.oq),this.sourceCode=(0,r.f3M)(u.yO),this.text=(0,r.f3M)(u.as),this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(t){return t.startsWith("http")}getPathOptions(t,e,n,i){return{header:t,package:e,type:n,path:i}}}(_i=xi).ɵfac=function(t){return new(t||_i)},_i.ɵcmp=r.Xpm({type:_i,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},standalone:!0,features:[r.jDz],decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft","height",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft"]],template:function(t,e){1&t&&r.YNc(0,wi,2,5,"a",0),2&t&&r.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},dependencies:[Me.s$,d.xG],encapsulation:2,changeDetection:0}),(0,U.gn)([Q.UM],xi.prototype,"pathIsUrl",null),(0,U.gn)([Q.UM],xi.prototype,"getPathOptions",null),n(18639),n(3667);var Ci=n(69838),ki=n(38525);const Oi=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],Mi=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let Si=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(u.oq),this.dark$=(0,r.f3M)(et.QN)}get icon(){return this.dark$.value?this.icons.light:this.icons.dark}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-main"]],standalone:!0,features:[r._Bn([Ci.$D]),r.jDz],ngContentSelectors:Mi,decls:20,vars:6,consts:[[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","size","s","tuiIconButton","","type","button",1,"tui-doc-dark-mode-switch",3,"iconLeft","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverDropdowns",5,["tuiOverDropdowns"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(r.F$t(Oi),r.TgZ(0,"tui-root"),r.ALo(1,"async"),r.TgZ(2,"div",0)(3,"tui-doc-navigation",1),r.Hsn(4),r.qZA(),r.TgZ(5,"div",2),r._UZ(6,"router-outlet",3),r.qZA()(),r.TgZ(7,"header",4),r.Hsn(8,1),r.TgZ(9,"button",5),r.NdJ("click",(function(){return e.dark$.toggle()})),r.qZA()(),r.ynx(10,6),r.Hsn(11,2),r.BQk(),r.ynx(12,7),r.Hsn(13,3),r.BQk(),r.ynx(14,8),r.Hsn(15,4),r.BQk(),r.ynx(16,9),r.Hsn(17,5),r.BQk(),r.ynx(18,10),r.Hsn(19,6),r.BQk(),r.qZA()),2&t&&(r.uIk("tuiTheme",r.lcZ(1,4,e.dark$)?"dark":null),r.xp6(9),r.Udp("border-radius",100,"%"),r.Q6J("iconLeft",e.icon))},dependencies:[ki.q,i.Ov,tt.lC,d.xG,mi,hi],styles:["@keyframes tuiShaking{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-.3125rem,0,0)}20%,40%,60%,80%{transform:translate3d(.3125rem,0,0)}}html,body{scroll-padding-top:4rem;background:var(--tui-background-base)}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}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;display:inline-flex;background:var(--tui-background-base-alt);color:var(--tui-text-secondary);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-border-hover);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*=language-]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*=language-]){color:var(--tui-text-action)}button:focus code,a:focus code{background:var(--tui-background-base)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-border-normal)}@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-dark-mode-switch{margin-left:1rem}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-primary);background-color:var(--tui-background-neutral-1)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:400;color:var(--tui-text-primary)}tui-doc-code .hljs-property{color:#bd65a4}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-secondary);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:700;color:var(--tui-text-action)}tui-doc-code .hljs-attr{color:var(--tui-text-action)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:700;color:#b8474e}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:400}tui-doc-code .hljs-string{color:var(--tui-status-positive);font-weight:700}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-primary);background:var(--tui-background-base-alt);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-text-action-hover)}tui-doc-code .hljs-addition{background:var(--tui-status-positive-pale)}tui-doc-code .hljs-deletion{background:var(--tui-status-negative-pale)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:700}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}[tuiTheme=dark] tui-doc-code .hljs-variable,tui-doc-code[tuiTheme=dark] .hljs-variable,[tuiTheme=dark] tui-doc-code .hljs-template-variable,tui-doc-code[tuiTheme=dark] .hljs-template-variable{color:var(--tui-status-warning)}\n"],encapsulation:2}),e})(),Ai=(()=>{var t;class e{transform(t,e,n){return t?.replace(e,n)??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiReplace",type:t,pure:!0,standalone:!0}),e})();var Pi=n(13027),Ei=n(73378);const Ti=new r.OlP("[PAGE_SEE_ALSO]"),Ii=[{provide:Ti,deps:[r.SBq,u.UL],useFactory:({nativeElement:t},e)=>{const n=t.getAttribute("header"),i=e.filter((t=>t.includes(n)))||[],r=new Set(i.join().split(",").filter((t=>t&&t!==n)));return Array.from(r)}}];let Di=(()=>{var t;class e{constructor(){this.template=(0,r.f3M)(r.Rgc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["ng-template","pageTab",""]],inputs:{pageTab:"pageTab"},standalone:!0}),e})();function zi(t,e){1&t&&(r.TgZ(0,"tui-chip",9),r._uU(1," deprecated "),r.qZA())}function Ni(t,e){if(1&t&&(r.TgZ(0,"tui-chip",10),r.ALo(1,"tuiAutoColor"),r._uU(2),r.qZA()),2&t){const t=r.oxw();r.Udp("background",r.lcZ(1,3,t.package)),r.xp6(2),r.hij(" ",t.package," ")}}const Fi=function(t){return{exact:t}};function Li(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("routerLink",e?"./":r.Dn7(1,3,t,n.from,n.to))("routerLinkActiveOptions",r.VKq(7,Fi,e)),r.xp6(2),r.hij(" ",t," ")}}function Ri(t,e){1&t&&(r.ynx(0),r.YNc(1,Li,3,9,"a",13),r.BQk())}function Bi(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ri,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 ji(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-tabs-with-more",11),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.activeItemIndex=e)})),r.YNc(1,Bi,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 Hi(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 Vi(t,e){if(1&t&&r.GkF(0,17),2&t){const t=r.oxw().$implicit;r.Q6J("ngTemplateOutlet",t.template)}}function $i(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Vi,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)}}const qi=["*"];let Zi=(()=>{var t;class e{constructor(){this.defaultTabs=(0,r.f3M)(u.AC),this.from=/ /g,this.to="_",this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=G.Mm,this.activeItemIndex=0,this.seeAlso=(0,r.f3M)(Ti)}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Di,4),2&t){let t;r.iGM(t=r.CRH())&&(e.tabConnectors=t)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},standalone:!0,features:[r._Bn(Ii),r.jDz],ngContentSelectors:qi,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["appearance","custom","size","xs","class","t-tag t-tag_deprecated",4,"ngIf"],["appearance","custom","size","xs","class","t-tag t-tag_package",3,"background",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["appearance","custom","size","xs",1,"t-tag","t-tag_deprecated"],["appearance","custom","size","xs",1,"t-tag","t-tag_package"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[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)(1,"h1",1),r._uU(2),r.YNc(3,zi,2,0,"tui-chip",2),r.YNc(4,Ni,3,5,"tui-chip",3),r.qZA(),r.YNc(5,ji,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,Hi,1,1,"tui-doc-see-also",7),r.YNc(10,$i,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)("path",e.path)("type",e.type),r.xp6(3),r.Q6J("ngIf",e.showSeeAlso),r.xp6(1),r.Q6J("ngForOf",e.tabConnectors))},dependencies:[Ei.Xt,i.O5,Pi.$,De.W,ze.Yh,ze.Pk,i.sg,tt.rH,tt.Od,Ai,xi,bi,i.tP],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-primary);box-shadow:inset 0 -1px 0 0 var(--tui-border-normal);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-status-negative);color:#fff}.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}),e})()},73284:(t,e,n)=>{n.d(e,{k:()=>h,g:()=>d});var i=n(20755),r=n(62022),o=n(32101),s=n(55181),a=n(35484),l=n(55333),c=n(84787),u=n(20155);let h=(()=>{var t;class e{constructor(){this.scroll$=new a.t(1);const t=(0,s.AG)();(0,i.f3M)(o.V1).pipe((0,l.h)(Boolean),(0,c.w)((()=>this.scroll$)),(0,u.b)(750),(0,l.h)((e=>e&&!!(0,s.PU)(t))),(0,r.sL)()).subscribe((()=>t.scrollIntoView()))}set tuiScrollIntoViewLink(t){this.scroll$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},standalone:!0}),e})(),d=(()=>{var t;class e{constructor(){this.code=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["code","tuiText",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("textContent",e.code)},inputs:{code:["tuiText","code"]},standalone:!0}),e})()},89037:(t,e,n)=>{n.d(e,{AC:()=>bt.AC,Es:()=>bt.Es,Or:()=>bt.Or,V5:()=>bt.V5,V1:()=>bt.V1,yO:()=>bt.yO,Yx:()=>bt.Yx,N0:()=>_t.N,ws:()=>o.ws,JQ:()=>o.JQ,vi:()=>o.vi});var i=n(63613),r=n(73284),o=n(36541),s=n(86889);function a(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}let l={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function c(t){l=t}const u=/[&<>"']/,h=new RegExp(u.source,"g"),d=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,p=new RegExp(d.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},g=t=>f[t];function m(t,e){if(e){if(u.test(t))return t.replace(h,g)}else if(d.test(t))return t.replace(p,g);return t}const v=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,y=/(^|[^\[])\^/g;function b(t,e){let n="string"==typeof t?t:t.source;e=e||"";const i={replace:(t,e)=>{let r="string"==typeof e?e:e.source;return r=r.replace(y,"$1"),n=n.replace(t,r),i},getRegex:()=>new RegExp(n,e)};return i}function _(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch(t){return null}return t}const w={exec:()=>null};function x(t,e){const n=t.replace(/\|/g,((t,e,n)=>{let i=!1,r=e;for(;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:C(t,"\n")}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const t=e[0],n=function(t,e){const n=t.match(/^(\s+)(?:```)/);if(null===n)return e;const i=n[1];return e.split("\n").map((t=>{const e=t.match(/^\s+/);if(null===e)return t;const[n]=e;return n.length>=i.length?t.slice(i.length):t})).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){const e=C(t,"#");this.options.pedantic?t=e.trim():e&&!/ $/.test(e)||(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:C(e[0],"\n")}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let t=C(e[0],"\n").split("\n"),n="",i="";const r=[];for(;t.length>0;){let e=!1;const o=[];let s;for(s=0;s/.test(t[s]))o.push(t[s]),e=!0;else{if(e)break;o.push(t[s])}t=t.slice(s);const a=o.join("\n"),l=a.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${a}`:a,i=i?`${i}\n${l}`:l;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,r,!0),this.lexer.state.top=c,0===t.length)break;const u=r[r.length-1];if("code"===u?.type)break;if("blockquote"===u?.type){const e=u,o=e.raw+"\n"+t.join("\n"),s=this.blockquote(o);r[r.length-1]=s,n=n.substring(0,n.length-e.raw.length)+s.raw,i=i.substring(0,i.length-e.text.length)+s.text;break}if("list"!==u?.type);else{const e=u,o=e.raw+"\n"+t.join("\n"),s=this.list(o);r[r.length-1]=s,n=n.substring(0,n.length-u.raw.length)+s.raw,i=i.substring(0,i.length-e.raw.length)+s.raw,t=o.substring(r[r.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:r,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim();const i=n.length>1,r={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let s="",a="",l=!1;for(;t;){let n=!1;if(!(e=o.exec(t)))break;if(this.rules.block.hr.test(t))break;s=e[0],t=t.substring(s.length);let i=e[2].split("\n",1)[0].replace(/^\t+/,(t=>" ".repeat(3*t.length))),c=t.split("\n",1)[0],u=0;this.options.pedantic?(u=2,a=i.trimStart()):(u=e[2].search(/[^ ]/),u=u>4?1:u,a=i.slice(u),u+=e[1].length);let h=!1;if(!i&&/^ *$/.test(c)&&(s+=c+"\n",t=t.substring(c.length+1),n=!0),!n){const e=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),r=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;t;){const l=t.split("\n",1)[0];if(c=l,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),r.test(c))break;if(o.test(c))break;if(e.test(c))break;if(n.test(t))break;if(c.search(/[^ ]/)>=u||!c.trim())a+="\n"+c.slice(u);else{if(h)break;if(i.search(/[^ ]/)>=4)break;if(r.test(i))break;if(o.test(i))break;if(n.test(i))break;a+="\n"+c}h||c.trim()||(h=!0),s+=l+"\n",t=t.substring(l.length+1),i=c.slice(u)}}r.loose||(l?r.loose=!0:/\n *\n *$/.test(s)&&(l=!0));let d,p=null;this.options.gfm&&(p=/^\[[ xX]\] /.exec(a),p&&(d="[ ] "!==p[0],a=a.replace(/^\[[ xX]\] +/,""))),r.items.push({type:"list_item",raw:s,task:!!p,checked:d,loose:!1,text:a,tokens:[]}),r.raw+=s}r.items[r.items.length-1].raw=s.trimEnd(),r.items[r.items.length-1].text=a.trimEnd(),r.raw=r.raw.trimEnd();for(let t=0;t"space"===t.type)),n=e.length>0&&e.some((t=>/\n.*\n/.test(t.raw)));r.loose=n}if(r.loose)for(let t=0;t$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:i}}}table(t){const e=this.rules.block.table.exec(t);if(!e)return;if(!/[:|]/.test(e[2]))return;const n=x(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),r=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const t of i)/^ *-+: *$/.test(t)?o.align.push("right"):/^ *:-+: *$/.test(t)?o.align.push("center"):/^ *:-+ *$/.test(t)?o.align.push("left"):o.align.push(null);for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:o.align[e]}))));return o}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:m(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^
    /i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const t=e[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;const e=C(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{const t=function(t,e){if(-1===t.indexOf(e[1]))return-1;let n=0;for(let i=0;i-1){const n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){const t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);t&&(n=t[1],i=t[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),/^$/.test(t)?n.slice(1):n.slice(1,-1)),k(e,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},e[0],this.lexer)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const t=e[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!t){const t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return k(n,t,n[0],this.lexer)}}emStrong(t,e,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(i&&(!i[3]||!n.match(/[\p{L}\p{N}]/u))&&(!i[1]&&!i[2]||!n||this.rules.inline.punctuation.exec(n))){const n=[...i[0]].length-1;let r,o,s=n,a=0;const l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+n);null!=(i=l.exec(e));){if(r=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!r)continue;if(o=[...r].length,i[3]||i[4]){s+=o;continue}if((i[5]||i[6])&&n%3&&!((n+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);const e=[...i[0]][0].length,l=t.slice(0,n+i.index+e+o);if(Math.min(n,o)%2){const t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}const c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," ");const n=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return n&&i&&(t=t.substring(1,t.length-1)),t=m(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=m(e[1]),n="mailto:"+t):(t=m(e[1]),n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=m(e[0]),n="mailto:"+t;else{let i;do{i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??""}while(i!==e[0]);t=m(e[0]),n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:m(e[0]),{type:"text",raw:e[0],text:t}}}}const M=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,A=b(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,S).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),P=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,E=/(?!\s*\])(?:\\.|[^\[\]\\])+/,T=b(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",E).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),I=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),D="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",z=/|$))/,N=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",z).replace("tag",D).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),F=b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),L={blockquote:b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",F).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:T,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:M,html:N,lheading:A,list:I,newline:/^(?: *(?:\n|$))+/,paragraph:F,table:w,text:/^[^\n]+/},R=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),B={...L,table:R,paragraph:b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",R).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex()},j={...L,html:b("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",z).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(P).replace("hr",M).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},H=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,V=/^( {2,}|\\)\n(?!\s*$)/,$="\\p{P}\\p{S}",q=b(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,$).getRegex(),Z=b(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,$).getRegex(),U=b("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,$).getRegex(),G=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,$).getRegex(),Q=b(/\\([punct])/,"gu").replace(/punct/g,$).getRegex(),J=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Y=b(z).replace("(?:--\x3e|$)","--\x3e").getRegex(),W=b("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Y).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),K=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X=b(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",K).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tt=b(/^!?\[(label)\]\[(ref)\]/).replace("label",K).replace("ref",E).getRegex(),et=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",E).getRegex(),nt={_backpedal:w,anyPunctuation:Q,autolink:J,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:V,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,emStrongLDelim:Z,emStrongRDelimAst:U,emStrongRDelimUnd:G,escape:H,link:X,nolink:et,punctuation:q,reflink:tt,reflinkSearch:b("reflink|nolink(?!\\()","g").replace("reflink",tt).replace("nolink",et).getRegex(),tag:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\e+" ".repeat(n.length)));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(i=n.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))))if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);else if(i=this.tokenizer.code(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?e.push(i):(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.list(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.html(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.def(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.table(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.lheading(t))t=t.substring(i.raw.length),e.push(i);else{if(o=t,this.options.extensions&&this.options.extensions.startBlock){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startBlock.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(o=t.substring(0,e+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o)))r=e[e.length-1],n&&"paragraph"===r?.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i),n=o.length!==t.length,t=t.substring(i.raw.length);else if(i=this.tokenizer.text(t))t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let n,i,r,o,s,a,l=t;if(this.tokens.links){const t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((i=>!!(n=i.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))))if(n=this.tokenizer.escape(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.tag(t))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.link(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.emStrong(t,l,a))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.codespan(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.br(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.del(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.autolink(t))t=t.substring(n.raw.length),e.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(t))){if(r=t,this.options.extensions&&this.options.extensions.startInline){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startInline.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(r=t.substring(0,e+1))}if(n=this.tokenizer.inlineText(r))t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0,i=e[e.length-1],i&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}else t=t.substring(n.raw.length),e.push(n);return e}}class ct{constructor(t){(0,s.Z)(this,"options",void 0),(0,s.Z)(this,"parser",void 0),this.options=t||l}space(t){return""}code({text:t,lang:e,escaped:n}){const i=(e||"").match(/^\S*/)?.[0],r=t.replace(/\n$/,"")+"\n";return i?'
    '+(n?r:m(r,!0))+"
    \n":"
    "+(n?r:m(r,!0))+"
    \n"}blockquote({tokens:t}){return`
    \n${this.parser.parse(t)}
    \n`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)}\n`}hr(t){return"
    \n"}list(t){const e=t.ordered,n=t.start;let i="";for(let e=0;e\n"+i+"\n"}listitem(t){let e="";if(t.task){const n=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=n+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • \n`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    \n`}table(t){let e="",n="";for(let e=0;e${i}`),"\n\n"+e+"\n"+i+"
    \n"}tablerow({text:t}){return`\n${t}\n`}tablecell(t){const e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`\n`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:n}){const i=this.parser.parseInline(n),r=_(t);if(null===r)return i;let o='
    ",o}image({href:t,title:e,text:n}){const i=_(t);if(null===i)return n;let r=`${n}"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}(n.parser.parseInline(i.tokens,n.parser.textRenderer))):t.apply(this,arguments)};case"code":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.lang,!!n.escaped):t.apply(this,arguments)};case"table":return function(n){if(!n.type||n.type!==e)return t.apply(this,arguments);let i="",r="";for(let t=0;t0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):a+=t+" "}a+=this.parser.parse(e.tokens,o),s+=this.listitem({type:"list_item",raw:a,text:a,task:r,checked:!!i,loose:o,tokens:e.tokens})}return t.call(this,s,i,r)};case"html":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.block):t.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(n){return n.type&&n.type===e?t.call(this,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"escape":case"codespan":case"text":return function(n){return n.type&&n.type===e?t.call(this,n.text):t.apply(this,arguments)};case"link":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"image":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,n.text):t.apply(this,arguments)}}return t}function gt(t,e){return(n,i)=>{const r={...i},o={...this.defaults,...r};!0===this.defaults.async&&!1===r.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const s=a(pt,this,mt).call(this,!!o.silent,!!o.async);if(null==n)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((e=>t(e,o))).then((t=>o.hooks?o.hooks.processAllTokens(t):t)).then((t=>o.walkTokens?Promise.all(this.walkTokens(t,o.walkTokens)).then((()=>t)):t)).then((t=>e(t,o))).then((t=>o.hooks?o.hooks.postprocess(t):t)).catch(s);try{o.hooks&&(n=o.hooks.preprocess(n));let i=t(n,o);o.hooks&&(i=o.hooks.processAllTokens(i)),o.walkTokens&&this.walkTokens(i,o.walkTokens);let r=e(i,o);return o.hooks&&(r=o.hooks.postprocess(r)),r}catch(t){return s(t)}}}function mt(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){const t="

    An error occurred:

    "+m(n.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}const vt=new class{constructor(...t){var e;(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(this,e=pt),e.add(this),(0,s.Z)(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),(0,s.Z)(this,"options",this.setOptions),(0,s.Z)(this,"parse",a(pt,this,gt).call(this,lt.lex,ht.parse)),(0,s.Z)(this,"parseInline",a(pt,this,gt).call(this,lt.lexInline,ht.parseInline)),(0,s.Z)(this,"Parser",ht),(0,s.Z)(this,"Renderer",ct),(0,s.Z)(this,"TextRenderer",ut),(0,s.Z)(this,"Lexer",lt),(0,s.Z)(this,"Tokenizer",O),(0,s.Z)(this,"Hooks",dt),this.use(...t)}walkTokens(t,e){let n=[];for(const i of t)switch(n=n.concat(e.call(this,i)),i.type){case"table":{const t=i;for(const i of t.header)n=n.concat(this.walkTokens(i.tokens,e));for(const i of t.rows)for(const t of i)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":{const t=i;n=n.concat(this.walkTokens(t.items,e));break}default:{const t=i;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach((i=>{const r=t[i].flat(1/0);n=n.concat(this.walkTokens(r,e))})):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach((t=>{const n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let i=t.renderer.apply(this,e);return!1===i&&(i=n.apply(this,e)),i}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),n.extensions=e),t.renderer){const e=this.defaults.renderer||new ct(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const i=n;let r=t.renderer[i];const o=e[i];e[i]=(...n)=>{t.useNewRenderer||(r=a(pt,this,ft).call(this,r,i,e));let s=r.apply(e,n);return!1===s&&(s=o.apply(e,n)),s||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new O(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const i=n,r=t.tokenizer[i],o=e[i];e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new dt;for(const n in t.hooks){if(!(n in e))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const i=n,r=t.hooks[i],o=e[i];dt.passThroughHooks.has(n)?e[i]=t=>{if(this.defaults.async)return Promise.resolve(r.call(e,t)).then((t=>o.call(e,t)));const n=r.call(e,t);return o.call(e,n)}:e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,i=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(i.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return lt.lex(t,e??this.defaults)}parser(t,e){return ht.parse(t,e??this.defaults)}};function yt(t,e){return vt.parse(t,e)}yt.options=yt.setOptions=function(t){return vt.setOptions(t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},yt.defaults=l,yt.use=function(...t){return vt.use(...t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.walkTokens=function(t,e){return vt.walkTokens(t,e)},yt.parseInline=vt.parseInline,yt.Parser=ht,yt.parser=ht.parse,yt.Renderer=ct,yt.TextRenderer=ut,yt.Lexer=lt,yt.lexer=lt.lex,yt.Tokenizer=O,yt.Hooks=dt,yt.parse=yt,yt.options,yt.setOptions,yt.use,yt.walkTokens,yt.parseInline,ht.parse,lt.lex,n(25693);var bt=n(32101),_t=n(81059);i.lh,i.NC,i.oI,i.D_,i.Cv,i.Ei,i.fz,i.cJ,i.b7,i.xR,i.Cn,i.t9,i.og,r.g},25693:(t,e,n)=>{n.d(e,{QN:()=>c});var i=n(73740);(0,i.JN)("tuiTheme"),(0,i.JN)("Taiga UI");const r=(0,i.JN)("tuiNight"),o=(0,i.JN)(!1);var s=n(20755),a=n(42772),l=n(56424);let c=(()=>{var t;class e extends l.X{constructor(){super(function(t,e,n){const i=n.matchMedia("(prefers-color-scheme: dark)").matches||(0,s.f3M)(o);return"true"===t.getItem(e)||null===t.getItem(e)&&i}((0,s.f3M)(a.H3),(0,s.f3M)(r),(0,s.f3M)(a.m9))),this.storage=(0,s.f3M)(a.H3),this.key=(0,s.f3M)(r)}next(t){this.storage.setItem(this.key,String(t)),super.next(t)}toggle(){this.next(!this.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=s.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},32101:(t,e,n)=>{n.d(e,{mT:()=>r,lW:()=>s,AC:()=>a,ru:()=>f,IK:()=>g,$_:()=>h,Es:()=>d,mv:()=>m,et:()=>p,oq:()=>l,Or:()=>w,_Z:()=>A,gG:()=>v,V5:()=>S,V1:()=>M,EI:()=>y,UL:()=>P,VX:()=>b,yO:()=>E,as:()=>_,Yx:()=>T,x9:()=>I,B$:()=>D,Ii:()=>z});var i=n(73740);const r=(0,i.JN)("");var o=n(20755);const s=new o.OlP("[TUI_DOC_CODE_EDITOR]"),a=(0,i.JN)([]),l=(0,i.JN)({search:"@tui.search",light:"@tui.sun",dark:"@tui.moon",code:"@tui.code",menu:"@tui.menu"});var c=n(36541),u=n(69401);const h=(0,i.JN)(u.y),d=(0,i.JN)(c.vi),p=(0,i.JN)(new Set([])),f=(0,i.JN)(["Dark mode","Background","Form value"]),g=(0,i.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),m=(0,i.JN)(["Preview","Link to a sample was successfully copied","Done"]),v=(0,i.JN)("Menu"),y=(0,i.JN)("Search"),b=(0,i.JN)("See also"),_=(0,i.JN)("Source code"),w=(0,i.JN)("");var x=n(83562),C=n(1925),k=n(84787),O=n(71209);const M=(0,i.JN)((0,x.P)((()=>(0,C.H)(200).pipe((0,k.w)((()=>(0,O.of)(!0))))))),S=(0,i.JN)([]),A=(0,i.N1)((()=>(0,c.S4)((0,o.f3M)(S)))),P=(0,i.JN)([]),E=(0,i.JN)(null),T=(0,i.JN)(""),I=(0,i.JN)(null),D=(0,i.JN)(c.TN),z=(0,i.JN)(String)},81059:(t,e,n)=>{n.d(e,{N:()=>i});const i={TS:"TypeScript",LESS:"LESS",HTML:"HTML"}},36541:(t,e,n)=>{function i(t){return JSON.parse(JSON.stringify(t,((t,e)=>function(t){const e="string"==typeof t?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e)))}function r(t){return"true"===t?.toString()}function o(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{return n}}function s(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"[…]";let n="",i=!0;for(let r=0;ri,p8:()=>o,cd:()=>r,sj:()=>s,ws:()=>c,JQ:()=>h,vP:()=>p,S4:()=>g,OO:()=>v,vi:()=>l,TN:()=>y});var a=n(89088);function l(t=""){const e=(new a.Z).parse(t,{}).filter((({tag:t,type:e})=>"code"===t&&"fence"===e)).map((({content:t})=>t.trim()));return e.length?e:[t]}function c({path:t,title:e,loadComponent:n,loadChildren:i}={}){return{path:t?.replace(/^\//,""),loadComponent:n,loadChildren:i,data:{title:e},...i||""===t?{}:{children:[{path:":tab",loadComponent:n}]}}}var u=n(8239);function h(t){return d.apply(this,arguments)}function d(){return(d=(0,u.Z)((function*(t){return t instanceof Promise?(yield t).default:t}))).apply(this,arguments)}function p(t){return f.apply(this,arguments)}function f(){return(f=(0,u.Z)((function*(t){const e={};for(const[n,i]of Object.entries(t))i&&(e[n]=yield h(i));return e}))).apply(this,arguments)}function g(t){const e=new Map;return t.forEach((t=>{"subPages"in t?t.subPages.forEach((t=>{e.set(t.title,t)})):e.set(t.title,t)})),e}const m={а:"f",б:",",в:"d",г:"u",д:"l",е:"t",ё:"`",ж:";",з:"p",и:"b",й:"q",к:"r",л:"k",м:"v",н:"y",о:"j",п:"g",р:"h",с:"c",т:"n",у:"e",ф:"a",х:"[",ц:"w",ч:"x",ш:"i",щ:"o",ъ:"]",ы:"s",ь:"m",ю:".",я:"z"};function v(t){let e="";for(let n=0;n]+)>/g);return(e?e.reduce(((t,e)=>t.replace(e,e.replaceAll("|","&"))),t).split("|").map((t=>t.trim())):t.split("|").map((t=>t.trim()))).reduce(((t,e)=>{let n=e.trim().replaceAll("readonly ","").replaceAll("[]","");return n=n.match(/ReadonlyArray<([^>]+)>/)?.[1]?.split("&")?.[0]??n,n=n.match(/\[([^\]]+)\]/)?.[1]?.split(",")?.[0]??n,n=(n.split("<")?.[0]??n)?.trim()??"",n=Number.isNaN(parseFloat(n))?n:"number",n=/^'(.+)'$|^"(.+)"$|^`(.+)`$/.test(n)?"string":n,n=1===n.length?"unknown":n,t.concat({type:e.replaceAll("&","|"),extracted:n})}),[])}},94267:(t,e,n)=>{n.d(e,{QJ:()=>x,NN:()=>_,Bb:()=>O,oL:()=>k,T8:()=>A,R4:()=>b,wB:()=>w,ze:()=>M});var i,r=n(84911),o=n(20755),s=n(62022),a=n(43226),l=n(11892),c=n(86253),u=n(46492),h=n(78748),d=n(69286),p=n(73843),f=n(92425),g=n(55333),m=n(18004),v=n(84787),y=n(45047);class b{}class _{constructor(){this.refresh$=new h.x,this.pseudoInvalid=(0,o.tdS)(null),this.internal=(0,o.tdS)((0,o.f3M)(c.tp,{self:!0,optional:!0})),this.control=(0,o.f3M)(a.a5,{self:!0}),this.destroyRef=(0,o.f3M)(o.ktI),this.cdr=(0,o.f3M)(o.sBO),this.transformer=(0,o.f3M)(b,{optional:!0}),this.value=(0,o.Flj)((()=>this.internal())),this.readOnly=(0,o.tdS)(!1),this.touched=(0,o.tdS)(!1),this.status=(0,o.tdS)(void 0),this.disabled=(0,o.Flj)((()=>"DISABLED"===this.status())),this.interactive=(0,o.Flj)((()=>!this.disabled()&&!this.readOnly())),this.invalid=(0,o.Flj)((()=>null!==this.pseudoInvalid()?!!this.pseudoInvalid()&&this.interactive():this.interactive()&&this.touched()&&"INVALID"===this.status())),this.mode=(0,o.Flj)((()=>this.readOnly()?"readonly":this.invalid()?"invalid":"valid")),this.onTouched=l.iD,this.onChange=l.iD,this.control.valueAccessor=this,this.refresh$.pipe((0,d.g)(0),(0,p.O)(null),(0,f.U)((()=>this.control.control)),(0,g.h)(u.Pc),(0,m.x)(),(0,v.w)((t=>(0,y.T)(t.valueChanges,t.statusChanges))),(0,s.sL)(this.destroyRef)).subscribe((()=>{this.update()}))}set readOnlySetter(t){this.readOnly.set(t)}set invalidSetter(t){this.pseudoInvalid.set(t)}registerOnChange(t){this.refresh$.next(),this.onChange=e=>{e!==this.internal()&&(t(this.toControlValue(e)),this.internal.set(e),this.update())}}registerOnTouched(t){this.onTouched=()=>{t(),this.update()}}setDisabledState(){this.update()}writeValue(t){const e=this.control instanceof a.On?this.control.model:t;this.internal.set(this.fromControlValue(e)),this.update()}fromControlValue(t){return this.transformer?this.transformer.fromControlValue(t):t}toControlValue(t){return this.transformer?this.transformer.toControlValue(t):t}update(){this.status.set(this.control.control?.status),this.touched.set(!!this.control.control?.touched),this.cdr.markForCheck()}}function w(t){return(0,u.Q2)(_,t)}(i=_).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,inputs:{readOnlySetter:["readOnly","readOnlySetter"],invalidSetter:["invalid","invalidSetter"]}}),(0,r.gn)([u.UM],_.prototype,"fromControlValue",null),(0,r.gn)([u.UM],_.prototype,"toControlValue",null);let x=(()=>{var t;class e{constructor(){this.change$=new h.x}ngOnChanges(){this.change$.next()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,features:[o.TTD]}),e})();const C=["viewContainer"];let k=(()=>{var t;class e{constructor(){this.injector=(0,o.f3M)(o.gxx),this.nothing=(0,o.f3M)(O).attach(this)}addComponentChild(t){const e=t.createInjector(this.injector),n=this.vcr.createComponent(t.component,{injector:e});return n.changeDetectorRef.detectChanges(),n}addTemplateChild(t,e){return this.vcr.createEmbeddedView(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&o.Gf(C,5,o.s_b),2&t){let t;o.iGM(t=o.CRH())&&(e.vcr=t.first)}}}),e})(),O=(()=>{var t;class e{attach(t){this.host=t}add(t){return this.safeHost.addComponentChild(t)}remove({hostView:t}){t.destroyed||t.destroy()}addTemplate(t,e){return this.safeHost.addTemplateChild(t,e)}removeTemplate(t){t.destroyed||t.destroy()}get safeHost(){if(!this.host)throw new S;return this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();function M(t){return(0,u.Q2)(O,t)}class S extends Error{constructor(){super("")}}class A{constructor(t,e={}){this.message=t,this.context=e}}},11892:(t,e,n)=>{n.d(e,{F:()=>v,fv:()=>y,em:()=>b,f$:()=>m,kU:()=>_,tU:()=>w,LZ:()=>s,Jy:()=>l,iD:()=>a,Mm:()=>o,bg:()=>p,LQ:()=>h,tD:()=>c,R3:()=>f,zy:()=>d,oN:()=>u,Ml:()=>x,Lw:()=>g});var i=n(20755);const r={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},o=new i.n_E,s=[],a=()=>{},l={...r,toJSON:()=>r},c=()=>!1,u=()=>!0,h=(t,e,n=String)=>n(t).toLowerCase().includes(e.toLowerCase()),d=(t,e,n=String)=>n(t).toLowerCase()===e.toLowerCase(),p=(t,e)=>t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e),f=/\D+/g,g={acceptNode:t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},m=" ",v="–",y="-",b="−",_="+",w="​",x="4.0.0-rc.2"},28351:(t,e,n)=>{function i(t,e,n){return n&&nt?e:t}n.d(e,{ek:()=>p,FZ:()=>f,NA:()=>o,cO:()=>l,nN:()=>a,mH:()=>c,K1:()=>k,Oy:()=>O,TU:()=>_,Lr:()=>v,VR:()=>C,ql:()=>b,dt:()=>x,qD:()=>M,F4:()=>y,hV:()=>i});var r=n(11892);const o=7,s=12,a=0,l=9999,c=`${r.f$}${r.F}${r.f$}`,u=6e4,h=36e5,d=864e5,p=10,f=2*p+c.length;var g=n(23880);function m(t,e,n){return Number.isNaN(t)||t<=e?e:t>=n?n:Math.round(t)}const v={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};class y{constructor(t){this.year=t}static isValidYear(t){return Number.isInteger(t)&&(0,g.w)(t,a,l+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 m(t,a,l)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return y.isLeapYear(this.year)}get absoluteLeapYears(){return y.getAbsoluteLeapYears(this.year)}yearBefore({year:t}){return this.year=t}yearAfter({year:t}){return this.year>t}append({year:t=0}){const e=this.year+t;return new y(e)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toJSON(){return this.formattedYear}}class b extends y{constructor(t,e){super(t),this.month=e}static isValidMonth(t,e){return y.isValidYear(t)&&b.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 b(t.getFullYear(),t.getMonth())}static currentUtc(){const t=new Date;return new b(t.getUTCFullYear(),t.getUTCMonth())}static lengthBetween(t,e){const n=t.month+12*t.year;return e.month+12*e.year-n}static normalizeMonthPart(t){return m(t,0,11)}static isValidMonthPart(t){return Number.isInteger(t)&&(0,g.w)(t,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return b.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)*s+this.month+e;return new b(Math.floor(n/s),n%s)}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 _ extends b{constructor(t,e,n){super(t,e),this.day=n}static fromLocalNativeDate(t){return new _(t.getFullYear(),t.getMonth(),t.getDate())}static fromUtcNativeDate(t){return new _(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}static isValidDay(t,e,n){return b.isValidMonth(t,e)&&Number.isInteger(n)&&(0,g.w)(n,1,b.getMonthDaysCount(e,y.isLeapYear(t))+1)}static currentLocal(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),i=t.getDate();return new _(e,n,i)}static currentUtc(){const t=new Date,e=t.getUTCFullYear(),n=t.getUTCMonth(),i=t.getUTCDate();return new _(e,n,i)}static normalizeOf(t,e,n){const i=y.normalizeYearPart(t),r=b.normalizeMonthPart(e),o=_.normalizeDayPart(n,r,i);return new _(i,r,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:i,year:r}=this.parseRawDateString(t,e);return _.normalizeOf(r,i,n)}static jsonParse(t){const{day:e,month:n,year:i}=this.parseRawDateString(t,"YMD");if(!b.isValidMonth(i,n)||!Number.isInteger(e)||!(0,g.w)(e,1,b.getMonthDaysCount(n,y.isLeapYear(i))+1))throw new w(i,n,e);return new _(i,n,e)}static normalizeDayPart(t,e,n){return m(t,1,b.getMonthDaysCount(e,y.isLeapYear(n)))}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const t=this.dayOfWeek(!1);return t===v.Saturday||t===v.Sunday}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 i=(this.year+t)*s+this.month+e;let r=Math.floor(i/s),o=i%s,a=Math.min(this.day,b.getMonthDaysCount(o,y.isLeapYear(r)))+n;for(;a>b.getMonthDaysCount(o,y.isLeapYear(r));)a-=b.getMonthDaysCount(o,y.isLeapYear(r)),11===o?(r++,o=0):o++;for(;a<1;)0===o?(r--,o=11):o--,a+=b.getMonthDaysCount(o,y.isLeapYear(r));return new _(r,o,a)}getFormattedDay(t,e){const n=this.formattedDayPart,i=this.formattedMonthPart,r=this.formattedYear;switch(t){case"YMD":return`${r}${e}${i}${e}${n}`;case"MDY":return`${i}${e}${n}${e}${r}`;default:return`${n}${e}${i}${e}${r}`}}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))}}class w extends Error{constructor(t,e,n){super("")}}class x{constructor(t,e){this.from=t,this.to=e}static sort(t,e){return t.monthSameOrBefore(e)?new x(t,e):new x(e,t)}get isSingleMonth(){return this.from.monthSame(this.to)}monthSame(t){return this.from.monthSame(t.from)&&this.to.monthSame(t.to)}toString(){return`${this.from}${c}${this.to}`}}class C extends x{constructor(t,e){super(t,e),this.from=t,this.to=e}static sort(t,e){return t.daySameOrBefore(e)?new C(t,e):new C(e,t)}static normalizeParse(t,e="DMY"){const n=_.normalizeParse(t.slice(0,p),e);return t.length0,n=e||"HH:MM:SS"===t||!t&&this.seconds>0;return`${this.formatTime(this.hours)}:${this.formatTime(this.minutes)}${n?`:${this.formatTime(this.seconds)}`:""}${e?`.${this.formatTime(this.ms,3)}`:""}`}valueOf(){return this.toAbsoluteMilliseconds()}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toAbsoluteMilliseconds(){return this.hours*h+this.minutes*u+1e3*this.seconds+this.ms}formatTime(t,e=2){return String(t).padStart(e,"0")}}},48606:(t,e,n)=>{n.d(e,{d:()=>g});var i,r=n(84911),o=n(20755),s=n(43226),a=n(65026),l=n(86253),c=n(46492),u=n(92425),h=n(73843),d=n(18004),p=n(14776),f=n(31570);class g{constructor(){this.control=(0,o.f3M)(s.a5,{optional:!0,self:!0}),this.active$=(0,o.f3M)(l.wk),this.zone=(0,o.f3M)(o.R0b),this.el=(0,c.AG)(),this.tuiActiveZoneParent=null,this.subActiveZones=[],this.directParentActiveZone=(0,o.f3M)(g,{skipSelf:!0,optional:!0}),this.tuiActiveZoneChange=this.active$.pipe((0,u.U)((t=>!!t&&this.contains(t))),(0,h.O)(!1),(0,d.x)(),(0,p.T)(1),(0,f.b)((t=>{t||"function"!=typeof this.control?.valueAccessor.onTouched||this.control.valueAccessor.onTouched()})),(0,a.Yr)(this.zone)),this.directParentActiveZone?.addSubActiveZone(this)}set tuiActiveZoneParentSetter(t){this.setZone(t)}ngOnDestroy(){this.directParentActiveZone?.removeSubActiveZone(this),this.tuiActiveZoneParent?.removeSubActiveZone(this)}contains(t){return this.el.contains(t)||this.subActiveZones.some(((e,n,i)=>i.indexOf(e)===n&&e.contains(t)))}setZone(t){this.tuiActiveZoneParent?.removeSubActiveZone(this),t?.addSubActiveZone(this),this.tuiActiveZoneParent=t}addSubActiveZone(t){this.subActiveZones=[...this.subActiveZones,t]}removeSubActiveZone(t){this.subActiveZones=(0,c.WX)(this.subActiveZones,this.subActiveZones.indexOf(t))}}(i=g).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],hostBindings:function(t,e){1&t&&o.NdJ("mousedown.silent",(function(){return 0}),!1,o.evT)},inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"],standalone:!0}),(0,r.gn)([c.UM],g.prototype,"setZone",null)},95079:(t,e,n)=>{n.d(e,{d:()=>i.d});var i=n(48606)},30696:(t,e,n)=>{n.d(e,{bi:()=>M,f$:()=>C});var i=n(62561),r=n(20755),o=n(62022),s=n(1925),a=n(42772),l=n(86253),c=n(73740),u=n(82479),h=n(38356),d=n(92425),p=n(96142),f=n(70134),g=n(21813);class m{constructor(t){this.el=t}get element(){return(this.el.nativeElement.tagName.includes("-")?this.el.nativeElement.querySelector("input,textarea"):this.el.nativeElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}class v extends m{constructor(t,e){super(t),this.animationFrame$=e}setFocus(){var t;this.isTextFieldElement?(0,u.S)((0,s.H)(1e3),this.animationFrame$.pipe((0,h.p)(100),(0,d.U)((()=>this.element.closest(".ng-animating"))),(t=Boolean,(0,p.e)(((e,n)=>{let i=!1,r=0;e.subscribe(new f.Q(n,(e=>(i||(i=!t(e,r++)))&&n.next(e))))}))),(0,g.q)(1))).subscribe((()=>this.element.focus({preventScroll:!0}))):this.element.focus({preventScroll:!0})}}var y=n(46492);const b=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];class _ extends m{constructor(t,e,n,i){super(t),this.renderer=e,this.zone=n,this.win=i,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular((()=>this.iosWebkitAutofocus())):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){const t=this.makeFakeInput(),e=this.getDurationTimeBeforeFocus();let n=0,i=0;const r=()=>t.focus({preventScroll:!0}),o=()=>{clearTimeout(n),n=this.win.setTimeout((()=>{clearTimeout(i),t.removeEventListener("blur",r),t.removeEventListener("focus",o),i=this.win.setTimeout((()=>{this.element.focus({preventScroll:!1}),t.remove()}),e)}))};t.addEventListener("blur",r,{once:!0}),t.addEventListener("focus",o),this.insideDialog()?this.win.document.body.appendChild(t):this.element.parentElement?.appendChild(t),t.focus({preventScroll:!0})}makeFakeInput(){const t=this.renderer.createElement("input"),e=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(t),t.style.height=(0,y.O9)(e.height),t.style.width=(0,y.O9)(e.width/2),t.style.position="fixed",t.style.zIndex="-99999999",t.style.caretColor="transparent",t.style.border="none",t.style.outline="none",t.style.color="transparent",t.style.background="transparent",t.style.cursor="none",t.style.fontSize=(0,y.O9)(16),t.style.top=(0,y.O9)(e.top),t.style.left=(0,y.O9)(e.left),t}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach((t=>{t.style.setProperty("overflow","auto"),t.style.setProperty("height","100%")}))}patchFakeInputFromFocusableElement(t){b.forEach((e=>{const n=this.element.getAttribute(e);(0,y.Pc)(n)&&t.setAttribute(e,n)}))}}const w={delay:NaN},x=(0,c.JN)(w);function C(t){return(0,c.vK)(x,t,w)}const k=new r.OlP("[TUI_AUTOFOCUS_HANDLER]"),O=[{provide:k,useFactory:(t,e,n,i,r,o)=>o?new _(t,n,i,r):new v(t,e),deps:[r.SBq,a.L1,r.Qsj,r.R0b,a.m9,l.FA]}];let M=(()=>{var t;class e{constructor(){this.handler=(0,r.f3M)(k),this.options=(0,r.f3M)(x),this.destroyRef=(0,r.f3M)(r.ktI)}ngAfterViewInit(){this.autoFocus&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then((()=>this.handler.setFocus())):(0,s.H)(this.options.delay).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>this.handler.setFocus()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus",i.Ig]},standalone:!0,features:[r._Bn(O),r.Xq5]}),e})()},49148:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(20755),r=n(46492);let o=(()=>{var t;class e{constructor(){return this.nativeElement=(0,r.AG)(),new i.SBq(this.nativeElement)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"],standalone:!0}),e})()},69008:(t,e,n)=>{n.d(e,{m:()=>a});var i=n(76733),r=n(20755),o=n(55181),s=n(52674);let a=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,o.AG)(),this.activeElement=(0,s.ie)(this.doc),Promise.resolve().then((()=>this.el.focus()))}ngOnDestroy(){(0,s.hp)(this.doc),Promise.resolve().then((()=>{(0,o.dW)(this.activeElement)&&this.activeElement.focus()}))}onBlur(){this.el.removeAttribute("tabIndex")}onFocusIn(t){(0,o.PP)(this.el,t)||(0,s.BW)({initial:this.el,root:this.el})?.focus()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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)},standalone:!0}),e})()},7479:(t,e,n)=>{n.d(e,{et:()=>f,gs:()=>p});var i=n(20755),r=n(11892),o=n(65026),s=(n(86253),n(46492)),a=n(48132),l=n(45047),c=n(92425),u=n(55333),h=n(18004);function d({currentTarget:t,relatedTarget:e}){return!(0,s.ve)(e)||!(0,s.ve)(t)||!t.contains(e)}let p=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.el=(0,s.AG)(),this.zone=(0,i.f3M)(i.R0b),this.stream$=(0,l.T)((0,o.mL)(this.el,"mouseenter").pipe((0,c.U)(r.oN)),(0,o.mL)(this.el,"mouseleave").pipe((0,c.U)(r.tD)),(0,o.mL)(this.el,"mouseout").pipe((0,u.h)(d),(0,c.U)(r.tD))).pipe((0,h.x)(),(0,o.Yr)(this.zone))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),f=(()=>{var t;class e{constructor(){this.tuiHoveredChange=(0,i.f3M)(p)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},standalone:!0,features:[i._Bn([p])]}),e})()},62417:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiItem",""]],standalone:!0}),e})()},81929:(t,e,n)=>{n.d(e,{i:()=>o});var i=n(20755);class r{constructor(t){this.internalDirectiveInstance=t}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let o=(()=>{var t;class e{constructor(){(0,i.f3M)(i.s_b).createEmbeddedView((0,i.f3M)(i.Rgc),new r(this))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"},standalone:!0}),e})()},82527:(t,e,n)=>{n.d(e,{k:()=>l});var i=n(20755),r=n(43226),o=n(65026),s=n(46492),a=n(1925);let l=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.zone=(0,i.f3M)(i.R0b),this.host=(0,s.AG)(),this.tuiNativeValidator="Invalid"}validate(t){return this.control=t,(0,a.H)(0).pipe((0,o.fL)(this.zone),(0,o.Wo)(this.destroyRef)).subscribe((()=>this.handleValidation())),null}handleValidation(){this.el.setCustomValidity?.(this.control?.touched&&this.control?.invalid?this.tuiNativeValidator:"")}get el(){return this.host.querySelector("input,textarea,select")||this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNativeValidator",""]],hostBindings:function(t,e){1&t&&i.NdJ("blur",(function(){return e.handleValidation()}))},inputs:{tuiNativeValidator:"tuiNativeValidator"},standalone:!0,features:[i._Bn([(0,s.Q2)(r.Cf,t,!0)])]}),e})()},42833:(t,e,n)=>{n.d(e,{Q:()=>g});var i=n(20755),r=n(95079),o=n(65026),s=n(78748),a=n(92425),l=n(42772),c=n(55181),u=n(48132),h=n(38356),d=n(73843),p=n(18004);let f=(()=>{var t;class e extends u.y{constructor(){super((t=>this.obscured$.subscribe(t))),this.el=(0,c.AG)(),this.obscured$=(0,i.f3M)(l.L1).pipe((0,h.p)(100),(0,a.U)((()=>(0,c.PU)(this.el))),(0,d.O)(null),(0,p.x)(),(0,o.Yr)((0,i.f3M)(i.R0b)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.enabled$=new s.x,this.obscured$=(0,i.f3M)(f,{self:!0}).pipe((0,a.U)((t=>!!t?.every((t=>!this.activeZone?.contains(t)))))),this.tuiObscured=this.enabled$.pipe((0,o.Xd)((()=>this.obscured$)))}set tuiObscuredEnabled(t){this.enabled$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},standalone:!0,features:[i._Bn([f])]}),e})()},32423:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(20755),r=n(86253);let o=(()=>{var t;class e{constructor(){this.tuiPlatform=(0,i.f3M)(r.ff,{skipSelf:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiPlatform",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-platform",e.tuiPlatform)},inputs:{tuiPlatform:"tuiPlatform"},standalone:!0,features:[i._Bn([{provide:r.ff,useFactory:()=>(0,i.f3M)(t).tuiPlatform}])]}),e})()},11320:(t,e,n)=>{n.d(e,{z:()=>d});var i=n(20755),r=n(65026),o=n(10676),s=n(25690),a=n(78748),l=n(18004),c=n(91105),u=n(93311),h=n(88557);let d=(()=>{var t;class e extends s.GL{constructor(){super(...arguments),this.service=(0,i.f3M)(o.IS),this.open$=new a.x,this.options={},this.open=!1,this.openChange=this.open$.pipe((0,l.x)(),(0,r.Xd)((()=>this.service.open(this,this.options).pipe((0,c.l)(),(0,u.l)(!1)))),(0,h.B)())}ngOnChanges(){this.open$.next(this.open)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj,i.TTD]}),e})()},80313:(t,e,n)=>{n.d(e,{d:()=>s});var i=n(20755),r=n(58373);class o{constructor(t){this.$implicit=t}}let s=(()=>{var t;class e{constructor(){this.viewContainer=(0,i.f3M)(i.s_b),this.templateRef=(0,i.f3M)(i.Rgc)}set tuiRepeatTimesOf(t){const e=Math.floor((0,r.K)(t,0,65536)),{length:n}=this.viewContainer;t{n.d(e,{I:()=>o,h:()=>a});var i=n(49148),r=n(20755);let o=(()=>{var t;class e extends i.v{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizable",""]],standalone:!0,features:[r.qOj]}),e})();var s=n(73740);let a=(()=>{var t;class e{constructor(){this.resizable=(0,r.f3M)(o),this.x=NaN,this.y=NaN,this.width=0,this.height=0,this.tuiResizer=[0,0],this.tuiSizeChange=new r.vpe}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onPointerDown(t,e){this.x=t,this.y=e,this.width=this.resizable.nativeElement.clientWidth,this.height=this.resizable.nativeElement.clientHeight}onPointerMove({x:t,y:e,buttons:n}){n?this.onMove(t,e):this.onPointerUp()}onPointerUp(){this.x=NaN}onMove(t,e){if(Number.isNaN(this.x))return;const{style:n}=this.resizable.nativeElement,i=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,s.O9)(i[0])),this.tuiResizer[1]&&(n.height=(0,s.O9)(i[1])),this.tuiSizeChange.emit(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("pointerdown.silent.prevent",(function(t){return e.onPointerDown(t.x,t.y)}))("pointermove.silent",(function(t){return e.onPointerMove(t)}),!1,r.evT)("pointerup.silent",(function(){return e.onPointerUp()}),!1,r.evT),2&t&&r.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"},standalone:!0}),e})()},69838:(t,e,n)=>{n.d(e,{tB:()=>g,$D:()=>f});var i=n(20755),r=n(76733),o=n(65026),s=n(55181),a=n(73740),l=n(48132),c=n(45047),u=n(74114),h=n(55333),d=n(92425);const p=(0,n(46492).JN)({timeout:500,threshold:30});let f=(()=>{var t;class e extends l.y{constructor(){const t=(0,i.f3M)(r.K0),e=(0,s.AG)(),{timeout:n,threshold:l}=(0,i.f3M)(p);super((i=>{(0,c.T)((0,o.mL)(e,"touchstart",{passive:!0}),(0,o.mL)(t,"touchend")).pipe((0,u.G)(),(0,h.h)((([t,e])=>!!t.touches.length&&t.touches[0].identifier===e.changedTouches[0].identifier)),(0,d.U)((([t,e])=>{const i=t.touches[0].clientX,r=t.touches[0].clientY,o=i-e.changedTouches[0].clientX,s=r-e.changedTouches[0].clientY,a=e.timeStamp-t.timeStamp;return(Math.abs(o)>l||Math.abs(s)>l)&&aMath.abs(c)?u>0?"top":"bottom":c>0?"left":"right"),events:[t,e]}:null;var c,u})),(0,h.h)(a.Pc)).subscribe(i)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.tuiSwipe=(0,i.f3M)(f)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiSwipe",""]],outputs:{tuiSwipe:"tuiSwipe"},standalone:!0,features:[i._Bn([f])]}),e})()},65026:(t,e,n)=>{n.d(e,{EK:()=>o,mM:()=>y,Xd:()=>k,mp:()=>_,ll:()=>O,pt:()=>M,Wo:()=>I,mL:()=>m,NA:()=>D,Yr:()=>F,fL:()=>N,Ao:()=>z});var i=n(48132),r=n(73843);function o(t){return new i.y((e=>{if(!t?.valueChanges)throw new s;return t.valueChanges.pipe((0,r.O)(t.value)).subscribe(e)}))}class s extends Error{constructor(){super("")}}var a=n(73740),l=n(45623),c=n(21813),u=n(92425),h=n(45047),d=n(93311),p=n(85228),f=n(74842),g=n(10409);function m(t,e,n={}){return(0,g.R)(t,e,n)}class v{constructor(t,e){this.stage=t,this.event=e}}function y(t){const{ownerDocument:e}=t;return(0,l.z)(m(t,"mousedown").pipe((0,c.q)(1),(0,u.U)((t=>new v("start",t)))),(0,h.T)(m(e,"mousemove").pipe((0,u.U)((t=>new v("continues",t)))),(0,h.T)(m(e,"mouseup"),m(e,"dragend")).pipe((0,c.q)(1),(0,u.U)((t=>new v("end",t))),(0,d.l)(null))).pipe((0,p.o)(a.Pc))).pipe((0,f.r)())}var b=n(31570);function _(){return(0,b.b)((t=>t.preventDefault()))}var w=n(22222),x=n(84787),C=n(30453);function k(t,e=Boolean){return(0,w.z)((0,x.w)((n=>e(n)?t(n):C.E)))}function O(t){return t.changes.pipe((0,r.O)(null),(0,u.U)((()=>(0,a.gD)(t))))}function M(t){return m(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}var S=n(62022),A=n(81749),P=n(14553),E=n(17560),T=n(80407);function I(t){return(0,w.z)((0,A.R)(P.C.pipe((0,S.sL)(t),(0,E.K)((()=>C.E)),(0,T.d)(null))))}function D(t){return(0,b.b)((()=>t.markForCheck()))}function z(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()))})))}function N(t){return e=>new i.y((n=>t.runOutsideAngular((()=>e.subscribe(n)))))}function F(t){return(0,w.z)(N(t),z(t))}},86198:(t,e,n)=>{n.d(e,{c:()=>r});var i=n(20755);let r=(()=>{var t;class e{transform(t,e,...n){return e(t,...n)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMapper",type:t,pure:!0,standalone:!0}),e})()},10676:(t,e,n)=>{n.d(e,{ll:()=>r,IS:()=>l,FY:()=>x,Fr:()=>A,D$:()=>c});var i=n(20755);let r=(()=>{var t;class e{generate(){return`tui_${e.autoId++}${Date.now()}`}}return(t=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var o=n(46492),s=n(25690),a=n(48132);let l=(()=>{var t;class e{constructor(t,e,n={}){this.options=n,this.id=(0,i.f3M)(r),this.component=new s.Al(e),this.items$=(0,i.f3M)(t)}open(t,e={}){return new a.y((n=>{const i={...this.options,...e,content:t,$implicit:n,component:this.component,createdAt:Date.now(),id:this.id.generate(),completeWith:t=>{n.next(t),n.complete()}};return this.items$.next([...this.items$.value,i]),()=>{this.items$.next(this.items$.value.filter((t=>t!==i)))}}))}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function c(t){return(0,o.Q2)(l,t)}var u=n(42772),h=n(58373),d=n(73740),p=n(71209),f=n(83562),g=n(84787),m=n(92425),v=n(81749),y=n(1925),b=n(93311),_=n(31570);function w(t){return"scrollX"in t?t.scrollX:t.scrollLeft}let x=(()=>{var t;class e{constructor(){this.performanceRef=(0,i.f3M)(u.KS),this.animationFrame$=(0,i.f3M)(u.L1)}scroll$(t,e,n=w(t),i=300){const r=function(t){return"scrollY"in t?t.scrollY:t.scrollTop}(t),o=w(t),s=e-r,a=n-o;return(i?(0,f.P)((()=>(0,p.of)(this.performanceRef.now()))).pipe((0,g.w)((t=>this.animationFrame$.pipe((0,m.U)((e=>e-t))))),(0,m.U)((t=>(0,d.Xg)((0,h.K)(t/i,0,1)))),(0,m.U)((t=>[r+s*t,o+a*t])),(0,v.R)((0,y.H)(i)),(0,b.l)([e,n])):(0,p.of)([e,n])).pipe((0,_.b)((([e,n])=>{t.scrollTo?.(n,e)})))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var C=n(8239),k=n(20530),O=n(84911),M=n(70134),S=n(46974);let A=(()=>{var t;class e{constructor(){this.cache=new Map}request(t){const e=this.cache.get(t);if(e)return e;const n=function(t,e={}){const{selector:n}=e,i=(0,O._T)(e,["selector"]);return new a.y((e=>{const r=new AbortController,{signal:o}=r;let s=!0;const{signal:a}=i;if(a)if(a.aborted)r.abort();else{const t=()=>{o.aborted||r.abort()};a.addEventListener("abort",t),e.add((()=>a.removeEventListener("abort",t)))}const l=Object.assign(Object.assign({},i),{signal:o}),c=t=>{s=!1,e.error(t)};return fetch(t,l).then((t=>{n?(0,S.Xf)(n(t)).subscribe(new M.Q(e,void 0,(()=>{s=!1,e.complete()}),c)):(s=!1,e.next(t),e.complete())})).catch(c),()=>{s&&r.abort()}}))}(t).pipe((0,g.w)(function(){var e=(0,C.Z)((function*(e){if(e.ok)return e.text();throw new Error(`Failed to load ${t} (${e.statusText})`)}));return function(t){return e.apply(this,arguments)}}()),(0,k.d)({bufferSize:1,refCount:!1}));return this.cache.set(t,n),n}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},86253:(t,e,n)=>{n.d(e,{wk:()=>O,I2:()=>M,tp:()=>R,oD:()=>L,FA:()=>T,fL:()=>E,jF:()=>D,ff:()=>z,i0:()=>j,fM:()=>V,Ai:()=>B});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(46492),l=n(45047),c=n(92425),u=n(55333),h=n(81749),d=n(74842),p=n(17544),f=n(84787),g=n(71209),m=n(73843),v=n(21813),y=n(1925),b=n(18004),_=n(88557),w=n(80396),x=n(56424);const C=(0,a.N1)((()=>{const t={onRemovalComplete:()=>{}},e=new x.X(null),n=(0,r.f3M)(w.Th,r.XFs.Optional)||t,{onRemovalComplete:i=t.onRemovalComplete}=n;return n.onRemovalComplete=(t,r)=>{e.next(t),i.call(n,t,r)},e.pipe((0,f.w)((t=>(0,y.H)(0).pipe((0,c.U)((()=>null)),(0,m.O)(t)))),(0,_.B)())}));function k(t,e=null){return(0,a.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!e?.contains(t)}const O=(0,a.N1)((()=>{const t=(0,r.f3M)(C),e=(0,r.f3M)(o.m9),n=(0,r.f3M)(i.K0),w=(0,s.mL)(e,"focusout",{capture:!0}),x=(0,s.mL)(e,"focusin",{capture:!0}),O=(0,s.mL)(e,"blur"),M=(0,s.mL)(e,"mousedown"),S=(0,s.mL)(e,"mouseup");return(0,l.T)(w.pipe((0,h.R)(M),(0,d.r)({delay:()=>S}),(0,p.M)(t),(0,u.h)((([t,e])=>k((0,a.mA)(t),e))),(0,c.U)((([{relatedTarget:t}])=>t))),O.pipe((0,c.U)((()=>n.activeElement)),(0,u.h)((t=>!!t?.matches("iframe")))),x.pipe((0,f.w)((t=>{const e=(0,a.mA)(t),i=(0,a.Wf)(e);return i===n?(0,g.of)(e):function(t){return(0,l.T)((0,s.mL)(t,"focusin").pipe((0,c.U)((({target:t})=>t))),(0,s.mL)(t,"focusout").pipe((0,u.h)((({target:t,relatedTarget:e})=>!!e&&k(t))),(0,c.U)((({relatedTarget:t})=>t))))}(i).pipe((0,m.O)(e))}))),M.pipe((0,f.w)((t=>{const e=(0,a.mA)(t);return n.activeElement&&n.activeElement!==n.body?w.pipe((0,v.q)(1),(0,c.U)((()=>e)),(0,h.R)((0,y.H)(0))):(0,g.of)(e)})))).pipe((0,b.x)(),(0,_.B)())})),M=(0,a.N1)((()=>(0,r.f3M)(i.K0).querySelector("base")?.href??""));var S=n(11892);const A=/(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/,P=/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-/,E=(0,a.N1)((()=>A.test((0,r.f3M)(o.yZ).toLowerCase())||P.test((0,r.f3M)(o.yZ).slice(0,4).toLowerCase()))),T=(0,a.N1)((()=>(0,a.i1)((0,r.f3M)(o.s5)))),I=(0,a.N1)((()=>(0,r.f3M)(E)&&!(0,r.f3M)(T))),D=(0,a.N1)((()=>!!(0,r.f3M)(o.m9)?.webkitConvertPointFromNodeToPage)),z=(0,a.N1)((()=>(0,r.f3M)(T)?"ios":(0,r.f3M)(I)?"android":"web")),N=(0,a.N1)((()=>!!(0,r.f3M)(o.m9).Cypress)),F=(0,a.N1)(S.tD),L=(0,a.N1)((()=>(0,r.f3M)(N)||(0,r.f3M)(F))),R=new r.OlP("");function B(t){return{provide:R,useValue:t}}const j=(0,a.N1)((()=>(0,i.NF)((0,r.f3M)(r.Lbi))?new Range:{}));var H=n(20530);const V=new r.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const t=(0,r.f3M)(o.m9);return(0,s.mL)(t,"resize").pipe((0,m.O)(null),(0,c.U)((()=>{const e=Math.max(t.document.documentElement.clientWidth||0,t.innerWidth||0,t.visualViewport?.width||0),n=Math.max(t.document.documentElement.clientHeight||0,t.innerHeight||0,t.visualViewport?.height||0),i={width:e,height:n,top:0,left:0,right:e,bottom:n,x:0,y:0};return{...i,toJSON:()=>JSON.stringify(i)}})),(0,H.d)({bufferSize:1,refCount:!0}))}})},21247:(t,e,n)=>{n.d(e,{i:()=>r});const i=/ipad|iphone|ipod/;function r(t){return i.test(t.userAgent.toLowerCase())||function(t){return t.platform.startsWith("Mac")||"iPhone"===t.platform}(t)&&t.maxTouchPoints>1}},50109:(t,e,n)=>{function i(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]}n.d(e,{R:()=>i})},79611:(t,e,n)=>{function i(t,e,n){return`#${[t,e,n].map((t=>t.toString(16).padStart(2,"0"))).join("")}`}n.d(e,{W:()=>i})},55181:(t,e,n)=>{function i(t,e){try{return t.contains(e)||!!(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}catch{return!1}}function r(t){return t.matches("input")}function o(t){return r(t)||function(t){return t.matches("textarea")}(t)}function s(t){return!!t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function a(t){return!!t&&t instanceof t.ownerDocument.defaultView.HTMLElement}function l(t){return t.nodeType===Node.TEXT_NODE}function c(t){return t.composedPath()[0]}n.d(e,{PP:()=>i,mA:()=>c,Nn:()=>h,Wf:()=>d,PU:()=>g,YX:()=>m,AG:()=>y,ve:()=>s,Hn:()=>b,dW:()=>a,Ls:()=>r,FP:()=>_,wq:()=>l,qY:()=>o,dD:()=>w,UP:()=>x});const u="text/plain";function h(t,e=u){return"clipboardData"in t&&null!==t.clipboardData?t.clipboardData.getData(e)||t.clipboardData.getData(u):t.target.ownerDocument.defaultView.clipboardData.getData("text")}function d(t){return"getRootNode"in t&&t.isConnected?t.getRootNode():t.ownerDocument}var p=n(58373),f=n(73740);function g(t){const{ownerDocument:e}=t;if(!e?.defaultView||!t.getBoundingClientRect)return null;const{innerWidth:n,innerHeight:i}=e.defaultView,r=d(t),o=t.getBoundingClientRect();if(0===o.width&&0===o.height)return null;const s=(0,p.K)(Math.round(o.left)+2,0,n),a=(0,p.K)(Math.round(o.top)+2,0,i),l=(0,p.K)(Math.round(o.right)-2,0,n),c=(0,p.K)(Math.round(o.bottom)-2,0,i),u=(0,p.K)(Math.round(o.left+o.width/2),0,n),h=(0,p.K)(Math.round(o.top+o.height/2),0,i),g=[r.elementFromPoint(u,a),r.elementFromPoint(u,c),r.elementFromPoint(s,h),r.elementFromPoint(l,h)].filter(f.Pc);if(!g.length)return[];const m=g.filter((e=>!t.contains(e)&&!e.contains(t)));return 4===m.length?m:null}function m(t,e){let{offsetTop:n,offsetLeft:i,offsetParent:r}=e;for(;a(r)&&r!==t;)n+=r.offsetTop,i+=r.offsetLeft,r=r.offsetParent;return{offsetTop:n,offsetLeft:i}}var v=n(20755);function y(){return(0,v.f3M)(v.SBq).nativeElement}function b(t){return o(t)&&!t.readOnly||!!t.isContentEditable}function _(t,e){return l(t)?!!t.parentElement?.closest(e):s(t)&&!!t.closest(e)}function w(t=0,e=0){const n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return{...n,toJSON:()=>n}}function x(t){return"explicitOriginalTarget"in t?t?.explicitOriginalTarget!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===t?.detail}},52674:(t,e,n)=>{n.d(e,{hp:()=>o,BW:()=>c,ie:()=>r,V8:()=>u,zb:()=>h,dT:()=>a,_h:()=>l,VR:()=>d});var i=n(55181);function r({activeElement:t}){if(!t?.shadowRoot)return t;let e=t.shadowRoot.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e}function o(t){const e=r(t);(0,i.dW)(e)&&e.blur()}var s=n(11892);function a(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,i.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:r=!0}){if(!e.ownerDocument)return null;const o=r?a:l,c=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s.Lw);for(c.currentNode=t;n?c.previousNode():c.nextNode();)if((0,i.dW)(c.currentNode)&&(t=c.currentNode),(0,i.dW)(t)&&o(t))return t;return null}function u(t){return!!t?.ownerDocument&&r(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){const e=t?.ownerDocument&&r(t.ownerDocument);return!!e&&t.contains(e)&&!!t.ownerDocument?.hasFocus()}function d(t,e,n){for(t+=n;t>=0&&t{n.d(e,{WX:()=>g.WX,Ki:()=>p.K,JN:()=>g.JN,N1:()=>g.N1,A2:()=>g.A2,q2:()=>g.q2,mA:()=>h.mA,BW:()=>d.BW,Wf:()=>h.Wf,ie:()=>d.ie,RO:()=>r.R,qZ:()=>s,AG:()=>h.AG,ve:()=>h.ve,i1:()=>i.i,zb:()=>d.zb,_h:()=>d._h,FP:()=>h.FP,dt:()=>g.dt,Pc:()=>g.Pc,Aj:()=>g.Aj,wq:()=>h.wq,qY:()=>h.qY,lj:()=>g.lj,Mp:()=>l,Q2:()=>g.Q2,vK:()=>g.vK,UM:()=>g.UM,O9:()=>g.O9,WS:()=>c.W,bD:()=>u,FG:()=>f.FG});var i=n(21247),r=n(50109);function o(t,e,n,i){const r=(i+t/60)%6;return Math.round(n-n*e*Math.max(Math.min(r,4-r,1),0))}function s(t,e,n){return[o(t,e,n,5),o(t,e,n,3),o(t,e,n,1)]}const a=[0,0,0,1];function l(t){const e=t.replace("#","").replace("rgba(","").replace("rgb(","").replace(")",""),n=e.split(",").map((t=>parseFloat(t)));if(4===n.length)return n;if(3===n.length)return n.concat(1);const i=e.match(new RegExp(`(.{${e.length/3}})`,"g"));if(!i)return a;const r=i.map((t=>parseInt(e.length%2?t+t:t,16)));return[r[0]||a[0],r[1]||a[1],r[2]||a[2],void 0===r[3]?a[3]:r[3]]}var c=n(79611);function u(t,e,n){const i=Math.max(t,e,n),r=i-Math.min(t,e,n),o=r&&(i===t?(e-n)/r:i===e?2+(n-t)/r:4+(t-e)/r);return[60*(o<0?o+6:o),i&&r/i,i]}var h=n(55181),d=n(52674),p=n(58373),f=n(72478),g=n(73740)},58373:(t,e,n)=>{function i(t,e,n){return Math.min(n,Math.max(e,t))}n.d(e,{K:()=>i})},23880:(t,e,n)=>{function i(t,e,n){return t>=e&&ti})},72478:(t,e,n)=>{n.d(e,{Br:()=>s,FG:()=>o,OT:()=>a,h4:()=>l});const i=292;function r(t,e,n){if(t===1/0)return t;e=Math.min(e,i);const r=`${t}e`.split("e"),o=`${n(Number(`${r[0]}e${Number(r[1])+e}`))}e`.split("e");return Number(`${o[0]}e${Number(o[1])-e}`)}function o(t,e=0){return r(t,e,Math.round)}function s(t,e=0){return r(t,e,Math.ceil)}function a(t,e=0){return r(t,e,Math.floor)}function l(t,e=0){return r(t,e,Math.trunc)}},73740:(t,e,n)=>{function i(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function r(t,e){return t.length===e.length&&t.every(((t,n)=>t===e[n]))}function o(t,e){const n=t.indexOf(e);return-1===n?[...t,e]:i(t,n)}n.d(e,{Yl:()=>s,WX:()=>i,Hh:()=>r,jp:()=>o,JN:()=>l,N1:()=>c,A2:()=>h,Vx:()=>d,q2:()=>p,Xg:()=>f,gD:()=>g,Mv:()=>m,dt:()=>v,Pc:()=>y,Aj:()=>u,lj:()=>b,J$:()=>_,Q2:()=>w,vK:()=>x,UM:()=>k,O9:()=>M,pf:()=>S,__:()=>P});const s=(t,e)=>t.replaceAll(/[^0-9A-Za-zА-Яа-я]/gi,e);var a=n(20755);function l(t){return c((()=>t))}function c(t){return new a.OlP("",{factory:t})}function u(t){return"string"==typeof t}function h(t,e){return t===e?0:u(t)&&u(e)?t.localeCompare(e):t>e?1:-1}function d(t,e,n,i={self:!0}){const r=(0,a.$Zp)(n)?n:(0,a.tdS)(n),o=(0,a.f3M)(t,i),s=o[`${e.toString()}Change`];let l;return(0,a.cEC)((()=>{const t=r();l!==t&&((0,a.$Zp)(o[e])?o[e].set(t):o[e]=t,o.ngOnChanges?.({}),s?.emit?.(t),l=t)}),{allowSignalWrites:!0}),r}function p({touches:t}){return Math.hypot(t[0].clientX-t[1].clientX,t[0].clientY-t[1].clientY)}function f(t){return t<.5?2*t*t:(4-2*t)*t-1}function g(t){let e=[];return t.find(((t,n,i)=>(e=i,!0))),e}function m(t){return!t}function v(t){return"number"==typeof t}function y(t){return null!=t}function b(t){return new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|localhost|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}function _(t,e,n){return null===t?null===e:null!==e&&n(t,e)}function w(t,e,n=!1){return{provide:t,useExisting:e,multi:n}}function x(t,e,n){return{provide:t,deps:[[new a.FiY,new a.tp0,t]],useFactory:t=>({...t||n,...e})}}function C(t,e,n=!0){return function(){const i=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:i}),i}}function k(t,e,n){if("function"==typeof t){const n=e;if("getter"===n.kind)return C(t,n.name);if("method"===n.kind)return function(t){let e,n=[],i=!1;return function(...r){return i&&n.length===r.length&&r.every(((t,e)=>t===n[e]))||(n=r,e=t.apply(this,r),i=!0),e}}(t);throw new O}const{get:i,enumerable:r,value:o}=n,s=e;if(i)return{configurable:!0,enumerable:r,get:C(i,s,r)};if("function"!=typeof o)throw new O;const a=o;return{configurable:!0,enumerable:r,get(){let t,e=[],n=!1;const i=(...i)=>(n&&e.length===i.length&&i.every(((t,n)=>t===e[n]))||(e=i,t=a.apply(this,i),n=!0),t);return Object.defineProperty(this,s,{configurable:!0,value:i}),i}}}class O extends Error{constructor(){super("")}}function M(t){return`${t}px`}function S(t,e){return Array.from(t.reduce(((t,n)=>t.has(n[e])?t:t.set(n[e],n)),new Map).values())}const A=c((()=>{const t=new Map;return(0,a.f3M)(a.ktI).onDestroy((()=>t.forEach((t=>t.destroy())))),t}));function P(t){const e=(0,a.f3M)(A),n=(0,a.f3M)(a.lqb);e.has(t)||e.set(t,(0,a.LMc)(t,{environmentInjector:n}))}},34138:(t,e,n)=>{n.d(e,{i9:()=>h,QF:()=>u,eu:()=>c,Hp:()=>l,B_:()=>a,Gw:()=>d,X9:()=>p});var i=n(12405);const r="{{duration}}ms ease-in-out",o={params:{duration:300}},s=300,a=(0,i.X$)("tuiParentAnimation",[(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])]),l=((0,i.X$)("tuiParentStop",[(0,i.eR)(":enter",[])]),(0,i.X$)("tuiHost",[(0,i.eR)(":enter",[(0,i.oB)({overflow:"clip"}),(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})]),(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])])),c=(0,i.X$)("tuiHeightCollapse",[(0,i.eR)(":enter",[(0,i.oB)({height:0}),(0,i.jt)(r,(0,i.oB)({height:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({height:"*"}),(0,i.jt)(r,(0,i.oB)({height:0}))],o)]),u=((0,i.X$)("tuiHeightCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({height:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({height:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiWidthCollapse",[(0,i.eR)(":enter",[(0,i.oB)({width:0}),(0,i.jt)(r,(0,i.oB)({width:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({width:"*"}),(0,i.jt)(r,(0,i.oB)({width:0}))],o)]),(0,i.X$)("tuiWidthCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({width:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({width:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeIn",[(0,i.eR)(":enter",[(0,i.oB)({opacity:0}),(0,i.jt)(r,(0,i.oB)({opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({opacity:1}),(0,i.jt)(r,(0,i.oB)({opacity:0}))],o)])),h=((0,i.X$)("tuiFadeInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({opacity:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:1}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({opacity:1}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,i.X$)("tuiFadeInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,i.X$)("tuiDropdownAnimation",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),d=((0,i.X$)("tuiScaleIn",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiPop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiScaleInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideIn",[(0,i.eR)("* => left",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("left => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o),(0,i.eR)("* => right",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("right => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)])),p=((0,i.X$)("tuiSlideInLeft",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o)]),(0,i.X$)("tuiSlideInLeftList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInRight",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)]),(0,i.X$)("tuiSlideInRightList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translate3d(0,{{start}},0)",pointerEvents:"none"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,i.eR)(":leave",[(0,i.oB)({transform:"translate3d(0,{{end}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,i.X$)("tuiSlideInTopList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))],o)]),(0,i.X$)("tuiSlideInBottomList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},52540:(t,e,n)=>{n.d(e,{kk:()=>_,qz:()=>x,uG:()=>s,O4:()=>a,UK:()=>w,P7:()=>d,Ic:()=>p,Fe:()=>b,Zy:()=>c,ei:()=>u,Wk:()=>h});var i=n(20755),r=n(73740);class o{}class s extends o{}class a extends o{}function l(t,e,n){return{provide:t,deps:[[new i.tp0,new i.FiY,t],n],useFactory:c(e)}}function c(t){return(e,n)=>e?.find?.((e=>e!==n&&e.type===t))||n}function u(t,e){return l(s,t,e)}function h(t,e){return l(a,t,e)}function d(t){return(0,r.Q2)(s,t,!0)}function p(t){return(0,r.Q2)(a,t,!0)}var f=n(62022),g=n(48132),m=n(45047),v=n(18004);class y{}function b(t){return(0,r.Q2)(y,t,!0)}class _ extends g.y{}function w(t){return(0,r.Q2)(_,t,!0)}let x=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.drivers=(0,i.f3M)(_),this.vehicles=(0,i.f3M)(y)}ngOnInit(){const t=this.vehicles.find((({type:t})=>t===this.type));(0,m.T)(...this.drivers.filter((({type:t})=>t===this.type))).pipe((0,v.x)(),(0,f.sL)(this.destroyRef)).subscribe((e=>{t?.toggle(e)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})()},75097:(t,e,n)=>{n.d(e,{J9:()=>I,Jp:()=>L});var i=n(76733),r=n(20755),o=n(62022),s=n(55181),a=n(34138),l=n(94030),c=n(41589),u=n(82510),h=n(25690),d=n(1925),p=n(81749),f=n(10409),g=n(74842),m=n(86253),v=n(73740),y=n(56424),b=n(38442),_=n(71209),w=n(92425);const x={autoClose:3e3,label:"",closeable:!0,data:void 0},C=(0,v.N1)((()=>({...x,...(0,r.f3M)(l.Ln)}))),k=(0,v.N1)((()=>(0,r.f3M)(m.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto")),O=(0,v.JN)(new y.X([])),M=(0,v.N1)((()=>(0,b.a)([(0,_.of)(new Map),(0,r.f3M)(O)]).pipe((0,w.U)((([t,e])=>(t.forEach(((e,n)=>t.set(n,[]))),e.forEach((e=>{const n=e.component.component,i=t.get(n)||[];t.set(n,[...i,e])})),Array.from(t.values())))))));function S(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 A(t,e){if(1&t&&(r.TgZ(0,"label",4),r.YNc(1,S,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 P(t,e){if(1&t&&r._UZ(0,"div",6),2&t){const t=e.polymorpheusOutlet;r.Q6J("innerHTML",t,r.oJD)}}let E=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.destroyRef=(0,r.f3M)(r.ktI),this.position=(0,r.f3M)(k),this.item=(0,r.f3M)(h.yf),this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.options=(0,u.qS)((0,r.f3M)(c.ZW)),this.animation=this.position.endsWith("auto")?{...this.options,value:"right"}:{...this.options,value:"left"}}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&(0,d.H)(this.autoClose).pipe((0,p.R)((0,f.R)(this.el,"mouseenter")),(0,g.r)({delay:()=>(0,f.R)(this.el,"mouseleave")}),(0,o.sL)(this.destroyRef)).subscribe((()=>this.close()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(r.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),r.Udp("margin",e.position))},standalone:!0,features:[r.jDz],decls:4,vars:6,consts:[[3,"hideClose","icon","status","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.close()})),r.YNc(1,A,2,2,"label",1),r.TgZ(2,"div",2),r.YNc(3,P,1,1,"div",3),r.qZA()()),2&t&&(r.Q6J("hideClose",!e.item.closeable)("icon",e.item.icon)("status",e.item.status),r.xp6(1),r.Q6J("ngIf",e.item.label),r.xp6(2),r.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},dependencies:[l.tK,i.O5,h.s$],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-medium);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:700}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:700}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-primary);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[a.QF,a.Gw,a.eu]},changeDetection:0}),e})();n(11320);var T=n(10676);let I=(()=>{var t;class e extends T.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(O,E,(0,r.f3M)(C))},providedIn:"root"}),e})();var D=n(86198),z=n(69401);function N(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 F(t,e){if(1&t&&(r.TgZ(0,"div",1),r.YNc(1,N,2,5,"ng-container",2),r.qZA()),2&t){const t=e.$implicit;r.Q6J("@tuiParentAnimation",void 0),r.xp6(1),r.Q6J("ngForOf",t)}}let L=(()=>{var t;class e{constructor(){this.injector=(0,r.f3M)(r.gxx),this.alerts$=(0,r.f3M)(M),this.trackBy=z.y,this.mapper=t=>r.zs3.create({providers:[{provide:h.yf,useValue:t}],parent:this.injector})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alerts"]],standalone:!0,features:[r.jDz],decls:2,vars:4,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(t,e){1&t&&(r.YNc(0,F,2,2,"div",0),r.ALo(1,"async")),2&t&&r.Q6J("ngForOf",r.lcZ(1,2,e.alerts$))("ngForTrackBy",e.trackBy)},dependencies:[i.ez,i.$G,i.sg,i.Ov,D.c],styles:["tui-alerts>.t-wrapper{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;pointer-events:none}tui-alerts>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[a.B_]}}),e})()},14863:(t,e,n)=>{n.d(e,{x:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(83960),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-button"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiButton],[tuiIconButton]{--t-gap: .125rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));height:var(--t-size);justify-content:center;border-radius:var(--t-radius);padding:var(--t-padding);-webkit-user-select:none;user-select:none;cursor:pointer}[tuiButton]>img,[tuiIconButton]>img,[tuiButton]>tui-svg,[tuiIconButton]>tui-svg,[tuiButton]>tui-icon,[tuiIconButton]>tui-icon,[tuiButton]>tui-avatar,[tuiIconButton]>tui-avatar,[tuiButton]>tui-badge,[tuiIconButton]>tui-badge,[tuiButton]>[tuiBadge],[tuiIconButton]>[tuiBadge],[tuiButton]>[tuiRadio],[tuiIconButton]>[tuiRadio],[tuiButton]>[tuiSwitch],[tuiIconButton]>[tuiSwitch],[tuiButton]>[tuiCheckbox],[tuiIconButton]>[tuiCheckbox],[tuiButton]._icon-left:before,[tuiIconButton]._icon-left:before,[tuiButton]._icon-right:after,[tuiIconButton]._icon-right:after{margin:var(--t-margin)}[tuiButton]>.t-loader,[tuiIconButton]>.t-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[tuiButton]>.t-loader .t-text,[tuiIconButton]>.t-loader .t-text{position:absolute}[tuiButton][data-size=xs],[tuiIconButton][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);--t-padding: 0 .375rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=xs] tui-svg,[tuiIconButton][data-size=xs] tui-svg,[tuiButton][data-size=xs] tui-icon,[tuiIconButton][data-size=xs] tui-icon,[tuiButton][data-size=xs]:before,[tuiIconButton][data-size=xs]:before{font-size:1rem}[tuiButton][data-size=s],[tuiIconButton][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);--t-padding: 0 .625rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=s] tui-svg,[tuiIconButton][data-size=s] tui-svg,[tuiButton][data-size=s] tui-icon,[tuiIconButton][data-size=s] tui-icon,[tuiButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before,[tuiIconButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before{font-size:1rem}[tuiButton][data-size=m],[tuiIconButton][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);--t-padding: 0 1rem;--t-margin: -.375rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=m]:after,[tuiIconButton][data-size=m]:after{margin-inline-end:-.125rem}[tuiButton][data-size=l],[tuiIconButton][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);--t-padding: 0 1.25rem;--t-gap: .25rem;--t-margin: -.25rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=l]:after,[tuiIconButton][data-size=l]:after{margin-inline-start:.25rem;margin-inline-end:-.25rem}[tuiButton]._loading,[tuiIconButton]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButton]._loading>*,[tuiIconButton]._loading>*,[tuiButton]._loading:before,[tuiIconButton]._loading:before,[tuiButton]._loading:after,[tuiIconButton]._loading:after{opacity:0}[tuiButton]._loading>.t-loader,[tuiIconButton]._loading>.t-loader{opacity:1}[tuiButton][tuiIcons]:after,[tuiIconButton][tuiIcons]:after{font-size:1rem}[tuiIconButton]{gap:0;width:var(--t-size);font-size:0!important;padding:0}[tuiIconButton][data-size=l]:after{margin:0}[tuiIconButton]._icon-left:after{display:none}\n"],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s.Gm),this.nothing=(0,r.__)(l),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiButton",""],["button","tuiButton",""],["a","tuiIconButton",""],["button","tuiIconButton",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,o.mS)(s.Gm)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},83960:(t,e,n)=>{n.d(e,{Gm:()=>o,O0:()=>s});var i=n(73740);const r={appearance:"primary",size:"l"},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},11679:(t,e,n)=>{n.d(e,{O0:()=>r.O0,xG:()=>i.x});var i=n(14863),r=n(83960)},7443:(t,e,n)=>{n.d(e,{R:()=>C});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(7479),l=n(81929),c=n(80313),u=n(86198),h=n(73740),d=n(88283),p=n(41589);function f(t,e){if(1&t&&r._UZ(0,"div",3),2&t){const t=e.$implicit;r.Q6J("textContent",t)}}function g(t,e){if(1&t&&r._UZ(0,"div",12),2&t){const t=r.oxw().ngIf;r.Udp("background",(null==t?null:t[1])||"")}}function m(t,e){if(1&t&&(r.TgZ(0,"div",11),r._UZ(1,"div",12),r.YNc(2,g,1,2,"div",13),r.qZA()),2&t){const t=e.ngIf;r.xp6(1),r.Udp("background",null==t?null:t[0]),r.xp6(1),r.Q6J("ngIf",t.length>1)}}const v=function(t,e,n,i,r){return[t,e,n,i,r]};function y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw().tuiLet,n=r.oxw(4);return r.KtG(n.onItemClick(e))}))("tuiHoveredChange",(function(e){r.CHM(t);const n=r.oxw().tuiLet,i=r.oxw(4);return r.KtG(i.onItemHovered(e&&n))})),r.TgZ(1,"div",9),r.ALo(2,"tuiMapper"),r._uU(3),r.YNc(4,m,3,3,"div",10),r.ALo(5,"tuiMapper"),r.qZA()()}if(2&t){const t=r.oxw().tuiLet,e=r.oxw(4);r.ekj("t-cell_disabled",e.disabledItemHandler(t))("t-cell_interval",e.itemIsInterval(t))("t-cell_today",e.itemIsToday(t))("t-cell_unavailable",e.itemIsUnavailable(t)),r.uIk("data-range",e.getItemRange(t)),r.xp6(1),r.ekj("t-item_unavailable",e.itemIsUnavailable(t)),r.uIk("data-type",r.xi3(2,14,t,e.dayTypeHandler)),r.xp6(2),r.hij(" ",t.day," "),r.xp6(1),r.Q6J("ngIf",r.G7q(5,17,r.qbA(23,v,t,e.toMarkers,e.itemIsToday(t),!!e.getItemRange(t),e.markerHandler)))}}function b(t,e){if(1&t&&(r.ynx(0),r.YNc(1,y,6,29,"div",7),r.BQk()),2&t){const t=e.tuiLet,n=r.oxw(4);r.xp6(1),r.Q6J("ngIf",!n.itemIsUnavailable(t)||n.showAdjacent)}}function _(t,e){if(1&t&&(r.ynx(0),r.YNc(1,b,2,1,"ng-container",2),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit,i=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiLet",i[n][t])}}function w(t,e){if(1&t&&(r.TgZ(0,"div",5),r.YNc(1,_,2,1,"ng-container",6),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",n[t].length)}}function x(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,w,2,1,"div",4),r.qZA()),2&t){const t=e.tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",t.length)}}let C=(()=>{var t;class e{constructor(){this.today=s.TU.currentLocal(),this.unorderedWeekDays$=(0,r.f3M)(p.P),this.dayTypeHandler=(0,r.f3M)(p.rJ),this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.markerHandler=null,this.value=null,this.hoveredItem=null,this.showAdjacent=!0,this.hoveredItemChange=new r.vpe,this.dayClick=new r.vpe,this.toMarkers=(t,e,n,i)=>{if(e||n)return null;const r=i?.(t);return r?.length?r:null}}itemIsInterval(t){const{value:e,hoveredItem:n}=this;if(!(e instanceof s.VR))return!1;if(!e.isSingleDay)return e.from.daySameOrBefore(t)&&e.to.dayAfter(t);if(null===n)return!1;const i=s.VR.sort(e.from,n);return i.from.daySameOrBefore(t)&&i.to.dayAfter(t)}onItemHovered(t){this.updateHoveredItem(t||null)}getItemRange(t){const{value:e,hoveredItem:n}=this;return e?e instanceof s.TU?e.daySame(t)?"single":null:e instanceof s.VR?e.from.daySame(t)&&!e.isSingleDay||n?.dayAfter(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayBefore(e.from)&&e.isSingleDay?"start":e.to.daySame(t)&&!e.isSingleDay||n?.dayBefore(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayAfter(e.from)&&e.isSingleDay?"end":e.isSingleDay&&e.from.daySame(t)?"single":null:e.find((e=>e.daySame(t)))?"single":null:null}get isSingleDayRange(){return this.value instanceof s.VR&&this.value.isSingleDay}itemIsToday(t){return this.today.daySame(t)}itemIsUnavailable(t){return!this.month.monthSame(t)}onItemClick(t){this.dayClick.emit(t)}updateHoveredItem(t){(0,h.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-sheet"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_single",e.isSingleDayRange)},inputs:{month:"month",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",value:"value",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent"},outputs:{hoveredItemChange:"hoveredItemChange",dayClick:"dayClick"},standalone:!0,features:[r.jDz],decls:6,vars:9,consts:[[1,"t-row","t-row_weekday"],["class","t-cell",3,"textContent",4,"ngFor","ngForOf"],[4,"tuiLet"],[1,"t-cell",3,"textContent"],["automation-id","tui-calendar-sheet__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__cell","class","t-cell",3,"t-cell_disabled","t-cell_interval","t-cell_today","t-cell_unavailable","click","tuiHoveredChange",4,"ngIf"],["automation-id","tui-calendar-sheet__cell",1,"t-cell",3,"click","tuiHoveredChange"],["automation-id","tui-calendar-sheet__item",1,"t-item"],["class","t-dots",4,"ngIf"],[1,"t-dots"],[1,"t-dot"],["class","t-dot",3,"background",4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,f,1,1,"div",1),r.ALo(2,"async"),r.ALo(3,"tuiOrderWeekDays"),r.qZA(),r.YNc(4,x,2,1,"div",2),r.ALo(5,"tuiCalendarSheet")),2&t&&(r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,2,r.lcZ(3,4,e.unorderedWeekDays$))),r.xp6(3),r.Q6J("tuiLet",r.xi3(5,6,e.month,!0)))},dependencies:[i.ez,i.sg,i.O5,i.Ov,l.i,u.c,c.d,a.et,d.hp,d.q2],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;bottom:0;right:0;content:"";z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background:var(--tui-text-primary)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.1875rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range=start]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}[data-type=weekday][_ngcontent-%COMP%]{color:var(--tui-text-primary)}[data-type=weekend][_ngcontent-%COMP%]{color:var(--tui-status-negative)}.t-row[_ngcontent-%COMP%]{justify-content:flex-start}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row_weekday[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none}.t-item[_ngcontent-%COMP%]{display:flex;flex-direction:column}.t-item_unavailable[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}.t-dots[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot[_ngcontent-%COMP%]{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}'],changeDetection:0}),e})()},94840:(t,e,n)=>{n.d(e,{z:()=>h});var i=n(76733),r=n(20755),o=n(28351),s=n(16100),a=n(82509),l=n(88283);function c(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}function u(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onYearClick())})),r._uU(1),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}let h=(()=>{var t;class e{constructor(){this.value=o.ql.currentLocal(),this.min=o.K1,this.max=o.Oy,this.valueChange=new r.vpe,this.yearClick=new r.vpe}onYearClick(){this.yearClick.next(this.value)}append(t){const e=this.value.append(t);this.min.monthSameOrAfter(e)?this.updateValue(this.min):this.updateValue(this.max.monthSameOrBefore(e)?this.max:e)}updateValue(t){this.value.monthSame(t)||(this.value=t,this.valueChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-spin"]],inputs:{value:"value",min:"min",max:"max"},outputs:{valueChange:"valueChange",yearClick:"yearClick"},standalone:!0,features:[r.jDz],decls:7,vars:10,consts:[[3,"focusable","leftDisabled","rightDisabled","leftClick","rightClick"],[4,"ngIf","ngIfElse"],["button",""],["id","year-btn","automation-id","tui-primitive-year-month-pagination__year-button","tabIndex","-1","tuiLink","","type","button",3,"click"]],template:function(t,e){if(1&t&&(r.TgZ(0,"tui-spin-button",0),r.NdJ("leftClick",(function(){return e.append({month:-1})}))("rightClick",(function(){return e.append({month:1})})),r._uU(1),r.ALo(2,"async"),r.ALo(3,"tuiMonth"),r.YNc(4,c,2,1,"ng-container",1),r.YNc(5,u,2,1,"ng-template",null,2,r.W1O),r.qZA()),2&t){const t=r.MAs(6);r.Q6J("focusable",!1)("leftDisabled",e.value.monthSameOrBefore(e.min))("rightDisabled",e.value.monthSameOrAfter(e.max)),r.xp6(1),r.hij(" ",r.lcZ(2,6,r.lcZ(3,8,e.value))," "),r.xp6(3),r.Q6J("ngIf",e.min.year===e.max.year)("ngIfElse",t)}},dependencies:[a.f,s.lI,l.$7,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),e})()},62571:(t,e,n)=>{n.d(e,{u:()=>g});var i=n(20755),r=n(11892),o=n(28351),s=n(7479),a=n(81929),l=n(80313),c=n(23880),u=n(73740),h=n(88543);function d(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",4),i.NdJ("click",(function(){const e=i.CHM(t).tuiLet,n=i.oxw(3);return i.KtG(n.yearClick.emit(e))}))("tuiHoveredChange",(function(e){const n=i.CHM(t).tuiLet,r=i.oxw(3);return i.KtG(r.onItemHovered(e,n))})),i.TgZ(1,"div",5),i._uU(2),i.qZA()()}if(2&t){const t=e.tuiLet,n=i.oxw(3);i.ekj("t-cell_disabled",n.isDisabled(t))("t-cell_interval",n.itemIsInterval(t))("t-cell_today",n.itemIsToday(t)),i.Q6J("tuiScrollIntoView",n.scrollItemIntoView(t)),i.uIk("data-range",n.getItemRange(t)),i.xp6(2),i.Oqu(t)}}function p(t,e){if(1&t&&(i.ynx(0),i.YNc(1,d,3,9,"div",3),i.BQk()),2&t){const t=e.$implicit,n=i.oxw().$implicit,r=i.oxw();i.xp6(1),i.Q6J("tuiLet",r.getItem(n,t))}}function f(t,e){1&t&&(i.TgZ(0,"div",1),i.YNc(1,p,2,1,"ng-container",2),i.qZA()),2&t&&(i.xp6(1),i.Q6J("tuiRepeatTimesOf",4))}let g=(()=>{var t;class e{constructor(){this.hoveredItem=null,this.currentYear=o.ql.currentLocal().year,this.value=null,this.initialItem=this.currentYear,this.min=o.nN,this.max=o.cO,this.disabledItemHandler=r.tD,this.yearClick=new i.vpe}isDisabled(t){return this.max&&this.maxt||this.disabledItemHandler(t)}getItemRange(t){const{value:e,hoveredItem:n}=this;return null===e?null:e instanceof o.F4?e.year===t?"single":null:(0,u.dt)(e)?e===t?"single":null:e instanceof o.dt?e.from.year===t&&!e.from.yearSame(e.to)||null!==n&&n>e.from.year&&e.from.year===t&&e.from.yearSame(e.to)||null!==n&&n===t&&ne.from.year&&e.from.yearSame(e.to)?"end":e.from.yearSame(e.to)&&e.from.year===t?"single":null:e.find((e=>e.year===t))?"single":null}itemIsInterval(t){const{value:e,hoveredItem:n}=this;return!!this.isRange(e)&&(e.from.yearSame(e.to)?null!==n&&e.from.year!==n&&(0,c.w)(t,Math.min(e.from.year,n),Math.max(e.from.year,n)):e.from.year<=t&&e.to.year>t)}onItemHovered(t,e){this.updateHoveredItem(t,e)}get isSingle(){return this.isRange(this.value)&&this.value.from.yearSame(this.value.to)}get rows(){return Math.ceil((this.calculatedMax-this.calculatedMin)/4)}isRange(t){return t instanceof o.dt}scrollItemIntoView(t){return this.initialItem===t}getItem(t,e){return 4*t+e+this.calculatedMin}itemIsToday(t){return this.currentYear===t}get calculatedMin(){const t=this.initialItem-100,e=this.min??o.nN;return e>t?e:t}get calculatedMax(){const t=this.initialItem+100,e=this.max??o.cO;return e .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{margin:.875rem 0}.t-row[_ngcontent-%COMP%]:first-child{margin-top:0}.t-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}'],changeDetection:0}),e})()},23650:(t,e,n)=>{n.d(e,{X:()=>g});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(86198),l=n(73740),c=n(88543),u=n(7443),h=n(94840),d=n(62571);function p(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-scrollbar",2)(1,"tui-calendar-year",3),r.NdJ("yearClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPickerYearClick(e))})),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("initialItem",t.month.year)("max",t.computedMax.year)("min",t.computedMin.year)("value",t.value)}}function f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-calendar-spin",4),r.NdJ("valueChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPaginationValueChange(e))}))("yearClick",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onPaginationYearClick())})),r.qZA(),r.TgZ(1,"tui-calendar-sheet",5),r.NdJ("dayClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onDayClick(e))}))("hoveredItemChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onHoveredItemChange(e))})),r.ALo(2,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("max",t.computedMaxViewedMonth)("min",t.computedMinViewedMonth)("value",t.month),r.xp6(1),r.Q6J("disabledItemHandler",r.gM2(2,9,t.disabledItemHandler,t.disabledItemHandlerMapper,t.computedMin,t.computedMax))("hoveredItem",t.hoveredItem)("markerHandler",t.markerHandler)("month",t.month)("showAdjacent",t.showAdjacent)("value",t.value)}}let g=(()=>{var t;class e{constructor(){this.day=null,this.view="month",this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.min=s.K1,this.max=s.Oy,this.minViewedMonth=s.K1,this.maxViewedMonth=s.Oy,this.hoveredItem=null,this.showAdjacent=!0,this.markerHandler=null,this.dayClick=new r.vpe,this.monthChange=new r.vpe,this.hoveredItemChange=new r.vpe,this.disabledItemHandlerMapper=(t,e,n)=>i=>i.dayBefore(e)||i.dayAfter(n)||t(i)}set value(t){this.day=t,this.showAdjacent&&t instanceof s.TU&&(this.month=t)}set initialView(t){this.view=t}get value(){return this.day}onPaginationValueChange(t){this.updateViewedMonth(t)}onDayClick(t){this.dayClick.emit(t)}onHoveredItemChange(t){this.updateHoveredDay(t)}get computedMin(){return this.min??s.K1}get computedMax(){return this.max??s.Oy}get computedMinViewedMonth(){const t=this.computedMin,e=this.minViewedMonth??s.K1;return e.monthSameOrAfter(t)?e:t}get computedMaxViewedMonth(){const t=this.computedMax,e=this.maxViewedMonth??s.Oy;return e.monthSameOrBefore(t)?e:t}get isInYearView(){return"year"===this.view}onPaginationYearClick(){this.view="year"}onPickerYearClick(t){this.view="month",this.updateViewedMonth(new s.ql(t,this.month.month))}updateViewedMonth(t){this.month.monthSame(t)||(this.month=t,this.monthChange.emit(t))}updateHoveredDay(t){(0,l.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar"]],inputs:{month:"month",disabledItemHandler:"disabledItemHandler",min:"min",max:"max",minViewedMonth:"minViewedMonth",maxViewedMonth:"maxViewedMonth",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent",markerHandler:"markerHandler",value:"value",initialView:"initialView"},outputs:{dayClick:"dayClick",monthChange:"monthChange",hoveredItemChange:"hoveredItemChange"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[["automation-id","tui-calendar__scrollbar","class","t-scrollbar",4,"ngIf","ngIfElse"],["calendar",""],["automation-id","tui-calendar__scrollbar",1,"t-scrollbar"],["automation-id","tui-calendar__year",3,"initialItem","max","min","value","yearClick"],["automation-id","tui-calendar__pagination",1,"t-pagination",3,"max","min","value","valueChange","yearClick"],["automation-id","tui-calendar__calendar",3,"disabledItemHandler","hoveredItem","markerHandler","month","showAdjacent","value","dayClick","hoveredItemChange"]],template:function(t,e){if(1&t&&(r.YNc(0,p,2,4,"tui-scrollbar",0),r.YNc(1,f,3,14,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.isInYearView)("ngIfElse",t)}},dependencies:[i.O5,c.D1,d.u,h.z,u.R,a.c],styles:["[_nghost-%COMP%]{display:block;min-height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar[_ngcontent-%COMP%]{height:18.25rem;width:16.875rem}.t-pagination[_ngcontent-%COMP%]{margin-bottom:1rem}"],changeDetection:0}),e})()},31447:(t,e,n)=>{n.d(e,{XU:()=>i.X,u8:()=>r.u});var i=n(23650),r=(n(7443),n(94840),n(62571))},52614:(t,e,n)=>{n.d(e,{l:()=>b,q:()=>_});var i,r=n(84911),o=n(76733),s=n(20755),a=n(11892),l=n(65026),c=n(55181),u=n(52674),h=n(73740),d=n(41589),p=n(25690),f=n(92425),g=n(46501),m=n(96240);function v(t,e){if(1&t&&(s.ynx(0),s._uU(1),s.BQk()),2&t){const t=e.polymorpheusOutlet;s.xp6(1),s.hij(" ",t," ")}}function y(t,e){if(1&t&&(s.TgZ(0,"div",1),s.YNc(1,v,2,1,"ng-container",2),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",t.emptyContent||s.lcZ(2,1,t.defaultEmptyContent$))}}function b(){const t=(0,s.f3M)(g.N1,{optional:!0})?.size;return t&&["s","m","l"].includes(t)?t:"l"}class _{constructor(){this.options=a.Mm,this.el=(0,c.AG)(),this.defaultEmptyContent$=(0,s.f3M)(d.PH),this.size=b()}onKeyDownArrow(t,e){const{elements:n}=this;(0,u.VR)(n.indexOf(t),n,e)}handleFocusLossIfNecessary(t=this.el){(0,u.zb)(t)&&this.origin?.focus({preventScroll:!0})}getOptions(t=!1){return this.options.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(h.Pc)}get empty$(){return(0,l.ll)(this.options).pipe((0,f.U)((({length:t})=>!t)))}onFocusIn(t,e){e.contains(t)||this.origin||(this.origin=t)}noop(){}get elements(){return Array.from(this.el.querySelectorAll("a[tuiOption],button[tuiOption],input"))}}(i=_).ɵfac=function(t){return new(t||i)},i.ɵcmp=s.Xpm({type:i,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,m.b,5),2&t){let t;s.iGM(t=s.CRH())&&(e.options=t)}},hostAttrs:["role","listbox"],hostVars:1,hostBindings:function(t,e){1&t&&s.NdJ("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)}))("keydown.tab",(function(){return e.handleFocusLossIfNecessary()}))("keydown.shift.tab",(function(){return e.handleFocusLossIfNecessary()}))("focusin",(function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)}))("mousedown.prevent",(function(){return e.noop()})),2&t&&s.uIk("data-size",e.size)},inputs:{emptyContent:"emptyContent",size:"size"},standalone:!0,features:[s._Bn([(0,g.RB)(i)]),s.jDz],ngContentSelectors:["*"],decls:3,vars:3,consts:[["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(s.F$t(),s.Hsn(0),s.YNc(1,y,3,3,"div",0),s.ALo(2,"async")),2&t&&(s.xp6(1),s.Q6J("ngIf",s.lcZ(2,1,e.empty$)))},dependencies:[o.O5,o.Ov,p.s$],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-tertiary)}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-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-secondary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-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-border-normal)}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,tui-opt-group:not(:empty)~tui-opt-group:not([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,tui-opt-group:not([data-label]):before{padding:0;margin:0}[tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;justify-content:space-between;text-align:left;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[tuiOption]:focus-within,[tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}[tuiOption]:after{font-size:1rem;margin:0 -.25rem 0 1rem}\n'],encapsulation:2,changeDetection:0}),(0,r.gn)([h.UM],_.prototype,"empty$",null)},19975:(t,e,n)=>{n.d(e,{g:()=>r}),n(73740);var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiDataList",""]],standalone:!0}),e})()},46501:(t,e,n)=>{n.d(e,{Cc:()=>a,IQ:()=>o,N1:()=>c,P7:()=>s,RB:()=>l,oE:()=>u});var i=n(20755),r=n(73740);const o=new i.OlP("[TUI_OPTION_CONTENT]");function s(t){return{provide:o,useValue:t}}const a=new i.OlP("[TUI_DATA_LIST_ACCESSOR]");function l(t){return(0,r.Q2)(a,t)}const c=new i.OlP("[TUI_DATA_LIST_HOST]");function u(t){return(0,r.Q2)(c,t)}},63098:(t,e,n)=>{n.d(e,{Cc:()=>l.Cc,N1:()=>l.N1,qi:()=>i.q,gX:()=>r.g,c4:()=>s,bH:()=>a.b,Pb:()=>h,RB:()=>l.RB,oE:()=>l.oE,P7:()=>l.P7,lt:()=>i.l});var i=n(52614),r=n(19975),o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-label",e.label)},inputs:{label:"label"},standalone:!0}),e})();var a=n(96240);i.q,r.g,a.b;var l=n(46501),c=n(73740),u=n(71938);let h=(()=>{var t;class e{constructor(){this.dataList=(0,c.Vx)(u.td,"tuiDropdown",null)}set template(t){this.dataList.set(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["never"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,r.g,5,o.Rgc),2&t){let t;o.iGM(t=o.CRH())&&(e.template=t.first)}},standalone:!0}),e})()},96240:(t,e,n)=>{n.d(e,{b:()=>v});var i=n(20755),r=n(86253),o=n(55181),s=n(52674),a=n(71938),l=n(25690),c=n(52614),u=n(46501),h=n(98549);const d=["tuiOption",""];function p(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 f(t,e){1&t&&i.Hsn(0)}const g=function(t){return{$implicit:t}},m=["*"];let v=(()=>{var t;class e{constructor(){this.isMobile=(0,i.f3M)(r.fL),this.el=(0,o.AG)(),this.dataList=(0,i.f3M)((0,i.Gpc)((()=>c.q)),{optional:!0}),this.host=(0,i.f3M)(u.N1,{optional:!0}),this.content=(0,i.f3M)(u.IQ,{optional:!0}),this.dropdown=(0,i.f3M)(a.td,{self:!0,optional:!0}),this.disabled=!1}ngOnDestroy(){this.dataList?.handleFocusLossIfNecessary(this.el)}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove(){this.isMobile||(0,s.V8)(this.el)||this.el.focus({preventScroll:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["button","tuiOption",""],["a","tuiOption",""],["label","tuiOption",""]],hostAttrs:["type","button","role","option"],hostVars:3,hostBindings:function(t,e){1&t&&i.NdJ("click",(function(){return e.onClick()}))("mousemove.silent",(function(){return e.onMouseMove()})),2&t&&(i.uIk("disabled",e.disabled||null),i.ekj("_with-dropdown",e.active))},inputs:{disabled:"disabled",value:"value"},standalone:!0,features:[i.jDz,i.zW0([{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],attrs:d,ngContentSelectors:m,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["t",""]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,p,2,1,"ng-container",0),i.YNc(1,f,1,0,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(2);i.Q6J("polymorpheusOutlet",e.content||t)("polymorpheusOutletContext",i.VKq(2,g,t))}},dependencies:[l.s$],encapsulation:2,changeDetection:0}),e})()},67587:(t,e,n)=>{n.d(e,{qY:()=>k,RO:()=>H,r4:()=>G});var i=n(76733),r=n(20755),o=n(62022),s=n(11892),a=n(30696),l=n(86253),c=n(34138),u=n(11679),h=n(41589),d=n(82510),p=n(25690),f=n(11070),g=n(71209),m=n(78748),v=n(45047),y=n(84787),b=n(92425),_=n(55333),w=n(73740),x=n(56424),C=n(30453);const k=(0,w.JN)(new x.X([])),O=(0,w.JN)(C.E),M=(0,w.JN)({appearance:"",size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:"",data:void 0});var S=n(42772),A=n(65026),P=n(55181),E=n(48132),T=n(21813);let I=(()=>{var t;class e extends E.y{constructor(){super((t=>(0,v.T)(this.esc$,this.mousedown$).subscribe(t))),this.win=(0,r.f3M)(S.m9),this.doc=(0,r.f3M)(i.K0),this.el=(0,P.AG)(),this.esc$=(0,A.mL)(this.doc,"keydown").pipe((0,_.h)((t=>{const e=(0,P.mA)(t);return"Escape"===t.key&&!t.defaultPrevented&&(this.el.contains(e)||this.isOutside(e))}))),this.mousedown$=(0,A.mL)(this.doc,"mousedown").pipe((0,_.h)((t=>(0,d.ic)(this.win)-t.clientX>17&&this.isOutside((0,P.mA)(t)))),(0,y.w)((()=>(0,A.mL)(this.doc,"mouseup").pipe((0,T.q)(1),(0,b.U)(P.mA),(0,_.h)((t=>this.isOutside(t)))))))}isOutside(t){return(0,P.ve)(t)&&(!(0,P.PP)(this.el,t)||t===this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})();function D(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 z(t,e){if(1&t&&(r.TgZ(0,"header",6),r.YNc(1,D,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 N(t,e){if(1&t){const t=r.EpF();r.ynx(0),r._UZ(1,"div",7),r.TgZ(2,"div",8)(3,"button",9),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.context.$implicit.complete())})),r._uU(4),r.qZA()(),r.BQk()}if(2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.xp6(1),r.Q6J("innerHTML",t,r.oJD),r.xp6(3),r.hij(" ",(null==n.context.data?null:n.context.data.button)||"OK"," ")}}function F(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",10)(1,"button",11),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close$.next())}))("mousedown.prevent.silent",(function(){return 0})),r._uU(2),r.ALo(3,"async"),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Udp("border-radius",100,"%"),r.Q6J("appearance",t.fullscreen?"secondary":"")("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(3,5,t.closeWord$)," ")}}const L=new Error("Required dialog was dismissed");function R(t){return(0,f.b)(t)?t:(0,g.of)(t)}let B=(()=>{var t;class e{constructor(){this.speed=(0,r.f3M)(h.ZW),this.isMobile=(0,r.f3M)(l.fL),this.animation={value:"",params:{start:"40px",duration:(0,d.cZ)(this.speed)}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:(0,d.cZ)(this.speed)}},this.close$=new m.x,this.context=(0,r.f3M)(p.yf),this.closeWord$=(0,r.f3M)(h.U0),this.icons=(0,r.f3M)(h.Gs),(0,v.T)(this.close$.pipe((0,y.w)((()=>R(this.context.closeable)))),(0,r.f3M)(I).pipe((0,y.w)((()=>R(this.context.dismissible)))),(0,r.f3M)(O).pipe((0,b.U)(s.oN))).pipe((0,_.h)(Boolean),(0,o.sL)()).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(L):this.context.$implicit.complete()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-appearance",e.context.appearance)("data-size",e.size),r.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),r.ekj("_centered",e.header))},standalone:!0,features:[r._Bn([I]),r.jDz],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"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","iconLeft","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(r.YNc(0,z,2,2,"header",0),r.TgZ(1,"div",1),r._UZ(2,"h2",2),r.TgZ(3,"section"),r.YNc(4,N,5,2,"ng-container",3),r.qZA()(),r._UZ(5,"div",4),r.YNc(6,F,4,7,"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))},dependencies:[i.O5,p.s$,a.bi,u.xG,i.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%;content:"";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-popup)}[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%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-background-elevation-1);box-shadow:0 4rem var(--tui-background-elevation-1)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - 22.5rem)}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}._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)}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}.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-background-elevation-1)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;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;display:none}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:inline-flex}[_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);color:var(--tui-background-base)}[_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[data-size][_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[data-size][_ngcontent-%COMP%]{--tui-fade-end: .5;position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-primary);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[c.X9,c.QF]}}),e})();n(11320);var j=n(10676);let H=(()=>{var t;class e extends j.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(k,B,(0,r.f3M)(M))},providedIn:"root"}),e})();var V=n(69008),$=n(88543);function q(t,e){1&t&&r.GkF(0)}function Z(t,e){if(1&t&&(r.TgZ(0,"section",3),r.YNc(1,q,1,0,"ng-container",4),r._UZ(2,"tui-scroll-controls",5),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().ngIf;r.ekj("t-dialog_closing",!n.length),r.Q6J("@tuiHost",void 0),r.uIk("aria-labelledby",t.id),r.xp6(1),r.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",t)}}function U(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Z,3,6,"section",1),r._UZ(2,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Udp("opacity",t.length)}}let G=(()=>{var t;class e{constructor(){this.el=(0,P.AG)(),this.dialogs$=(0,r.f3M)(k)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialogs"]],hostBindings:function(t,e){1&t&&r.NdJ("keydown.silent",(function(){return e.el.scrollTop=e.el.scrollHeight/2}))},standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","","class","t-dialog",3,"t-dialog_closing",4,"ngFor","ngForOf"],[1,"t-overlay"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-scrollbars"]],template:function(t,e){1&t&&(r.YNc(0,U,3,3,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.dialogs$))},dependencies:[i.ez,i.sg,i.O5,i.Ov,p.s$,V.m,$.bl,$.pS],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;scrollbar-width:none;-ms-overflow-style:none;pointer-events:none;overflow:auto;overscroll-behavior:none}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}[_nghost-%COMP%]:has(section){pointer-events:auto}[_nghost-%COMP%]:before{content:"";display:block;height:1000%}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:fixed;top:0;left:0;bottom:0;right:0;display:flex;height:100%;align-items:flex-start;outline:none;overflow:auto}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-dialog[_ngcontent-%COMP%]{position:sticky;pointer-events:auto;overscroll-behavior:none}.t-overlay[_ngcontent-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;right:0;margin:0;color:#747474}'],data:{animation:[c.Hp]}}),e})()},93745:(t,e,n)=>{n.d(e,{SV:()=>f,d0:()=>c});var i=n(76733),r=n(20755),o=n(62022),s=n(34138),a=n(32097),l=n(1925);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiExpandContent",""]],standalone:!0}),e})();const u=["wrapper"];function h(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 d(t,e){if(1&t&&(r.ynx(0),r.Hsn(1),r.YNc(2,h,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 p=["*"];let f=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.state=0,this.content=null,this.expanded=null,this.async=!1}set expandedSetter(t){if(null!==this.expanded){if(0!==this.state)return this.expanded=t,void(this.state=3);this.expanded=t,this.retrigger(this.async&&t?1:3)}else this.expanded=t}get contentVisible(){return this.expanded||0!==this.state}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}onTransitionEnd({propertyName:t,pseudoElement:e}){"opacity"!==t||e||3!==this.state||(this.state=0)}onExpandLoaded(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(t){this.state=2,(0,l.H)(0).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>{2===this.state&&(this.state=t,this.cdr.markForCheck())}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,c,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(u,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"]},standalone:!0,features:[r.jDz],ngContentSelectors:p,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,d,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))},dependencies:[a.A6,i.O5,i.tP],styles:['[_nghost-%COMP%]{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translateZ(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[s.B_]},changeDetection:0}),e})()},44501:(t,e,n)=>{n.d(e,{hM:()=>c,vJ:()=>a});var i=n(20755),r=n(73740);const o={size:"m",collapsed:!1,rounded:!0,orientation:"horizontal"},s=(0,r.JN)(o);function a(t){return(0,r.vK)(s,t,o)}let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate;--t-radius: var(--tui-radius-m)}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_radius_large{--t-radius: var(--tui-radius-l)}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin:0 -1px 0 0}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.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>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.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>*:has([tuiBlock]:checked){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:0 0 -1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--t-radius);border-bottom-left-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--t-radius);border-top-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.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}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.orientation=this.options.orientation,this.collapsed=this.options.collapsed,this.rounded=this.options.rounded,this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:10,hostBindings:function(t,e){2&t&&i.ekj("tui-group_orientation_horizontal","horizontal"===e.orientation)("tui-group_orientation_vertical","vertical"===e.orientation)("tui-group_radius_large","l"===e.size)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)},inputs:{orientation:"orientation",collapsed:"collapsed",rounded:"rounded",size:"size"},standalone:!0}),e})()},8355:(t,e,n)=>{n.d(e,{R:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.resolver=(0,r.Ps)(),this.icon=(0,i.f3M)(r.SX),this.background=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-icon"]],hostVars:6,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask","url("+e.resolver(e.icon)+")")("--t-mask-bg",e.background?"url("+e.resolver(e.background)+")":null),i.ekj("_duo",e.background))},inputs:{icon:"icon",background:"background"},standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{position:relative;display:inline-block;width:1em;height:1em;font-size:1.5rem;flex-shrink:0;vertical-align:middle;box-sizing:border-box}._duo[_nghost-%COMP%]{-webkit-mask:var(--t-mask-bg) no-repeat center / contain;mask:var(--t-mask-bg) no-repeat center / contain}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";-webkit-mask:var(--t-mask) no-repeat center / contain;mask:var(--t-mask) no-repeat center / contain;background:currentColor}'],changeDetection:0}),e})()},9368:(t,e,n)=>{n.d(e,{R:()=>i.R});var i=n(8355);n(41589)},57981:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(20755),r=n(55181),o=n(73740),s=n(63098);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-label-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiLabel]{display:flex;gap:.25rem;flex-direction:column;font:var(--tui-font-text-s);color:var(--tui-text-primary)}[tuiLabel]:not(._textfield){flex-direction:row;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-m)}[tuiLabel]:has(tui-primitive-textfield),[tuiLabel]:has(tui-textarea){flex-direction:column!important;width:auto!important;font:var(--tui-font-text-s)!important}[tuiLabel] input[type=checkbox],[tuiLabel] input[type=radio]{margin-inline-end:.5rem}[tuiLabel] input[type=checkbox][data-size=s],[tuiLabel] input[type=radio][data-size=s]{margin-inline-end:.25rem;margin-top:.125rem}[tuiLabel] small{font:var(--tui-font-text-s)}[tuiLabel] [tuiTitle]{margin-top:.125rem}[tuiLabel] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"],encapsulation:2,changeDetection:0}),e})(),l=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.nothing=(0,o.__)(a),this.parent=(0,i.f3M)((0,i.Gpc)((()=>s.N1)),{optional:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["label","tuiLabel",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,s.N1,5),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("for",e.el.htmlFor||(null==e.parent?null:e.parent.id)),i.ekj("_textfield",e.textfield))},standalone:!0}),e})()},16100:(t,e,n)=>{n.d(e,{S9:()=>r.S9,lI:()=>i.l});var i=n(87731),r=n(3828)},87731:(t,e,n)=>{n.d(e,{l:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(3828),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-link"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiLink]{--tui-text-tertiary: var(--tui-text-secondary);padding:0;background:transparent;border:none;text-decoration:none;cursor:pointer;font:inherit}[tuiLink]:hover{--tui-text-secondary: var(--tui-text-primary)}[tuiLink]:before{margin-inline-end:.25rem}[tuiLink]:after{margin-inline-start:.25rem}[tuiLink]._pseudo{-webkit-text-decoration:underline dashed currentColor;text-decoration:underline dashed currentColor;text-underline-offset:.2em;text-decoration-thickness:.7px;text-decoration-color:color-mix(in lch,currentColor,transparent)}[tuiLink][tuiIcons]._icon-left:before,[tuiLink][tuiIcons]._icon-right:after{content:"\\2060";padding:calc(var(--tui-icon-size, 1rem) / 2);vertical-align:super;font-size:0;line-height:0}[tuiLink]:focus-visible:not([data-focus=false]){outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][data-focus=true]{outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(l),this.pseudo=(0,i.f3M)(s.T2).pseudo}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostAttrs:["tuiLink",""],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_pseudo",e.pseudo)},inputs:{pseudo:"pseudo"},standalone:!0,features:[i._Bn([(0,o.mS)(s.T2)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},3828:(t,e,n)=>{n.d(e,{S9:()=>s,T2:()=>o});var i=n(73740);const r={appearance:"link",pseudo:!1},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},32097:(t,e,n)=>{n.d(e,{A6:()=>i.A});var i=n(64337);n(69816)},64337:(t,e,n)=>{n.d(e,{A:()=>g});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(52674),l=n(16931),c=n(25690),u=n(69816);function h(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 d(t,e){if(1&t&&(r.O4$(),r.kcU(),r.TgZ(0,"div",6),r.YNc(1,h,2,1,"ng-container",7),r.qZA()),2&t){const t=r.oxw(2);r.ekj("t-text_horizontal",t.isHorizontal),r.xp6(1),r.Q6J("polymorpheusOutlet",t.textContent)}}function p(t,e){if(1&t&&(r.TgZ(0,"div",2),r.O4$(),r.TgZ(1,"svg",3),r._UZ(2,"circle",4),r.qZA(),r.YNc(3,d,2,3,"div",5),r.qZA()),2&t){const t=r.oxw();r.ekj("t-loader_horizontal",t.isHorizontal)("t-loader_inherit-color",t.inheritColor),r.xp6(3),r.Q6J("ngIf",t.hasText)}}const f=["*"];let g=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.options=(0,r.f3M)(u.vI),this.loading=!0,this.isApple=function({ownerDocument:t}){const e=t?.defaultView,n=void 0!==e.safari&&"[object SafariRemoteNotification]"===e.safari?.pushNotification?.toString(),i=!!e.navigator?.vendor?.includes("Apple")&&!e.navigator?.userAgent?.includes("CriOS")&&!e.navigator?.userAgent?.includes("FxiOS");return n||i}(this.el)||this.isIOS,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay}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,l.R9)(this.size)}get focused(){return(0,a.zb)(this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-loader"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size),r.ekj("_loading",e.loading))},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},standalone:!0,features:[r.jDz],ngContentSelectors:f,decls:3,vars:7,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","height","100%","width","100%",1,"t-icon"],["cx","50%","cy","50%",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&&(r.F$t(),r.TgZ(0,"fieldset",0),r.Hsn(1),r.qZA(),r.YNc(2,p,4,5,"div",1)),2&t&&(r.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),r.Q6J("disabled",e.loading&&!e.isApple),r.uIk("inert",e.loading||null),r.xp6(2),r.Q6J("ngIf",e.loading))},dependencies:[i.O5,c.s$],styles:["[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem;--tui-thickness: calc(var(--t-diameter) / 12)}._loading[_nghost-%COMP%]{overflow:hidden}[data-size=xs][_nghost-%COMP%]{--t-diameter: .75em}[data-size=s][_nghost-%COMP%]{--t-diameter: 1em}[data-size=m][_nghost-%COMP%]{--t-diameter: 1.5em}[data-size=l][_nghost-%COMP%]{--t-diameter: 2.5em}[data-size=xl][_nghost-%COMP%]{--t-diameter: 3.5em}[data-size=xxl][_nghost-%COMP%]{--t-diameter: 5em}.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%;min-height:var(--t-diameter);flex-shrink:0;align-self:center;color:var(--tui-text-primary);stroke:var(--tui-background-accent-1);animation:tuiFadeIn var(--tui-duration);font-size:1rem}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:var(--tui-font-text-s);margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(-90deg)}50%{transform:rotate(-90deg) rotate(1turn)}to{transform:rotate(-90deg) rotate(3turn)}}.t-icon[_ngcontent-%COMP%]{display:block;width:var(--t-diameter);height:var(--t-diameter);margin:.25rem calc(var(--t-diameter) / -2);border-radius:100%;overflow:hidden;animation:_ngcontent-%COMP%_tuiLoaderRotate 4s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}50%{stroke-dashoffset:calc(.05 * calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness))))}to{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}}.t-circle[_ngcontent-%COMP%]{r:calc(var(--t-diameter) / 2 - var(--tui-thickness));stroke-dasharray:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)));fill:none;stroke:inherit;stroke-width:max(var(--tui-thickness),1.5px);animation:_ngcontent-%COMP%_tuiLoaderDashOffset 4s linear infinite}"],changeDetection:0}),e})()},69816:(t,e,n)=>{n.d(e,{vI:()=>i});const i=(0,n(73740).JN)({size:"m",inheritColor:!1,overlay:!1})},94030:(t,e,n)=>{n.d(e,{Ln:()=>d,tK:()=>y});var i=n(76733),r=n(20755),o=n(11679),s=n(9368),a=n(41589),l=n(25690),c=n(73740);const u={info:"@tui.info",success:"@tui.circle-check",error:"@tui.circle-x",warning:"@tui.circle-alert",neutral:"@tui.info"},h={status:"info",icon:({$implicit:t})=>u[t],size:"m"},d=(0,c.JN)(h);function p(t,e){if(1&t&&r._UZ(0,"tui-icon",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t.toString())}}const f=function(t){return{$implicit:t}};function g(t,e){if(1&t&&(r.ynx(0),r.YNc(1,p,1,1,"tui-icon",4),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)("polymorpheusOutletContext",r.VKq(2,f,t.status))}}function m(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close.emit())})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(2,2,t.closeWord$),"\n")}}const v=["*"];let y=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(d),this.closeWord$=(0,r.f3M)(a.U0),this.icons=(0,r.f3M)(a.Gs),this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new r.vpe}get hasClose(){return!this.hideClose&&this.close.observed}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-notification"],["a","tuiNotification",""],["button","tuiNotification",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.uIk("data-status",e.status)("data-size",e.size)},inputs:{icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},standalone:!0,features:[r.jDz],ngContentSelectors:v,decls:5,vars:3,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"iconLeft","click",4,"ngIf"],["automation-id","tui-notification__more",1,"t-more",3,"icon"],["automation-id","tui-notification__icon","class","t-icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"icon"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"iconLeft","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,g,2,4,"ng-container",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,m,3,4,"button",2),r._UZ(4,"tui-icon",3)),2&t&&(r.Q6J("ngIf",e.icon),r.xp6(3),r.Q6J("ngIf",e.hasClose),r.xp6(1),r.Q6J("icon",e.icons.more))},dependencies:[o.xG,l.s$,i.O5,s.R,i.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-s);color:var(--tui-text-primary);padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-background-base);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;width:1rem;color:var(--tui-text-primary);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-status-info);background:linear-gradient(var(--tui-status-info-pale),var(--tui-status-info-pale)),var(--tui-background-base)}[data-status=success][_nghost-%COMP%]{color:var(--tui-status-positive);background:linear-gradient(var(--tui-status-positive-pale),var(--tui-status-positive-pale)),var(--tui-background-base)}[data-status=error][_nghost-%COMP%]{color:var(--tui-status-negative);background:linear-gradient(var(--tui-status-negative-pale),var(--tui-status-negative-pale)),var(--tui-background-base)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-status-warning);background:linear-gradient(var(--tui-status-warning-pale),var(--tui-status-warning-pale)),var(--tui-background-base)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-status-neutral);background:linear-gradient(var(--tui-background-neutral-1),var(--tui-background-neutral-1)),var(--tui-background-base)}[tuiTheme="dark"][_nghost-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%]{--tui-background-base: #000}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-primary);text-align:inherit;align-self:center}'],changeDetection:0}),e})()},38525:(t,e,n)=>{n.d(e,{q:()=>C});var i=n(76733),r=n(20755),o=n(62022),s=n(65026),a=n(86253),l=n(75097),c=n(67587),u=n(88543),h=n(42690),d=n(75430),p=n(94457),f=n(41589),g=n(82510),m=n(92425),v=n(71209),y=n(20155),b=n(32423);function _(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const w=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],x=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let C=(()=>{var t;class e{constructor(){this.reducedMotion=(0,r.f3M)(f.TK),this.duration=(0,g.cZ)((0,r.f3M)(f.ZW)),this.isMobileRes=(0,o.O4)((0,r.f3M)(p.zE).pipe((0,m.U)((t=>"mobile"===t)),(0,s.NA)((0,r.f3M)(r.sBO)))),this.scrollbars$=(0,r.f3M)(a.fL)?(0,v.of)(!1):(0,r.f3M)(c.qY).pipe((0,m.U)((({length:t})=>!t)),(0,y.b)(0)),(0,r.f3M)(i.K0).defaultView?.document.documentElement.setAttribute("data-tui-theme",(0,r.f3M)(f.r2).toLowerCase())}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","4.0.0-rc.2"],hostVars:6,hostBindings:function(t,e){1&t&&r.NdJ("touchstart.passive.silent",(function(){return 0})),2&t&&(r.Udp("--tui-duration",e.duration,"ms"),r.ekj("_reduced-motion",e.reducedMotion)("_mobile",e.isMobileRes()))},standalone:!0,features:[r.jDz,r.zW0([b.c])],ngContentSelectors:x,decls:13,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(w),r.YNc(0,_,1,0,"tui-scroll-controls",0),r.ALo(1,"async"),r.TgZ(2,"tui-dropdowns")(3,"div",1),r.Hsn(4),r.qZA(),r.Hsn(5,1),r._UZ(6,"tui-dialogs"),r.Hsn(7,2),r._UZ(8,"tui-alerts"),r.Hsn(9,3),r.qZA(),r.Hsn(10,4),r._UZ(11,"tui-hints"),r.Hsn(12,5)),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.scrollbars$))},dependencies:[i.O5,i.Ov,h.JY,c.r4,l.Jp,d.Z0,u.bl],styles:['@keyframes tuiPresent{to{content:""}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html[data-tui-theme],.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html[data-tui-theme]::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html[data-tui-theme]::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body,input{margin:0}tui-root{position:relative;display:block;font:var(--tui-font-text-s);color:var(--tui-text-primary);flex:1;-webkit-tap-highlight-color:transparent}tui-root:before{position:fixed;top:0;left:0;width:100%;height:100%;content:"";background:var(--tui-background-base)}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}\n'],encapsulation:2}),e})()},88543:(t,e,n)=>{n.d(e,{bl:()=>i.b,_H:()=>r._,pS:()=>l,D1:()=>c.D1});var i=n(37201),r=n(46877),o=n(20755),s=n(73740),a=n(41589);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["","tuiScrollRef",""]],standalone:!0,features:[o._Bn([(0,s.Q2)(a.$_,o.SBq)])]}),e})();n(55181);var c=n(31807);n(28169),n(40942)},37201:(t,e,n)=>{n.d(e,{b:()=>y});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(34138),l=n(41589),c=n(82510),u=n(38356),h=n(92425),d=n(73843),p=n(18004),f=n(28169);function g(t,e){if(1&t&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-horizontal",t[1]),r.Q6J("@tuiFadeIn",e.options)}}function m(t,e){if(1&t&&(r.TgZ(0,"div",5),r._UZ(1,"div",6),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-vertical",t[0]),r.Q6J("@tuiFadeIn",e.options)}}function v(t,e){if(1&t&&(r.ynx(0),r.YNc(1,g,2,3,"div",1),r.YNc(2,m,2,3,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t[0]),r.xp6(1),r.Q6J("ngIf",t[1])}}let y=(()=>{var t;class e{constructor(){this.scrollRef=(0,r.f3M)(l.$_).nativeElement,this.options=(0,c.qS)((0,r.f3M)(l.ZW)),this.refresh$=(0,r.f3M)(o.L1).pipe((0,u.p)(300),(0,h.U)((()=>this.scrollbars)),(0,d.O)([!1,!1]),(0,p.x)(((t,e)=>t[0]===e[0]&&t[1]===e[1])),(0,s.Yr)((0,r.f3M)(r.R0b)))}get scrollbars(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.scrollRef;return[Math.ceil(t/e*100)<100,Math.ceil(n/i*100)<100]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-scroll-controls"]],standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(r.YNc(0,v,3,2,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.refresh$))},dependencies:[i.O5,i.Ov,f.N],styles:["[_nghost-%COMP%]{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-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;-webkit-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.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:[a.QF]},changeDetection:0}),e})()},46877:(t,e,n)=>{n.d(e,{_:()=>l});var i=n(20755),r=n(62022),o=n(55181),s=n(1925),a=n(31807);let l=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.destroyRef=(0,i.f3M)(i.ktI)}set tuiScrollIntoView(t){t&&(0,s.H)(0).pipe((0,r.sL)(this.destroyRef)).subscribe((()=>{this.el.dispatchEvent(new CustomEvent(a.fe,{bubbles:!0,detail:this.el}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},standalone:!0}),e})()},31807:(t,e,n)=>{n.d(e,{D1:()=>d,fe:()=>h});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(41589),l=n(37201);function c(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const u=["*"],h="tui-scroll-into-view";let d=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.browserScrollRef=new r.SBq(this.el),this.hidden=!1}get delegated(){return this.browserScrollRef.nativeElement!==this.el}onScrollable(t){this.browserScrollRef.nativeElement=t}scrollIntoView(t){if(this.delegated)return;const{nativeElement:e}=this.browserScrollRef,{offsetTop:n,offsetLeft:i}=(0,s.YX)(e,t),{clientHeight:r,clientWidth:o}=e,{offsetHeight:a,offsetWidth:l}=t,c=n+a/2-r/2,u=i+l/2-o/2;e.scrollTo?.(u,c)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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("_native-hidden",!e.isIOS||e.hidden)},inputs:{hidden:"hidden"},standalone:!0,features:[r._Bn([{provide:a.$_,useFactory:()=>(0,r.f3M)(t).browserScrollRef}]),r.jDz],ngContentSelectors:u,decls:3,vars:3,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,c,1,0,"tui-scroll-controls",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()),2&t&&(r.Q6J("ngIf",!e.hidden&&!e.isIOS),r.xp6(1),r.ekj("t-content_delegated",e.delegated))},dependencies:[l.b,i.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}._native-hidden[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none}._native-hidden[_nghost-%COMP%]::-webkit-scrollbar, ._native-hidden[_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-content_delegated[_ngcontent-%COMP%]{height:100%}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-primary)}"],changeDetection:0}),e})()},28169:(t,e,n)=>{n.d(e,{N:()=>d});var i=n(20755),r=n(62022),o=n(42772),s=n(65026),a=n(55181),l=n(41589),c=n(45047),u=n(38356),h=n(40942);let d=(()=>{var t;class e{constructor(){this.el=(0,i.f3M)(l.$_).nativeElement,this.style=(0,a.AG)().style,this.scrollSub=(0,i.f3M)(h.Q).pipe((0,r.sL)()).subscribe((([t,e])=>{this.el.style.scrollBehavior="auto",this.el.scrollTo({top:t,left:e}),this.el.style.scrollBehavior=""})),this.styleSub=(0,c.T)((0,i.f3M)(o.L1).pipe((0,u.p)(100)),(0,s.pt)(this.el)).pipe((0,s.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>{"vertical"===this.tuiScrollbar?(this.style.top=100*this.thumb+"%",this.style.height=100*this.view+"%"):(this.style.left=100*this.thumb+"%",this.style.width=100*this.view+"%")})),this.tuiScrollbar="vertical"}get scrolled(){const{scrollTop:t,scrollHeight:e,clientHeight:n,scrollLeft:i,scrollWidth:r,clientWidth:o}=this.el;return"vertical"===this.tuiScrollbar?t/(e-n):i/(r-o)}get compensation(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return t*t/e>24&&"vertical"===this.tuiScrollbar||n*n/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/t:24/n}get thumb(){const t=this.compensation||this.view;return this.scrolled*(1-t)}get view(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return"vertical"===this.tuiScrollbar?Math.ceil(t/e*100)/100:Math.ceil(n/i*100)/100}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},standalone:!0,features:[i._Bn([h.Q])]}),e})()},40942:(t,e,n)=>{n.d(e,{Q:()=>d});var i=n(20755),r=n(65026),o=n(55181),s=n(41589),a=n(48132),l=n(45047),c=n(92425),u=n(84787),h=n(81749);let d=(()=>{var t;class e extends a.y{constructor(){super((t=>this.scroll$.subscribe(t))),this.el=(0,o.AG)(),this.element=(0,i.f3M)(s.$_).nativeElement,this.scroll$=(0,l.T)((0,r.mL)(this.el.parentElement,"mousedown").pipe((0,c.U)((t=>this.getScrolled(t,.5,.5)))),(0,r.mL)(this.el,"mousedown").pipe((0,r.fL)((0,i.f3M)(i.R0b)),(0,u.w)((t=>{const{ownerDocument:e}=this.el,n=this.el.getBoundingClientRect(),i=function({clientY:t},{top:e,height:n}){return(t-e)/n}(t,n),o=function({clientX:t},{left:e,width:n}){return(t-e)/n}(t,n);return(0,r.mL)(e,"mousemove").pipe((0,c.U)((t=>this.getScrolled(t,i,o))),(0,h.R)((0,r.mL)(e,"mouseup")))}))))}getScrolled({clientY:t,clientX:e},n,i){const{offsetHeight:r,offsetWidth:o}=this.el,{top:s,left:a,width:l,height:c}=this.el.parentElement.getBoundingClientRect();return[(this.element.scrollHeight-c)*((t-s-r*n)/(c-r)),(this.element.scrollWidth-l)*((e-a-o*i)/(l-o))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})()},82509:(t,e,n)=>{n.d(e,{f:()=>c});var i=n(76733),r=n(20755),o=n(11679),s=n(41589);function a(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onLeftClick())})),r._uU(2),r.qZA(),r.TgZ(3,"span",2),r.Hsn(4),r.qZA(),r.TgZ(5,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onRightClick())})),r._uU(6),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-hidden",n.leftComputedDisabled),r.Q6J("iconLeft",n.icons.decrement)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[0]," "),r.xp6(3),r.ekj("t-hidden",n.rightComputedDisabled),r.Q6J("iconLeft",n.icons.increment)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[1]," ")}}const l=["*"];let c=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(s.oC),this.spinTexts$=(0,r.f3M)(s.U4),this.focusable=!0,this.disabled=!1,this.leftDisabled=!1,this.rightDisabled=!1,this.leftClick=new r.vpe,this.rightClick=new r.vpe}onLeftClick(){this.leftComputedDisabled||this.leftClick.emit()}onRightClick(){this.rightComputedDisabled||this.rightClick.emit()}get leftComputedDisabled(){return this.disabled||this.leftDisabled}get rightComputedDisabled(){return this.disabled||this.rightDisabled}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-spin-button"]],hostBindings:function(t,e){1&t&&r.NdJ("mousedown.silent.prevent",(function(){return 0}))("keydown.arrowLeft.prevent",(function(){return e.onLeftClick()}))("keydown.arrowRight.prevent",(function(){return e.onRightClick()}))},inputs:{focusable:"focusable",disabled:"disabled",leftDisabled:"leftDisabled",rightDisabled:"rightDisabled"},outputs:{leftClick:"leftClick",rightClick:"rightClick"},standalone:!0,features:[r.jDz],ngContentSelectors:l,decls:2,vars:3,consts:[[4,"ngIf"],["appearance","flat","automation-id","tui-spin-button__left","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"],[1,"t-content","t-calendar-title"],["appearance","flat","automation-id","tui-spin-button__right","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,a,7,10,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.spinTexts$))},dependencies:[o.xG,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:700}.t-hidden[_ngcontent-%COMP%]{visibility:hidden}.t-content[_ngcontent-%COMP%]{padding:0 .5rem}"],changeDetection:0}),e})()},2239:(t,e,n)=>{n.d(e,{z1:()=>b,MB:()=>E,bf:()=>T,qm:()=>_}),n(8239);var i=n(76733),r=n(20755),o=n(43226),s=(n(42772),n(73740)),a=n(10676),l=n(55181),c=n(10426),u=n(34749),h=n(52674),d=n(11679),p=n(63098),f=n(57981),g=n(71938),m=n(41589),v=n(25690),y=n(94267);const b=(0,s.JN)({appearance:"textfield",size:"l",cleaner:!0});let _=(()=>{var t;class e extends y.QJ{constructor(){super(...arguments),this.options=(0,r.f3M)(b,{skipSelf:!0}),this.appearance=this.options.appearance,this.size=this.options.size,this.cleaner=this.options.cleaner}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""],["","tuiTextfieldSize",""],["","tuiTextfieldCleaner",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"],size:["tuiTextfieldSize","size"],cleaner:["tuiTextfieldCleaner","cleaner"]},standalone:!0,features:[r._Bn([(0,s.Q2)(b,t)]),r.qOj]}),e})();var w=n(82527),x=n(98549);function C(t,e){1&t&&r.GkF(0)}function k(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(null==e.directive?null:e.directive.setValue(""))}))("pointerdown.silent.prevent",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.input.focus())})),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close)}}function O(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 M(t,e){if(1&t&&r._UZ(0,"input",7),2&t){const t=r.oxw();r.Q6J("value",t.computedFiller)}}const S=[[["input"]],[["select"]],[["label"]],"*",[["","tuiTooltip",""]]],A=function(t,e){return{$implicit:t,active:e}},P=["input","select","label","*","[tuiTooltip]"];let E=(()=>{var t;class e{constructor(){this.dropdown=(0,r.f3M)(g.Bb,{optional:!0,self:!0}),this.side=0,this.change$=(0,r.f3M)(_,{optional:!0})?.change$,this.options=(0,r.f3M)(b),this.icons=(0,r.f3M)(m.Gs),this.control=(0,r.f3M)(o.a5,{optional:!0}),this.filler="",this.stringify=String}get input(){if(!this.el)throw new Error("[tuiTextfield] component is required");return this.el.nativeElement}get id(){return this.el?.nativeElement.id||""}get focused(){return!!this.dropdown?.dropdown||(0,h.V8)(this.el?.nativeElement)}handleOption(t){this.directive?.setValue(this.stringify(t)),this.dropdown?.toggle(!1)}get computedFiller(){const t=this.input.value||"",e=t+this.filler.slice(t.length);return e.length>t.length?e:""}get showFiller(){return this.focused&&!!this.computedFiller&&(!!this.input.value||!this.input.placeholder)}get hasLabel(){return Boolean(this.label?.nativeElement?.childNodes.length)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-textfield"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,T,5,r.SBq),r.Suo(n,T,5),r.Suo(n,f.T,5,r.SBq)),2&t){let t;r.iGM(t=r.CRH())&&(e.el=t.first),r.iGM(t=r.CRH())&&(e.directive=t.first),r.iGM(t=r.CRH())&&(e.label=t.first)}},hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.options.size),r.Udp("--t-side",e.side,"px"),r.ekj("_with-label",e.hasLabel)("_disabled",e.input.disabled))},inputs:{filler:"filler",stringify:"stringify",content:"content"},standalone:!0,features:[r._Bn([(0,p.oE)(t),(0,c.mS)(b),(0,g.fx)({limitWidth:"fixed"})]),r.jDz,r.zW0([w.k,g.td,p.Pb,{directive:g.Bb,inputs:["tuiDropdownOpen","open"],outputs:["tuiDropdownOpenChange","openChange"]},{directive:x.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],ngContentSelectors:P,decls:12,vars:10,consts:[[4,"ngIf"],[1,"t-content",3,"waResizeObserver"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","","class","t-clear",3,"iconLeft","click","pointerdown.silent.prevent",4,"ngIf"],[1,"t-template"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["aria-hidden","true","disabled","","class","t-filler",3,"value",4,"ngIf"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","",1,"t-clear",3,"iconLeft","click","pointerdown.silent.prevent"],["aria-hidden","true","disabled","",1,"t-filler",3,"value"]],template:function(t,e){1&t&&(r.F$t(S),r.YNc(0,C,1,0,"ng-container",0),r.ALo(1,"async"),r.Hsn(2),r.Hsn(3,1),r.Hsn(4,2),r.TgZ(5,"span",1),r.NdJ("waResizeObserver",(function(t){return e.side=t[0].contentRect.width})),r.Hsn(6,3),r.YNc(7,k,1,1,"button",2),r.Hsn(8,4),r.qZA(),r.TgZ(9,"span",3),r.YNc(10,O,2,1,"ng-container",4),r.qZA(),r.YNc(11,M,1,1,"input",5)),2&t&&(r.Q6J("ngIf",r.lcZ(1,5,e.change$)),r.xp6(7),r.Q6J("ngIf",e.options.cleaner),r.xp6(3),r.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",r.WLB(7,A,null==e.control?null:e.control.value,e.focused)),r.xp6(1),r.Q6J("ngIf",e.showFiller))},dependencies:[i.O5,i.Ov,u.P,d.xG,v.s$],styles:["[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--t-left: 0rem;--t-right: 0rem;position:relative;display:flex;align-items:center;pointer-events:none;cursor:pointer;height:var(--t-height);color:var(--tui-text-tertiary)}[data-size=s][_nghost-%COMP%]{--t-height: var(--tui-height-s);padding:0 var(--tui-padding-s);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=s]._icon-left[_nghost-%COMP%]{--t-left: 1.25rem}[data-size=s]._icon-right[_nghost-%COMP%]{--t-right: 1.25rem}[data-size=s][_nghost-%COMP%]:before{margin-inline-start:-.25rem;margin-inline-end:.5rem;font-size:1rem}[data-size=s][_nghost-%COMP%]:after{margin-inline-end:-.175rem;margin-inline-start:.25rem;font-size:1rem}[data-size=s][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{gap:0}[data-size=m][_nghost-%COMP%]{--t-height: var(--tui-height-m);padding:0 var(--tui-padding-m);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=m]._icon-left[_nghost-%COMP%]{--t-left: 1.75rem}[data-size=m]._icon-right[_nghost-%COMP%]{--t-right: 1.75rem}[data-size=m][_nghost-%COMP%]:before{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=m][_nghost-%COMP%]:after{margin-inline-start:.375rem;margin-inline-end:-.125rem}[data-size=m][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=l][_nghost-%COMP%]{--t-height: var(--tui-height-l);padding:0 var(--tui-padding-l);border-radius:var(--tui-radius-l);font:var(--tui-font-text-m)}[data-size=l]._icon-left[_nghost-%COMP%]{--t-left: 2.25rem}[data-size=l]._icon-right[_nghost-%COMP%]{--t-right: 2.25rem}[data-size=l][_nghost-%COMP%]:before{margin-inline-end:.75rem}[data-size=l][_nghost-%COMP%]:after{margin-inline-start:.25rem}[data-size=l][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-m)}[_nghost-%COMP%]:hover{color:var(--tui-text-secondary)}[_nghost-%COMP%]:before{z-index:1}._disabled[_nghost-%COMP%]:before, ._disabled[_nghost-%COMP%]:after, ._disabled[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]{padding-top:calc(var(--t-height) / 3)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]::placeholder, ._with-label[_nghost-%COMP%] [tuiTextfield]::placeholder, ._with-label[_nghost-%COMP%] .t-template._empty[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]._empty{color:transparent}[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], [_nghost-%COMP%] [tuiTextfield]{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:none;appearance:none;box-sizing:border-box;border:none;border-inline-start:var(--t-left) solid transparent;border-inline-end:calc(var(--t-right) + var(--t-side)) solid transparent;border-radius:inherit;padding:inherit}[_nghost-%COMP%] [tuiTextfield]{pointer-events:auto;background:transparent no-repeat center right 1rem / 2rem;background-clip:border-box,padding-box}[_nghost-%COMP%] [tuiTextfield]:read-only~.t-filler{display:none}[_nghost-%COMP%] [tuiTextfield]:disabled~label, [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%] [tuiTextfield]:disabled~label [tuiTooltip], [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content [tuiTooltip]{display:none}[_nghost-%COMP%] [tuiTextfield]:not(._empty)~label{font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled)[data-mode=invalid]~label, [_nghost-%COMP%] [tuiTextfield]:not(._empty):invalid:not(:disabled):not([data-mode])~label{color:var(--tui-status-negative)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled):not([data-mode=readonly])~.t-content .t-clear{display:flex}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] label{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:block;flex:1;font-size:inherit}[_nghost-%COMP%] label, [_nghost-%COMP%] input::placeholder, [_nghost-%COMP%] select._empty{color:var(--tui-text-secondary)}[_nghost-%COMP%] select:not([data-mode=readonly]){cursor:pointer}@supports (-webkit-touch-callout: none){[_nghost-%COMP%] [tuiTextfield]:active{font-size:1rem}[_nghost-%COMP%] [tuiTextfield]._ios-fix{position:fixed;left:1000rem}}.t-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;margin-inline-start:auto}.t-clear[_ngcontent-%COMP%]{display:none;pointer-events:auto}.t-filler[_ngcontent-%COMP%]{pointer-events:none;background:none;color:var(--tui-text-tertiary);opacity:1}"],changeDetection:0}),e})(),T=(()=>{var t;class e{constructor(){this.appearance=(0,r.f3M)(c.Nm),this.options=(0,r.f3M)(b),this.textfield=(0,r.f3M)(E),this.id=(0,r.f3M)(a.ll).generate(),this.el=(0,l.AG)(),this.readOnly=!1,this.invalid=null,this.focused=null,this.state=null}get mode(){return this.readOnly?"readonly":!1===this.invalid?"valid":this.invalid?"invalid":null}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance,this.appearance.tuiAppearanceFocus=this.focused??this.textfield.focused,this.appearance.tuiAppearanceState=this.state}setValue(t){this.el.value=t,this.el.dispatchEvent(new Event("input"))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["input","tuiTextfield",""]],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("input",(function(){return 0}))("focusin",(function(){return 0}))("focusout",(function(){return 0})),2&t&&(r.Ikx("id",e.el.id||e.id)("readOnly",e.readOnly),r.uIk("data-mode",e.mode),r.ekj("_empty",""===e.el.value))},inputs:{readOnly:"readOnly",invalid:"invalid",focused:"focused",state:"state"},standalone:!0,features:[r.zW0([w.k,c.Nm])]}),e})();f.T},93714:(t,e,n)=>{n.d(e,{N:()=>o});var i=n(20755),r=n(99488);let o=(()=>{var t;class e{constructor(){this.tuiAppearance=(0,i.f3M)(r.WR).appearance,this.tuiAppearanceState=null,this.tuiAppearanceFocus=null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAppearance",""]],hostAttrs:["tuiAppearance",""],hostVars:3,hostBindings:function(t,e){2&t&&i.uIk("data-appearance",e.tuiAppearance)("data-state",e.tuiAppearanceState)("data-focus",e.tuiAppearanceFocus)},inputs:{tuiAppearance:"tuiAppearance",tuiAppearanceState:"tuiAppearanceState",tuiAppearanceFocus:"tuiAppearanceFocus"},standalone:!0}),e})()},99488:(t,e,n)=>{n.d(e,{WR:()=>r,mS:()=>o});var i=n(73740);const r=(0,i.JN)({appearance:""});function o(t){return(0,i.Q2)(r,t)}},10426:(t,e,n)=>{n.d(e,{Nm:()=>i.N,mS:()=>r.mS});var i=n(93714),r=n(99488)},1:(t,e,n)=>{n.d(e,{B:()=>x});var i,r=n(84911),o=n(20755),s=n(62022),a=n(95079),l=n(42833),c=n(65026),u=n(55181),h=n(52674),d=n(52540),p=n(16931),f=n(25797),g=n(45047),m=n(55333),v=n(10409),y=n(92425),b=n(10938),_=n(72526);const w=["tuiDropdownHost"];class x{constructor(){this.directive=(0,o.f3M)(b.t,{optional:!0}),this.el=(0,u.AG)(),this.obscured=(0,o.f3M)(l.Q),this.sub=(0,g.T)(this.obscured.tuiObscured.pipe((0,m.h)(Boolean)),(0,o.f3M)(a.d).tuiActiveZoneChange.pipe((0,m.h)((t=>!t))),(0,v.R)(this.el,"focusin").pipe((0,y.U)(u.mA),(0,m.h)((t=>!this.host.contains(t)||!this.directive?.dropdownBoxRef)))).pipe((0,c.NA)((0,o.f3M)(o.sBO)),(0,s.sL)()).subscribe((()=>this.toggle(!1))),this.tuiDropdownEnabled=!0,this.tuiDropdownOpen=!1,this.tuiDropdownOpenChange=new o.vpe,this.driver=(0,o.f3M)(_.v)}get dropdown(){return this.directive?.dropdownBoxRef?.location.nativeElement}get focused(){return(0,h.zb)(this.host)||(0,h.zb)(this.dropdown)}ngOnChanges(){this.drive()}toggle(t){this.focused&&!t&&this.host.focus({preventScroll:!0}),this.update(t)}onClick(t){!this.editable&&this.host.contains(t)&&this.update(!this.tuiDropdownOpen)}onArrow(t,e){(0,u.ve)(t.target)&&this.host.contains(t.target)&&(t.preventDefault(),this.focusDropdown(e))}onEsc(t){t.preventDefault(),this.toggle(!1)}onKeydown({key:t,target:e,defaultPrevented:n}){!n&&(0,p.kL)(t)&&this.editable&&this.focused&&(0,u.dW)(e)&&(!(0,u.Hn)(e)||e===this.host)&&(this.update(!0),this.host.focus({preventScroll:!0}))}get host(){const t=this.dropdownHost?.nativeElement||this.el,e=(0,h.dT)(t)?t:(0,h.BW)({initial:t,root:this.el});return this.dropdownHost?.nativeElement||e||this.el}get editable(){return(0,u.Hn)(this.host)}update(t){t&&!this.tuiDropdownEnabled||(this.tuiDropdownOpen=t,this.tuiDropdownOpenChange.emit(t),this.drive())}drive(t=this.tuiDropdownOpen&&this.tuiDropdownEnabled){this.obscured.tuiObscuredEnabled=!!t,this.driver.next(!!t)}focusDropdown(t){if(!this.dropdown)return void this.update(!0);const e=this.el.ownerDocument,n=this.dropdown.appendChild(e.createElement("div")),i=t?n:this.dropdown,r=(0,h.BW)({initial:i,previous:t,root:this.dropdown});n.remove(),r?.focus()}}(i=x).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,w,5,o.SBq),2&t){let t;o.iGM(t=o.CRH())&&(e.dropdownHost=t.first)}},hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}))("keydown.arrowDown",(function(t){return e.onArrow(t,!1)}))("keydown.arrowUp",(function(t){return e.onArrow(t,!0)}))("keydown.silent.capture",(function(t){return e.onEsc(t)}),!1,o.evT)("keydown.silent",(function(t){return e.onKeydown(t)}),!1,o.evT)},inputs:{tuiDropdownEnabled:"tuiDropdownEnabled",tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"},standalone:!0,features:[o._Bn([_.v,(0,d.UK)(_.v)]),o.TTD,o.zW0([l.Q,{directive:a.d,inputs:["tuiActiveZoneParent","tuiActiveZoneParent"],outputs:["tuiActiveZoneChange","tuiActiveZoneChange"]}])]}),(0,r.gn)([(0,f.uX)((function(t){return"key"in t&&"escape"===t.key.toLowerCase()&&this.tuiDropdownEnabled&&!!this.tuiDropdownOpen&&!this.dropdown?.nextElementSibling}))],x.prototype,"onEsc",null)},60598:(t,e,n)=>{n.d(e,{Ek:()=>c,fx:()=>l,vY:()=>a});var i=n(20755),r=n(73740),o=n(82510);const s={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},a=(0,r.JN)(s),l=t=>({provide:a,deps:[[new i.FiY,c],[new i.FiY,new i.tp0,a]],useFactory:(0,o.lp)(t,s)});let c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(a,{skipSelf:!0}),this.align=this.options.align,this.appearance=this.options.appearance,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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},standalone:!0,features:[i._Bn([(0,r.Q2)(a,t)])]}),e})()},92013:(t,e,n)=>{n.d(e,{B:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(10938),l=n(60598);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.options=(0,i.f3M)(l.vY),this.viewport=(0,i.f3M)(s.EO),this.type="dropdown",this.accessor=(0,o.Zy)("dropdown")((0,i.f3M)(o.O4),(0,i.f3M)(a.t))}getPosition({width:t,height:e}){t||e||(this.previous=void 0);const n=this.accessor?.getClientRect()??r.Jy,i=this.viewport.getClientRect(),{minHeight:o,align:s,direction:a,offset:l,limitWidth:c}=this.options,u={top:i.top-l,bottom:i.bottom+l,right:i.right-l,left:i.left+l},h=this.previous||a||"bottom",d={top:n.top-2*l-u.top,bottom:u.bottom-n.bottom-2*l},p="fixed"===c?n.width:t,f=Math.max(n.right-p,l),g=n.left+td.bottom?"top":"bottom";return d[h]>o&&a||d[h]>e?[m[h],m[s]]:(this.previous=v,[m[v],m[s]])}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownPosition",""]],standalone:!0,features:[i.qOj]}),e})()},83033:(t,e,n)=>{n.d(e,{n:()=>C});var i=n(20755),r=n(62022),o=n(42772),s=n(55181),a=n(73740),l=n(34138),c=n(52540),u=n(88543),h=n(94457),d=n(41589),p=n(82510),f=n(25690),g=n(92425),m=n(10938),v=n(79405),y=n(60598),b=n(92013),_=n(95079);function w(t,e){if(1&t&&(i.TgZ(0,"div",2),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const x=function(t){return{$implicit:t}};let C=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.accessor=(0,i.f3M)(c.O4),this.win=(0,i.f3M)(o.m9),this.vvs=(0,i.f3M)(h.Lp),this.animation=(0,p.qS)((0,i.f3M)(d.ZW)),this.options=(0,i.f3M)(y.vY),this.directive=(0,i.f3M)(m.t),this.context=(0,i.f3M)(v.V,{optional:!0}),this.theme=this.directive.el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.sub=(0,i.f3M)(h.KG).pipe((0,g.U)((t=>"fixed"===this.directive.position?this.vvs.correct(t):t)),(0,r.sL)()).subscribe((([t,e])=>{this.directive.el.isConnected?this.update(t,e):this.close()})),this.close=()=>this.directive.toggle(!1)}ngOnInit(){this.updateWidth(this.accessor.getClientRect().width)}update(t,e){const{style:n}=this.el,{right:i}=this.el.getBoundingClientRect(),{maxHeight:r,minHeight:o,offset:s}=this.options,{innerHeight:l}=this.win,c=this.el.offsetParent?.getBoundingClientRect(),{position:u}=this.directive,h=this.accessor.getClientRect(),d="fixed"===u?0:-(c?.left||0),p="fixed"===u?0:-(c?.top||0);t+=p;const f=(e+=d)h.left&&t=h.right;n.position=u,n.top=(0,a.O9)(Math.max(t,p+s)),n.left=(0,a.O9)(e),n.maxHeight=g?`${r}px`:(0,a.O9)(Math.min(r,Math.max(f,o))),n.width="",n.minWidth="",this.updateWidth(h.width)}updateWidth(t){const{style:e}=this.el;switch(this.options.limitWidth){case"min":e.minWidth=(0,a.O9)(t);break;case"fixed":e.width=(0,a.O9)(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-dropdown"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.options.appearance)("tuiTheme",e.theme),i.d8E("@tuiDropdownAnimation",e.animation))},standalone:!0,features:[i._Bn([h.KG,(0,c.ei)("dropdown",b.B),(0,c.Wk)("dropdown",m.t)]),i.jDz,i.zW0([_.d])],decls:2,vars:4,consts:[[1,"t-scroll"],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-scrollbar",0),i.YNc(1,w,2,1,"div",1),i.qZA()),2&t&&(i.xp6(1),i.Q6J("polymorpheusOutlet",e.directive.content)("polymorpheusOutletContext",i.VKq(2,x,e.close)))},dependencies:[f.s$,u.D1],styles:["[_nghost-%COMP%]{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);background:var(--tui-background-elevation-2);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}.ng-animating[_nghost-%COMP%]{pointer-events:none}[_nghost-%COMP%]:not([style*=top]){visibility:hidden}.t-scroll[_ngcontent-%COMP%]{flex-grow:1;max-width:100%;overscroll-behavior:none}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],data:{animation:[l.i9]}}),e})()},10938:(t,e,n)=>{n.d(e,{t:()=>y});var i,r=n(84911),o=n(20755),s=n(62022),a=n(55181),l=n(73740),c=n(52540),u=n(82510),h=n(25690),d=n(78748),p=n(38356),f=n(79405),g=n(5648),m=n(72526),v=n(92013);class y{constructor(){this.refresh$=new d.x,this.service=(0,o.f3M)(g.U),this.cdr=(0,o.f3M)(o.sBO),this.sub=this.refresh$.pipe((0,p.p)(0),(0,s.sL)()).subscribe((()=>{this.dropdownBoxRef?.changeDetectorRef.detectChanges(),this.dropdownBoxRef?.changeDetectorRef.markForCheck()})),this.el=(0,a.AG)(),this.type="dropdown",this.component=new h.Al((0,o.f3M)(f.W),(0,o.f3M)(o.gxx)),this.dropdownBoxRef=null}set tuiDropdown(t){this.content=t instanceof o.Rgc?new h.GL(t,this.cdr):t}get position(){return(0,u.qK)(this.el)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){if(t&&this.content&&!this.dropdownBoxRef)this.dropdownBoxRef=this.service.add(this.component);else if(!t&&this.dropdownBoxRef){const{dropdownBoxRef:t}=this;this.dropdownBoxRef=null,this.service.remove(t)}}}(i=y).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdown","",5,"ng-container",5,"ng-template"]],inputs:{tuiDropdown:"tuiDropdown"},exportAs:["tuiDropdown"],standalone:!0,features:[o._Bn([(0,c.Ic)(i),(0,c.Fe)(i)]),o.TTD,o.zW0([m.V,v.B])]}),(0,r.gn)([l.UM],y.prototype,"position",null)},72526:(t,e,n)=>{n.d(e,{V:()=>a,v:()=>s});var i=n(52540),r=n(78748),o=n(20755);let s=(()=>{var t;class e extends r.x{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),a=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiDropdownDriver",""]],standalone:!0,features:[o.qOj]}),e})()},79405:(t,e,n)=>{n.d(e,{V:()=>a,W:()=>s});var i=n(20755),r=n(73740),o=n(83033);const s=(0,r.N1)((()=>o.n)),a=new i.OlP("")},5648:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(94267),r=n(20755);let o=(()=>{var t;class e extends i.Bb{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},71938:(t,e,n)=>{n.d(e,{WH:()=>_.W,td:()=>o.t,Bb:()=>g.B,Ek:()=>m.Ek,$Q:()=>y,UA:()=>v.U,JY:()=>C,fx:()=>m.fx});var i,r=n(83033),o=n(10938),s=n(72526),a=n(84911),l=n(20755),c=n(11892),u=n(95079),h=n(55181),d=n(52540),p=n(25797);class f extends d.O4{constructor(){super(...arguments),this.driver=(0,l.f3M)(s.v),this.currentRect=c.Jy,this.activeZone=(0,l.f3M)(u.d),this.type="dropdown"}getClientRect(){return this.currentRect}onContextMenu(t,e){this.currentRect=(0,h.dD)(t,e),this.driver.next(!0)}closeDropdown(){this.driver.next(!1)}}(i=f).ɵfac=function(){let t;return function(e){return(t||(t=l.n5z(i)))(e||i)}}(),i.ɵdir=l.lG2({type:i,selectors:[["","tuiDropdownContext",""]],hostBindings:function(t,e){1&t&&l.NdJ("contextmenu.prevent.stop",(function(t){return e.onContextMenu(t.clientX,t.clientY)}))("click.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("contextmenu.capture.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("keydown.esc",(function(t){return e.closeDropdown(t.currentTarget)}),!1,l.evT)},standalone:!0,features:[l._Bn([u.d,s.v,(0,d.UK)(s.v),(0,d.Ic)(i)]),l.qOj]}),(0,a.gn)([(0,p.uX)((function(t){return!this.activeZone.contains(t)}))],f.prototype,"closeDropdown",null),n(76733),n(65026),n(45047),n(92425),n(18004),n(84787),n(71209),n(69286),n(31570),n(88557),(0,n(73740).JN)({showDelay:200,hideDelay:500});var g=n(1),m=n(60598),v=n(5648);let y=(()=>{var t;class e{constructor(){this.template=(0,l.f3M)(l.Rgc),this.service=(0,l.f3M)(v.U)}set tuiDropdown(t){this.viewRef?.destroy(),t&&(this.viewRef=this.service.addTemplate(this.template))}ngOnDestroy(){this.viewRef?.destroy()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["ng-template","tuiDropdown",""]],inputs:{tuiDropdown:"tuiDropdown"},standalone:!0}),e})();var b=n(92013);n(41589),n(86253),n(52674),n(82510),n(56424),n(38442),m.Ek,s.V,o.t,r.n,g.B,b.B;var _=n(79405),w=n(94267);const x=["*"];let C=(()=>{var t;class e extends w.oL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=l.n5z(t)))(n||t)}}(),t.ɵcmp=l.Xpm({type:t,selectors:[["tui-dropdowns"]],standalone:!0,features:[l._Bn([(0,w.ze)(v.U)]),l.qOj,l.jDz],ngContentSelectors:x,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(l.F$t(),l.Hsn(0),l.GkF(1,null,0))},styles:["[_nghost-%COMP%]{display:block;height:100%;isolation:isolate}"],changeDetection:0}),e})()},7183:(t,e,n)=>{n.d(e,{e:()=>C});var i,r=n(84911),o=n(76733),s=n(20755),a=n(65026),l=n(55181),c=n(52674),u=n(73740),h=n(52540),d=n(56424),p=n(18004),f=n(10409),g=n(84787),m=n(71209),v=n(45047),y=n(92425),b=n(24249),_=n(1925),w=n(73843),x=n(14776);class C extends h.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.doc=(0,s.f3M)(o.K0),this.el=(0,l.AG)(),this.id$=new d.X(""),this.stream$=this.id$.pipe((0,p.x)(),(0,a.Xd)((()=>(0,f.R)(this.doc,"keydown",{capture:!0})),u.Pc),(0,g.w)((()=>this.focused?(0,m.of)(!1):(0,v.T)((0,a.mL)(this.doc,"keyup"),(0,a.mL)(this.element,"blur")).pipe((0,y.U)((()=>this.focused))))),(0,b.D)((t=>t?(0,_.H)(1e3):(0,m.of)(null))),(0,w.O)(!1),(0,p.x)(),(0,x.T)(1),(0,a.Yr)((0,s.f3M)(s.R0b))),this.type="hint"}set tuiHintDescribe(t){this.id$.next(t||"")}get element(){return this.doc.getElementById(this.id$.value||"")||this.el}get focused(){return(0,c.V8)(this.element)}}(i=C).ɵfac=function(t){return new(t||i)},i.ɵdir=s.lG2({type:i,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},standalone:!0,features:[s._Bn([(0,h.UK)(i)]),s.qOj]}),(0,r.gn)([u.UM],C.prototype,"element",null)},82897:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(52540),r=n(20755);let o=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="hint"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["never","tuiHint",""]],standalone:!0,features:[r.qOj]}),e})()},48272:(t,e,n)=>{n.d(e,{H:()=>b});var i=n(20755),r=n(7479),o=n(55181),s=n(52540),a=n(82510),l=n(78748),c=n(45047),u=n(84787),h=n(71209),d=n(69286),p=n(81749),f=n(74842),g=n(55333),m=n(92425),v=n(31570),y=n(40294);let b=(()=>{var t;class e extends s.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hovered$=(0,i.f3M)(r.gs),this.options=(0,i.f3M)(y.H3),this.visible=!1,this.toggle$=new l.x,this.stream$=(0,c.T)(this.toggle$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?0:this.tuiHintHideDelay)))),(0,p.R)(this.hovered$),(0,f.r)()),this.hovered$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?this.tuiHintShowDelay:this.tuiHintHideDelay)))),(0,p.R)(this.toggle$),(0,f.r)())).pipe((0,g.h)((()=>this.enabled)),(0,m.U)((t=>t&&(this.el.hasAttribute("tuiHintPointer")||!(0,a.mn)(this.el)))),(0,v.b)((t=>{this.visible=t}))),this.parent=(0,i.f3M)(e,{optional:!0,skipSelf:!0}),this.tuiHintShowDelay=this.options.showDelay,this.tuiHintHideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0,this.el=(0,o.AG)()}toggle(t=!this.visible){this.toggle$.next(t),this.parent?.toggle(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiHint",""]],inputs:{tuiHintShowDelay:"tuiHintShowDelay",tuiHintHideDelay:"tuiHintHideDelay"},exportAs:["tuiHintHover"],standalone:!0,features:[i._Bn([(0,s.UK)(t),r.gs]),i.qOj]}),e})()},40294:(t,e,n)=>{n.d(e,{Fw:()=>s,H3:()=>a,bZ:()=>l});var i=n(20755),r=n(94267),o=n(73740);n(82510);const s=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"],a=(0,o.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"@tui.circle-help"});let l=(()=>{var t;class e extends r.QJ{constructor(){super(...arguments),this.options=(0,i.f3M)(a,{skipSelf:!0}),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=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},standalone:!0,features:[i._Bn([(0,o.Q2)(a,t)]),i.qOj]}),e})()},12632:(t,e,n)=>{n.d(e,{y:()=>l});var i=n(11892),r=n(55181),o=n(52540),s=n(48272),a=n(20755);let l=(()=>{var t;class e extends s.H{constructor(){super(...arguments),this.currentRect=i.Jy}getClientRect(){return this.currentRect}onMove({clientX:t,clientY:e}){this.currentRect=(0,r.dD)(t,e)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.ɵdir=a.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&a.NdJ("mousemove.silent",(function(t){return e.onMove(t)}))},standalone:!0,features:[a._Bn([(0,o.Ic)(t),(0,o.UK)(t)]),a.qOj]}),e})()},52065:(t,e,n)=>{n.d(e,{Z:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(25932),l=n(40294);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.viewport=(0,i.f3M)(s.EO),this.accessor=(0,o.Zy)("hint")((0,i.f3M)(o.O4),(0,i.f3M)(a.D)),this.points=l.Fw.reduce(((t,e)=>({...t,[e]:[0,0]})),{}),this.direction=(0,i.f3M)(l.H3).direction,this.type="hint"}getPosition({width:t,height:e}){const n=this.accessor.getClientRect()??r.Jy,i=n.left+n.width/2,o=n.top+n.height/2;if(this.points["top-left"][0]=n.top-e-8,this.points["top-left"][1]=i-t+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=i-t/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=i-22,this.points["bottom-left"][0]=n.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]=o-e+22,this.points["left-top"][1]=n.left-t-8,this.points.left[0]=o-e/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=o-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]=n.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 s=l.Fw.find((n=>this.checkPosition(this.points[n],t,e)));return this.points[s||this.fallback]}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([t,e],n,i){const r=this.viewport.getClientRect();return t>2&&e>2&&t+i{n.d(e,{j:()=>O});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11892),l=n(7479),c=n(55181),u=n(58373),h=n(73740),d=n(34138),p=n(52540),f=n(94457),g=n(41589),m=n(82510),v=n(25690),y=n(92425),b=n(25932),_=n(48272),w=n(12632),x=n(52065);function C(t,e){if(1&t&&o._UZ(0,"span",1),2&t){const t=e.polymorpheusOutlet;o.Q6J("innerHTML",t,o.oJD)}}const k=[f.KG,l.gs,(0,p.ei)("hint",x.Z),(0,p.Wk)("hint",b.D)];class O{constructor(){this.polymorpheus=(0,o.f3M)(v.yf),this.el=(0,c.AG)(),this.hover=(0,o.f3M)(_.H),this.vvs=(0,o.f3M)(f.Lp),this.viewport=(0,o.f3M)(g.EO),this.appearance=this.polymorpheus.$implicit.appearance||(0,o.f3M)(b.D).el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.options=(0,m.qS)((0,o.f3M)(g.ZW)),this.pointer=(0,o.f3M)(w.y,{optional:!0}),this.accessor=(0,o.f3M)(p.O4),(0,o.f3M)(f.KG).pipe((0,y.U)((t=>this.vvs.correct(t))),(0,s.sL)()).subscribe((([t,e])=>{this.update(t,e)})),(0,o.f3M)(l.gs).pipe((0,s.sL)()).subscribe((t=>this.hover.toggle(t)))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(t){(!t.closest("tui-hint")&&!this.hover.el.contains(t)||(0,m.mn)(this.hover.el))&&this.hover.toggle(!1)}update(t,e){if(!this.hover.el.isConnected)return void this.hover.toggle(!1);const{height:n,width:i}=this.el.getBoundingClientRect(),r=this.accessor.getClientRect(),o=this.viewport.getClientRect();if(r===a.Jy)return;const s=(0,u.K)(e,4,o.width-i-4),[l,c]=this.vvs.correct([r.top+r.height/2-t,r.left+r.width/2-s]);this.el.style.top=(0,h.O9)(t),this.el.style.left=(0,h.O9)(s),this.el.style.setProperty("--top",(0,h.O9)((0,u.K)(l,.5,n-1))),this.el.style.setProperty("--left",(0,h.O9)((0,u.K)(c,.5,i-1)))}}(i=O).ɵfac=function(t){return new(t||i)},i.ɵcmp=o.Xpm({type:i,selectors:[["tui-hint"]],hostVars:5,hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}),!1,o.evT),2&t&&(o.uIk("data-appearance",e.appearance)("tuiTheme",e.appearance),o.d8E("@tuiFadeIn",e.options),o.ekj("_untouchable",e.pointer))},standalone:!0,features:[o._Bn(k),o.jDz],ngContentSelectors:["*"],decls:2,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o.YNc(1,C,1,1,"span",0)),2&t&&(o.xp6(1),o.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context))},dependencies:[v.s$],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-background-accent-1);border-radius:var(--tui-radius-l);color:var(--tui-text-primary-on-accent-1);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word;line-height:1.25rem}[_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-status-negative)}[data-appearance=dark][_nghost-%COMP%]{background:var(--tui-background-accent-opposite-hover);color:var(--tui-background-base);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:[d.QF]},changeDetection:0}),(0,r.gn)([h.UM],O.prototype,"update",null)},25932:(t,e,n)=>{n.d(e,{D:()=>f});var i=n(20755),r=n(95079),o=n(55181),s=n(52540),a=n(25690),l=n(65051),c=n(89440),u=n(40294),h=n(82897),d=n(48272),p=n(52065);let f=(()=>{var t;class e{constructor(){this.service=(0,i.f3M)(c.B),this.appearance=(0,i.f3M)(u.H3).appearance,this.component=(0,i.f3M)(a.Al),this.el=(0,o.AG)(),this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.type="hint"}set tuiHint(t){this.content=t,t||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){t&&this.content?this.service.add(this):this.service.remove(this)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{context:["tuiHintContext","context"],appearance:["tuiHintAppearance","appearance"],tuiHint:"tuiHint"},standalone:!0,features:[i._Bn([(0,s.Ic)(t),(0,s.Fe)(t),{provide:a.Al,deps:[l.y,i.gxx],useClass:a.Al}]),i.zW0([h.c,{directive:d.H,inputs:["tuiHintHideDelay","tuiHintHideDelay","tuiHintShowDelay","tuiHintShowDelay"]},{directive:p.Z,inputs:["tuiHintDirection","tuiHintDirection"]}])]}),e})()},65051:(t,e,n)=>{n.d(e,{y:()=>o});var i=n(73740),r=n(15433);const o=(0,i.N1)((()=>r.j))},89440:(t,e,n)=>{n.d(e,{B:()=>o});var i=n(56424),r=n(20755);let o=(()=>{var t;class e extends i.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=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},75430:(t,e,n)=>{n.d(e,{eW:()=>o.e,D:()=>r.D,Hr:()=>c.H,UI:()=>h,bZ:()=>d.bZ,Z0:()=>k});var i=n(15433),r=n(25932),o=n(7183),s=n(82897),a=(n(11892),n(52540)),l=n(20755),c=n(48272),u=n(56424);let h=(()=>{var t;class e extends a.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hover=(0,l.f3M)(c.H),this.stream$=new u.X(!1),this.tuiHintManual=!1,this.type="hint",this.hover.enabled=!1}ngOnChanges(){this.stream$.next(this.tuiHintManual)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiHint","","tuiHintManual",""]],inputs:{tuiHintManual:"tuiHintManual"},standalone:!0,features:[l._Bn([(0,a.UK)(t)]),l.qOj,l.TTD]}),e})();var d=n(40294),p=n(12632),f=n(52065),g=n(34138),m=n(25690);i.j,r.D,d.bZ,s.c,f.Z,c.H,o.e,p.y,n(65051);var v=n(76733),y=n(62022),b=n(95079),_=n(89440);function w(t,e){1&t&&l.GkF(0)}const x=function(t){return{$implicit:t}};function C(t,e){if(1&t&&(l.TgZ(0,"div",1),l.YNc(1,w,1,0,"ng-container",2),l.qZA()),2&t){const t=e.$implicit;l.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",t.activeZone||null),l.xp6(1),l.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",l.VKq(4,x,t))}}let k=(()=>{var t;class e{constructor(){this.hints$=(0,l.f3M)(_.B),this.destroyRef=(0,l.f3M)(l.ktI),this.cdr=(0,l.f3M)(l.sBO),this.hints=[]}ngOnInit(){this.hints$.pipe((0,y.sL)(this.destroyRef)).subscribe((t=>{this.hints=t,this.cdr.detectChanges()}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["tui-hints"]],hostAttrs:["aria-live","polite"],standalone:!0,features:[l.jDz],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&l.YNc(0,C,2,6,"div",0),2&t&&l.Q6J("ngForOf",e.hints)},dependencies:[v.sg,b.d,m.s$],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;height:0}"],data:{animation:[g.B_]}}),e})()},98549:(t,e,n)=>{n.d(e,{p:()=>a});var i=n(20755),r=n(73740),o=n(41589);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-icons"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiIcons]:before,[tuiIcons]:after{font-size:1.5rem}[tuiIcons]._icon-left:before,[tuiIcons]._icon-right:after{content:"";width:1em;height:1em;flex-shrink:0;background:currentColor;-webkit-mask:var(--t-mask-left) no-repeat center / contain;mask:var(--t-mask-left) no-repeat center / contain}[tuiIcons]._icon-right:after{-webkit-mask:var(--t-mask-right) no-repeat center / contain;mask:var(--t-mask-right) no-repeat center / contain}\n'],encapsulation:2,changeDetection:0}),e})(),a=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(s),this.resolver=(0,o.Ps)(),this.iconLeft=(0,i.f3M)(o.SX),this.iconRight=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiIcons",""]],hostAttrs:["tuiIcons",""],hostVars:8,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask-left","url("+e.resolver(e.iconLeft)+")")("--t-mask-right","url("+e.resolver(e.iconRight)+")"),i.ekj("_icon-left",e.iconLeft)("_icon-right",e.iconRight))},inputs:{iconLeft:"iconLeft",iconRight:"iconRight"},standalone:!0}),e})()},42690:(t,e,n)=>{n.d(e,{Nm:()=>i.Nm,td:()=>r.td,Bb:()=>r.Bb,Ek:()=>r.Ek,UA:()=>r.UA,JY:()=>r.JY,eW:()=>o.eW,D:()=>o.D,fx:()=>r.fx});var i=n(10426);n(73740),n(41589);var r=n(71938),o=n(75430);n(98549),n(66858),n(65026),n(86253),n(2239)},66858:(t,e,n)=>{n.d(e,{E:()=>u});var i=n(20755),r=n(73740),o=n(41589),s=n(48132),a=n(38442),l=n(92425),c=n(35484);let u=(()=>{var t;class e extends s.y{constructor(){super((t=>(0,a.a)([this.parent,this.settings]).pipe((0,l.U)((([t,e])=>({...t,...e})))).subscribe(t))),this.settings=new c.t(1),this.parent=(0,i.f3M)(o.HO,{skipSelf:!0})}set tuiNumberFormat(t){this.settings.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNumberFormat",""]],inputs:{tuiNumberFormat:"tuiNumberFormat"},standalone:!0,features:[i._Bn([(0,r.Q2)(o.HO,t)]),i.qOj]}),e})()},68704:(t,e,n)=>{n.d(e,{GcO:()=>f.Gc,iSh:()=>p.iS,NmR:()=>A.Nm,xGO:()=>o.xG,qiE:()=>s.qi,ROA:()=>a.RO,kkl:()=>r.kk,tdC:()=>A.td,Bb2:()=>A.Bb,Ekv:()=>A.Ek,UAE:()=>A.UA,eRn:()=>_,hMP:()=>w.hM,eWJ:()=>A.eW,Dae:()=>A.D,RJr:()=>x.R,XCq:()=>P.XC,lI3:()=>C.lI,A61:()=>k.A6,tK9:()=>O.tK,c45:()=>s.c4,bHd:()=>s.bH,O4x:()=>r.O4,D1O:()=>M.D1,MBc:()=>S.MB,bfP:()=>S.bf,qmE:()=>S.qm,UKU:()=>r.UK,Ic9:()=>r.Ic,ckU:()=>p.ck,fxH:()=>A.fx,ic8:()=>f.ic,DII:()=>f.DI});var i=n(34138),r=n(52540),o=(n(75097),n(11679)),s=(n(31447),n(63098)),a=n(67587),l=n(76733),c=n(20755),u=n(94267),h=n(81929),d=n(73740),p=n(41589),f=n(82510),g=n(25690);function m(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}const v=function(){return{}};function y(t,e){if(1&t&&(c.TgZ(0,"div",2),c.YNc(1,m,2,1,"ng-container",3),c.qZA()),2&t){const t=c.oxw().tuiLet,e=c.oxw();c.Q6J("@tuiFadeIn",e.options)("@tuiHeightCollapse",e.options),c.xp6(1),c.Q6J("polymorpheusOutlet",e.error.message||t)("polymorpheusOutletContext",e.error.context||c.DdM(4,v))}}function b(t,e){if(1&t&&(c.ynx(0),c.YNc(1,y,2,5,"div",1),c.BQk()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",t.error&&t.visible)}}let _=(()=>{var t;class e{constructor(){this.options=(0,f.qS)((0,c.f3M)(p.ZW)),this.error=null,this.visible=!0,this.defaultErrorMessage$=(0,c.f3M)(p.PL)}set errorSetter(t){this.error=(0,d.Aj)(t)?new u.T8(t):t}onAnimation(t){this.visible=t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=c.Xpm({type:t,selectors:[["tui-error"]],hostBindings:function(t,e){1&t&&c.NdJ("animationcancel.self",(function(){return e.onAnimation(!1)}))("animationstart.self",(function(){return e.onAnimation(!0)}))},inputs:{errorSetter:["error","errorSetter"]},standalone:!0,features:[c.jDz],decls:2,vars:3,consts:[[4,"tuiLet"],["automation-id","tui-error__text","class","t-message-text",4,"ngIf"],["automation-id","tui-error__text",1,"t-message-text"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(c.YNc(0,b,2,1,"ng-container",0),c.ALo(1,"async")),2&t&&c.Q6J("tuiLet",c.lcZ(1,1,e.defaultErrorMessage$))},dependencies:[l.Ov,l.O5,g.s$,h.i],styles:["[_nghost-%COMP%]{display:block;font:var(--tui-font-text-s);color:var(--tui-status-negative);word-wrap:break-word;animation:tuiPresent 1s infinite}.t-message-text[_ngcontent-%COMP%]{margin-top:.25rem;white-space:pre-line}"],data:{animation:[i.eu,i.QF]},changeDetection:0}),e})();n(93745);var w=n(44501),x=n(9368),C=(n(57981),n(16100)),k=n(32097),O=n(94030),M=(n(38525),n(88543)),S=(n(82509),n(2239)),A=n(42690),P=n(88283);n(94457)},13027:(t,e,n)=>{n.d(e,{$:()=>o});var i=n(82510),r=n(20755);let o=(()=>{var t;class e{transform(t){return(0,i.sn)(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiAutoColor",type:t,pure:!0,standalone:!0}),e})()},18639:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.staticPath=(0,i.f3M)(r.AW)}transform(t){return t?`${this.staticPath}/icons/flags/${t}.svg`:null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiFlag",type:t,pure:!0,standalone:!0}),e})()},64128:(t,e,n)=>{n(94457)},88283:(t,e,n)=>{n.d(e,{hp:()=>a,XC:()=>l,$7:()=>c.$,q2:()=>d}),n(13027);var i=n(20755),r=n(28351),o=n(41589);n(23880);const s=({month:t,rowIndex:e,colIndex:n,firstDayOfWeek:i})=>{let o=e*r.NA+n-((t,e)=>{const n=new Date(t.year,t.month,1).getDay();return n>=e?n-e:r.NA-(e-n)})(t,i)+1;return o>t.daysCount&&(o-=t.daysCount,t=t.append({month:1})),o<=0&&(o=(t=t.append({month:-1})).daysCount+o),new r.TU(t.year,t.month,o)};let a=(()=>{var t;class e{constructor(){this.firstDayOfWeek=(0,i.f3M)(o.Sy),this.currentMonth=null,this.currentSheet=[]}transform(t,e=!1){if(this.currentMonth?.monthSame(t))return this.currentSheet;const n=[];for(let i=0;i<6;i++){const o=[];for(let n=0;ne.yeare.year>n.year||e.month>n.month;if(!a(r)||e){if(l(r)&&!e)break;o.push(r)}}n.push(o)}return this.currentSheet=n.filter((t=>t.length)),this.currentMonth=t,this.currentSheet}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiCalendarSheet",type:t,pure:!0,standalone:!0}),e})();n(55181),n(18639),n(64128),n(80567);let l=(()=>{var t;class e{transform(t){return t.toUpperCase().split(" ").map((([t])=>t)).join("").slice(0,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiInitials",type:t,pure:!0,standalone:!0}),e})();var c=n(15625),u=n(92425);function h(t){const e=t.length-1;return[t[e],...t.slice(0,e)]}let d=(()=>{var t;class e{constructor(){this.firstDayOfWeekIndex=(0,i.f3M)(o.Sy)}transform(t){return t.pipe((0,u.U)(h),(0,u.U)((t=>[...t.slice(this.firstDayOfWeekIndex),...t.slice(0,this.firstDayOfWeekIndex)])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiOrderWeekDays",type:t,pure:!0,standalone:!0}),e})()},15625:(t,e,n)=>{n.d(e,{$:()=>s});var i=n(20755),r=n(41589),o=n(92425);let s=(()=>{var t;class e{constructor(){this.months$=(0,i.f3M)(r.$R)}transform({month:t}){return this.months$.pipe((0,o.U)((e=>e[t])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMonth",type:t,pure:!0,standalone:!0}),e})()},94457:(t,e,n)=>{n.d(e,{zE:()=>h,KG:()=>v,Lp:()=>y});var i=n(20755),r=n(65026),o=n(86253),s=n(41589),a=n(48132),l=n(92425),c=n(18004),u=n(20530);let h=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.media=(0,i.f3M)(s.J_),this.sorted=Object.values(this.media).sort(((t,e)=>t-e)),this.invert=Object.keys(this.media).reduce(((t,e)=>({...t,[this.media[e]]:e})),{}),this.stream$=(0,i.f3M)(o.fM).pipe((0,l.U)((({width:t})=>this.sorted.find((e=>e>t)))),(0,l.U)((t=>this.invert[t||this.sorted[this.sorted.length-1]])),(0,c.x)(),(0,r.Yr)((0,i.f3M)(i.R0b)),(0,u.d)({bufferSize:1,refCount:!0}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var d=n(42772),p=n(11892),f=n(55181),g=n(52540),m=n(36293);let v=(()=>{var t;class e extends a.y{constructor(){const t=(0,i.f3M)(d.L1),e=(0,i.f3M)(i.R0b);super((n=>t.pipe((0,l.U)((()=>this.el.getBoundingClientRect())),(0,l.U)((t=>this.accessor.getPosition(t))),(0,r.fL)(e),(0,m.x)((()=>this.accessor.getPosition(p.Jy)))).subscribe(n))),this.el=(0,f.AG)(),this.accessor=(0,i.f3M)(g.uG)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),y=(()=>{var t;class e{constructor(){this.isWebkit=(0,i.f3M)(o.jF),this.win=(0,i.f3M)(d.m9)}correct(t){return this.isWebkit?[t[0]+(this.win.visualViewport?.offsetTop??0),t[1]+(this.win.visualViewport?.offsetLeft??0)]:t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},41589:(t,e,n)=>{n.d(e,{ZW:()=>a,AW:()=>l,U0:()=>y,Gs:()=>c,P_:()=>d,rJ:()=>p,ZD:()=>h,PL:()=>_,Jl:()=>A,Sy:()=>g,SX:()=>C,J_:()=>S,$R:()=>v,PH:()=>b,HO:()=>P,TK:()=>s,$_:()=>E,iS:()=>F,P:()=>x,oC:()=>L,U4:()=>w,r2:()=>R,EO:()=>j,ck:()=>H,Ps:()=>M});var i=n(20755),r=n(73740),o=n(76733);const s=(0,r.N1)((()=>(0,i.f3M)(o.K0).defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1)),a=(0,r.N1)((()=>(0,i.f3M)(s)?0:1)),l=(0,r.JN)("assets/taiga-ui"),c=(0,r.JN)({check:"@tui.check",close:"@tui.x",error:"@tui.circle-alert",more:"@tui.chevron-right"});var u=n(71209);const h={mode:"DMY",separator:"."},d=(0,r.JN)((0,u.of)(h)),p=(0,r.JN)((t=>t.isWeekend?"weekend":"weekday"));var f=n(28351);const g=(0,r.JN)(f.Lr.Monday);var m=n(49335);const v=(0,r.N1)((0,m.v)("months")),y=(0,r.N1)((0,m.v)("close")),b=(0,r.N1)((0,m.v)("nothingFoundMessage")),_=(0,r.N1)((0,m.v)("defaultErrorMessage")),w=(0,r.N1)((0,m.v)("spinTexts")),x=(0,r.N1)((0,m.v)("shortWeekDays")),C=(0,r.JN)(""),k=(0,r.JN)({}),O=(0,r.N1)((()=>{const t=(0,i.f3M)(l);return e=>!e||e.includes("/")?e:`${t}/icons/${e.replace("@tui.","").split(".").join("/")}.svg`}));function M(){const t=(0,i.f3M)(k),e=(0,i.f3M)(O);return n=>t[n]||e(n)}const S=(0,r.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),A={precision:NaN,decimalSeparator:",",thousandSeparator:n(11892).f$,rounding:"truncate",decimalMode:"pad"},P=(0,r.JN)((0,u.of)(A)),E=(0,r.N1)((()=>new i.SBq((0,i.f3M)(o.K0).documentElement)));var T=n(65026),I=n(45047),D=n(84787),z=n(81749),N=n(88557);const F=(0,r.N1)((()=>{const t=(0,i.f3M)(o.K0);return(0,I.T)((0,T.mL)(t,"selectionchange"),(0,T.mL)(t,"mouseup"),(0,T.mL)(t,"mousedown").pipe((0,D.w)((()=>(0,T.mL)(t,"mousemove").pipe((0,z.R)((0,T.mL)(t,"mouseup")))))),(0,T.mL)(t,"keydown"),(0,T.mL)(t,"keyup")).pipe((0,N.B)())})),L=(0,r.JN)({decrement:"@tui.chevron-left",increment:"@tui.chevron-right"}),R=(0,r.JN)("Taiga");var B=n(42772);const j=(0,r.N1)((()=>{const t=(0,i.f3M)(B.m9);return{type:"viewport",getClientRect(){const e={top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight,x:0,y:0};return{...e,toJSON:()=>JSON.stringify(e)}}}}));function H(t){return(0,r.Q2)(j,t)}},80567:(t,e,n)=>{n.d(e,{lx:()=>l,Lf:()=>a,sn:()=>c});var i=n(11892),r=n(72478),o=n(41589),s=n(73740);function a(t,e){const[,n=""]=function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+(e?.length||0);r=t.toFixed(o)}return r}(t).split(".");return(0,s.dt)(e)?n.slice(0,Math.max(0,e)):n}function l(t,e={}){const{precision:n,decimalSeparator:s,thousandSeparator:l,decimalMode:c,rounding:u}={...o.Jl,decimalMode:"always",precision:1/0,...e},h=Number.isFinite(n)?function({value:t,precision:e,method:n}){switch(n){case"round":return(0,r.FG)(t,e);case"ceil":return(0,r.Br)(t,e);case"floor":return(0,r.OT)(t,e);default:return(0,r.h4)(t,e)}}({value:t,precision:n,method:u}):t,d=String(Math.floor(Math.abs(h)));let p=a(h,n);const f=Number(p)>0;if(Number.isFinite(n))if("always"===c||f&&"pad"===c){const t=Math.max(n-p.length,0);p=`${p}${"0".repeat(t)}`}else p=p.replace(/0*$/,"");const g=d.length%3;let m=(t<0?i.fv:"")+d.charAt(0);for(let t=1;t3&&(m+=l),m+=d.charAt(t);return p?m+s+p:m}function c(t){if(""===t)return"";let e=0;for(let n=0;n{function i(t){return!!t&&(function(t){return"fixed"===t.ownerDocument.defaultView?.getComputedStyle(t).getPropertyValue("position")}(t)||i(t.parentElement))}function r({document:t,innerWidth:e}){return Math.max(t.documentElement.clientWidth||0,e||0)}n.d(e,{Gc:()=>l.Gc,qK:()=>i,cZ:()=>l.cZ,ic:()=>r,DI:()=>s,mn:()=>l.mn,lp:()=>l.lp,sn:()=>a.sn,qS:()=>l.qS});var o=n(11892);function s(t){const e=t.cloneRange(),{startContainer:n,startOffset:i,endContainer:r,endOffset:s}=e,{ownerDocument:a}=n;if(!a)return e;const l=a.createTreeWalker(a.body,NodeFilter.SHOW_TEXT,o.Lw);l.currentNode=n;do{const t=l.currentNode,r=t.textContent||"",s=t===n?r.slice(0,Math.max(0,i+1)):r,a=Math.max(s.lastIndexOf(" "),s.lastIndexOf(o.f$),s.lastIndexOf(o.tU))+1;if(e.setStart(t,0),a){e.setStart(t,a);break}}while(l.previousNode());l.currentNode=r;do{const t=l.currentNode,n=t.textContent||"",i=t===r?n.slice(s+1):n,a=[i.indexOf(" "),i.indexOf(o.f$),i.indexOf(o.tU)].reduce(((t,e)=>-1===t||-1===e?Math.max(t,e):Math.min(t,e)),-1);if(e.setEnd(t,n.length),-1!==a){e.setEnd(t,a+n.length-i.length);break}}while(l.nextNode());return e}var a=n(80567),l=n(16931)},16931:(t,e,n)=>{n.d(e,{Gc:()=>u,cZ:()=>d,kL:()=>r,mn:()=>s,lp:()=>a,R9:()=>c,qS:()=>h});const i=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"];function r(t=""){return 1===t.length||i.includes(t)}var o=n(55181);function s(t,e="tui-hints"){return!!(0,o.PU)(t)?.some((t=>!t.closest(e)))}function a(t,e){return(n,i)=>{const r=n||{...i||e};return Object.keys(t).forEach((e=>{r[e]=t[e]})),r}}const l={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function c(t,e="s"){return l[t]>l[e]}const u=300;function h(t){return{value:"",params:{duration:d(t)}}}function d(t){return t&&u/t}},62057:(t,e,n)=>{n.d(e,{V6:()=>r,ZI:()=>i});const i={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"St. Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Congo - Kinshasa",CF:"Central African Republic",CG:"Congo - Brazzaville",CH:"Switzerland",CI:"Côte d’Ivoire",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"St. Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"St. Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"St. Martin",MG:"Madagascar",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"São Tomé & Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks & Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Türkiye",TT:"Trinidad & Tobago",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"St. Vincent & Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",AC:"Ascension Island",AS:"American Samoa",AX:"Åland Islands",CC:"Cocos (Keeling) Islands",CK:"Cook Islands",CX:"Christmas Island",EH:"Western Sahara",FO:"Faroe Islands",GG:"Guernsey",GU:"Guam",IM:"Isle of Man",JE:"Jersey",IO:"British Indian Ocean Territory",KI:"Kiribati",MH:"Marshall Islands",MP:"Northern Mariana Islands",NF:"Norfolk Island",NR:"Nauru",NU:"Niue",PM:"Saint Pierre and Miquelon",PR:"Puerto Rico",PS:"Palestine",SJ:"Svalbard and Jan Mayen",SS:"South Sudan",TA:"Tristan da Cunha",TK:"Tokelau",TV:"Tuvalu",VA:"Holy See",VI:"Virgin Islands",WF:"Wallis and Futuna"},r={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,cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],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","KiB","MiB"],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 it here",defaultLabelMultiple:"or drop them here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is larger than ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},confirm:{yes:"Yes",no:"No"},previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"},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"}}},3667:(t,e,n)=>{n(79815)},79815:(t,e,n)=>{n.d(e,{Co:()=>a});var i=n(20755),r=n(62057),o=n(71209);const s=new i.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>r.V6}),a=new i.OlP("[TUI_LANGUAGE]",{factory:()=>(0,o.of)((0,i.f3M)(s))});new i.OlP("[TUI_LANGUAGE_LOADER]"),new i.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"})},49335:(t,e,n)=>{n.d(e,{v:()=>c});var i=n(20755),r=n(79815),o=n(84787),s=n(11070),a=n(71209),l=n(92425);function c(t){return()=>(0,i.f3M)(r.Co).pipe((0,o.w)((t=>(0,s.b)(t)?t:(0,a.of)(t))),(0,l.U)((e=>e[t])))}},24149:(t,e,n)=>{n.d(e,{tR:()=>E,z0:()=>P,Z0:()=>b});var i=n(20755),r=n(62022),o=n(11892),s=n(65026),a=n(73740),l=n(44501),c=n(74114),u=n(92425),h=n(55333),d=n(45047),p=n(84787),f=n(69401),g=n(76733),m=n(9368),v=n(95173),y=n(25690);let b=(()=>{var t;class e extends y.GL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiAccordionItemContent",""]],standalone:!0,features:[i.qOj]}),e})(),_=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]],standalone:!0}),e})();var w=n(93745);function x(t,e){if(1&t&&(i.ynx(0),i._UZ(1,"tui-icon",7),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("tuiChevron",t.open)}}function C(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 k(t,e){if(1&t&&(i.TgZ(0,"div",9),i.YNc(1,C,2,1,"ng-container",10),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("polymorpheusOutlet",t.lazyContent)}}function O(t,e){if(1&t&&i.YNc(0,k,2,1,"div",8),2&t){const t=i.oxw();i.Q6J("ngIf",t.lazyContent)}}function M(t,e){1&t&&(i.TgZ(0,"div",11),i.Hsn(1,1),i.qZA())}const S=["*",[["","tuiAccordionItemContent",""]]],A=["*","[tuiAccordionItemContent]"];let P=(()=>{var t;class e{constructor(){this.cdr=(0,i.f3M)(i.sBO),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 i.vpe}close(){this.updateOpen(!1),this.cdr.markForCheck()}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(t){this.open&&(t.stopPropagation(),this.updateOpen(!1))}updateOpen(t){this.open!==t&&(this.open=t,this.openChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-accordion-item"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,_,5),i.Suo(n,b,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.eagerContent=t.first),i.iGM(t=i.CRH())&&(e.lazyContent=t.first)}},hostVars:8,hostBindings:function(t,e){2&t&&(i.uIk("data-borders",e.borders)("data-size",e.size),i.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"},standalone:!0,features:[i.jDz],ngContentSelectors:A,decls:8,vars:9,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","click","keydown.esc"],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],[1,"t-icon",3,"tuiChevron"],["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&&(i.F$t(S),i.TgZ(0,"div",0)(1,"button",1),i.NdJ("click",(function(){return e.onRowToggle()}))("keydown.esc",(function(t){return e.onItemKeyDownEsc(t)})),i.TgZ(2,"span",2),i.Hsn(3),i.qZA(),i.YNc(4,x,2,1,"ng-container",3),i.qZA(),i.TgZ(5,"tui-expand",4),i.YNc(6,O,1,1,"ng-template",5),i.YNc(7,M,2,0,"div",6),i.qZA()()),2&t&&(i.xp6(1),i.ekj("t-header_hoverable",!e.disableHover)("t-header_open",e.open),i.Q6J("disabled",e.disabled),i.xp6(3),i.Q6J("ngIf",e.showArrow),i.xp6(1),i.Q6J("async",e.async)("expanded",e.open),i.xp6(2),i.Q6J("ngIf",e.eagerContent))},dependencies:[g.O5,y.s$,m.R,v.HT,w.SV,w.d0],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} tui-accordion{width:100%}.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-border-normal);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}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;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-border-normal);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-primary);cursor:pointer;text-align:left;outline:none}.t-header[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[tuiTheme="dark"][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1)}[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}.t-wrapper[_ngcontent-%COMP%]:hover > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-background-base-alt)}.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:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-left:auto;color:var(--tui-text-tertiary)}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-secondary)}.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}),e})(),E=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.accordionItems=o.Mm,this.closeOthers=!0}ngAfterContentInit(){const{accordionItems:t}=this,e=(0,s.ll)(t),n=e.pipe((0,c.G)(),(0,u.U)((([t,e])=>e.find((e=>!t.includes(e)&&e.open)))),(0,h.h)(a.Pc));(0,d.T)(e.pipe((0,p.w)((t=>(0,d.T)(...t.map((t=>t.openChange.pipe((0,h.h)(f.y),(0,u.U)((()=>t))))))))),n).pipe((0,h.h)((()=>this.closeOthers)),(0,r.sL)(this.destroyRef)).subscribe((e=>{t.forEach((t=>{e!==t&&t.close()}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,P,4),2&t){let t;i.iGM(t=i.CRH())&&(e.accordionItems=t)}},inputs:{closeOthers:"closeOthers"},standalone:!0,features:[i._Bn([(0,l.vJ)({orientation:"vertical",size:"l",collapsed:!0})]),i.zW0([{directive:l.hM,inputs:["rounded","rounded"]}])]}),e})()},75391:(t,e,n)=>{n.d(e,{nV:()=>m,ug:()=>u});var i=n(76733),r=n(20755),o=n(73740),s=n(9368),a=n(10426);const l={appearance:"",round:!0,size:"l"},c=(0,o.JN)(l);function u(t){return(0,o.vK)(c,t,l)}function h(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=r.oxw();r.Q6J("src",t.value,r.LSH)}}function d(t,e){if(1&t&&r._UZ(0,"tui-icon",6),2&t){const t=r.oxw();r.Q6J("icon",t.value.toString())}}function p(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.value)}}function f(t,e){1&t&&(r.ynx(0),r.Hsn(1),r.BQk())}const g=["*"];let m=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(c),this.size=this.options.size,this.round=this.options.round}get safeSrc(){return this.src?.toString()??""}get value(){return this.src||""}get svg(){return(0,o.Aj)(this.value)&&this.value.endsWith(".svg")}get type(){return this.value&&!(0,o.Aj)(this.value)?"img":this.value.startsWith("@tui.")?"icon":this.value.length>0&&this.value.length<3?"text":this.value.length?"img":"content"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-avatar"],["button","tuiAvatar",""],["a","tuiAvatar",""]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size)("data-type",e.type),r.ekj("_round",e.round)("_svg",e.svg))},inputs:{size:"size",round:"round",src:"src"},standalone:!0,features:[r._Bn([(0,a.mS)(c)]),r.jDz,r.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]}])],ngContentSelectors:g,decls:5,vars:4,consts:[[3,"ngSwitch"],["alt","","loading","lazy",3,"src",4,"ngSwitchCase"],[3,"icon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["alt","","loading","lazy",3,"src"],[3,"icon"]],template:function(t,e){1&t&&(r.F$t(),r.ynx(0,0),r.YNc(1,h,1,1,"img",1),r.YNc(2,d,1,1,"tui-icon",2),r.YNc(3,p,2,1,"ng-container",3),r.YNc(4,f,2,0,"ng-container",4),r.BQk()),2&t&&(r.Q6J("ngSwitch",e.type),r.xp6(1),r.Q6J("ngSwitchCase","img"),r.xp6(1),r.Q6J("ngSwitchCase","icon"),r.xp6(1),r.Q6J("ngSwitchCase","text"))},dependencies:[i.RF,i.n9,i.ED,s.R],styles:['[_nghost-%COMP%]{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}[data-size=xs][_nghost-%COMP%]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}[data-size=xs][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-size:.5625rem}[data-size=s][_nghost-%COMP%]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}[data-size=s][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-xs);font-weight:700}[data-size=m][_nghost-%COMP%]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}[data-size=m][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-weight:700}[data-size=l][_nghost-%COMP%]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}[data-size=l][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-l);font-weight:700}[data-size=xl][_nghost-%COMP%]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}[data-size=xl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-4)}[data-size=xxl][_nghost-%COMP%]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}[data-size=xxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-size=xxxl][_nghost-%COMP%]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}[data-size=xxxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-type=img][_nghost-%COMP%]:not(._svg){background:transparent}[data-type=icon][_nghost-%COMP%]:before{content:""}._round[_nghost-%COMP%]{--t-radius: calc(var(--t-size) / 2)}._svg[_nghost-%COMP%] img[_ngcontent-%COMP%]{padding:20%}[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60%;height:60%}[_nghost-%COMP%] img, [_nghost-%COMP%] picture, [_nghost-%COMP%] video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;box-sizing:border-box}'],changeDetection:0}),e})();var v,y=n(84911),b=n(95173);function _(t,e){if(1&t&&(r.TgZ(0,"span",2),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t," ")}}function w(t,e){if(1&t&&(r.ynx(0),r.YNc(1,_,2,1,"span",1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngForOf",t.split(t.label))}}class x{constructor(){this.label=""}split(t){return t.split(" ")}}(v=x).ɵfac=function(t){return new(t||v)},v.ɵcmp=r.Xpm({type:v,selectors:[["tui-avatar-labeled"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("title",e.label)},inputs:{label:"label"},standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:1,consts:[[4,"ngIf"],["tuiFade","",4,"ngFor","ngForOf"],["tuiFade",""]],template:function(t,e){1&t&&(r.F$t(),r.Hsn(0),r.YNc(1,w,2,1,"ng-container",0)),2&t&&(r.xp6(1),r.Q6J("ngIf",e.label.length))},dependencies:[i.sg,i.O5,b.Uo],styles:["tui-avatar-labeled{display:flex;width:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-bottom:.375rem}tui-avatar-labeled [tuiFade]{width:calc(100% + 1rem)}\n"],encapsulation:2,changeDetection:0}),(0,y.gn)([o.UM],x.prototype,"split",null)},44713:(t,e,n)=>{n.d(e,{Cb:()=>c});var i=n(20755),r=n(73740),o=n(10426);const s=(0,r.JN)({appearance:"",size:"l",dot:!1});var a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-badge"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['tui-badge,[tuiBadge]{--t-gap: 0rem;--t-dot: currentColor;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));border-radius:6rem;background:#959595;color:var(--tui-background-base);padding:var(--t-padding);height:var(--t-size);min-width:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-s)}tui-badge>img,[tuiBadge]>img,tui-badge>tui-svg,[tuiBadge]>tui-svg,tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge>tui-avatar,[tuiBadge]>tui-avatar,tui-badge>tui-badge,[tuiBadge]>tui-badge,tui-badge>[tuiBadge],[tuiBadge]>[tuiBadge],tui-badge>[tuiRadio],[tuiBadge]>[tuiRadio],tui-badge>[tuiSwitch],[tuiBadge]>[tuiSwitch],tui-badge>[tuiCheckbox],[tuiBadge]>[tuiCheckbox],tui-badge._icon-left:before,[tuiBadge]._icon-left:before,tui-badge._icon-right:after,[tuiBadge]._icon-right:after{margin:var(--t-margin)}tui-badge._dot:before,[tuiBadge]._dot:before{content:"";display:block;width:.375rem;height:.375rem;background:var(--t-dot);border-radius:100%}tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-badge[data-appearance=error],[tuiBadge][data-appearance=error]{--t-dot: var(--tui-status-negative)}tui-badge[data-appearance=success],[tuiBadge][data-appearance=success]{--t-dot: var(--tui-status-positive)}tui-badge[data-appearance=warning],[tuiBadge][data-appearance=warning]{--t-dot: var(--tui-status-warning)}tui-badge[data-appearance=info],[tuiBadge][data-appearance=info]{--t-dot: var(--tui-status-info)}tui-badge[data-appearance=neutral],[tuiBadge][data-appearance=neutral]{--t-dot: var(--tui-status-neutral)}tui-badge[data-size=s],[tuiBadge][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem}tui-badge[data-size=s]._dot:before,[tuiBadge][data-size=s]._dot:before{width:.25rem;height:.25rem;margin-inline-end:-.125rem}tui-badge[data-size=m],[tuiBadge][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}tui-badge[data-size=l],[tuiBadge][data-size=l]{--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem}tui-badge[data-size=l]._dot:before,[tuiBadge][data-size=l]._dot:before{margin-inline-end:-.25rem}tui-badge[data-size=xl],[tuiBadge][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}tui-badge[data-size=xl]._dot:before,[tuiBadge][data-size=xl]._dot:before{width:.5rem;height:.5rem;margin-inline-end:-.125rem}tui-badge[tuiAppearance][data-appearance=error],[tuiBadge][tuiAppearance][data-appearance=error],tui-badge[tuiAppearance][data-appearance=success],[tuiBadge][tuiAppearance][data-appearance=success],tui-badge[tuiAppearance][data-appearance=warning],[tuiBadge][tuiAppearance][data-appearance=warning],tui-badge[tuiAppearance][data-appearance=info],[tuiBadge][tuiAppearance][data-appearance=info],tui-badge[tuiAppearance][data-appearance=neutral],[tuiBadge][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}img[tuiBadge]{padding:0}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;height:var(--t-size);width:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.size=this.options.size,this.dot=this.options.dot}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-badge"],["","tuiBadge",""]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size),i.ekj("_dot",e.dot))},inputs:{size:"size",dot:"dot"},standalone:!0,features:[i._Bn([(0,o.mS)(s)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},62427:(t,e,n)=>{n.d(e,{u:()=>f});var i=n(20755),r=n(62022),o=n(43226),s=n(65026),a=n(55181),l=n(73740),c=n(10426),u=n(41589),h=n(64418),d=n(82527);const p=["type","checkbox","tuiCheckbox",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(c.Nm),this.options=(0,i.f3M)(h.Y2),this.resolver=(0,u.Ps)(),this.destroyRef=(0,i.f3M)(i.ktI),this.el=(0,a.AG)(),this.size=this.options.size,this.control=(0,i.f3M)(o.a5,{optional:!0,self:!0})}ngOnInit(){this.control?.valueChanges&&(0,s.EK)(this.control).pipe((0,r.sL)(this.destroyRef)).subscribe((t=>{const e=this.control instanceof o.On?this.control.model:t;this.el.indeterminate=null===e}))}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}getIcon(t){const e=this.options.icons[t],n=(0,l.Aj)(e)?e:e(this.size);return`url(${this.resolver(n)})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiCheckbox",""]],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-checked",e.getIcon("checked"))("--t-indeterminate",e.getIcon("indeterminate")),i.ekj("_readonly",!e.control))},inputs:{size:"size"},standalone:!0,features:[i.jDz,i.zW0([{directive:c.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{--t-size: 1.5rem;--t-radius: var(--tui-radius-s);width:var(--t-size);height:var(--t-size);border-radius:var(--t-radius);cursor:pointer;margin:0;flex-shrink:0}[_nghost-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%;transform:scale(0);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:checked:before, [_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-checked);mask-image:var(--t-checked);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out,-webkit-mask 0s ease-in-out}[_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-indeterminate);mask-image:var(--t-indeterminate)}[data-size=s][_nghost-%COMP%]{--t-size: 1rem;--t-radius: var(--tui-radius-xs)}'],changeDetection:0}),e})()},64418:(t,e,n)=>{n.d(e,{Y2:()=>o,im:()=>s});var i=n(73740);const r={size:"m",appearance:t=>t.checked||t.indeterminate?"primary":"whiteblock",icons:{checked:()=>"@tui.check",indeterminate:()=>"@tui.minus"}},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},4216:(t,e,n)=>{n.d(e,{im:()=>i.im}),n(62427);var i=n(64418)},73378:(t,e,n)=>{n.d(e,{Xt:()=>p});var i=n(20755),r=n(73740),o=n(11679),s=n(10426),a=n(75391),l=n(4216),c=n(92840);const u=(0,r.JN)({appearance:"neutral",size:"s"});var h=n(98549);let d=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chip"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["tui-chip,[tuiChip]{--t-gap: .125rem;--t-margin: -.125rem;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);padding:var(--t-padding);height:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}tui-chip>img,[tuiChip]>img,tui-chip>tui-svg,[tuiChip]>tui-svg,tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip>tui-avatar,[tuiChip]>tui-avatar,tui-chip>tui-badge,[tuiChip]>tui-badge,tui-chip>[tuiBadge],[tuiChip]>[tuiBadge],tui-chip>[tuiRadio],[tuiChip]>[tuiRadio],tui-chip>[tuiSwitch],[tuiChip]>[tuiSwitch],tui-chip>[tuiCheckbox],[tuiChip]>[tuiCheckbox],tui-chip._icon-left:before,[tuiChip]._icon-left:before,tui-chip._icon-right:after,[tuiChip]._icon-right:after{margin:var(--t-margin)}tui-chip:-webkit-any(a,button,select,textarea,input,label),[tuiChip]:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip:-moz-any(a,button,select,textarea,input,label),[tuiChip]:-moz-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip[tuiIcons]:before,[tuiChip][tuiIcons]:before,tui-chip[tuiIcons]:after,[tuiChip][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-chip[data-size=xxs],[tuiChip][data-size=xxs]{--t-gap: 0rem;--t-padding: 0 .25rem;--t-size: 1rem;--t-icon-size: .75rem;font:var(--tui-font-text-xs);border-radius:var(--tui-radius-xs)}tui-chip[data-size=xxs]>[tuiIconButton],[tuiChip][data-size=xxs]>[tuiIconButton]{margin:-.5rem;transform:scale(.75)}tui-chip[data-size=xs],[tuiChip][data-size=xs]{--t-padding: 0 .375rem;--t-size: 1.25rem;border-radius:var(--tui-radius-xs)}tui-chip[data-size=xs]>[tuiIconButton],[tuiChip][data-size=xs]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s],[tuiChip][data-size=s]{--t-padding: 0 .625rem;--t-size: var(--tui-height-s)}tui-chip[data-size=s]>[tuiIconButton],[tuiChip][data-size=s]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s]>img,[tuiChip][data-size=s]>img,tui-chip[data-size=s] tui-avatar,[tuiChip][data-size=s] tui-avatar{margin-inline-start:-.375rem}tui-chip[data-size=m],[tuiChip][data-size=m]{--t-margin: -.375rem;--t-icon-size: 1.5rem;--t-padding: 0 1rem;--t-size: var(--tui-height-m);font:var(--tui-font-text-m)}tui-chip[data-size=m]>[tuiIconButton],[tuiChip][data-size=m]>[tuiIconButton]{margin:-.75rem}tui-chip>img,[tuiChip]>img{width:1.5rem}tui-chip>input[tuiChip],[tuiChip]>input[tuiChip]{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}tui-chip[tuiAppearance][data-appearance=error],[tuiChip][tuiAppearance][data-appearance=error],tui-chip[tuiAppearance][data-appearance=success],[tuiChip][tuiAppearance][data-appearance=success],tui-chip[tuiAppearance][data-appearance=warning],[tuiChip][tuiAppearance][data-appearance=warning],tui-chip[tuiAppearance][data-appearance=info],[tuiChip][tuiAppearance][data-appearance=info],tui-chip[tuiAppearance][data-appearance=neutral],[tuiChip][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}\n"],encapsulation:2,changeDetection:0}),e})(),p=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(u),this.nothing=(0,r.__)(d),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-chip"],["","tuiChip",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,s.mS)(u),(0,c.wt)({size:"s"}),(0,l.im)({size:"s"}),(0,a.ug)({size:"xs"}),(0,o.O0)({size:"xs",appearance:"icon"})]),i.zW0([{directive:s.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},61819:(t,e,n)=>{n.d(e,{Q:()=>m});var i=n(76733),r=n(49148),o=n(63098),s=n(32097),a=n(25690),l=n(67917),c=n(20755);const u=["labels",""];function h(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}function d(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",6,7),c.NdJ("click",(function(){const e=c.CHM(t).$implicit,n=c.oxw(3);return c.KtG(n.itemClick.emit(e))})),c.YNc(2,h,2,1,"ng-container",8),c.qZA()}if(2&t){const t=e.$implicit,n=c.MAs(1),i=c.oxw(3);c.Q6J("disabled",i.disabledItemHandler(t))("value",t),c.xp6(2),c.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function p(t,e){if(1&t&&(c.TgZ(0,"tui-opt-group",4),c.YNc(1,d,3,4,"button",5),c.qZA()),2&t){const t=e.$implicit,n=e.index,i=c.oxw(2);c.Q6J("label",i.labels[n]),c.xp6(1),c.Q6J("ngForOf",t)}}function f(t,e){if(1&t&&(c.TgZ(0,"tui-data-list",2),c.YNc(1,p,2,2,"tui-opt-group",3),c.qZA()),2&t){const t=c.oxw();c.Q6J("emptyContent",t.emptyContent)("size",t.size),c.xp6(1),c.Q6J("ngForOf",t.items)}}function g(t,e){1&t&&c._UZ(0,"tui-loader",9)}let m=(()=>{var t;class e extends l.e{constructor(){super(...arguments),this.items=[],this.labels=[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.ɵcmp=c.Xpm({type:t,selectors:[["tui-data-list-wrapper","labels",""]],inputs:{items:"items",labels:"labels"},standalone:!0,features:[c._Bn([(0,o.RB)(t)]),c.qOj,c.jDz],attrs:u,decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-loader"]],template:function(t,e){if(1&t&&(c.YNc(0,f,2,3,"tui-data-list",0),c.YNc(1,g,1,0,"ng-template",null,1,c.W1O)),2&t){const t=c.MAs(2);c.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[o.qi,o.bH,o.c4,i.O5,i.sg,r.v,a.s$,s.A6],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},67917:(t,e,n)=>{n.d(e,{e:()=>v});var i=n(76733),r=n(20755),o=n(11892),s=n(49148),a=n(52674),l=n(73740),c=n(63098),u=n(32097),h=n(11637),d=n(25690);function p(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 f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",4,5),r.NdJ("click",(function(){const e=r.CHM(t).$implicit,n=r.oxw(2);return r.KtG(n.itemClick.emit(e))})),r.TgZ(2,"span",6),r.YNc(3,p,2,1,"ng-container",7),r.qZA()()}if(2&t){const t=e.$implicit,n=r.MAs(1),i=r.oxw(2);r.Q6J("disabled",i.disabledItemHandler(t))("value",t),r.xp6(3),r.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function g(t,e){if(1&t&&(r.TgZ(0,"tui-data-list",2),r.YNc(1,f,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 m(t,e){1&t&&r._UZ(0,"tui-loader",8)}let v=(()=>{var t;class e{constructor(){this.itemsHandlers=(0,r.f3M)(h.Ys),this.optionsQuery=o.Mm,this.items=[],this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=(0,c.lt)(),this.itemClick=new r.vpe,this.itemContent=({$implicit:t})=>this.itemsHandlers.stringify(t)}getContext(t,{nativeElement:e}){return{$implicit:t,active:(0,a.V8)(e)}}getOptions(t=!1){return this.optionsQuery.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(l.Pc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],viewQuery:function(t,e){if(1&t&&r.Gf(c.bH,5),2&t){let t;r.iGM(t=r.CRH())&&(e.optionsQuery=t)}},inputs:{items:"items",disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"},standalone:!0,features:[r._Bn([(0,c.RB)(t)]),r.jDz],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["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,g,2,3,"tui-data-list",0),r.YNc(1,m,1,0,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[c.qi,c.bH,i.O5,i.sg,s.v,u.A6,d.s$],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},94187:(t,e,n)=>{var i=n(61819),r=n(67917),o=n(63098);r.e,i.Q,o.gX},92840:(t,e,n)=>{n.d(e,{AE:()=>f,wt:()=>h});var i=n(20755),r=n(43226),o=n(55181),s=n(73740),a=n(10426),l=n(41589);const c={showIcons:!0,size:"m",icon:"@tui.check",appearance:t=>t.checked?"primary":"secondary"},u=(0,s.JN)(c);function h(t){return(0,s.vK)(u,t,c)}var d=n(82527);const p=["type","checkbox","tuiSwitch",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(a.Nm),this.resolver=(0,l.Ps)(),this.options=(0,i.f3M)(u),this.el=(0,o.AG)(),this.control=(0,i.f3M)(r.a5,{optional:!0,self:!0}),this.size=this.options.size,this.showIcons=this.options.showIcons}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}get icon(){const{options:t,resolver:e,size:n}=this;return`url(${e((0,s.Aj)(t.icon)?t.icon:t.icon(n))})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiSwitch",""]],hostAttrs:["role","switch"],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-mask",e.icon),i.ekj("_readonly",!e.control)("_icons",e.showIcons))},inputs:{size:"size",showIcons:"showIcons"},standalone:!0,features:[i.jDz,i.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:3rem;height:1.5rem;border-radius:2rem;overflow:hidden;cursor:pointer;margin:0}[data-appearance=secondary][_nghost-%COMP%], [data-appearance=secondary][_nghost-%COMP%]:invalid{color:#fff}[data-size=s][_nghost-%COMP%]{height:1rem;width:2rem}[data-size=s][_nghost-%COMP%]:before{width:1rem;transform:translate(-1rem);-webkit-mask-size:.75rem;mask-size:.75rem}[data-size=s][_nghost-%COMP%]:after{width:1rem;box-shadow:-2rem 0 0 .25rem currentColor}[data-size=s][_nghost-%COMP%]:checked:after{transform:scale(.5) translate(2rem)}[_nghost-%COMP%]:checked:before{transform:none}[_nghost-%COMP%]:checked:after{transform:scale(.5) translate(3rem)}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;height:100%;width:1.5rem}[_nghost-%COMP%]:before{display:none;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center;mask:var(--t-mask) no-repeat center;-webkit-mask-size:1rem;mask-size:1rem;transform:translate(-1.5rem)}[_nghost-%COMP%]:after{right:0;border-radius:100%;transform:scale(.5);box-shadow:-3rem 0 0 .25rem currentColor}._icons[_nghost-%COMP%]:before{display:block}._icons[_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .25rem var(--tui-background-neutral-2-pressed),-3rem 0 0 .25rem currentColor}._icons[data-size=s][_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .125rem var(--tui-background-neutral-2-pressed),-2rem 0 0 .25rem currentColor}'],changeDetection:0}),e})()},2115:(t,e,n)=>{n.d(e,{Yh:()=>f,Pk:()=>G});var i=n(20755),r=n(62022),o=n(99222),s=n(81695),a=n(65026),l=n(55181),c=n(52674),u=n(55333),h=n(45047),d=n(30453),p=n(98549);let f=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.rla=(0,i.f3M)(o.Od,{optional:!0}),this.observer=this.rla&&(0,i.f3M)(s.IM,{optional:!0})?.pipe((0,u.h)((()=>!!this.rla?.isActive))),this.sub=(0,h.T)(this.observer||d.E,this.rla?.isActiveChange.pipe((0,u.h)(Boolean))||d.E,this.el.matches("button")?(0,a.mL)(this.el,"click"):d.E).pipe((0,r.sL)()).subscribe((()=>this.el.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}ngOnDestroy(){(0,c.V8)(this.el)&&this.el.blur()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],standalone:!0,features:[i.zW0([{directive:p.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})();var g=n(62417),m=n(73740);const v=(0,m.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0,size:"l"});let y=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-tabs"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:24px}tui-tabs[data-size=m]+[tuiTab],tui-tabs[data-size=m] [tuiTab],[tuiTabs][data-size=m] [tuiTab]{margin-left:16px;font:var(--tui-font-text-s)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:2px solid var(--tui-border-focus);outline-offset:-2px}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -2px var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-left:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-left:var(--tui-tab-margin, 1.5rem)}[tuiTab]._icon-left:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab]._icon-right:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){height:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){height:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;height:2px;width:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:""}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]: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-background-accent-1);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -2px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-height:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset 2px 0 var(--tui-border-normal)}\n'],encapsulation:2,changeDetection:0}),e})(),b=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.injector=(0,i.f3M)(i.gxx),this.nothing=(0,m.__)(y),this.size=(0,i.f3M)(v).size,this.activeItemIndex=0,this.activeItemIndexChange=new i.vpe}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}moveFocus(t,e){const{tabs:n}=this;(0,c.VR)(n.indexOf(t),n,e)}ngAfterViewChecked(){(0,i.T8G)((()=>{this.markTabAsActive()}),{injector:this.injector})}onActivate(t,e){const n=this.tabs.findIndex((t=>t===e));t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}markTabAsActive(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never"]],hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("tui-tab-activate",(function(t){return e.onActivate(t,t.target)})),2&t&&i.uIk("data-size",e.size)},inputs:{size:"size",activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"},standalone:!0}),e})();var _,w=n(84911),x=n(11892);class C{constructor(){this.el=(0,l.AG)(),this.options=(0,i.f3M)(v),this.tabs=(0,i.f3M)(b),this.children=x.Mm,this.sub=(0,i.f3M)(s.IM).pipe((0,a.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>this.refresh())),this.underline=this.options.underline}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex),this.refresh()}onKeyDownArrow(t,e){this.tabs.moveFocus(t,e)}refresh(){const{activeElement:t}=this.tabs;if(t&&!t.isConnected)return;const{offsetLeft:e=0,offsetWidth:n=0}=t||{};this.el.style.setProperty("--t-left",(0,m.O9)(e)),this.el.style.setProperty("--t-width",(0,m.O9)(n))}scrollTo(t){const e=this.tabs.tabs[t];if(!e)return;const{offsetLeft:n,offsetWidth:i}=e;nthis.el.scrollLeft+this.el.offsetWidth&&(this.el.scrollLeft=n+i-this.el.offsetWidth)}}(_=C).ɵfac=function(t){return new(t||_)},_.ɵdir=i.lG2({type:_,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,f,4),2&t){let t;i.iGM(t=i.CRH())&&(e.children=t)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowRight.prevent",(function(t){return e.onKeyDownArrow(t.target,1)}))("keydown.arrowLeft.prevent",(function(t){return e.onKeyDownArrow(t.target,-1)}))("animationend",(function(){return e.refresh()})),2&t&&(i.Udp("--t-color",!0===e.underline?"var(--tui-background-accent-1)":e.underline),i.ekj("_underline",e.underline))},inputs:{underline:"underline"},standalone:!0,features:[i._Bn([s.IM,{provide:s.k2,useValue:{childList:!0,characterData:!0,subtree:!0}}]),i.zW0([{directive:b,inputs:["activeItemIndex","activeItemIndex","size","size"],outputs:["activeItemIndexChange","activeItemIndexChange"]}])]}),(0,w.gn)([m.UM],C.prototype,"scrollTo",null);var k=n(76733),O=n(58373),M=n(95173),S=n(11637),A=n(25690),P=n(92425),E=n(31570),T=n(34749),I=n(71938),D=n(20155),z=n(73843);const N=new i.OlP("[TUI_TABS_REFRESH]"),F=[T.ax,s.IM,(0,I.fx)({align:"right"}),{provide:s.k2,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:N,deps:[T.ax,s.IM,k.K0,i.SBq,i.sBO],useFactory:(t,e,{body:n},{nativeElement:i},o)=>(0,h.T)(t,e.pipe((0,E.b)((()=>o.detectChanges())))).pipe((0,u.h)((()=>n.contains(i))),(0,D.b)(0),(0,z.O)(null),(0,r.sL)())}];function L(t,e){1&t&&i.GkF(0)}function R(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function B(t,e){if(1&t&&(i.TgZ(0,"div",9),i.GkF(1,8),i.qZA()),2&t){const t=i.oxw(),e=t.index,n=t.$implicit,r=i.oxw();i.ekj("t-overflown",r.isOverflown(e)),i.xp6(1),i.Q6J("ngTemplateOutlet",n)}}function j(t,e){if(1&t&&(i.ynx(0),i.YNc(1,R,1,1,"ng-container",6),i.YNc(2,B,2,3,"ng-template",null,7,i.W1O),i.BQk()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngIf",t<=r.lastVisibleIndex)("ngIfElse",n)}}function H(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 V(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",10),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i.YNc(1,H,2,1,"ng-container",11),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.Q6J("polymorpheusOutlet",t.moreContent)}}function $(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",12),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i._uU(1),i.ALo(2,"async"),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.hij(" ",i.lcZ(2,10,t.moreWord$)," ")}}function q(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function Z(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",16),i.NdJ("tui-tab-activate",(function(){const e=i.CHM(t).index,n=i.oxw(2);return i.KtG(n.onClick(e))})),i.YNc(1,q,1,1,"ng-container",17),i.qZA()}if(2&t){const t=e.index,n=i.oxw(2);i.xp6(1),i.Q6J("ngIf",n.shouldShow(t))}}function U(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",13,14),i.NdJ("keydown.arrowDown.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!1))}))("keydown.arrowUp.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!0))})),i.YNc(2,Z,2,1,"div",15),i.qZA()}if(2&t){const t=i.oxw();i.uIk("data-size",t.size),i.xp6(2),i.Q6J("ngForOf",t.items)}}let G=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(v),this.refresh$=(0,i.f3M)(N),this.el=(0,l.AG)(),this.cdr=(0,i.f3M)(i.sBO),this.maxIndex=1/0,this.items=x.Mm,this.moreWord$=(0,i.f3M)(S.ue),this.open=!1,this.size=this.options.size,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new i.vpe,this.activeItemIndex=0}set itemIndex(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}get lastVisibleIndex(){if(this.itemsLimit+1>=this.items.length)return this.maxIndex;const t=this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2;return Math.min(this.itemsLimit-t,this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,P.U)((()=>this.getMaxIndex())),(0,E.b)((()=>this.refresh())),(0,u.h)((t=>this.maxIndex!==t))).subscribe((t=>{this.maxIndex=t,this.cdr.detectChanges()}))}ngAfterViewChecked(){this.refresh()}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){const{tabs:t}=this,e=(0,O.K)(this.activeItemIndex||0,0,t.length-2);return this.options.exposeActive||this.lastVisibleIndex>=e?t[e]||null:this.moreButton?.nativeElement||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=0;){if(t[e].focus(),(0,c.V8)(t[e]))return;e--}}onWrapperArrow(t,e,n){const i=t.target,r=(0,c.BW)({initial:i,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)}get margin(){return"l"===this.size?24:16}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:t,activeItemIndex:e,margin:n}=this;if(t.length<2)return 0;const{exposeActive:i,minMoreWidth:r}=this.options,{clientWidth:o}=this.el,s=t[e]?t[e].scrollWidth:0,a=Math.max(t[t.length-1].scrollWidth,r);let l=t.length-2,c=t.reduce(((t,{scrollWidth:e})=>t+e),0)+l*n-t[t.length-1].scrollWidth;if(Number.isNaN(c)||c<=o)return 1/0;for(;l;)if(c-=t[l].scrollWidth+n,l--,c+(i&&e>l?s+n:0)+a+n+(this.maxIndex===l-1?1:0){n.d(e,{H:()=>h});var i=n(20755),r=n(55181),o=n(73740),s=n(9368),a=n(71938),l=n(98549);let c=(()=>{var t;class e{getHandler(t){return()=>"@tui.chevron-down"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),u=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chevron"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiChevron][tuiIcons]:after,tui-icon[tuiChevron]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-block;cursor:pointer}[tuiChevron][tuiIcons]._chevron-rotated:after,tui-icon[tuiChevron]._chevron-rotated:after{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),h=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.dropdown=(0,i.f3M)(a.td,{optional:!0}),this.icons=(0,i.f3M)(l.p,{optional:!0}),this.icon=(0,i.f3M)(s.R,{optional:!0}),this.handler=(0,i.f3M)(c).getHandler((0,i.f3M)(i.gxx)),this.nothing=(0,o.__)(u),this.tuiChevron=""}ngDoCheck(){this.set(this.handler()),this.el.classList.toggle("_chevron-rotated",!!this.dropdown?.dropdownBoxRef||!0===this.tuiChevron)}set(t){this.icon&&(this.icon.icon=t),this.icons&&(this.icons.iconRight=t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiChevron",""]],hostAttrs:["tuiChevron",""],inputs:{tuiChevron:"tuiChevron"},standalone:!0}),e})()},95173:(t,e,n)=>{n.d(e,{HT:()=>s.H,Uo:()=>P}),n(11679);var i=n(41589),r=n(73740);(0,r.JN)("@tui.x");var o,s=n(3223),a=n(84911),l=n(20755),c=n(62022),u=n(11892),h=n(65026),d=n(52674),p=n(71938),f=n(45047),g=n(84787),m=n(30453),v=n(21813),y=n(55333),b=n(31570),_=n(92425),w=n(20530),x=n(20155);class C{constructor(){this.dropdowns=u.Mm,this.els=u.Mm,this.destroyRef=(0,l.f3M)(l.ktI)}ngAfterViewInit(){this.right$.pipe((0,c.sL)(this.destroyRef)).subscribe((t=>{this.tryToFocus(t)})),(0,f.T)(this.immediate$,this.debounce$).pipe((0,g.w)((t=>{this.dropdowns.forEach(((e,n)=>{e.toggle(n===t)}));const e=this.els.get(t),n=this.dropdowns.get(t);if(!e||!n?.dropdownBoxRef)return m.E;const{nativeElement:i}=n.dropdownBoxRef.location,r=(0,h.mL)(i,"mouseenter").pipe((0,v.q)(1)),o=(0,f.T)((0,h.mL)(e.nativeElement,"keydown"),(0,h.mL)(i,"keydown")).pipe((0,y.h)((({key:t})=>"Escape"===t)));return(0,f.T)(r,o).pipe((0,b.b)((t=>{n.dropdownBoxRef&&t.stopPropagation(),e.nativeElement.focus(),n.toggle("offsetX"in t)})))})),(0,c.sL)(this.destroyRef)).subscribe()}get elements$(){return(0,h.ll)(this.els).pipe((0,_.U)((t=>t.map((({nativeElement:t})=>t)))),(0,w.d)({bufferSize:1,refCount:!0}))}get right$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"keydown").pipe((0,y.h)((({key:t})=>"ArrowRight"===t)),(0,h.mp)(),(0,_.U)((()=>e)))))))))}get immediate$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"click").pipe((0,_.U)((()=>e)))))))))}get debounce$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,f.T)((0,h.mL)(t,"focus"),(0,h.mL)(t,"blur")).pipe((0,y.h)((({relatedTarget:t})=>this.notInDropdown(t,e))),(0,_.U)((({type:t})=>"focus"===t?e:NaN)))))))),(0,x.b)(300))}notInDropdown(t,e){return!this.dropdowns.get(e)?.dropdownBoxRef?.location.nativeElement.contains(t)}tryToFocus(t){const e=this.dropdowns.get(t)?.dropdownBoxRef?.location.nativeElement;if(!e)return;const n=(0,d.BW)({initial:e,root:e}),i=(0,d.BW)({initial:n||e,root:e});i&&i.focus()}}(o=C).ɵfac=function(t){return new(t||o)},o.ɵdir=l.lG2({type:o,selectors:[["tui-data-list","tuiDataListDropdownManager",""]],contentQueries:function(t,e,n){if(1&t&&(l.Suo(n,p.td,5),l.Suo(n,p.td,5,l.SBq)),2&t){let t;l.iGM(t=l.CRH())&&(e.dropdowns=t),l.iGM(t=l.CRH())&&(e.els=t)}},standalone:!0}),(0,a.gn)([r.UM],C.prototype,"elements$",null),(0,a.gn)([r.UM],C.prototype,"right$",null),(0,a.gn)([r.UM],C.prototype,"immediate$",null),(0,a.gn)([r.UM],C.prototype,"debounce$",null);var k=n(81695),O=n(34749),M=n(55181),S=n(10409);let A=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-fade-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiFade]{scrollbar-width:none;-ms-overflow-style:none;transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;overflow:auto;text-overflow:unset!important;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[tuiFade]::-webkit-scrollbar,[tuiFade]::-webkit-scrollbar-thumb{display:none}[tuiFade]:not([data-orientation=vertical]){overflow-y:hidden;-webkit-mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;-webkit-mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%));mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%))}[tuiFade]:not([data-orientation=vertical])._start{-webkit-mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top}[tuiFade]:not([data-orientation=vertical])._end{-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top}[tuiFade]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[tuiFade][data-orientation=vertical]{overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));-webkit-mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset));mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom;mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom}[tuiFade][data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"],encapsulation:2,changeDetection:0}),e})(),P=(()=>{var t;class e{constructor(){this.lineHeight=null,this.size="1.5em",this.offset="0em",this.orientation="horizontal";const t=(0,M.AG)();(0,r.__)(A),(0,f.T)((0,l.f3M)(O.ax),(0,l.f3M)(k.IM),(0,S.R)(t,"scroll")).pipe((0,h.fL)((0,l.f3M)(l.R0b)),(0,c.sL)()).subscribe((()=>{t.classList.toggle("_start",!!t.scrollLeft||!!t.scrollTop),t.classList.toggle("_end",this.isEnd(t))}))}isEnd(t){return"vertical"===this.orientation?Math.round(t.scrollTop)t.clientHeight+4}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiFade",""]],hostVars:9,hostBindings:function(t,e){2&t&&(l.uIk("data-orientation",e.orientation),l.Udp("line-height",e.lineHeight)("--line-height",e.lineHeight)("--fade-size",e.size)("--fade-offset",e.offset))},inputs:{lineHeight:["tuiFadeHeight","lineHeight"],size:["tuiFadeSize","size"],offset:["tuiFadeOffset","offset"],orientation:["tuiFade","orientation"]},standalone:!0,features:[l._Bn([O.ax,k.IM,{provide:k.k2,useValue:{characterData:!0,subtree:!0}}])]}),e})();var E,T=n(16931);const I=[{opacity:.06},{opacity:1}];let D=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-skeleton-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["@keyframes tuiSkeleton{0%{opacity:.03}to{opacity:.06}}[tuiSkeleton]._skeleton{color:transparent;background:var(--tui-background-base)!important;box-shadow:none!important;filter:contrast(0) brightness(0);animation:tuiSkeleton ease-in-out 1s infinite alternate}[tuiSkeleton]._skeleton[data-tui-skeleton]{background:transparent!important}[tuiSkeleton]._skeleton[data-tui-skeleton]:before{content:attr(data-tui-skeleton);background:var(--tui-background-base);font-size:smaller;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.25rem}[tuiTheme=dark] [tuiSkeleton]._skeleton,[tuiTheme=dark][tuiSkeleton]._skeleton{filter:contrast(0) brightness(0) invert(1)}\n"],encapsulation:2,changeDetection:0}),e})();class z{constructor(){this.el=(0,M.AG)(),this.duration=(0,l.f3M)(i.ZW)*T.Gc*2,this.nothing=(0,r.__)(D),this.tuiSkeleton=!1}ngOnChanges({tuiSkeleton:t}){this.animation?.cancel(),t.currentValue||t.firstChange||(this.animation=this.el.animate(I,this.duration))}getPlaceholder(t){switch(typeof t){case"number":return Array.from({length:t}).map((()=>u.f$.repeat(Math.floor(11*Math.random())+5))).join(" ");case"string":return t;default:return null}}}(E=z).ɵfac=function(t){return new(t||E)},E.ɵdir=l.lG2({type:E,selectors:[["","tuiSkeleton",""]],hostAttrs:["tuiSkeleton",""],hostVars:3,hostBindings:function(t,e){2&t&&(l.uIk("data-tui-skeleton",e.getPlaceholder(e.tuiSkeleton)),l.ekj("_skeleton",e.tuiSkeleton))},inputs:{tuiSkeleton:"tuiSkeleton"},standalone:!0,features:[l.TTD]}),(0,a.gn)([r.UM],z.prototype,"getPlaceholder",null),n(94267),n(7618)},11637:(t,e,n)=>{n.d(e,{s3:()=>l,qE:()=>O,Fu:()=>m,UV:()=>k,Hw:()=>E,LD:()=>d,zf:()=>x,Mu:()=>p,HF:()=>h,rV:()=>C,qk:()=>M,vy:()=>y,WB:()=>N,BV:()=>A,Ys:()=>R,vk:()=>H,xC:()=>V,ue:()=>v,E6:()=>P,q5:()=>_,yI:()=>S,v3:()=>$,tp:()=>T,xP:()=>I,jV:()=>b,Yq:()=>w,Z4:()=>q,_V:()=>c});var i=n(20755),r=n(43226),o=n(65026),s=n(92425),a=n(71209);const l=new i.OlP("[TUI_CALENDAR_DATE_STREAM]");function c(t){return{provide:l,deps:[[new i.FiY,new i.PiD,r.a5],[new i.FiY,t]],useFactory:u}}function u(t,e){return t?(0,o.EK)(t).pipe((0,s.U)((t=>e?e?.fromControlValue(t):t))):(0,a.of)(null)}const h=new i.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),d=new i.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),p=new i.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]");var f=n(73740),g=n(49335);const m=(0,f.N1)((0,g.v)("confirm")),v=((0,f.N1)((0,g.v)("cancel")),(0,f.N1)((0,g.v)("done")),(0,f.N1)((0,g.v)("more"))),y=(0,f.N1)((0,g.v)("hide")),b=(0,f.N1)((0,g.v)("showAll")),_=(0,f.N1)((0,g.v)("otherDate")),w=((0,f.N1)((0,g.v)("mobileCalendarTexts")),(0,f.N1)((0,g.v)("range")),(0,f.N1)((0,g.v)("countTexts")),(0,f.N1)((0,g.v)("time"))),x=(0,f.N1)((0,g.v)("dateTexts")),C=(0,f.N1)((0,g.v)("digitalInformationUnits")),k=(0,f.N1)((0,g.v)("copyTexts")),O=((0,f.N1)((0,g.v)("passwordTexts")),(0,f.N1)((0,g.v)("shortCalendarMonths"))),M=(0,f.N1)((0,g.v)("fileTexts")),S=(0,f.N1)((0,g.v)("pagination")),A=(0,f.N1)((0,g.v)("inputFileTexts")),P=(0,f.N1)((0,g.v)("multiSelectTexts")),E=(0,f.N1)((0,g.v)("countries")),T=(0,f.N1)((0,g.v)("previewTexts")),I=(0,f.N1)((0,g.v)("zoomTexts"));var D=n(28351);const z={icon:()=>"@tui.calendar",min:D.K1,max:D.Oy,nativePicker:!1},N=(0,f.JN)(z);var F=n(11892);const L={stringify:String,identityMatcher:F.bg,disabledItemHandler:F.tD},R=(0,f.JN)(L);var B=n(86253),j=n(71938);const H=new i.OlP("[TUI_MOBILE_CALENDAR]"),V={provide:j.WH,useFactory:()=>(0,i.f3M)(B.fL)&&(0,i.f3M)(H,{optional:!0})||(0,i.f3M)(j.WH,{skipSelf:!0})},$=(0,f.JN)({rotate:"@tui.rotate-ccw-square",prev:"@tui.arrow-left",next:"@tui.arrow-right",zoomIn:"@tui.plus",zoomOut:"@tui.minus",zoomReset:"@tui.minimize"}),q=(0,f.JN)({})},11978:(t,e,n)=>{n.d(e,{M$:()=>C,Xn:()=>x,m6:()=>S,sC:()=>O,F9:()=>A,D1:()=>M,rE:()=>P,wB:()=>k});var i=n(20755),r=n(10676),o=n(55181),s=n(63098),a=n(11637),l=n(83140),c=n(62022),u=n(43226),h=n(94267),d=n(11892),p=n(73740),f=n(78748),g=n(69286),m=n(73843),v=n(92425),y=n(55333),b=n(18004),_=n(84787),w=n(45047);let x=(()=>{var t;class e{constructor(){this.focusVisible=!1,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.autoIdString=`tui_interactive_${e.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocused(){return!this.computedDisabled&&(this.pseudoFocus??this.focused)}get computedFocusVisible(){return!this.computedDisabled&&(this.pseudoFocus??this.focusVisible)}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}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=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-focused",e.pseudoFocus),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"}}),e})(),C=(()=>{var t;class e extends x{constructor(){super(),this.ngControl=(0,i.f3M)(u.a5,{optional:!0}),this.refresh$=new f.x,this.onTouched=d.iD,this.onChange=d.iD,this.fallbackValue=this.getFallbackValue(),this.destroyRef=(0,i.f3M)(i.ktI),this.cdr=(0,i.f3M)(i.sBO),this.valueTransformer=(0,i.f3M)(h.R4,{optional:!0}),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(){return this.previousInternalValue??this.fallbackValue}set value(t){this.updateValue(t)}get safeCurrentValue(){return this.rawValue??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(){return this.controlName?.toString()??null}get controlName(){return this.ngControl?.name?.toString()??null}ngOnInit(){this.refresh$.pipe((0,g.g)(0),(0,m.O)(null),(0,v.U)((()=>this.ngControl?.control)),(0,y.h)(p.Pc),(0,b.x)(),(0,_.w)((t=>(0,w.T)(t.valueChanges,t.statusChanges))),(0,c.sL)(this.destroyRef)).subscribe((()=>{this.refreshLocalValue(this.safeCurrentValue)}))}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(t){this.onChange=e=>{t(this.toControlValue(e))},this.refresh$.next()}registerOnTouched(t){this.onTouched=t}setDisabledState(){this.checkControlUpdate()}writeValue(t){const e=this.ngControl instanceof u.On&&void 0===this.previousInternalValue?this.ngControl.model:t;this.refreshLocalValue(this.fromControlValue(e))}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}get rawValue(){const{ngControl:t}=this;if(null===t)return;const e=t instanceof u.On&&void 0===this.previousInternalValue?t.viewModel:t.value;return this.fromControlValue(e)}safeNgControlData(t,e){return(this.ngControl&&t(this.ngControl))??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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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]}),e})();function k(t){return(0,p.Q2)(C,t)}let O=(()=>{var t;class e{constructor(){this.idService=(0,i.f3M)(r.ll),this.datalist=null,this.el=(0,o.AG)(),this.host=(0,i.f3M)(l.S0),this.control=(0,i.f3M)(C),this.itemsHandlers=(0,i.f3M)(a.Ys),this.disabledItemHandler=null}get id(){return this.el.id||this.idService.generate()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(s.gX,7,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("id",e.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),e})(),M=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(C,{optional:!0})}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(){return this.host.value?.toString()||""}process(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})(),S=(()=>{var t;class e extends C{clear(){this.value=[]}getFallbackValue(){return[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})(),A=(()=>{var t;class e extends C{getFallbackValue(){return null}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();class P{constructor(t,e){this.item=t,this.stringify=e}toString(){return this.stringify(this.item)}}},83239:(t,e,n)=>{n.d(e,{SX:()=>m,Ii:()=>y});var i=n(76733),r=n(20755),o=n(9368),s=n(71938),a=n(16931),l=n(11978),c=n(55466),u=n(25690),h=n(73740);const d=(0,h.JN)({iconSmall:"@tui.chevron-down",iconLarge:"@tui.chevron-down"});function p(t,e){if(1&t&&r._UZ(0,"tui-icon",2),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function f(t,e){1&t&&r.GkF(0)}let g=(()=>{var t;class e{constructor(){this.control=(0,r.f3M)(l.M$,{optional:!0}),this.textfieldSize=(0,r.f3M)(c.kI),this.options=(0,r.f3M)(d),this.directive=(0,r.f3M)(s.Bb,{optional:!0})}get rotated(){return this.directive?.tuiDropdownOpen||!!this.control.pseudoOpen||!1}get small(){return!(0,a.R9)(this.textfieldSize.size)}get arrowIcon(){return this.small?this.options.iconSmall:this.options.iconLarge}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("_rotated",e.rotated)("_small",e.small)},standalone:!0,features:[r.jDz],decls:3,vars:4,consts:[[3,"icon",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"icon"]],template:function(t,e){1&t&&(r.YNc(0,p,1,1,"tui-icon",0),r.YNc(1,f,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,null==e.directive?null:e.directive.tuiDropdownOpenChange)))},dependencies:[u.s$,i.O5,i.Ov,o.R],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)}._small[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})();const m=new u.Al(g),v={interactive:m,disabled:m},y=(0,h.JN)(v)},59679:(t,e,n)=>{n.d(e,{qS:()=>i.q,_H:()=>l});var i=n(98015),r=(n(16737),n(76733)),o=n(90621),s=n(55466),a=n(20755);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[r.ez,o.KW,s.cn,s.SC]}),e})();n(58025)},98015:(t,e,n)=>{n.d(e,{q:()=>F});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11262),l=n(11892),c=n(65026),u=n(86253),h=n(58373),d=n(73740),p=n(41589),f=n(80567),g=n(11978),m=n(90621),v=n(55466),y=n(83140),b=n(25690),_=n(58025),w=n(76733),x=n(28858),C=n(9997),k=n(38001),O=n(2365),M=n(36344),S=n(77430),A=n(14863);function P(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 E(t,e){if(1&t&&(o.TgZ(0,"div",6),o.YNc(1,P,2,1,"ng-container",7),o.qZA()),2&t){o.oxw();const t=o.MAs(9);o.xp6(1),o.Q6J("polymorpheusOutlet",t)}}function T(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"section",8)(1,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(2," + "),o.qZA(),o.TgZ(3,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(-e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(4," - "),o.qZA()()}if(2&t){const t=o.oxw(),e=o.MAs(1);o.xp6(1),o.Q6J("appearance",e.appearance)("disabled",!t.canIncrement)("iconLeft",t.icons.up),o.xp6(2),o.Q6J("appearance",e.appearance)("disabled",!t.canDecrement)("iconLeft",t.icons.down)}}function I(t,e){1&t&&o.GkF(0)}function D(t,e){1&t&&o.Hsn(0,2)}const z=["*",[["input"]],[["tuiContent"]]],N=new o.OlP("");class F extends g.F9{constructor(){super(...arguments),this.isIOS=(0,o.f3M)(u.FA),this.textfieldSize=(0,o.f3M)(v.kI),this.options=(0,o.f3M)(_.vy),this.unfinishedValue="",this.polymorpheusValueContent=l.Mm,this.valueTransformer=(0,o.f3M)(N,{optional:!0}),this.numberFormat=p.Jl,this.controller=(0,o.f3M)(v.Cs),this.numberFormat$=(0,o.f3M)(p.HO).pipe((0,c.NA)(this.cdr),(0,s.sL)()).subscribe((t=>{this.numberFormat=t})),this.min=this.options.min,this.max=this.options.max,this.step=this.options.step}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){return!!this.textfield?.focused}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":this.precision?"decimal":"numeric"}get calculatedMaxLength(){return 18+(this.precision&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}onValueChange(t){const e=(0,a.vZ)(t,this.numberFormat.decimalSeparator);if(this.unfinishedValue=null,!Number.isNaN(e))return this.isNativeValueNotFinished?(this.unfinishedValue=t,void this.cdr.markForCheck()):void(ethis.computedMax||(this.value=e));this.value=null}writeValue(t){super.writeValue(t),this.nativeValue=this.formattedValue}get size(){return this.textfieldSize.size}get icons(){return this.options.icons}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get isNegativeAllowed(){return this.computedMin<0}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax:t[s.length,t.length-l.length]))]}}}(i=F).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-input-number"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,b.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.polymorpheusValueContent=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(m.yc,5),2&t){let t;o.iGM(t=o.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&o.NdJ("keydown.arrowDown",(function(){return e.onArrow(-e.step)}))("keydown.arrowUp",(function(){return e.onArrow(e.step)})),2&t&&o.uIk("data-size",e.size)},inputs:{min:"min",max:"max",step:"step"},features:[o._Bn([(0,y.FT)(i),(0,g.wB)(i),v.Y0]),o.qOj],ngContentSelectors:["*","input","tuiContent"],decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tabindex","-1","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","iconLeft","click.prevent","mousedown.prevent"]],template:function(t,e){1&t&&(o.F$t(z),o.TgZ(0,"tui-primitive-textfield",0,1),o.NdJ("focusedChange",(function(t){return e.onFocused(t)}))("valueChange",(function(t){return e.onValueChange(t)})),o.Hsn(2),o.Hsn(3,1,["ngProjectAs","input",5,["input"]]),o.YNc(4,E,2,1,"div",2),o.qZA(),o.YNc(5,T,5,6,"section",3),o.YNc(6,I,1,0,"ng-container",4),o.ALo(7,"async"),o.YNc(8,D,1,0,"ng-template",null,5,o.W1O)),2&t&&(o.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("invalid",e.computedInvalid)("maskito",e.mask)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.computedValue),o.xp6(4),o.Q6J("ngIf",e.polymorpheusValueContent.length),o.xp6(1),o.Q6J("ngIf",e.step),o.xp6(1),o.Q6J("ngIf",o.lcZ(7,12,e.polymorpheusValueContent.changes)))},dependencies:[w.O5,x.ro,C.y,k.B,O.A,M.T,b.s$,S.n,A.x,w.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;align-items:center;justify-content:center;border-radius:0}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,r.gn)([d.UM],F.prototype,"computeMin",null),(0,r.gn)([d.UM],F.prototype,"computeMax",null),(0,r.gn)([d.UM],F.prototype,"calculateMask",null)},16737:(t,e,n)=>{n.d(e,{g:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}ngDoCheck(){this.host.nativeFocusableElement&&(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input-number"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},58025:(t,e,n)=>{n.d(e,{vy:()=>o});var i=n(73740);const r={icons:{up:"@tui.plus",down:"@tui.minus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0},o=(0,i.JN)(r)},71918:(t,e,n)=>{n.d(e,{Qf:()=>s}),n(14814),n(5583);var i=n(76733),r=n(90621),o=n(20755);n(71938);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({imports:[i.ez,r.KW]}),e})()},14814:(t,e,n)=>{n.d(e,{K:()=>y});var i=n(20755),r=n(52674),o=n(63098),s=n(71938),a=n(11978),l=n(90621),c=n(55466),u=n(83140),h=n(82673),d=n(9997),p=n(38001),f=n(10938),g=n(1);const m=["*",[["input"]]],v=["*","input"];let y=(()=>{var t;class e extends a.M${constructor(){super(...arguments),this.textfieldSize=(0,i.f3M)(c.kI),this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,r.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}handleOption(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}onValueChange(t){this.value=t,this.open=!0}get canOpen(){return this.interactive&&!!this.datalist}onActiveZone(t){this.updateFocused(t)}getFallbackValue(){return""}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}setNativeValue(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-input"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,o.gX,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(s.Bb,5),i.Gf(l.yc,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.dropdown=t.first),i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([c.E2,(0,u.FT)(t),(0,o.oE)(t),(0,a.wB)(t)],[h.yn]),i.qOj],ngContentSelectors:v,decls:4,vars:11,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(m),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA()()),2&t&&(i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.canOpen)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},dependencies:[d.y,p.B,f.t,g.B],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}),e})()},5583:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},90621:(t,e,n)=>{n.d(e,{iQ:()=>i.i,yc:()=>i.y,KW:()=>c,MB:()=>u.M});var i=n(9997),r=(n(38001),n(76733)),o=n(43226),s=n(61573),a=n(44806),l=n(20755);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=l.oAB({type:t}),t.ɵinj=l.cJS({imports:[r.ez,o.u5,a.W,s.R]}),e})();n(55466);var u=n(20633);n(21842)},9997:(t,e,n)=>{n.d(e,{i:()=>H,y:()=>V});var i,r=n(84911),o=n(20755),s=n(55181),a=n(52674),l=n(73740),c=n(2239),u=n(75430),h=n(11978),d=n(55466),p=n(83140),f=n(82673),g=n(25690),m=n(10409),v=n(92425),y=n(76733),b=n(43226),_=n(5362),w=n(70380),x=n(8355),C=n(93714),k=n(21842);const O=["focusableElement"];function M(t,e){1&t&&o.GkF(0)}function S(t,e){1&t&&o.GkF(0)}function A(t,e){1&t&&(o.TgZ(0,"div",17),o.Hsn(1,2),o.qZA())}function P(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}const E=function(t){return{$implicit:t}};function T(t,e){if(1&t&&(o.TgZ(0,"div",18),o.YNc(1,P,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconLeftContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function I(t,e){if(1&t&&(o.TgZ(0,"label",21),o.Hsn(1,3),o.qZA()),2&t){const t=o.oxw();o.ekj("t-placeholder_raised",t.placeholderRaised),o.Q6J("for",t.computedId)}}function D(t,e){if(1&t&&o._UZ(0,"tui-icon",24),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t)}}function z(t,e){if(1&t&&(o.TgZ(0,"div",22),o.YNc(1,D,1,1,"tui-icon",23),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.controller.customContent)}}function N(t,e){if(1&t&&o._UZ(0,"tui-icon",27),2&t){const t=e.polymorpheusOutlet;o.Udp("border","0.25rem solid transparent"),o.Q6J("icon",t.toString())}}function F(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"span",25),o.NdJ("click.stop",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.clear())})),o.YNc(1,N,1,3,"tui-icon",26),o.qZA()}if(2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconCleaner||t.controller.options.iconCleaner)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function L(t,e){if(1&t&&o._UZ(0,"tui-tooltip",28),2&t){const t=o.oxw();o.Q6J("content",null==t.hintOptions?null:t.hintOptions.content)("describeId",t.computedId)}}function R(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}function B(t,e){if(1&t&&(o.TgZ(0,"div",29),o.YNc(1,R,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}const j=[[["input"]],[["select"]],[["tuiContent"]],"*"],H={s:1.25,m:1.75,l:2.25};class V extends h.Xn{constructor(){super(...arguments),this.legacyOptions=(0,o.f3M)(d.z1),this.el=(0,s.AG)(),this.options=(0,o.f3M)(c.z1),this.controller=(0,o.f3M)(d.Cs),this.hintOptions=(0,o.f3M)(u.bZ,{optional:!0}),this.autofilled=!1,this.editable=!0,this.iconCleaner=this.legacyOptions.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.value="",this.valueChange=new o.vpe}get prefix(){return this.controller.prefix}get postfix(){return this.controller.postfix}get filler(){return 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,a.zb)(this.el)}get appearance(){return"table"===this.options.appearance?"table":this.controller.appearance}onModelChange(t){this.updateValue(t)}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){return!!this.content?.length}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,f._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){return!!this.hintOptions?.content&&!this.computedDisabled}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){const t=(this.nativeFocusableElement?.placeholder||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!t}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){return!!this.hintOptions?.content&&(this.legacyOptions.hintOnDisabled||!this.computedDisabled)}get name(){return"cc-exp"===this.nativeFocusableElement?.autocomplete?"ccexpiryyear":null}get computedId(){return this.nativeFocusableElement?.id||""}onFocused(t){this.updateFocused(t)}getIndent$(t){return(0,m.R)(t,"scroll").pipe((0,v.U)((()=>-1*Math.max(t.scrollLeft,0))))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(t){const{nativeFocusableElement:e}=this;e&&t.target!==e&&(t.preventDefault(),e.focus())}onAutofilled(t){this.updateAutofilled(t)}detectRetargetFromLabel(t){(0,s.UP)(t)&&t.stopImmediatePropagation()}get iconPaddingLeft(){return H[this.size]}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)}}(i=V).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,g.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.content=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(O,5),2&t){let t;o.iGM(t=o.CRH())&&(e.focusableElement=t.first)}},hostVars:15,hostBindings:function(t,e){1&t&&o.NdJ("focusin",(function(){return e.onFocused(!0)}))("focusout",(function(){return e.onFocused(!1)})),2&t&&(o.uIk("data-size",e.size),o.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),o.ekj("_autofilled",e.autofilled)("_label-outside","table"===e.options.appearance||e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},features:[o._Bn([(0,p.FT)(i),d.Y0]),o.qOj],ngContentSelectors:["input","select","tuiContent","*"],decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown"],["automation-id","tui-primitive-textfield__native-input",1,"t-input",3,"disabled","id","ngModel","readOnly","tabIndex","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"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",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"],["tuiAppearance","icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiAppearance","icon",3,"icon"],["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,"icon",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"icon"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"icon","border",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"icon"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(o.F$t(j),o.YNc(0,M,1,0,"ng-container",0),o.ALo(1,"async"),o.YNc(2,S,1,0,"ng-container",0),o.ALo(3,"async"),o.TgZ(4,"div",1),o.NdJ("click.prevent.silent",(function(t){return e.detectRetargetFromLabel(t)}))("mousedown",(function(t){return e.onMouseDown(t)})),o.ALo(5,"async"),o.Hsn(6),o.Hsn(7,1),o.TgZ(8,"input",2,3),o.NdJ("ngModelChange",(function(t){return e.onModelChange(t)})),o.qZA(),o.YNc(10,A,2,0,"div",4),o.TgZ(11,"div",5),o.YNc(12,T,2,4,"div",6),o.TgZ(13,"div",7),o.YNc(14,I,2,3,"label",8),o.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),o.ALo(18,"async"),o.qZA()()(),o.TgZ(19,"div",12),o.YNc(20,z,2,1,"div",13),o.YNc(21,F,2,4,"span",14),o.YNc(22,L,1,2,"tui-tooltip",15),o.YNc(23,B,2,4,"div",16),o.qZA()()()),2&t){const t=o.MAs(9),n=o.MAs(17);o.Q6J("ngIf",o.lcZ(1,29,null==e.content?null:e.content.changes)),o.xp6(2),o.Q6J("ngIf",o.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),o.xp6(2),o.Udp("--text-indent",o.lcZ(5,33,n.pre$),"px"),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),o.xp6(4),o.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tabIndex",e.computedFocusable?0:-1),o.uIk("aria-invalid",e.computedInvalid)("name",e.name),o.xp6(2),o.Q6J("ngIf",e.inputHidden),o.xp6(2),o.Q6J("ngIf",e.iconLeftContent),o.xp6(2),o.Q6J("ngIf",e.hasPlaceholder),o.xp6(2),o.Udp("text-indent",o.lcZ(18,35,e.getIndent$(t)),"px"),o.ekj("t-has-value",e.value),o.xp6(4),o.Q6J("ngIf",e.hasCustomContent),o.xp6(1),o.Q6J("ngIf",e.hasCleaner),o.xp6(1),o.Q6J("ngIf",e.showHint),o.xp6(1),o.Q6J("ngIf",e.iconContent)}},dependencies:[y.O5,b.Fj,b.JJ,b.On,g.s$,_.o,w.w,x.R,C.N,k.Z,y.Ov],styles:['[_nghost-%COMP%]{position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){.t-input[_ngcontent-%COMP%]:active{font-size:1rem}}.t-input[inputMode=none][_ngcontent-%COMP%]{caret-color:transparent}.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-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .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=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]{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%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-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%;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=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;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-status-negative)}._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-tertiary)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[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-primary)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto;border:.25rem solid transparent}._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;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size=s]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}[data-size=s][_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}.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-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;padding-inline-end:0}.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)([l.UM],V.prototype,"getIndent$",null)},38001:(t,e,n)=>{n.d(e,{B:()=>a});var i=n(20755),r=n(11978),o=n(83140),s=n(9997);let a=(()=>{var t;class e extends r.D1{constructor(){super(...arguments),this.host=(0,i.f3M)(s.y)}get readOnly(){return this.host.readOnly||!this.host.editable}onValueChange(t){this.host.onModelChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[i._Bn([(0,o.cp)(t)]),i.qOj]}),e})()},20633:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(20755),r=n(10676),o=n(55181),s=n(55466),a=n(83140);const l=["tuiTextfieldLegacy",""];let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.idService=(0,i.f3M)(r.ll),this.controller=(0,i.f3M)(s.Cs),this.host=(0,i.f3M)(a.S0),this.host.process(this.el)}get id(){return this.el.id||this.idService.generate()}get inputMode(){return this.el.inputMode||this.host.inputMode}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","tuiTextfieldLegacy",""],["textarea","tuiTextfieldLegacy",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("input",(function(t){return 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([s.Y0])],attrs:l,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){[_nghost-%COMP%]:active{font-size:1rem}}[inputMode=none][_nghost-%COMP%]{caret-color:transparent}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_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}[_nghost-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_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=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost{padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-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}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),e})()},21842:(t,e,n)=>{n.d(e,{Z:()=>d});var i=n(20755),r=n(83140),o=n(56424),s=n(45047),a=n(69286),l=n(55333),c=n(92425),u=n(18004);const h=["pre"];let d=(()=>{var t;class e{constructor(){this.textfield=(0,i.f3M)(r.KZ),this.fontsReady$=(0,i.f3M)(r.tS),this.prefix$=new o.X(""),this.pre$=(0,s.T)(this.fontsReady$,this.prefix$).pipe((0,a.g)(0),(0,l.h)((()=>!!this.pre?.nativeElement.isConnected)),(0,c.U)((()=>this.pre?.nativeElement.offsetWidth||0)),(0,u.x)())}ngDoCheck(){this.prefix$.next(this.prefix)}get isContextTable(){return"table"===this.textfield.appearance}get filler(){const{focused:t,placeholder:e,exampleText:n,value:i,textfield:r}=this;return e&&n?"":t?n||r.filler.slice(i.length):""}get value(){return this.textfield.value}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}get placeholder(){return this.textfield.nativeFocusableElement?.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=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){if(1&t&&i.Gf(h,7,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.pre=t.first)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("animationstart",(function(){return e.ngDoCheck()})),2&t&&i.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&i._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(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;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-tertiary);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-primary)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),e})()},76459:(t,e,n)=>{n.d(e,{Q4:()=>O,TA:()=>k,Ig:()=>M});var i=n(20755),r=n(43226),o=n(11892),s=n(65026),a=n(55181),l=n(73740),c=n(63098),u=n(41589),h=n(11978),d=n(25690),p=n(78748),f=n(45047),g=n(30453),m=n(73843),v=n(92425),y=n(18004),b=n(76733),_=n(46877),w=n(8355);function x(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=i.oxw();i.Q6J("icon",t.icons.check)("tuiScrollIntoView",!0)}}function C(t,e){1&t&&i._UZ(0,"span",4)}let k=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(c.N1),this.el=(0,a.AG)(),this.changeDetection$=new p.x,this.abstractControl=(0,i.f3M)(h.M$,{optional:!0}),this.control=(0,i.f3M)(r.a5),this.option=(0,i.f3M)(c.bH),this.dataList=(0,i.f3M)(c.qi,{optional:!0}),this.icons=(0,i.f3M)(u.Gs),this.context=(0,i.f3M)(d.yf),this.selected$=(0,f.T)(this.changeDetection$,this.control.valueChanges||g.E,(0,s.mL)(this.el,"animationstart")).pipe((0,m.O)(null),(0,v.U)((()=>this.selected)),(0,y.x)())}ngOnInit(){Promise.resolve().then((()=>{(0,l.Pc)(this.option.value)&&!this.option.disabled&&this.host.checkOption?.(this.option.value)}))}ngDoCheck(){this.changeDetection$.next()}get value(){return this.abstractControl?.value??this.control.value}get matcher(){return this.host.identityMatcher||o.bg}get selected(){return(0,l.Pc)(this.option.value)&&(0,l.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"icon","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"icon","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(i.GkF(0,0),i.YNc(1,x,1,2,"tui-icon",1),i.ALo(2,"async"),i.YNc(3,C,1,0,"ng-template",null,2,i.W1O)),2&t){const t=i.MAs(4);i.Q6J("ngTemplateOutlet",e.context.$implicit),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,3,e.selected$))("ngIfElse",t)}},dependencies:[b.O5,b.tP,_._,w.R,b.Ov],styles:['@keyframes _ngcontent-%COMP%_retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:_ngcontent-%COMP%_retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{margin-inline-start:auto;width:1.75rem;border:.25rem solid transparent;border-inline-start-width:.5rem}tui-data-list[data-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.375rem}tui-data-list[data-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),e})();const O=new d.Al(k);let M=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[b.ez]}),e})()},83368:(t,e,n)=>{n.d(e,{Jy:()=>l}),n(73740),n(63098),n(11978),n(19975),n(67917),n(61819),n(26505),n(61122);var i=n(76733),r=n(90621),o=n(76459),s=n(55466),a=n(20755);n(71938),n(94187);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[i.ez,r.KW,o.Ig,s.WU,s.cn]}),e})();n(46914)},26505:(t,e,n)=>{n.d(e,{u:()=>F});var i=n(20755),r=n(86253),o=n(52674),s=n(63098),a=n(71938),l=n(11637),c=n(11978),u=n(83239),h=n(90621),d=n(76459),p=n(55466),f=n(83140),g=n(82673),m=n(46914),v=n(76733),y=n(25690),b=n(9997),_=n(38001),w=n(5362),x=n(20857),C=n(60732),k=n(10938),O=n(1);function M(t,e){1&t&&i.Hsn(0,2,["*ngIf","isMobile"])}function S(t,e){if(1&t&&i.YNc(0,M,1,0,"ng-content",6),2&t){const t=i.oxw();i.Q6J("ngIf",t.isMobile)}}function A(t,e){1&t&&i.GkF(0,7)}function P(t,e){if(1&t&&i._UZ(0,"div",10),2&t){const t=e.polymorpheusOutlet;i.Q6J("textContent",t)}}const E=function(t,e){return{$implicit:t,active:e}};function T(t,e){if(1&t&&(i.TgZ(0,"div",8),i.YNc(1,P,1,1,"div",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.computedContent)("polymorpheusOutletContext",i.WLB(2,E,t.value,t.computedFocused))}}function I(t,e){1&t&&i.GkF(0)}function D(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,I,1,0,"ng-container",12),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.arrow)}}const z=["*",[["input"]],[["select"]]],N=["*","input","select"];let F=(()=>{var t;class e extends c.F9{constructor(){super(...arguments),this.itemsHandlers=(0,i.f3M)(l.Ys),this.textfieldCleaner=(0,i.f3M)(p.Ym),this.textfieldSize=(0,i.f3M)(p.kI),this.arrowMode=(0,i.f3M)(u.Ii),this.options=(0,i.f3M)(m.l),this.isMobile=(0,i.f3M)(r.fL),this.open=!1,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.textfield?.nativeFocusableElement??null}get focused(){return(0,o.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}onValueChange(t){this.value=t||null}handleOption(t){this.focusInput(),this.value=t,this.open=!1}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedContent(){return this.valueContent||this.computedValue}onActiveZone(t){this.updateFocused(t)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,c.sC,7),i.Suo(n,s.gX,5,i.Rgc)),2&t){let t;i.iGM(t=i.CRH())&&(e.nativeSelect=t.first),i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(h.yc,5),i.Gf(a.Bb,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first),i.iGM(t=i.CRH())&&(e.dropdown=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[i._Bn([(0,f.FT)(t),(0,c.wB)(t),(0,s.oE)(t),(0,s.P7)(d.Q4)],[g.yn]),i.qOj],ngContentSelectors:N,decls:10,vars:16,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(i.F$t(z),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("keydown.backspace.prevent",(function(){return e.onKeyDownDelete()}))("keydown.delete.prevent",(function(){return e.onKeyDownDelete()}))("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,S,1,1,"ng-template",null,2,i.W1O),i.YNc(6,A,1,0,"ng-container",3),i.YNc(7,T,2,5,"div",4),i.qZA(),i.YNc(8,D,2,1,"ng-template",null,5,i.W1O),i.qZA()),2&t){const t=i.MAs(5),n=i.MAs(9);i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.interactive&&!e.nativeDropdownMode)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?n:"")("value",e.computedValue),i.xp6(5),i.Q6J("ngTemplateOutlet",t),i.xp6(1),i.Q6J("ngIf",null!==e.value)}},dependencies:[v.O5,v.tP,y.s$,b.y,_.B,w.o,x.A,C.C,k.t,O.B],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}),e})()},61122:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-select"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},46914:(t,e,n)=>{n.d(e,{l:()=>i});const i=(0,n(73740).JN)({valueContent:""})},61573:(t,e,n)=>{n.d(e,{R:()=>o}),n(70380);var i=n(76733),r=n(20755);n(75430);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({imports:[i.ez]}),e})()},70380:(t,e,n)=>{n.d(e,{w:()=>p});var i=n(20755),r=n(86253),o=n(75430),s=n(8355),a=n(25690),l=n(93714),c=n(25932),u=n(7183),h=n(76733);function d(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=e.polymorpheusOutlet;i.Q6J("icon",t)}}let p=(()=>{var t;class e extends o.bZ{constructor(){super(...arguments),this.isMobile=(0,i.f3M)(r.fL),this.describeId=""}get computedAppearance(){return this.appearance||""}stopOnMobile(t){this.isMobile&&(t.preventDefault(),t.stopPropagation()),this.driver$?.toggle()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(t,e){if(1&t&&i.Gf(o.Hr,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",context:"context"},features:[i.qOj],decls:4,vars:11,consts:[["automation-id","tui-tooltip__icon","tuiAppearance","icon",1,"t-tooltip-icon",3,"tuiAppearanceState","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"]],template:function(t,e){if(1&t&&(i.TgZ(0,"span",0,1),i.ALo(2,"async"),i.YNc(3,d,1,1,"tui-icon",2),i.qZA()),2&t){const t=i.MAs(1);i.Q6J("tuiAppearanceState",i.lcZ(2,9,t)?"hover":null)("tuiHint",e.content)("tuiHintAppearance",e.computedAppearance)("tuiHintContext",e.context)("tuiHintDescribe",e.describeId)("tuiHintDirection",e.direction)("tuiHintHideDelay",e.hideDelay)("tuiHintShowDelay",e.showDelay),i.xp6(3),i.Q6J("polymorpheusOutlet",e.icon)}},dependencies:[s.R,a.s$,l.N,c.D,u.e,h.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;pointer-events:auto;cursor:pointer;color:var(--tui-text-primary)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-status-negative)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%}.t-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})()},55466:(t,e,n)=>{n.d(e,{Y0:()=>r.Y0,Ym:()=>r.Ym,z1:()=>r.z1,kI:()=>r.kI,Cs:()=>r.Cs,E2:()=>a.E,Cd:()=>i.C,cn:()=>r.cn,SC:()=>s,WU:()=>l.W});var i=n(60732),r=n(71641);n(94267),n(55181),n(73740),n(83140),n(77430);var o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({}),e})();var a=n(33490),l=n(44806)},60732:(t,e,n)=>{n.d(e,{C:()=>c});var i=n(20755),r=n(62022),o=n(55181),s=n(52674),a=n(71938),l=n(55333);let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.host=(0,i.f3M)(a.Bb,{self:!0}),this.external=(0,i.f3M)(a.Bb,{skipSelf:!0,optional:!0}),this.external?.driver.pipe((0,l.h)((()=>this.host.dropdown===this.external?.dropdown&&!this.host.focused)),(0,r.sL)()).subscribe((t=>{t&&(0,s.BW)({initial:this.el,root:this.el})?.focus(),this.host.toggle(t)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],standalone:!0}),e})()},71641:(t,e,n)=>{n.d(e,{Y0:()=>C,Ym:()=>o.Y,z1:()=>i,kI:()=>w.k,Cs:()=>x,cn:()=>a});const i=(0,n(73740).JN)({iconCleaner:"@tui.x",hintOnDisabled:!1});var r=n(75086),o=n(70388),s=n(20755);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=s.oAB({type:t}),t.ɵinj=s.cJS({}),e})();var l=n(62022),c=n(65026),u=n(83140),h=n(45047),d=n(14553);class p{constructor(t,e,n,i,r,o,s,a,l,c,u,h,d){this.change$=t,this.options=e,this.legacyAppearance=n,this.appearanceDirective=i,this.cleanerDirective=r,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}}var f=n(54447),g=n(23127),m=n(20857),v=n(28021),y=n(97017),b=n(36344),_=n(2365),w=n(62515);const x=new s.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),C=[{provide:x,deps:[s.sBO,i,u.jt,r.x,o.Y,f.U,m.Z,v.G,y.r,w.k,_.x,b.f,g.s],useFactory:(t,e,n,...i)=>{const r=(0,h.T)(...i.map((({change$:t})=>t||d.C))).pipe((0,c.NA)(t),(0,l.sL)());return r.subscribe(),new p(r,e,n,...i)}}]},75086:(t,e,n)=>{n.d(e,{q:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.appearance=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},70388:(t,e,n)=>{n.d(e,{Y:()=>s,b:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.cleaner=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},54447:(t,e,n)=>{n.d(e,{B:()=>a,U:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},23127:(t,e,n)=>{n.d(e,{k:()=>a,s:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.filler=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},28021:(t,e,n)=>{n.d(e,{G:()=>s,a:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},20857:(t,e,n)=>{n.d(e,{A:()=>a,Z:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},97017:(t,e,n)=>{n.d(e,{r:()=>s,x:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},36344:(t,e,n)=>{n.d(e,{T:()=>a,f:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.postfix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},2365:(t,e,n)=>{n.d(e,{A:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.prefix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},62515:(t,e,n)=>{n.d(e,{k:()=>s,s:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.size="l"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},77430:(t,e,n)=>{n.d(e,{n:()=>o});var i=n(33490),r=n(20755);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[r._Bn([i.E])]}),e})()},33490:(t,e,n)=>{n.d(e,{E:()=>a});var i=n(20755),r=n(43226),o=n(83140),s=n(69401);const a={provide:o.sE,deps:[[new i.FiY,new i.PiD,r.JU]],useFactory:s.y}},5362:(t,e,n)=>{n.d(e,{o:()=>r});var i=n(20755);let r=(()=>{var t;class e{constructor(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.appearance)("data-state",e.interactiveState),i.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"}}),e})()},44806:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})()},83140:(t,e,n)=>{n.d(e,{iN:()=>r,KZ:()=>s,tS:()=>d,It:()=>p,hm:()=>v,jt:()=>y,S0:()=>b,sE:()=>w,FT:()=>a,cp:()=>_});var i=n(73740);const r=(0,i.JN)({AD:"+376###-###",AE:"+971-##-###-####",AF:"+93##-###-####",AG:"+1(268) ###-####",AI:"+1(264) ###-####",AL:"+355(###) ###-###",AM:"+374##-###-###",AO:"+244(###) ###-###",AR:"+54(###) ####-####",AT:"+43(###) ###-####",AU:"+61#-####-####",AW:"+297###-####",AZ:"+994##-###-##-##",BA:"+387 ###-####-##",BB:"+1(246) ###-####",BD:"+880##-###-###",BE:"+32(###) ###-###",BF:"+226##-##-####",BG:"+359(###) ###-###",BH:"+973####-####",BI:"+257##-##-####",BJ:"+229##-##-####",BL:"+590 ## ## ## ## ##",BM:"+1(441) ###-####",BN:"+673###-####",BO:"+591#-###-####",BQ:"+599-###-####",BR:"+55(##) ####-####",BS:"+1(242) ###-####",BT:"+975#-###-###",BW:"+267##-###-###",BY:"+375(##) ###-##-##",BZ:"+501###-####",CA:"+1(###) ###-####",CD:"+243(###) ###-###",CF:"+236-##-##-####",CG:"+242##-###-####",CH:"+41##-###-####",CI:"+225##-##-###-###",CL:"+56#-####-####",CM:"+237#####-####",CN:"+86(###) ####-####",CO:"+57(###) ###-####",CR:"+506####-####",CU:"+53#-###-####",CV:"+238(###) ##-##",CW:"+5999-###-####",CY:"+357##-###-###",CZ:"+420(###) ###-###",DE:"+49(###) ###-###-##",DJ:"+253##-##-##-##",DK:"+45##-##-##-##",DM:"+1(767) ###-####",DO:"+1(###) ###-####",DZ:"+213##-###-####",EC:"+593##-###-####",EE:"+372####-####",EG:"+20(###) ###-####",ER:"+291#-###-###",ES:"+34(###) ###-###",ET:"+251##-###-####",FI:"+358(###) ###-##-##",FJ:"+679##-#####",FK:"+500#####",FM:"+691###-####",FR:"+33 ## ## ## ## ##",GA:"+241##-##-##-##",GB:"+44##-####-####",GD:"+1(473) ###-####",GE:"+995(###) ###-###",GF:"+594 ## ## ## ## ##",GH:"+233(###) ###-###",GI:"+350###-#####",GL:"+299##-##-##",GM:"+220(###) ##-##",GN:"+224##-###-###",GP:"+590 ## ## ## ## ##",GQ:"+240##-###-####",GR:"+30(###) ###-####",GT:"+502#-###-####",GW:"+245#-######",GY:"+592###-####",HK:"+852####-####",HN:"+504####-####",HR:"+385##-###-####",HT:"+509##-##-####",HU:"+36(###) ###-###",ID:"+62(###) ###-##-###",IE:"+353(###) ###-###",IL:"+972##-###-####",IN:"+91(####) ###-###",IQ:"+964(###) ###-####",IR:"+98(###) ###-####",IS:"+354###-####",IT:"+39(###) ####-###",JM:"+1(876) ###-####",JO:"+962#-####-####",JP:"+81-##-####-####",KE:"+254###-######",KG:"+996(###) ###-###",KH:"+855##-###-###",KM:"+269##-#####",KN:"+1(869) ###-####",KP:"+850####-#############",KR:"+82##-###-####",KW:"+965####-####",KY:"+1(345) ###-####",KZ:"+7(###) ###-##-##",LA:"+856##-##-###-###",LB:"+961##-###-###",LC:"+1(758) ###-####",LI:"+423(###) ###-####",LK:"+94##-###-####",LR:"+231##-###-###",LS:"+266#-###-####",LT:"+370(###) ##-###",LU:"+352(###) ###-###",LV:"+371##-###-###",LY:"+218##-###-####",MA:"+212##-####-###",MC:"+377###-###-###",MD:"+373####-####",ME:"+382##-###-###",MF:"+590 ## ## ## ## ##",MG:"+261##-##-#####",MK:"+389##-###-###",ML:"+223##-##-####",MM:"+95##-###-###",MN:"+976##-##-####",MO:"+853####-####",MQ:"+596 ## ## ## ## ##",MR:"+222##-##-####",MS:"+1(664) ###-####",MT:"+356####-####",MU:"+230####-####",MV:"+960###-####",MW:"+265#-####-####",MX:"+52(###) ###-####",MY:"+60(###) ###-###",MZ:"+258##-###-###",NA:"+264##-###-####",NC:"+687 ### ###",NE:"+227##-##-####",NG:"+234(###) ###-####",NI:"+505####-####",NL:"+31##-###-####",NO:"+47(###) ##-###",NP:"+977##-###-###",NZ:"+64(###) ###-####",OM:"+968##-###-###",PA:"+507###-####",PE:"+51(###) ###-###",PF:"+689 ## ## ## ##",PG:"+675(###) ##-###",PH:"+63(###) ###-####",PK:"+92(###) ###-####",PL:"+48(###) ###-###",PT:"+351##-###-####",PW:"+680###-####",PY:"+595(###) ###-###",QA:"+974####-####",RE:"+262 ## ## ## ## ##",RO:"+40##-###-####",RS:"+381##-###-####",RU:"+7### ###-##-##",RW:"+250(###) ###-###",SA:"+966#-####-####",SB:"+677###-####",SC:"+248#-###-###",SD:"+249##-###-####",SE:"+46##-###-####",SG:"+65####-####",SH:"+290####",SI:"+386##-###-###",SK:"+421(###) ###-###",SL:"+232##-######",SM:"+378####-######",SN:"+221##-###-####",SO:"+252##-###-###",SR:"+597###-####",ST:"+239##-#####",SV:"+503##-##-####",SX:"+1(721) ###-####",SY:"+963##-####-###",SZ:"+268##-##-####",TC:"+1(649) ###-####",TD:"+235##-##-##-##",TG:"+228##-###-###",TH:"+66##-###-####",TJ:"+992##-###-####",TL:"+670###-#####",TM:"+993#-###-####",TN:"+216##-###-###",TO:"+676#####",TR:"+90(###) ###-####",TT:"+1(868) ###-####",TW:"+886#-####-####",TZ:"+255##-###-####",UA:"+380(##) ###-##-##",UG:"+256(###) ###-###",US:"+1(###) ###-####",UY:"+598#-###-##-##",UZ:"+998##-###-####",VC:"+1(784) ###-####",VE:"+58(###) ###-####",VG:"+1(284)###-####",VN:"+84(###) ####-###",VU:"+678##-#####",WS:"+685##-####",XK:"+383##-###-###",YE:"+967###-###-###",YT:"+262 ## ## ## ## ##",ZA:"+27##-###-####",ZM:"+260##-###-####",ZW:"+263#-######",VA:"+39 #### ###-####",WF:"+681 ## ##-##",VI:"+1(340) ###-####",JE:"+44(####) ######",AC:"+247###-####",TV:"+686###-####",TK:"+690###-####",TA:"+290###-####",SS:"+211### ###-###",SJ:"+47 ## ##-##-##",PS:"+970 #### ###-###",PR:"+1(###) ###-####",PM:"+508 ### ##-##-##",NU:"+683 ###-####",NR:"+674 ###-####",NF:"+672##-####",MP:"+1(670) ###-####",MH:"+692 ###-####",KI:"+686 ####-####",IO:"+246 ### ####",IM:"+44(####) ######",GU:"+1(###) ###-###",GG:"+44(###) ###-####",FO:"+298 ######",EH:"+212 #### #####",CX:"+61 # ####-####",CK:"+682 ## ###",CC:"+61 # ####-####",AX:"+358 ## ###-####",AS:"+1(###) ###-####"});var o=n(20755);const s=new o.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function a(t){return(0,i.Q2)(s,t)}var l=n(76733),c=n(3489),u=n(30453),h=n(20530);const d=new o.OlP("[TUI_FONTS_READY]",{factory:()=>(0,c.D)((0,o.f3M)(l.K0).fonts?.ready||u.E).pipe((0,h.d)({bufferSize:1,refCount:!1}))}),p=(0,i.JN)({});var f=n(42772),g=n(82673);(0,i.N1)((()=>(0,g.lx)((0,o.f3M)(f.s5)))),(0,i.N1)((()=>!!(0,o.f3M)(f.m9).chrome)),(0,i.N1)((()=>void 0!==(0,o.f3M)(f.m9)?.mozCancelFullScreen)),(0,i.N1)((()=>(0,o.f3M)(f.m9).location.host.endsWith("stackblitz.io")));var m=n(15625);n(92425),n(71209),new o.OlP("[TUI_MONTH_FORMATTER]"),m.$;const v=new o.OlP("[TUI_SANITIZER]"),y=(0,i.JN)("textfield"),b=new o.OlP("[TUI_TEXTFIELD_HOST]");function _(t){return(0,i.Q2)(b,t)}(0,i.N1)((()=>(0,o.f3M)(f.m9).matchMedia("(any-pointer: coarse)").matches));const w=new o.OlP("[TUI_VALUE_ACCESSOR]")},82673:(t,e,n)=>{n.d(e,{yn:()=>C,uJ:()=>c,ux:()=>i,_X:()=>a,fn:()=>l,ht:()=>h,lx:()=>f,jL:()=>g,zm:()=>v,u7:()=>y,NK:()=>x});const i={DMY:"dd/mm/yyyy",MDY:"mm/dd/yyyy",YMD:"yyyy/mm/dd"};var r=n(11892);const o=1.5,s=2.5;function a(t,e=!1,n=!1,i=!1,r="m"){const a="s"===r?0:.25;let l=0;return t&&(l+=o+a),e&&(l+=o+a),n&&(l+=o+a),i&&(l+=s+a),l}function l(t,e){return t[e].replaceAll(/[()\- ]/g,"").length}const c=`?v=${r.Ml}`,u=t=>t.includes(".svg#")?t:`#${t}`;function h(t){const e=t.endsWith("/")?t:`${t}/`;return t=>t.startsWith("tuiIcon")?`${e}${t}.svg${c}#${t}`:u(t)}var d=n(21247);const p=/^((?!chrome|android).)*safari/i;function f(t){return(0,d.i)(t)||p.test(t.userAgent.toLowerCase())}function g(t){const e=t.trim();return e.startsWith("<")&&e.endsWith(">")}const m=/\([#]+\)|[#\- ]/g;function v(t,e){return t[e].replaceAll(m,"")}function y(t){const e=Number(t.slice(1,4));return e<600||e>799}const b='width="',_='height="',w="")));if(!i?.includes(b)||!i.includes(_))return`${n.replace(w,``;const r=i.indexOf(b),o=i.indexOf(_),s=r+b.length,a=o+_.length,l=i.slice(s,i.indexOf('"',s)),c=i.slice(a,i.indexOf('"',a));if(!c||!l||l.includes("%")||c.includes("%")||l.includes("em")||c.includes("em"))return n.replace(w,`${n}`}const C=(0,n(71938).fx)({limitWidth:"fixed",align:"right"})},12405:(t,e,n)=>{n.d(e,{EY:()=>p,IO:()=>d,LC:()=>r,X$:()=>s,ZE:()=>g,ZN:()=>f,_j:()=>i,eR:()=>u,jt:()=>a,k1:()=>m,l3:()=>o,oB:()=>c,pV:()=>h,vP:()=>l});class i{}class r{}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}}class f{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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(){queueMicrotask((()=>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,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}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 g{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,i=0;const r=this.players.length;0==r?queueMicrotask((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++e==r&&this._onFinish()})),t.onDestroy((()=>{++n==r&&this._onDestroy()})),t.onStart((()=>{++i==r&&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 m="!"},80396:(t,e,n)=>{n.d(e,{Ar:()=>mt,DT:()=>Wt,NH:()=>ft,Th:()=>Gt,Vi:()=>_,nV:()=>b});var i=n(12405),r=n(20755);function o(t){return new r.vHH(3e3,!1)}function s(t){switch(t.length){case 0:return new i.ZN;case 1:return t[0];default:return new i.ZE(t)}}function a(t,e,n=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(e.forEach((e=>{const r=e.get("offset"),u=r==l,h=u&&c||new Map;e.forEach(((e,r)=>{let a=r,l=e;if("offset"!==r)switch(a=t.normalizePropertyName(a,s),l){case i.k1:l=n.get(r);break;case i.l3:l=o.get(r);break;default:l=t.normalizeStyleValue(r,a,l,s)}h.set(a,l)})),u||a.push(h),c=h,l=r})),s.length)throw new r.vHH(3502,!1);return a}function l(t,e,n,i){switch(e){case"start":t.onStart((()=>i(n&&c(n,"start",t))));break;case"done":t.onDone((()=>i(n&&c(n,"done",t))));break;case"destroy":t.onDestroy((()=>i(n&&c(n,"destroy",t))))}}function c(t,e,n){const i=n.totalTime,r=!!n.disabled,o=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,r),s=t._data;return null!=s&&(o._data=s),o}function u(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function h(t,e,n){let i=t.get(e);return i||t.set(e,i=n),i}function d(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}const p=(()=>"undefined"==typeof document?null:document.documentElement)();function f(t){const e=t.parentNode||t.host||null;return e===p?null:e}let g=null,m=!1;function v(t,e){for(;e;){if(e===t)return!0;e=f(e)}return!1}function y(t,e,n){if(n)return Array.from(t.querySelectorAll(e));const i=t.querySelector(e);return i?[i]:[]}let b=(()=>{var t;class e{validateStyleProperty(t){return function(t){g||(g=("undefined"!=typeof document?document.body:null)||{},m=!!g.style&&"WebkitAppearance"in g.style);let e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in g.style,!e&&m)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in g.style),e}(t)}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,o,s=[],a){return new i.ZN(n,r)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})(),_=(()=>{class t{}return t.NOOP=new b,t})();const w=1e3,x="ng-enter",C="ng-leave",k="ng-trigger",O=".ng-trigger",M="ng-animating",S=".ng-animating";function A(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:P(parseFloat(e[1]),e[2])}function P(t,e){return"s"===e?t*w:t}function E(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){const i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let s,a=0,l="";if("string"==typeof t){const n=t.match(i);if(null===n)return e.push(o()),{duration:0,delay:0,easing:""};s=P(parseFloat(n[1]),n[2]);const r=n[3];null!=r&&(a=P(parseFloat(r),n[4]));const c=n[5];c&&(l=c)}else s=t;if(!n){let t=!1,n=e.length;s<0&&(e.push(new r.vHH(3100,!1)),t=!0),a<0&&(e.push(new r.vHH(3101,!1)),t=!0),t&&e.splice(n,0,o())}return{duration:s,delay:a,easing:l}}(t,e,n)}function T(t,e={}){return Object.keys(t).forEach((n=>{e[n]=t[n]})),e}function I(t){const e=new Map;return Object.keys(t).forEach((n=>{const i=t[n];e.set(n,i)})),e}function D(t,e=new Map,n){if(n)for(let[t,i]of n)e.set(t,i);for(let[n,i]of t)e.set(n,i);return e}function z(t,e,n){e.forEach(((e,i)=>{const r=V(i);n&&!n.has(i)&&n.set(i,t.style[r]),t.style[r]=e}))}function N(t,e){e.forEach(((e,n)=>{const i=V(n);t.style[i]=""}))}function F(t){return Array.isArray(t)?1==t.length?t[0]:(0,i.vP)(t):t}const L=new RegExp("{{\\s*(.+?)\\s*}}","g");function R(t){let e=[];if("string"==typeof t){let n;for(;n=L.exec(t);)e.push(n[1]);L.lastIndex=0}return e}function B(t,e,n){const i=t.toString(),o=i.replace(L,((t,i)=>{let o=e[i];return null==o&&(n.push(new r.vHH(3003,!1)),o=""),o.toString()}));return o==i?t:o}function j(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function V(t){return t.replace(H,((...t)=>t[1].toUpperCase()))}function $(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw e.type,new r.vHH(3004,!1)}}function q(t,e){return window.getComputedStyle(t)[e]}const Z="*";function U(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach((t=>function(t,e,n){if(":"==t[0]){const i=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 i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(new r.vHH(3015,!1)),e;const o=i[1],s=i[2],a=i[3];e.push(J(o,a));const l=o==Z&&a==Z;"<"!=s[0]||l||e.push(J(a,o))}(t,n,e))):n.push(t),n}const G=new Set(["true","1"]),Q=new Set(["false","0"]);function J(t,e){const n=G.has(t)||Q.has(t),i=G.has(e)||Q.has(e);return(r,o)=>{let s=t==Z||t==r,a=e==Z||e==o;return!s&&n&&"boolean"==typeof r&&(s=r?G.has(t):Q.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?G.has(e):Q.has(e)),s&&a}}const Y=":self",W=new RegExp(`s*${Y}s*,?`,"g");function K(t,e,n,i){return new X(t).build(e,n,i)}class X{constructor(t){this._driver=t}build(t,e,n){const i=new tt(e);return this._resetContextStyleTimingState(i),$(this,F(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(new r.vHH(3006,!1)),t.definitions.forEach((t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach((t=>{n.name=t,o.push(this.visitState(n,e))})),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push(new r.vHH(3007,!1))})),{type:7,name:t.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const o=new Set,s=i||{};n.styles.forEach((t=>{t instanceof Map&&t.forEach((t=>{R(t).forEach((t=>{s.hasOwnProperty(t)||o.add(t)}))}))})),o.size&&(j(o.values()),e.errors.push((t.name,new r.vHH(3008,!1))))}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=$(this,F(t.animation),e);return{type:1,matchers:U(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map((t=>$(this,t,e))),options:et(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map((t=>{e.currentTime=n;const r=$(this,t,e);return i=Math.max(i,e.currentTime),r}));return e.currentTime=i,{type:3,steps:r,options:et(t.options)}}visitAnimate(t,e){const n=function(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return nt(E(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some((t=>"{"==t.charAt(0)&&"{"==t.charAt(1)))){const t=nt(0,0,"");return t.dynamic=!0,t.strValue=n,t}const i=E(n,e);return nt(i.duration,i.delay,i.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let o=t.styles?t.styles:(0,i.oB)({});if(5==o.type)r=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,i.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,r=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let t of o)"string"==typeof t?t===i.l3?n.push(t):e.errors.push(new r.vHH(3002,!1)):n.push(I(t));let s=!1,a=null;return n.forEach((t=>{if(t instanceof Map&&(t.has("easing")&&(a=t.get("easing"),t.delete("easing")),!s))for(let e of t.values())if(e.toString().indexOf("{{")>=0){s=!0;break}})),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,n)=>{const s=e.collectedStyles.get(e.currentQuerySelector),a=s.get(n);let l=!0;a&&(o!=i&&o>=a.startTime&&i<=a.endTime&&(e.errors.push((a.startTime,a.endTime,new r.vHH(3010,!1))),l=!1),o=a.startTime),l&&s.set(n,{startTime:o,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},o=R(t);o.length&&o.forEach((t=>{i.hasOwnProperty(t)||n.push(new r.vHH(3001,!1))}))}(t,e.options,e.errors)}))}))}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(new r.vHH(3011,!1)),n;let i=0;const o=[];let s=!1,a=!1,l=0;const c=t.steps.map((t=>{const n=this._makeStyleAst(t,e);let r=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach((t=>{if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}}));else if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}(n.styles),c=0;return null!=r&&(i++,c=n.offset=r),a=a||c<0||c>1,s=s||c0&&i{const r=h>0?i==d?1:h*i:o[i],s=r*g;e.currentTime=p+f.delay+s,f.duration=s,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)})),n}visitReference(t,e){return{type:8,animation:$(this,F(t.animation),e),options:et(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:et(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function(t){const e=!!t.split(/\s*,\s*/).find((t=>t==Y));return e&&(t=t.replace(W,"")),[t=t.replace(/@\*/g,O).replace(/@\w+/g,(t=>O+"-"+t.slice(1))).replace(/:animating/g,S),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,h(e.collectedStyles,e.currentQuerySelector,new Map);const s=$(this,F(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:et(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(new r.vHH(3013,!1));const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:E(t.timings,e.errors,!0);return{type:12,animation:$(this,F(t.animation),e),timings:n,options:null}}}class tt{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function et(t){var e;return t?(t=T(t)).params&&(t.params=(e=t.params)?T(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function it(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class rt{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}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 ot=new RegExp(":enter","g"),st=new RegExp(":leave","g");function at(t,e,n,i,r,o=new Map,s=new Map,a,l,c=[]){return(new lt).buildKeyframes(t,e,n,i,r,o,s,a,l,c)}class lt{buildKeyframes(t,e,n,i,r,o,s,a,l,c=[]){l=l||new rt;const u=new ut(t,e,l,i,r,c,[]);u.options=a;const h=a.delay?A(a.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([o],null,u.errors,a),$(this,n,u);const d=u.timelines.filter((t=>t.containsAnimation()));if(d.length&&s.size){let t;for(let n=d.length-1;n>=0;n--){const i=d[n];if(i.element===e){t=i;break}}t&&!t.allowOnlyTimelineStyles()&&t.setStyles([s],null,u.errors,a)}return d.length?d.map((t=>t.buildKeyframes())):[it(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const i of t){const t=i?.delay;if(t){const r="number"==typeof t?t:A(B(t,i?.params??{},e.errors));n.delayNextStep(r)}}}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==r&&t.forEach((t=>{const n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)})),i}visitReference(t,e){e.updateOptions(t.options,!0),$(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ct);const t=A(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach((t=>$(this,t,i))),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?A(t.options.delay):0;t.steps.forEach((o=>{const s=e.createSubContext(t.options);r&&s.delayNextStep(r),$(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)})),n.forEach((t=>e.currentTimeline.mergeTimelineCollectedStyles(t))),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return E(e.params?B(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),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((t=>{const n=t.offset||0;o.forwardTime(n*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?A(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ct);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach(((n,i)=>{e.currentQueryIndex=i;const s=e.createSubContext(t.options,n);r&&s.delayNextStep(r),n===e.element&&(a=s.currentTimeline),$(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe();const l=s.currentTimeline.currentTime;o=Math.max(o,l)})),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,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;$(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ct={};class ut{constructor(t,e,n,i,r,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ct,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ht(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=A(n.duration)),null!=n.delay&&(i.delay=A(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach((n=>{e&&t.hasOwnProperty(n)||(t[n]=B(r[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 i=e||this.element,r=new ut(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ct,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new dt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(st,"."+this._leaveClassName);const e=1!=n;let i=this._driver.query(this.element,t,e);0!==n&&(i=n<0?i.slice(i.length+n,i.length):i.slice(0,n)),a.push(...i)}return o||0!=a.length||s.push(new r.vHH(3014,!1)),a}}class ht{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ht(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[t,e]of this._globalTimelineStyles)this._backFill.set(t,e||i.l3),this._currentKeyframe.set(t,i.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function(t,e){const n=new Map;let r;return t.forEach((t=>{if("*"===t){r=r||e.keys();for(let t of r)n.set(t,i.l3)}else D(t,n)})),n}(t,this._globalTimelineStyles);for(let[t,e]of s){const r=B(e,o,n);this._pendingStyles.set(t,r),this._localTimelineStyles.has(t)||this._backFill.set(t,this._globalTimelineStyles.get(t)??i.l3),this._updateStyle(t,r)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((t,e)=>{this._currentKeyframe.set(e,t)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)})))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach(((t,e)=>{const n=this._styleSummary.get(e);(!n||t.time>n.time)&&this._updateStyle(e,t.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach(((o,s)=>{const a=D(o,new Map,this._backFill);a.forEach(((n,r)=>{n===i.k1?t.add(r):n===i.l3&&e.add(r)})),n||a.set("offset",s/this.duration),r.push(a)}));const o=t.size?j(t.values()):[],s=e.size?j(e.values()):[];if(n){const t=r[0],e=new Map(t);t.set("offset",0),e.set("offset",1),r=[t,e]}return it(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class dt extends ht{constructor(t,e,n,i,r,o,s=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,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:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=n+e,s=e/o,a=D(t[0]);a.set("offset",0),r.push(a);const l=D(t[0]);l.set("offset",pt(s)),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let s=D(t[i]);const a=e+s.get("offset")*n;s.set("offset",pt(a/o)),r.push(s)}n=o,e=0,i="",t=r}return it(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}const gt=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class mt extends ft{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let o="";const s=n.toString().trim();if(gt.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(new r.vHH(3005,!1))}return s+o}}function vt(t,e,n,i,r,o,s,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const yt={};class bt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some((t=>t(e,n,i,r)))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,n):new Map}build(t,e,n,i,r,o,s,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||yt,p=s&&s.params||yt,f=this.buildStyles(n,p,u),g=a&&a.params||yt,m=this.buildStyles(i,g,u),v=new Set,y=new Map,b=new Map,_="void"===i,w={params:_t(g,d),delay:this.ast.options?.delay},x=c?[]:at(t,e,this.ast.animation,r,o,f,m,w,l,u);let C=0;if(x.forEach((t=>{C=Math.max(t.duration+t.delay,C)})),u.length)return vt(e,this._triggerName,n,i,_,f,m,[],[],y,b,C,u);x.forEach((t=>{const n=t.element,i=h(y,n,new Set);t.preStyleProps.forEach((t=>i.add(t)));const r=h(b,n,new Set);t.postStyleProps.forEach((t=>r.add(t))),n!==e&&v.add(n)}));const k=j(v.values());return vt(e,this._triggerName,n,i,_,f,m,x,k,y,b,C)}}function _t(t,e){const n=T(e);for(const e in t)t.hasOwnProperty(e)&&null!=t[e]&&(n[e]=t[e]);return n}class wt{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,i=T(this.defaultParams);return Object.keys(t).forEach((e=>{const n=t[e];null!==n&&(i[e]=n)})),this.styles.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,r)=>{t&&(t=B(t,i,e));const o=this.normalizer.normalizePropertyName(r,e);t=this.normalizer.normalizeStyleValue(r,o,t,e),n.set(r,t)}))})),n}}class xt{constructor(t,e,n){var i,r;this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach((t=>{const e=t.options&&t.options.params||{};this.states.set(t.name,new wt(t.style,e,n))})),Ct(this.states,"true","1"),Ct(this.states,"false","0"),e.transitions.forEach((e=>{this.transitionFactories.push(new bt(t,e,this.states))})),this.fallbackTransition=(i=t,r=this.states,this._normalizer,new bt(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find((r=>r.match(t,e,n,i)))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ct(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}const kt=new rt;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],i=K(this._driver,e,n,[]);if(n.length)throw new r.vHH(3503,!1);this._animations.set(t,i)}_buildPlayer(t,e,n){const i=t.element,r=a(this._normalizer,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const o=[],a=this._animations.get(t);let l;const c=new Map;if(a?(l=at(this._driver,e,a,x,C,new Map,new Map,n,kt,o),l.forEach((t=>{const e=h(c,t.element,new Map);t.postStyleProps.forEach((t=>e.set(t,null)))}))):(o.push(new r.vHH(3300,!1)),l=[]),o.length)throw new r.vHH(3504,!1);c.forEach(((t,e)=>{t.forEach(((n,r)=>{t.set(r,this._driver.computeStyle(e,r,i.l3))}))}));const u=s(l.map((t=>{const e=c.get(t.element);return this._buildPlayer(t,new Map,e)})));return this._playersById.set(t,u),u.onDestroy((()=>this.destroy(t))),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw new r.vHH(3301,!1);return e}listen(t,e,n,i){const r=u(e,"","","");return l(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n){const n=i[0]||{};return void this.create(t,e,n)}const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Mt="ng-animate-queued",St="ng-animate-disabled",At=[],Pt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Et={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed";class It{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value"),i=n?t.value:t;if(this.value=function(t){return null!=t?t:null}(i),n){const e=T(t);delete e.value,this.options=e}else this.options={};this.options.params||(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 Dt="void",zt=new It(Dt);class Nt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Vt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.has(e))throw new r.vHH(3302,!1);if(null==n||0==n.length)throw new r.vHH(3303,!1);if("start"!=(o=n)&&"done"!=o)throw new r.vHH(3400,!1);var o;const s=h(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);const l=h(this._engine.statesByElement,t,new Map);return l.has(e)||(Vt(t,k),Vt(t,k+"-"+e),l.set(e,zt)),()=>{this._engine.afterFlush((()=>{const t=s.indexOf(a);t>=0&&s.splice(t,1),this._triggers.has(e)||l.delete(e)}))}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw new r.vHH(3401,!1);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),o=new Lt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Vt(t,k),Vt(t,k+"-"+e),this._engine.statesByElement.set(t,s=new Map));let a=s.get(e);const l=new It(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s.set(e,l),a||(a=zt),l.value!==Dt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let i=0;i{N(t,n),z(t,i)}))}return}const c=h(this._engine.playersByElement,t,[]);c.forEach((t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()}));let u=r.matchTransition(a.value,l.value,t,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(Vt(t,Mt),o.onStart((()=>{$t(t,Mt)}))),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){this._triggers.delete(t),this._engine.statesByElement.forEach((e=>e.delete(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,O,!0);n.forEach((t=>{if(t[Tt])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,i){const r=this._engine.statesByElement.get(t),o=new Map;if(r){const a=[];if(r.forEach(((e,n)=>{if(o.set(n,e.value),this._triggers.has(n)){const e=this.trigger(t,n,Dt,i);e&&a.push(e)}})),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),n&&s(a).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 i=new Set;e.forEach((e=>{const r=e.name;if(i.has(r))return;i.add(r);const o=this._triggers.get(r).fallbackTransition,s=n.get(r)||zt,a=new It(Dt),l=new Lt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,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 i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[Tt];i&&i!==Pt||(n.afterFlush((()=>this.clearElementCache(t))),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Vt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach((n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach((e=>{if(e.name==n.triggerName){const i=u(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,l(n.player,e.phase,i,e.callback)}})),i.markedForDestroy?this._engine.afterFlush((()=>{i.destroy()})):e.push(n)})),this._queue=[],e.sort(((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1}))}destroy(t){this.players.forEach((t=>t.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class Ft{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}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)=>{}}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 Nt(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,i=this.namespacesByHostElement;if(n.length-1>=0){let r=!1,o=this.driver.getParentElement(e);for(;o;){const e=i.get(o);if(e){const i=n.indexOf(e);n.splice(i+1,0,t),r=!0;break}o=this.driver.getParentElement(o)}r||n.unshift(t)}else n.push(t);return i.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 i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush((()=>{})),this.afterFlushAnimationsDone((()=>{const n=this._fetchNamespace(t);this.namespacesByHostElement.delete(n.hostElement);const i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(e),delete this._namespaceLookup[t]})))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let t of n.values())if(t.namespaceId){const n=this._fetchNamespace(t.namespaceId);n&&e.add(n)}return e}trigger(t,e,n,i){if(Rt(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Rt(e))return;const r=e[Tt];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Vt(t,St)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),$t(t,St))}removeNode(t,e,n){if(Rt(e)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n);const r=this.namespacesByHostElement.get(e);r&&r.id!==t&&r.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,n,i,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,n,i,r){return Rt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,O,!0);e.forEach((t=>this.destroyActiveAnimationsForElement(t))),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,S,!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 s(this.players).onDone((()=>t()));t()}))}processLeaveNode(t){const e=t[Tt];if(e&&e.setForRemoval){if(t[Tt]=Pt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(St)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!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 t=0;tt())),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone((()=>{t.forEach((t=>t()))})):t.forEach((t=>t()))}}reportError(t){throw new r.vHH(3402,!1)}_flushAnimations(t,e){const n=new rt,o=[],a=new Map,l=[],c=new Map,u=new Map,d=new Map,p=new Set;this.disabledNodes.forEach((t=>{p.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let t=0;t{const n=x+y++;v.set(e,n),t.forEach((t=>Vt(t,n)))}));const b=[],_=new Set,w=new Set;for(let t=0;t_.add(t))):w.add(e))}const k=new Map,O=Ht(g,Array.from(_));O.forEach(((t,e)=>{const n=C+y++;k.set(e,n),t.forEach((t=>Vt(t,n)))})),t.push((()=>{m.forEach(((t,e)=>{const n=v.get(e);t.forEach((t=>$t(t,n)))})),O.forEach(((t,e)=>{const n=k.get(e);t.forEach((t=>$t(t,n)))})),b.forEach((t=>{this.processLeaveNode(t)}))}));const M=[],A=[];for(let t=this._namespaceList.length-1;t>=0;t--)this._namespaceList[t].drainQueuedTransitions(e).forEach((t=>{const e=t.player,i=t.element;if(M.push(e),this.collectedEnterElements.length){const n=i[Tt];if(n&&n.setForMove){if(n.previousTriggersValues&&n.previousTriggersValues.has(t.triggerName)){const e=n.previousTriggersValues.get(t.triggerName),i=this.statesByElement.get(t.element);if(i&&i.has(t.triggerName)){const n=i.get(t.triggerName);n.value=e,i.set(t.triggerName,n)}}return void e.destroy()}}const r=!f||!this.driver.containsElement(f,i),s=k.get(i),a=v.get(i),p=this._buildInstruction(t,n,a,s,r);if(p.errors&&p.errors.length)return void A.push(p);if(r)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);if(t.isFallbackTransition)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);const g=[];p.timelines.forEach((t=>{t.stretchStartingKeyframe=!0,this.disabledNodes.has(t.element)||g.push(t)})),p.timelines=g,n.append(i,p.timelines);const m={instruction:p,player:e,element:i};l.push(m),p.queriedElements.forEach((t=>h(c,t,[]).push(e))),p.preStyleProps.forEach(((t,e)=>{if(t.size){let n=u.get(e);n||u.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}})),p.postStyleProps.forEach(((t,e)=>{let n=d.get(e);n||d.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}))}));if(A.length){const t=[];A.forEach((e=>{t.push((e.triggerName,e.errors,new r.vHH(3505,!1)))})),M.forEach((t=>t.destroy())),this.reportError(t)}const P=new Map,E=new Map;l.forEach((t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))})),o.forEach((t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((t=>{h(P,e,[]).push(t),t.destroy()}))}));const T=b.filter((t=>Ut(t,u,d))),I=new Map;jt(I,this.driver,w,d,i.l3).forEach((t=>{Ut(t,u,d)&&T.push(t)}));const D=new Map;m.forEach(((t,e)=>{jt(D,this.driver,new Set(t),u,i.k1)})),T.forEach((t=>{const e=I.get(t),n=D.get(t);I.set(t,new Map([...e?.entries()??[],...n?.entries()??[]]))}));const F=[],L=[],R={};l.forEach((t=>{const{element:e,player:i,instruction:r}=t;if(n.has(e)){if(p.has(e))return i.onDestroy((()=>z(e,r.toStyles))),i.disabled=!0,i.overrideTotalTime(r.totalTime),void o.push(i);let t=R;if(E.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}i.push(n)}i.forEach((e=>E.set(e,t)))}const n=this._buildAnimation(i.namespaceId,r,P,a,D,I);if(i.setRealPlayer(n),t===R)F.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=s(e)),o.push(i)}}else N(e,r.fromStyles),i.onDestroy((()=>z(e,r.toStyles))),L.push(i),p.has(e)&&o.push(i)})),L.forEach((t=>{const e=a.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}})),o.forEach((t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(let t=0;t!t.destroyed));r.length?qt(this,e,r):this.processLeaveNode(e)}return b.length=0,F.forEach((t=>{this.players.push(t),t.onDone((()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)})),t.play()})),F}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Dt;e.forEach((e=>{e.queued||(t||e.triggerName==i)&&o.push(e)}))}}return(n||i)&&(o=o.filter((t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName)))),o}_beforeAnimationBuild(t,e,n){const i=e.triggerName,r=e.element,o=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:i;for(const t of e.timelines){const i=t.element,a=i!==r,l=h(n,i,[]);this._getPreviousPlayers(i,a,o,s,e.toState).forEach((t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)}))}N(r,e.fromStyles)}_buildAnimation(t,e,n,r,o,l){const c=e.triggerName,u=e.element,d=[],p=new Set,f=new Set,g=e.timelines.map((e=>{const s=e.element;p.add(s);const h=s[Tt];if(h&&h.removedBeforeQueried)return new i.ZN(e.duration,e.delay);const g=s!==u,m=function(t){const e=[];return Zt(t,e),e}((n.get(s)||At).map((t=>t.getRealPlayer()))).filter((t=>{const e=t;return!!e.element&&e.element===s})),v=o.get(s),y=l.get(s),b=a(this._normalizer,e.keyframes,v,y),_=this._buildPlayer(e,b,m);if(e.subTimeline&&r&&f.add(s),g){const e=new Lt(t,c,s);e.setRealPlayer(_),d.push(e)}return _}));d.forEach((t=>{h(this.playersByQueriedElement,t.element,[]).push(t),t.onDone((()=>function(t,e,n){let i=t.get(e);if(i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}return i}(this.playersByQueriedElement,t.element,t)))})),p.forEach((t=>Vt(t,M)));const m=s(g);return m.onDestroy((()=>{p.forEach((t=>$t(t,M))),z(u,e.toStyles)})),f.forEach((t=>{h(r,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 i.ZN(t.duration,t.delay)}}class Lt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach(((e,n)=>{e.forEach((e=>l(t,n,void 0,e)))})),this._queuedCallbacks.clear(),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){h(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 Rt(t){return t&&1===t.nodeType}function Bt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function jt(t,e,n,i,r){const o=[];n.forEach((t=>o.push(Bt(t))));const s=[];i.forEach(((n,i)=>{const o=new Map;n.forEach((t=>{const n=e.computeStyle(i,t,r);o.set(t,n),n&&0!=n.length||(i[Tt]=Et,s.push(i))})),t.set(i,o)}));let a=0;return n.forEach((t=>Bt(t,o[a++]))),s}function Ht(t,e){const n=new Map;if(t.forEach((t=>n.set(t,[]))),0==e.length)return n;const i=new Set(e),r=new Map;function o(t){if(!t)return 1;let e=r.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:i.has(s)?1:o(s),r.set(t,e),e}return e.forEach((t=>{const e=o(t);1!==e&&n.get(e).push(t)})),n}function Vt(t,e){t.classList?.add(e)}function $t(t,e){t.classList?.remove(e)}function qt(t,e,n){s(n).onDone((()=>t.processLeaveNode(e)))}function Zt(t,e){for(let n=0;nr.add(t))):e.set(t,i),n.delete(t),!0}class Gt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ft(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const t=[],e=[],n=K(this._driver,o,t,e);if(t.length)throw new r.vHH(3404,!1);e.length,a=function(t,e,n){return new xt(t,e,n)}(i,n,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n){this._transitionEngine.removeNode(t,e,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=d(n),o=i;this._timelineEngine.command(t,e,r,o)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=d(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let Qt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(z(this._element,this._initialStyles),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),z(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Jt(t){let e=null;return t.forEach(((t,n)=>{(function(t){return"display"===t||"position"===t})(n)&&(e=e||new Map,e.set(n,t))})),e}class Yt{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=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]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy((()=>{this.domPlayer.removeEventListener("finish",e)}))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach((t=>{e.push(Object.fromEntries(t))})),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((e,n)=>{"offset"!==n&&t.set(n,this._finished?e:q(this.element,n))})),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class Wt{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,i,r,o=[]){const s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);const a=new Map,l=o.filter((t=>t instanceof Yt));(function(t,e){return 0===t||0===e})(n,i)&&l.forEach((t=>{t.currentSnapshot.forEach(((t,e)=>a.set(e,t)))}));let c=function(t){return t.length?t[0]instanceof Map?t:t.map((t=>I(t))):[]}(e).map((t=>D(t)));c=function(t,e,n){if(n.size&&e.length){let i=e[0],r=[];if(n.forEach(((t,e)=>{i.has(e)||r.push(e),i.set(e,t)})),r.length)for(let n=1;ni.set(e,q(t,e))))}}return e}(t,c,a);const u=function(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Jt(e[0]),e.length>1&&(i=Jt(e[e.length-1]))):e instanceof Map&&(n=Jt(e)),n||i?new Qt(t,n,i):null}(t,c);return new Yt(t,c,s,u)}}},62561:(t,e,n)=>{function i(t){return null!=t&&"false"!=`${t}`}function r(t){return Array.isArray(t)?t:[t]}n.d(e,{Eq:()=>r,Ig:()=>i})},76733:(t,e,n)=>{n.d(e,{$G:()=>N,ED:()=>U,EM:()=>pt,Gx:()=>it,HT:()=>s,JF:()=>gt,K0:()=>l,Mx:()=>T,NF:()=>ht,Nd:()=>ot,O5:()=>j,Ov:()=>tt,PC:()=>G,PM:()=>dt,RF:()=>q,S$:()=>f,Ts:()=>rt,Ye:()=>v,Zx:()=>at,b0:()=>m,bD:()=>ct,ez:()=>lt,i8:()=>et,mk:()=>z,n9:()=>Z,q:()=>o,sg:()=>R,tP:()=>Q,w_:()=>a});var i=n(20755);let r=null;function o(){return r}function s(t){r||(r=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(u)},providedIn:"platform"}),e})(),u=(()=>{var t;class e extends c{constructor(){super(),this._doc=(0,i.f3M)(l),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){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new t},providedIn:"platform"}),e})();function h(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 d(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,i=n-("/"===t[n-1]?1:0);return t.slice(0,i)+t.slice(n)}function p(t){return t&&"?"!==t[0]?"?"+t:t}let f=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(m)},providedIn:"root"}),e})();const g=new i.OlP("appBaseHref");let m=(()=>{var t;class e extends f{constructor(t,e){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(l).location?.origin??""}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 h(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+p(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(c),i.LFG(g,8))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),v=(()=>{var t;class e{constructor(t){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(d(b(e))),this._locationStrategy.onPopState((t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+p(e))}normalize(t){return e.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,b(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((t=>{this._notifyUrlChangeListeners(t.url,t.state)}))),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_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=e).normalizeQueryParams=p,t.joinWithSlash=h,t.stripTrailingSlash=d,t.ɵfac=function(e){return new(e||t)(i.LFG(f))},t.ɵprov=i.Yz7({token:t,factory:function(){return y()},providedIn:"root"}),e})();function y(){return new v((0,i.LFG)(f))}function b(t){return t.replace(/\/index.html$/,"")}var _=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(_||{}),w=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(w||{}),x=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(x||{});function C(t,e){const n=(0,i.cg1)(t),r=n[i.wAp.NumberSymbols][e];if(void 0===r){if(e===x.CurrencyDecimal)return n[i.wAp.NumberSymbols][x.Decimal];if(e===x.CurrencyGroup)return n[i.wAp.NumberSymbols][x.Group]}return r}const k=i.kL8,O=/^(\d+)?\.((\d+)(-(\d+))?)?$/,M=".",S="0";function A(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}let P=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;var n;return t?e=new t:(n=i.LFG(i.soG),e=new E(n)),e},providedIn:"root"}),e})(),E=(()=>{var t;class e extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(k(e||this.locale)(t)){case w.Zero:return"zero";case w.One:return"one";case w.Two:return"two";case w.Few:return"few";case w.Many:return"many";default:return"other"}}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.soG))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function T(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}const I=/\s+/,D=[];let z=(()=>{var t;class e{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this.initialClasses=D,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(I):D}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(I):t}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const e of t)this._updateState(e,!0);else if(null!=t)for(const e of Object.keys(t))this._updateState(e,Boolean(t[e]));this._applyStateDiff()}_updateState(t,e){const n=this.stateMap.get(t);void 0!==n?(n.enabled!==e&&(n.changed=!0,n.enabled=e),n.touched=!0):this.stateMap.set(t,{enabled:e,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const e=t[0],n=t[1];n.changed?(this._toggleClass(e,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(e,!1),this.stateMap.delete(e)),n.touched=!1}}_toggleClass(t,e){(t=t.trim()).length>0&&t.split(I).forEach((t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)}))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})(),N=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=(0,i.Lck)(this.ngComponentOutletNgModule,F(e)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(F(e)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:e,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[e,n]of this._inputsUsed)n?(t.setInput(e,this.ngComponentOutletInputs[e]),this._inputsUsed.set(e,!1)):(t.setInput(e,void 0),this._inputsUsed.delete(e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[i.TTD]}),e})();function F(t){return t.get(i.h0i).injector}class L{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 R=(()=>{var t;class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation(((t,n,i)=>{if(null==t.previousIndex)e.createEmbeddedView(this._template,new L(t.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)e.remove(null===n?void 0:n);else if(null!==n){const r=e.get(n);e.move(r,i),B(r,t)}}));for(let t=0,n=e.length;t{B(e.get(t.currentIndex),t)}))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.ɵdir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function B(t,e){t.context.$implicit=e.item}let j=(()=>{var t;class e{constructor(t,e){this._viewContainer=t,this._context=new H,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){V("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){V("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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.ɵdir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class H{constructor(){this.$implicit=null,this.ngIf=null}}function V(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class ${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 q=(()=>{var t;class e{constructor(){this._defaultViews=[],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.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.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const e of this._defaultViews)e.enforceState(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),e})(),Z=(()=>{var t;class e{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new $(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),e})(),U=(()=>{var t;class e{constructor(t,e,n){n._addDefault(new $(t,e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),e})(),G=(()=>{var t;class e{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split("."),o=-1===n.indexOf("-")?void 0:i.JOm.DashCase;null!=e?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${e}${r}`:e,o):this._renderer.removeStyle(this._ngEl.nativeElement,n,o)}_applyChanges(t){t.forEachRemovedItem((t=>this._setStyle(t.key,null))),t.forEachAddedItem((t=>this._setStyle(t.key,t.currentValue))),t.forEachChangedItem((t=>this._setStyle(t.key,t.currentValue)))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),Q=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:e,ngTemplateOutletContext:n,ngTemplateOutletInjector:i}=this;this._viewRef=t.createEmbeddedView(e,n,i?{injector:i}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]}),e})();function J(t,e){return new i.vHH(2100,!1)}class Y{createSubscription(t,e){return(0,i.rg0)((()=>t.subscribe({next:e,error:t=>{throw t}})))}dispose(t){(0,i.rg0)((()=>t.unsubscribe()))}}class W{createSubscription(t,e){return t.then(e,(t=>{throw t}))}dispose(t){}}const K=new W,X=new Y;let tt=(()=>{var t;class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}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(t){if((0,i.QGY)(t))return K;if((0,i.F4k)(t))return X;throw J()}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.ɵpipe=i.Yjl({name:"async",type:t,pure:!1,standalone:!0}),e})(),et=(()=>{var t;class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw J();return t.toLowerCase()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"lowercase",type:t,pure:!0,standalone:!0}),e})();const nt=/#/g;let it=(()=>{var t;class e{constructor(t){this._localization=t}transform(t,e,n){if(null==t)return"";if("object"!=typeof e||null===e)throw J();return e[function(t,e,n,i){let r=`=${t}`;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}(t,Object.keys(e),this._localization,n)].replace(nt,t.toString())}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(P,16))},t.ɵpipe=i.Yjl({name:"i18nPlural",type:t,pure:!0,standalone:!0}),e})(),rt=(()=>{var t;class e{transform(t){return JSON.stringify(t,null,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"json",type:t,pure:!1,standalone:!0}),e})(),ot=(()=>{var t;class e{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=st}transform(t,e=st){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t),i=e!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem((t=>{this.keyValues.push({key:t.key,value:t.currentValue})}))),(n||i)&&(this.keyValues.sort(e),this.compareFn=e),this.keyValues}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.aQg,16))},t.ɵpipe=i.Yjl({name:"keyvalue",type:t,pure:!1,standalone:!0}),e})();function st(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n{var t;class e{constructor(t){this._locale=t}transform(t,e,n){if(!function(t){return!(null==t||""===t||t!=t)}(t))return null;n=n||this._locale;try{return function(t,e,n){return function(t,e,n,i,r,o,s=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,o,s=Math.abs(t)+"",a=0;for((n=s.indexOf(M))>-1&&(s=s.replace(M,"")),(i=s.search(/e/i))>0?(n<0&&(n=i),n+=+s.slice(i+1),s=s.substring(0,i)):n<0&&(n=s.length),i=0;s.charAt(i)===S;i++);if(i===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===S;)o--;for(n-=i,e=[],r=0;i<=o;i++,r++)e[r]=Number(s.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);s&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(o){const t=o.match(O);if(null===t)throw new Error(`${o} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(u=A(e)),null!=n&&(h=A(n)),null!=i?d=A(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const o=Math.min(Math.max(e,r),n);let s=o+t.integerLen,a=i[s];if(s>0){i.splice(Math.max(t.integerLen,s));for(let t=s;t=5)if(s-1<0){for(let e=0;e>s;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[s-1]++;for(;r=c?i.pop():l=!1),e>=10?1:0}),0);u&&(i.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let m=[];for(l=p.every((t=>!t));f0?m=p.splice(f,p.length):(m=p,p=[0]);const v=[];for(p.length>=e.lgSize&&v.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)v.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),a=v.join(C(n,i)),m.length&&(a+=C(n,r)+m.join("")),g&&(a+=C(n,x.Exponential)+"+"+g)}else a=C(n,x.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(M)?r.split(M):[r.substring(0,r.lastIndexOf(S)+1),r.substring(r.lastIndexOf(S)+1)],a=s[0],l=s[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let t=0;t{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})();const ct="browser",ut="server";function ht(t){return t===ct}function dt(t){return t===ut}let pt=(()=>{var t;class e{}return(t=e).ɵprov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new ft((0,i.LFG)(l),window)}),e})();class ft{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=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&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class gt{}},20755:(t,e,n)=>{n.d(e,{$8M:()=>tr,$WT:()=>Bt,$Z:()=>Oa,$Zp:()=>Pe,AFp:()=>ms,ALo:()=>Pu,AaK:()=>f,AsE:()=>qc,BQk:()=>Xl,CHM:()=>jn,CRH:()=>ch,DdM:()=>bu,Dn7:()=>Iu,EJc:()=>bh,EiD:()=>Ro,EpF:()=>nc,F$t:()=>uc,F4k:()=>rc,FYo:()=>Is,FiY:()=>ur,Flj:()=>Je,G48:()=>Lh,G7q:()=>zu,Gf:()=>ah,GfV:()=>Ns,GkF:()=>tc,Gpc:()=>v,HDt:()=>_h,HTZ:()=>ku,Hsn:()=>hc,Ikx:()=>Zc,JOm:()=>fr,JVY:()=>fo,JZr:()=>w,Jf7:()=>oa,KtG:()=>Hn,L6k:()=>go,LAX:()=>vo,LFG:()=>Y,LMc:()=>ed,LSH:()=>Vo,Lbi:()=>bs,Lck:()=>du,MAs:()=>Zl,MMx:()=>mu,MR2:()=>Yo,NdJ:()=>oc,O4$:()=>di,Ojb:()=>ws,OlP:()=>H,Oqu:()=>Vc,P3R:()=>qo,PiD:()=>hr,Q6J:()=>Ul,QGY:()=>ic,QbO:()=>_s,Qsj:()=>Ds,R0b:()=>Ws,RDi:()=>to,Rgc:()=>Ru,SBq:()=>Es,Sil:()=>xh,Suo:()=>lh,T8G:()=>la,TTD:()=>gn,TgZ:()=>Ql,Tiy:()=>zs,Tol:()=>Ac,Udp:()=>Mc,VKq:()=>_u,VuI:()=>td,W1O:()=>ph,WLB:()=>wu,XFs:()=>N,Xpm:()=>Pt,Xq5:()=>Dl,Xts:()=>Uo,Y36:()=>ka,YKP:()=>hu,YNc:()=>$l,Yjl:()=>Nt,Yz7:()=>O,Z0I:()=>A,ZZ4:()=>Wh,_Bn:()=>cu,_UZ:()=>Yl,_Vd:()=>Ss,_uU:()=>jc,aQg:()=>Xh,c2e:()=>vh,cEC:()=>sl,cJS:()=>M,cg1:()=>Yc,d8E:()=>Uc,dDg:()=>Mh,dqk:()=>j,eBb:()=>mo,eJc:()=>fh,ekj:()=>Sc,eoX:()=>Sh,evT:()=>sa,f3M:()=>W,g9A:()=>ys,gHi:()=>Rs,gM2:()=>Du,gxx:()=>Go,h0i:()=>uu,hij:()=>$c,iGM:()=>sh,iPO:()=>Th,ifc:()=>it,jDz:()=>yu,kL8:()=>Wc,kcU:()=>pi,ktI:()=>qs,l5B:()=>xu,lG2:()=>zt,lcZ:()=>Eu,lqb:()=>us,lri:()=>Ch,mCW:()=>xo,n5z:()=>Wi,n_E:()=>Lu,oAB:()=>It,oJD:()=>Ho,oxw:()=>lc,pB0:()=>yo,q3G:()=>jo,qLn:()=>$s,qOj:()=>kl,qZA:()=>Jl,qbA:()=>Cu,qzn:()=>po,rWj:()=>kh,rg0:()=>hn,s9C:()=>dc,sBO:()=>Rh,s_b:()=>$u,soG:()=>yh,tb:()=>Eh,tdS:()=>rn,tp0:()=>dr,uIk:()=>Hl,uOi:()=>$o,vHH:()=>x,vpe:()=>Js,wAp:()=>Xc,xi3:()=>Tu,xp6:()=>xa,ynx:()=>Kl,z2F:()=>Ih,z3N:()=>ho,zSh:()=>os,zW0:()=>Pl,zs3:()=>Hs});var i=n(78748),r=n(902),o=n(48132),s=n(45047),a=n(56424),l=n(71209),c=n(88557),u=n(84787),h=n(18004);function d(t){for(let e in t)if(t[e]===d)return e;throw Error("Could not find renamed property on target object.")}function p(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function f(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(f).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 g(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const m=d({__forward_ref__:d});function v(t){return t.__forward_ref__=v,t.toString=function(){return f(this())},t}function y(t){return b(t)?t():t}function b(t){return"function"==typeof t&&t.hasOwnProperty(m)&&t.__forward_ref__===v}function _(t){return t&&!!t.ɵproviders}const w="https://g.co/ng/security#xss";class x extends Error{constructor(t,e){super(function(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}(t,e)),this.code=t}}function C(t){return"string"==typeof t?t:null==t?"":String(t)}function k(t,e){throw new x(-201,!1)}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function M(t){return{providers:t.providers||[],imports:t.imports||[]}}function S(t){return P(t,T)||P(t,D)}function A(t){return null!==S(t)}function P(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(I)||t.hasOwnProperty(z))?t[I]:null}const T=d({ɵprov:d}),I=d({ɵinj:d}),D=d({ngInjectableDef:d}),z=d({ngInjectorDef:d});var N=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(N||{});let F;function L(){return F}function R(t){const e=F;return F=t,e}function B(t,e,n){const i=S(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&N.Optional?null:void 0!==e?e:void k(f(t))}const j=globalThis;class H{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=O({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const V={},$="__NG_DI_FLAG__",q="ngTempTokenPath",Z=/\n/gm,U="__source";let G;function Q(t){const e=G;return G=t,e}function J(t,e=N.Default){if(void 0===G)throw new x(-203,!1);return null===G?B(t,void 0,e):G.get(t,e&N.Optional?null:void 0,e)}function Y(t,e=N.Default){return(L()||J)(y(t),e)}function W(t,e=N.Default){return Y(t,K(e))}function K(t){return void 0===t||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function X(t){const e=[];for(let n=0;ne){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==pt(e,c,0)||2&i&&c!==t){if(Ct(i))return!1;s=!0}}}}else{if(!s&&!Ct(i)&&!Ct(l))return!1;if(s&&Ct(l))continue;s=!1,i=l|1&i}}return Ct(i)||s}function Ct(t){return!(1&t)}function kt(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||Ct(s)||(e+=St(o,r),r=""),i=s,o=o||!Ct(i);n++}return""!==r&&(e+=St(o,r)),e}function Pt(t){return et((()=>{const e=Ht(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||it.Emulated,styles:t.styles||ot,_:null,schemas:t.schemas||null,tView:null,id:""};Vt(n);const i=t.dependencies;return n.directiveDefs=$t(i,!1),n.pipeDefs=$t(i,!0),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const t of n)e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n}))}function Et(t){return Ft(t)||Lt(t)}function Tt(t){return null!==t}function It(t){return et((()=>({type:t.type,bootstrap:t.bootstrap||ot,declarations:t.declarations||ot,imports:t.imports||ot,exports:t.exports||ot,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null})))}function Dt(t,e){if(null==t)return rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}function zt(t){return et((()=>{const e=Ht(t);return Vt(e),e}))}function Nt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ft(t){return t[st]||null}function Lt(t){return t[at]||null}function Rt(t){return t[lt]||null}function Bt(t){const e=Ft(t)||Lt(t)||Rt(t);return null!==e&&e.standalone}function jt(t,e){const n=t[ct]||null;if(!n&&!0===e)throw new Error(`Type ${f(t)} does not have 'ɵmod' property.`);return n}function Ht(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||rt,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||ot,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Dt(t.inputs,e),outputs:Dt(t.outputs)}}function Vt(t){t.features?.forEach((e=>e(t)))}function $t(t,e){if(!t)return null;const n=e?Rt:Et;return()=>("function"==typeof t?t():t).map((t=>n(t))).filter(Tt)}const qt=0,Zt=1,Ut=2,Gt=3,Qt=4,Jt=5,Yt=6,Wt=7,Kt=8,Xt=9,te=10,ee=11,ne=12,ie=13,re=14,oe=15,se=16,ae=17,le=18,ce=19,ue=20,he=21,de=22,pe=23,fe=24,ge=25,me=1,ve=2,ye=7,be=9,_e=11;function we(t){return Array.isArray(t)&&"object"==typeof t[me]}function xe(t){return Array.isArray(t)&&!0===t[me]}function Ce(t){return!!(4&t.flags)}function ke(t){return t.componentOffset>-1}function Oe(t){return!(1&~t.flags)}function Me(t){return!!t.template}function Se(t,e){return t.hasOwnProperty(ut)?t[ut]:null}const Ae=Symbol("SIGNAL");function Pe(t){return"function"==typeof t&&void 0!==t[Ae]}function Ee(t,e){return(null===t||"object"!=typeof t)&&Object.is(t,e)}let Te=null,Ie=!1;function De(t){const e=Te;return Te=t,e}const ze={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Ne(t){if(Ie)throw new Error("");if(null===Te)return;const e=Te.nextProducerIndex++;Ge(Te),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ve(t){Ge(t);for(let e=0;e0}function Ge(t){t.producerNode??(t.producerNode=[]),t.producerIndexOfThis??(t.producerIndexOfThis=[]),t.producerLastReadVersion??(t.producerLastReadVersion=[])}function Qe(t){t.liveConsumerNode??(t.liveConsumerNode=[]),t.liveConsumerIndexOfThis??(t.liveConsumerIndexOfThis=[])}function Je(t,e){const n=Object.create(Xe);n.computation=t,e?.equal&&(n.equal=e.equal);const i=()=>{if(Fe(n),Ne(n),n.value===Ke)throw n.error;return n.value};return i[Ae]=n,i}const Ye=Symbol("UNSET"),We=Symbol("COMPUTING"),Ke=Symbol("ERRORED"),Xe=(()=>({...ze,value:Ye,dirty:!0,error:null,equal:Ee,producerMustRecompute:t=>t.value===Ye||t.value===We,producerRecomputeValue(t){if(t.value===We)throw new Error("Detected cycle in computations.");const e=t.value;t.value=We;const n=je(t);let i;try{i=t.computation()}catch(e){i=Ke,t.error=e}finally{He(t,n)}e!==Ye&&e!==Ke&&i!==Ke&&t.equal(e,i)?t.value=e:(t.value=i,t.version++)}}))();let tn=function(){throw new Error};function en(){tn()}let nn=null;function rn(t,e){const n=Object.create(on);function i(){return Ne(n),n.value}return n.value=t,e?.equal&&(n.equal=e.equal),i.set=an,i.update=ln,i.mutate=cn,i.asReadonly=un,i[Ae]=n,i}const on=(()=>({...ze,equal:Ee,readonlyFn:void 0}))();function sn(t){t.version++,Le(t),nn?.()}function an(t){const e=this[Ae];Re()||en(),e.equal(e.value,t)||(e.value=t,sn(e))}function ln(t){Re()||en(),an.call(this,t(this[Ae].value))}function cn(t){const e=this[Ae];Re()||en(),t(e.value),sn(e)}function un(){const t=this[Ae];if(void 0===t.readonlyFn){const e=()=>this();e[Ae]=t,t.readonlyFn=e}return t.readonlyFn}function hn(t){const e=De(null);try{return t()}finally{De(e)}}const dn=()=>{},pn=(()=>({...ze,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:dn}))();class fn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function gn(){return mn}function mn(t){return t.type.prototype.ngOnChanges&&(t.setInput=yn),vn}function vn(){const t=_n(this),e=t?.current;if(e){const n=t.previous;if(n===rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yn(t,e,n,i){const r=this.declaredInputs[n],o=_n(t)||function(t,e){return t[bn]=e}(t,{previous:rt,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new fn(l&&l.currentValue,e,a===rt),t[i]=e}gn.ngInherit=!0;const bn="__ngSimpleChanges__";function _n(t){return t[bn]||null}const wn=function(t,e,n){},xn="svg";function Cn(t){for(;Array.isArray(t);)t=t[qt];return t}function kn(t,e){return Cn(e[t])}function On(t,e){return Cn(e[t.index])}function Mn(t,e){return t.data[e]}function Sn(t,e){return t[e]}function An(t,e){const n=e[t];return we(n)?n:n[qt]}function Pn(t,e){return null==e?null:t[e]}function En(t){t[ae]=0}function Tn(t){1024&t[Ut]||(t[Ut]|=1024,Dn(t,1))}function In(t){1024&t[Ut]&&(t[Ut]&=-1025,Dn(t,-1))}function Dn(t,e){let n=t[Gt];if(null===n)return;n[Jt]+=e;let i=n;for(n=n[Gt];null!==n&&(1===e&&1===i[Jt]||-1===e&&0===i[Jt]);)n[Jt]+=e,i=n,n=n[Gt]}function zn(t,e){if(!(256&~t[Ut]))throw new x(911,!1);null===t[he]&&(t[he]=[]),t[he].push(e)}const Nn={lFrame:oi(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fn(){return Nn.bindingsEnabled}function Ln(){return null!==Nn.skipHydrationRootTNode}function Rn(){return Nn.lFrame.lView}function Bn(){return Nn.lFrame.tView}function jn(t){return Nn.lFrame.contextLView=t,t[Kt]}function Hn(t){return Nn.lFrame.contextLView=null,t}function Vn(){let t=$n();for(;null!==t&&64===t.type;)t=t.parent;return t}function $n(){return Nn.lFrame.currentTNode}function qn(t,e){const n=Nn.lFrame;n.currentTNode=t,n.isParent=e}function Zn(){return Nn.lFrame.isParent}function Un(){Nn.lFrame.isParent=!1}function Gn(){const t=Nn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qn(){return Nn.lFrame.bindingIndex++}function Jn(t){const e=Nn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Yn(t,e){const n=Nn.lFrame;n.bindingIndex=n.bindingRootIndex=t,Wn(e)}function Wn(t){Nn.lFrame.currentDirectiveIndex=t}function Kn(t){const e=Nn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Xn(){return Nn.lFrame.currentQueryIndex}function ti(t){Nn.lFrame.currentQueryIndex=t}function ei(t){const e=t[Zt];return 2===e.type?e.declTNode:1===e.type?t[Yt]:null}function ni(t,e,n){if(n&N.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&N.Host||(i=ei(r),null===i)||(r=r[re],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Nn.lFrame=ri();return i.currentTNode=e,i.lView=t,!0}function ii(t){const e=ri(),n=t[Zt];Nn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ri(){const t=Nn.lFrame,e=null===t?null:t.child;return null===e?oi(t):e}function oi(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 si(){const t=Nn.lFrame;return Nn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ai=si;function li(){const t=si();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 ci(){return Nn.lFrame.selectedIndex}function ui(t){Nn.lFrame.selectedIndex=t}function hi(){const t=Nn.lFrame;return Mn(t.tView,t.selectedIndex)}function di(){Nn.lFrame.currentNamespace=xn}function pi(){Nn.lFrame.currentNamespace=null}let fi=!0;function gi(){return fi}function mi(t){fi=t}function vi(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[l]<0&&(t[ae]+=65536),(a>13>16&&(3&t[Ut])===e&&(t[Ut]+=8192,xi(s,o)):xi(s,o)}const ki=-1;class Oi{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Mi(t){return t!==ki}function Si(t){return 32767&t}function Ai(t,e){let n=t>>16,i=e;for(;n>0;)i=i[re],n--;return i}let Pi=!0;function Ei(t){const e=Pi;return Pi=t,e}const Ti=255,Ii=5;let Di=0;const zi={};function Ni(t,e){const n=Li(t,e);if(-1!==n)return n;const i=e[Zt];i.firstCreatePass&&(t.injectorIndex=e.length,Fi(i.data,t),Fi(e,null),Fi(i.blueprint,null));const r=Ri(t,e),o=t.injectorIndex;if(Mi(r)){const t=Si(r),n=Ai(r,e),i=n[Zt].data;for(let r=0;r<8;r++)e[o+r]=n[t+r]|i[t+r]}return e[o+8]=r,o}function Fi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Li(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ri(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){if(i=Xi(r),null===i)return ki;if(n++,r=r[re],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return ki}function Bi(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ht)&&(i=n[ht]),null==i&&(i=n[ht]=Di++);const r=i&Ti,o=1<>Ii)]|=o}(t,e,n)}function ji(t,e,n){if(n&N.Optional||void 0!==t)return t;k()}function Hi(t,e,n,i){if(n&N.Optional&&void 0===i&&(i=null),!(n&(N.Self|N.Host))){const r=t[Xt],o=R(void 0);try{return r?r.get(e,i,n&N.Optional):B(e,i,n&N.Optional)}finally{R(o)}}return ji(i,0,n)}function Vi(t,e,n,i=N.Default,r){if(null!==t){if(2048&e[Ut]&&!(i&N.Self)){const r=function(t,e,n,i,r){let o=t,s=e;for(;null!==o&&null!==s&&2048&s[Ut]&&!(512&s[Ut]);){const t=$i(o,s,n,i|N.Self,zi);if(t!==zi)return t;let e=o.parent;if(!e){const t=s[ue];if(t){const e=t.get(n,zi,i);if(e!==zi)return e}e=Xi(s),s=s[re]}o=e}return r}(t,e,n,i,zi);if(r!==zi)return r}const r=$i(t,e,n,i,zi);if(r!==zi)return r}return Hi(e,n,i,r)}function $i(t,e,n,i,r){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(ht)?t[ht]:void 0;return"number"==typeof e?e>=0?e&Ti:Yi:e}(n);if("function"==typeof o){if(!ni(e,t,i))return i&N.Host?ji(r,0,i):Hi(e,n,i,r);try{let t;if(t=o(i),null!=t||i&N.Optional)return t;k()}finally{ai()}}else if("number"==typeof o){let r=null,s=Li(t,e),a=ki,l=i&N.Host?e[oe][Yt]:null;for((-1===s||i&N.SkipSelf)&&(a=-1===s?Ri(t,e):e[s+8],a!==ki&&Qi(i,!1)?(r=e[Zt],s=Si(a),e=Ai(a,e)):s=-1);-1!==s;){const t=e[Zt];if(Gi(o,s,t.data)){const t=qi(s,e,n,r,i,l);if(t!==zi)return t}a=e[s+8],a!==ki&&Qi(i,e[Zt].data[s+8]===l)&&Gi(o,s,e)?(r=t,s=Si(a),e=Ai(a,e)):s=-1}}return r}function qi(t,e,n,i,r,o){const s=e[Zt],a=s.data[t+8],l=Zi(a,s,n,null==i?ke(a)&&Pi:i!=s&&!!(3&a.type),r&N.Host&&o===a);return null!==l?Ui(e,s,l,a):zi}function Zi(t,e,n,i,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=t.directiveEnd,u=o>>20,h=r?a+u:c;for(let t=i?a:a+u;t=l&&e.type===n)return t}if(r){const t=s[l];if(t&&Me(t)&&t.type===n)return l}return null}function Ui(t,e,n,i){let r=t[n];const o=e.data;if(r instanceof Oi){const s=r;s.resolving&&function(t,e){throw new x(-200,`Circular dependency in DI detected for ${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():C(t)}(o[n]));const a=Ei(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?R(s.injectImpl):null;ni(t,i,N.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const i=mn(e);(n.preOrderHooks??(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-t,r),o&&((n.preOrderHooks??(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&R(l),Ei(a),s.resolving=!1,ai()}}return r}function Gi(t,e,n){const i=1<>Ii)]&i)}function Qi(t,e){return!(t&N.Self||t&N.Host&&e)}class Ji{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return Vi(this._tNode,this._lView,t,K(n),e)}}function Yi(){return new Ji(Vn(),Rn())}function Wi(t){return et((()=>{const e=t.prototype.constructor,n=e[ut]||Ki(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[ut]||Ki(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t}))}function Ki(t){return b(t)?()=>{const e=Ki(y(t));return e&&e()}:Se(t)}function Xi(t){const e=t[Zt],n=e.type;return 2===n?e.declTNode:1===n?t[Yt]:null}function tr(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 i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(er)?t[er]:Object.defineProperty(t,er,{value:[]})[er];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}))}function ir(t,e){t.forEach((t=>Array.isArray(t)?ir(t,e):e(t)))}function rr(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function or(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function sr(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;){const e=r-2;t[r]=t[e],r--}t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function lr(t,e){const n=cr(t,e);if(n>=0)return t[1|n]}function cr(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=t[n<<1];if(e===o)return n<<1;o>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ur=tt(nr("Optional"),8),hr=tt(nr("Self"),2),dr=tt(nr("SkipSelf"),4);function pr(t){return!(128&~t.flags)}var fr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(fr||{});const gr=/^>|^->||--!>|)/g,vr=new Map;let yr=0;const br="__ngContext__";function _r(t,e){var n;we(e)?(t[br]=e[ce],n=e,vr.set(n[ce],n)):t[br]=e}let wr;function xr(t,e){return wr(t,e)}function Cr(t){const e=t[Gt];return xe(e)?e[Gt]:e}function kr(t){return Mr(t[ne])}function Or(t){return Mr(t[Qt])}function Mr(t){for(;null!==t&&!xe(t);)t=t[Qt];return t}function Sr(t,e,n,i,r){if(null!=i){let o,s=!1;xe(i)?o=i:we(i)&&(s=!0,i=i[qt]);const a=Cn(i);0===t&&null!==n?null==r?Nr(e,n,a):zr(e,n,a,r||null,!0):1===t&&null!==n?zr(e,n,a,r||null,!0):2===t?function(t,e,n){const i=Lr(t,e);i&&function(t,e,n,i){t.removeChild(e,n,i)}(t,i,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,i,r){const o=n[ye];o!==Cn(n)&&Sr(e,t,i,o,r);for(let r=_e;r0&&(t[n-1][Qt]=i[Qt]);const s=or(t,_e+e);Jr(i[Zt],r=i,r[ee],2,null,null),r[qt]=null,r[Yt]=null;const a=s[le];null!==a&&a.detachView(s[Zt]),i[Gt]=null,i[Qt]=null,i[Ut]&=-129}var r;return i}function Tr(t,e){if(!(256&e[Ut])){const n=e[ee];e[pe]&&$e(e[pe]),e[fe]&&$e(e[fe]),n.destroyNode&&Jr(t,e,n,3,null,null),function(t){let e=t[ne];if(!e)return Ir(t[Zt],t);for(;e;){let n=null;if(we(e))n=e[ne];else{const t=e[_e];t&&(n=t)}if(!n){for(;e&&!e[Qt]&&e!==t;)we(e)&&Ir(e[Zt],e),e=e[Gt];null===e&&(e=t),we(e)&&Ir(e[Zt],e),n=e&&e[Qt]}e=n}}(e)}}function Ir(t,e){if(!(256&e[Ut])){e[Ut]&=-129,e[Ut]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t=0?i[e]():i[-e].unsubscribe(),t+=2}else{const e=i[n[t+1]];n[t].call(e)}null!==i&&(e[Wt]=null);const r=e[he];if(null!==r){e[he]=null;for(let t=0;t-1){const{encapsulation:n}=t.data[i.directiveStart+e];if(n===it.None||n===it.Emulated)return null}return On(i,n)}}(t,e.parent,n)}function zr(t,e,n,i,r){t.insertBefore(e,n,i,r)}function Nr(t,e,n){t.appendChild(e,n)}function Fr(t,e,n,i,r){null!==i?zr(t,e,n,i,r):Nr(t,e,n)}function Lr(t,e){return t.parentNode(e)}function Rr(t,e,n){return $r(t,e,n)}let Br,jr,Hr,Vr,$r=function(t,e,n){return 40&t.type?On(t,n):null};function qr(t,e,n,i){const r=Dr(t,i,e),o=e[ee],s=Rr(i.parent||e[Yt],i,e);if(null!=r)if(Array.isArray(n))for(let t=0;tt,createScript:t=>t,createScriptURL:t=>t})}catch{}return jr}()?.createHTML(t)||t}function to(t){Hr=t}function eo(){if(void 0!==Hr)return Hr;if("undefined"!=typeof document)return document;throw new x(210,!1)}function no(){if(void 0===Vr&&(Vr=null,j.trustedTypes))try{Vr=j.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vr}function io(t){return no()?.createHTML(t)||t}function ro(t){return no()?.createScriptURL(t)||t}class oo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${w})`}}class so extends oo{getTypeName(){return"HTML"}}class ao extends oo{getTypeName(){return"Style"}}class lo extends oo{getTypeName(){return"Script"}}class co extends oo{getTypeName(){return"URL"}}class uo extends oo{getTypeName(){return"ResourceURL"}}function ho(t){return t instanceof oo?t.changingThisBreaksApplicationSecurity:t}function po(t,e){const n=function(t){return t instanceof oo&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${w})`)}return n===e}function fo(t){return new so(t)}function go(t){return new ao(t)}function mo(t){return new lo(t)}function vo(t){return new co(t)}function yo(t){return new uo(t)}class bo{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Xr(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class _o{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Xr(t),e}}const wo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xo(t){return(t=String(t)).match(wo)?t:"unsafe:"+t}function Co(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ko(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Oo=Co("area,br,col,hr,img,wbr"),Mo=Co("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),So=Co("rp,rt"),Ao=ko(So,Mo),Po=ko(Oo,ko(Mo,Co("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ko(So,Co("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ao),Eo=Co("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),To=ko(Eo,Co("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Co("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Io=Co("script,style,template");class Do{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Po.hasOwnProperty(e))return this.sanitizedSomething=!0,!Io.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t"),!0}endElement(t){const e=t.nodeName.toLowerCase();Po.hasOwnProperty(e)&&!Oo.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Fo(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 zo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,No=/([^\#-~ |!])/g;function Fo(t){return t.replace(/&/g,"&").replace(zo,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(No,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let Lo;function Ro(t,e){let n=null;try{Lo=Lo||function(t){const e=new _o(t);return function(){try{return!!(new window.DOMParser).parseFromString(Xr(""),"text/html")}catch{return!1}}()?new bo(e):e}(t);let i=e?String(e):"";n=Lo.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Lo.getInertBodyElement(i)}while(i!==o);return Xr((new Do).sanitizeChildren(Bo(n)||n))}finally{if(n){const t=Bo(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Bo(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var jo=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(jo||{});function Ho(t){const e=Zo();return e?io(e.sanitize(jo.HTML,t)||""):po(t,"HTML")?io(ho(t)):Ro(eo(),C(t))}function Vo(t){const e=Zo();return e?e.sanitize(jo.URL,t)||"":po(t,"URL")?ho(t):xo(C(t))}function $o(t){const e=Zo();if(e)return ro(e.sanitize(jo.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return ro(ho(t));throw new x(904,!1)}function qo(t,e,n){return function(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?$o:Vo}(e,n)(t)}function Zo(){const t=Rn();return t&&t[te].sanitizer}const Uo=new H("ENVIRONMENT_INITIALIZER"),Go=new H("INJECTOR",-1),Qo=new H("INJECTOR_DEF_TYPES");class Jo{get(t,e=V){if(e===V){const e=new Error(`NullInjectorError: No provider for ${f(t)}!`);throw e.name="NullInjectorError",e}return e}}function Yo(t){return{ɵproviders:t}}function Wo(...t){return{ɵproviders:Ko(0,t),ɵfromNgModule:!0}}function Ko(t,...e){const n=[],i=new Set;let r;const o=t=>{n.push(t)};return ir(e,(t=>{const e=t;ts(e,o,[],i)&&(r||(r=[]),r.push(e))})),void 0!==r&&Xo(r,o),n}function Xo(t,e){for(let n=0;n{e(t,i)}))}}function ts(t,e,n,i){if(!(t=y(t)))return!1;let r=null,o=E(t);const s=!o&&Ft(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const e=t.ngModule;if(o=E(e),!o)return!1;r=e}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const t="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const r of t)ts(r,e,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let t;i.add(r);try{ir(o.imports,(r=>{ts(r,e,n,i)&&(t||(t=[]),t.push(r))}))}finally{}void 0!==t&&Xo(t,e)}if(!a){const t=Se(r)||(()=>new r);e({provide:r,useFactory:t,deps:ot},r),e({provide:Qo,useValue:r,multi:!0},r),e({provide:Uo,useValue:()=>Y(r),multi:!0},r)}const s=o.providers;if(null!=s&&!a){const n=t;es(s,(t=>{e(t,n)}))}}}return r!==t&&void 0!==t.providers}function es(t,e){for(let n of t)_(n)&&(n=n.ɵproviders),Array.isArray(n)?es(n,e):e(n)}const ns=d({provide:String,useValue:d});function is(t){return null!==t&&"object"==typeof t&&ns in t}function rs(t){return"function"==typeof t}const os=new H("Set Injector scope."),ss={},as={};let ls;function cs(){return void 0===ls&&(ls=new Jo),ls}class us{}class hs extends us{get destroyed(){return this._destroyed}constructor(t,e,n,i){super(),this.parent=e,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gs(t,(t=>this.processProvider(t))),this.records.set(Go,fs(void 0,this)),i.has("environment")&&this.records.set(us,fs(void 0,this));const r=this.records.get(os);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Qo.multi,ot,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=Q(this),n=R(void 0);try{return t()}finally{Q(e),R(n)}}get(t,e=V,n=N.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(dt))return t[dt](this);n=K(n);const i=Q(this),r=R(void 0);try{if(!(n&N.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof H)&&S(t);e=n&&this.injectableDefInScope(n)?fs(ds(t),ss):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}const i=n&N.Self?cs():this.parent;return e=n&N.Optional&&e===V?null:e,i.get(t,e)}catch(e){if("NullInjectorError"===e.name){if((e[q]=e[q]||[]).unshift(f(t)),i)throw e;return function(t,e,n,i){const r=t[q];throw e[U]&&r.unshift(e[U]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"ɵ"==t.charAt(1)?t.slice(2):t;let r=f(e);if(Array.isArray(e))r=e.map(f).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):f(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(Z,"\n ")}`}("\n"+t.message,r,"R3InjectorError",i),t.ngTokenPath=r,t[q]=null,t}(e,t,0,this.source)}throw e}finally{R(r),Q(i)}var o}resolveInjectorInitializers(){const t=Q(this),e=R(void 0);try{const t=this.get(Uo.multi,ot,N.Self);for(const e of t)e()}finally{Q(t),R(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(f(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){let e=rs(t=y(t))?t:y(t&&t.provide);const n=function(t){return is(t)?fs(void 0,t.useValue):fs(ps(t),ss)}(t);if(rs(t)||!0!==t.multi)this.records.get(e);else{let n=this.records.get(e);n||(n=fs(void 0,ss,!0),n.factory=()=>X(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e){var n;return e.value===ss&&(e.value=as,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=y(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function ds(t){const e=S(t),n=null!==e?e.factory:Se(t);if(null!==n)return n;if(t instanceof H)throw new x(204,!1);if(t instanceof Function)return function(t){const e=t.length;if(e>0)throw sr(e,"?"),new x(204,!1);const n=(i=t)&&(i[T]||i[D])||null;var i;return null!==n?()=>n.factory(t):()=>new t}(t);throw new x(204,!1)}function ps(t,e,n){let i;if(rs(t)){const e=y(t);return Se(e)||ds(e)}if(is(t))i=()=>y(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...X(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Y(y(t.useExisting));else{const e=y(t&&(t.useClass||t.provide));if(!t.deps)return Se(e)||ds(e);i=()=>new e(...X(t.deps))}var r;return i}function fs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function gs(t,e){for(const n of t)Array.isArray(n)?gs(n,e):n&&_(n)?gs(n.ɵproviders,e):e(n)}const ms=new H("AppId",{providedIn:"root",factory:()=>vs}),vs="ng",ys=new H("Platform Initializer"),bs=new H("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_s=new H("AnimationModuleType"),ws=new H("CSP nonce",{providedIn:"root",factory:()=>eo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let xs=(t,e,n)=>null;function Cs(t,e,n=!1){return xs(t,e,n)}class ks{}class Os{}class Ms{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${f(t)}.`);return e.ngComponent=t,e}(t)}}let Ss=(()=>{class t{}return t.NULL=new Ms,t})();function As(){return Ps(Vn(),Rn())}function Ps(t,e){return new Es(On(t,e))}let Es=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=As,t})();function Ts(t){return t instanceof Es?t.nativeElement:t}class Is{}let Ds=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function(){const t=Rn(),e=An(Vn().index,t);return(we(e)?e:t)[ee]}(),t})(),zs=(()=>{var t;class e{}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>null}),e})();class Ns{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Fs=new Ns("16.2.12"),Ls={};function Rs(t){if(!L()&&!G)throw new x(-203,!1)}function Bs(t,e=null,n=null,i){const r=js(t,e,n,i);return r.resolveInjectorInitializers(),r}function js(t,e=null,n=null,i,r=new Set){const o=[n||ot,Wo(t)];return i=i||("object"==typeof t?void 0:f(t)),new hs(o,e||cs(),i||null,r)}let Hs=(()=>{var t;class e{static create(t,e){if(Array.isArray(t))return Bs({name:""},e,t,"");{const e=t.name??"";return Bs({name:e},t.parent,t.providers,e)}}}return(t=e).THROW_IF_NOT_FOUND=V,t.NULL=new Jo,t.ɵprov=O({token:t,providedIn:"any",factory:()=>Y(Go)}),t.__NG_ELEMENT_ID__=-1,e})();function Vs(t){return t.ngOriginalError}class $s{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Vs(t);for(;e&&Vs(e);)e=Vs(e);return e||null}}let qs=(()=>{var t;class e{}return(t=e).__NG_ELEMENT_ID__=Us,t.__NG_ENV_ID__=t=>t,e})();class Zs extends qs{constructor(t){super(),this._lView=t}onDestroy(t){return zn(this._lView,t),()=>function(t,e){if(null===t[he])return;const n=t[he].indexOf(e);-1!==n&&t[he].splice(n,1)}(this._lView,t)}}function Us(){return new Zs(Rn())}class Gs extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i=t,o=e||(()=>null),s=n;if(t&&"object"==typeof t){const e=t;i=e.next?.bind(e),o=e.error?.bind(e),s=e.complete?.bind(e)}this.__isAsync&&(o=Qs(o),i&&(i=Qs(i)),s&&(s=Qs(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof r.w0&&t.add(a),a}}function Qs(t){return e=>{setTimeout(t,void 0,e)}}const Js=Gs;function Ys(...t){}class Ws{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Js(!1),this.onMicrotaskEmpty=new Js(!1),this.onStable=new Js(!1),this.onError=new Js(!1),"undefined"==typeof Zone)throw new x(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){const t="function"==typeof j.requestAnimationFrame;let e=j[t?"requestAnimationFrame":"setTimeout"],n=j[t?"cancelAnimationFrame":"clearTimeout"];if("undefined"!=typeof Zone&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(j,(()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{t.lastRequestAnimationFrameId=-1,ta(t),t.isCheckStableRunning=!0,Xs(t),t.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),t.fakeTopEventTask.invoke()})),ta(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(function(t){return!!Array.isArray(t)&&1===t.length&&!0===t[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(r,o,s,a);try{return ea(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),na(t)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return ea(t),n.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),na(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,ta(t),Xs(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular((()=>t.onError.emit(r))),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ws.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(Ws.isInAngularZone())throw new x(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,Ks,Ys,Ys);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Ks={};function Xs(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 ta(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ea(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function na(t){t._nesting--,Xs(t)}const ia=new H("",{providedIn:"root",factory:ra});function ra(){const t=W(Ws);let e=!0;const n=new o.y((n=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular((()=>{n.next(e),n.complete()}))})),i=new o.y((n=>{let i;t.runOutsideAngular((()=>{i=t.onStable.subscribe((()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{e||t.hasPendingMacrotasks||t.hasPendingMicrotasks||(e=!0,n.next(!0))}))}))}));const r=t.onUnstable.subscribe((()=>{Ws.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular((()=>{n.next(!1)})))}));return()=>{i.unsubscribe(),r.unsubscribe()}}));return(0,s.T)(n,i.pipe((0,c.B)()))}function oa(t){return t.ownerDocument.defaultView}function sa(t){return t.ownerDocument}function aa(t){return t instanceof Function?t():t}function la(t,e){!e&&Rs();const n=e?.injector??W(Hs);if(!function(t){return"browser"===(t??W(Hs)).get(bs)}(n))return{destroy(){}};let i;const r=n.get(qs).onDestroy((()=>i?.())),o=n.get(ha),s=o.handler??(o.handler=new ua),a=n.get(Ws),l=n.get($s,null,{optional:!0}),c=new ca(a,l,(()=>{i?.(),t()}));return i=()=>{s.unregister(c),r()},s.register(c),{destroy:i}}class ca{constructor(t,e,n){this.zone=t,this.errorHandler=e,this.callbackFn=n}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class ua{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new x(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(t)}unregister(t){this.callbacks.delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of this.callbacks)t.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.callbacks.add(t);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let ha=(()=>{var t;class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function da(t){for(;t;){t[Ut]|=64;const e=Cr(t);if(512&t[Ut]&&!e)return t;t=e}return null}const pa=!1,fa=new H("",{providedIn:"root",factory:()=>pa});let ga=null;function ma(t,e){return t[e]??_a()}function va(t,e){const n=_a();n.producerNode?.length&&(t[e]=ga,n.lView=t,ga=ba())}const ya={...ze,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{da(t.lView)},lView:null};function ba(){return Object.create(ya)}function _a(){return ga??(ga=ba()),ga}const wa={};function xa(t){Ca(Bn(),Rn(),ci()+t,!1)}function Ca(t,e,n,i){if(!i)if(3&~e[Ut]){const i=t.preOrderHooks;null!==i&&bi(e,i,0,n)}else{const i=t.preOrderCheckHooks;null!==i&&yi(e,i,n)}ui(n)}function ka(t,e=N.Default){const n=Rn();return null===n?Y(t,e):Vi(Vn(),n,y(t),e)}function Oa(){throw new Error("invalid")}function Ma(t,e,n,i,r,o,s,a,l,c,u){const h=e.blueprint.slice();return h[qt]=r,h[Ut]=140|i,(null!==c||t&&2048&t[Ut])&&(h[Ut]|=2048),En(h),h[Gt]=h[re]=t,h[Kt]=n,h[te]=s||t&&t[te],h[ee]=a||t&&t[ee],h[Xt]=l||t&&t[Xt]||null,h[Yt]=o,h[ce]=yr++,h[de]=u,h[ue]=c,h[oe]=2==e.type?t[oe]:h,h}function Sa(t,e,n,i,r){let o=t.data[e];if(null===o)o=function(t,e,n,i,r){const o=$n(),s=Zn(),a=s?o:o&&o.parent,l=t.data[e]=function(t,e,n,i,r,o){let s=e?e.injectorIndex:-1,a=0;return Ln()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a,n,e,i,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(t,e,n,i,r),Nn.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const t=function(){const t=Nn.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===t?-1:t.injectorIndex}return qn(o,!0),o}function Aa(t,e,n,i){if(0===n)return-1;const r=e.length;for(let r=0;rge&&Ca(t,e,ge,!1),wn(a?2:0,r);const s=a?o:null,l=je(s);try{null!==s&&(s.dirty=!1),n(i,r)}finally{He(s,l)}}finally{a&&null===e[pe]&&va(e,pe),ui(s),wn(a?3:1,r)}}function Ea(t,e,n){if(Ce(e)){const i=De(null);try{const i=e.directiveStart,r=e.directiveEnd;for(let e=i;e0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(r)!=s&&r.push(s),r.push(n,i,o)}}(t,e,i,Aa(t,n,r.hostVars,wa),r)}function Za(t,e,n,i,r,o){const s=o[e];if(null!==s)for(let t=0;t{var t;class e{constructor(){this.all=new Set,this.queue=new Map}create(t,e,n){const i="undefined"==typeof Zone?null:Zone.current,r=function(t,e,n){const i=Object.create(pn);n&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=e;const r=t=>{i.cleanupFn=t};return i.ref={notify:()=>Be(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Ve(i))return;i.hasRun=!0;const t=je(i);try{i.cleanupFn(),i.cleanupFn=dn,i.fn(r)}finally{He(i,t)}},cleanup:()=>i.cleanupFn()},i.ref}(t,(t=>{this.all.has(t)&&this.queue.set(t,i)}),n);let o;this.all.add(r),r.notify();const s=()=>{r.cleanup(),o?.(),this.all.delete(r),this.queue.delete(r)};return o=e?.onDestroy(s),{destroy:s}}flush(){if(0!==this.queue.size)for(const[t,e]of this.queue)this.queue.delete(t),e?e.run((()=>t.run())):t.run()}get isQueueEmpty(){return 0===this.queue.size}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function sl(t,e){!e?.injector&&Rs();const n=e?.injector??W(Hs),i=n.get(ol),r=!0!==e?.manualCleanup?n.get(qs):null;return i.create(t,r,!!e?.allowSignalWrites)}function al(t,e,n){let i=n?t.styles:null,r=n?t.classes:null,o=0;if(null!==e)for(let t=0;t0){dl(t,1);const e=n.components;null!==e&&gl(t,e,1)}}function gl(t,e,n){for(let i=0;i-1&&(Er(t,n),or(e,n))}this._attachedToViewContainer=!1}Tr(this._lView[Zt],this._lView)}onDestroy(t){zn(this._lView,t)}markForCheck(){da(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ut]&=-129}reattach(){this._lView[Ut]|=128}detectChanges(){ul(this._lView[Zt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Jr(this._lView[Zt],t=this._lView,t[ee],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t}}class vl extends ml{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ul(t[Zt],t,t[Kt],!1)}checkNoChanges(){}get context(){return null}}class yl extends Ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ft(t);return new wl(e,this.ngModule)}}function bl(t){const e=[];for(let n in t)if(t.hasOwnProperty(n)){const i=t[n];e.push({propName:i,templateName:n})}return e}class _l{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=K(n);const i=this.injector.get(t,Ls,n);return i!==Ls||e===Ls?i:this.parentInjector.get(t,e,n)}}class wl extends Os{get inputs(){const t=this.componentDef,e=t.inputTransforms,n=bl(t.inputs);if(null!==e)for(const t of n)e.hasOwnProperty(t.propName)&&(t.transform=e[t.propName]);return n}get outputs(){return bl(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(At).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,n,i){let r=(i=i||this.ngModule)instanceof us?i:i?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const o=r?new _l(t,r):t,s=o.get(Is,null);if(null===s)throw new x(407,!1);const a={rendererFactory:s,sanitizer:o.get(zs,null),effectManager:o.get(ol,null),afterRenderEventManager:o.get(ha,null)},l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n,i){const r=i.get(fa,pa)||n===it.ShadowDom,o=t.selectRootElement(e,r);return o}(l,n,this.componentDef.encapsulation,o):Ar(l,c,function(t){const e=t.toLowerCase();return"svg"===e?xn:"math"===e?"math":null}(c)),h=this.componentDef.onPush?576:528,d=this.componentDef.signals?4608:h;let p=null;null!==u&&(p=Cs(u,o,!0));const f=za(0,null,null,1,0,null,null,null,null,null,null),g=Ma(null,f,null,d,null,null,a,l,o,null,p);let m,v;ii(g);try{const t=this.componentDef;let i,r=null;t.findHostDirectiveDefs?(i=[],r=new Map,t.findHostDirectiveDefs(t,i,r),i.push(t)):i=[t];const o=function(t,e,n,i,r,o,s){const a=r[Zt];!function(t,e,n,i){for(const n of t)e.mergedAttrs=mt(e.mergedAttrs,n.hostAttrs);null!==e.mergedAttrs&&(al(e,e.mergedAttrs,!0),null!==n&&Kr(i,n,e))}(i,t,e,s);let l=null;null!==e&&(l=Cs(e,r[Xt]));const c=o.rendererFactory.createRenderer(e,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const h=Ma(r,Da(n),null,u,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Va(a,t,i.length-1),Ya(r,h),r[t.index]=h}(function(t,e){const n=t[Zt],i=ge;return t[i]=e,Sa(n,i,2,"#host",null)}(g,u),u,t,i,g,a,l);v=Mn(f,ge),u&&function(t,e,n,i){if(i)ft(t,n,["ng-version",Fs.full]);else{const{attrs:i,classes:r}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&Wr(t,n,r.join(" "))}}(l,t,u,n),void 0!==e&&function(t,e,n){const i=t.projection=[];for(let t=0;t=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=mt(r.hostAttrs,n=mt(n,r.hostAttrs))}}(r)}function Ol(t){return t===rt?{}:t===ot?[]:t}function Ml(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Sl(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Al(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}function Pl(t){return e=>{e.findHostDirectiveDefs=El,e.hostDirectives=(Array.isArray(t)?t:t()).map((t=>"function"==typeof t?{directive:y(t),inputs:rt,outputs:rt}:{directive:y(t.directive),inputs:Tl(t.inputs),outputs:Tl(t.outputs)}))}}function El(t,e,n){if(null!==t.hostDirectives)for(const i of t.hostDirectives){const t=Lt(i.directive);Il(t.declaredInputs,i.inputs),El(t,e,n),n.set(t,i),e.push(t)}}function Tl(t){if(void 0===t||0===t.length)return rt;const e={};for(let n=0;n(mi(!0),Ar(i,r,Nn.lFrame.currentNamespace));function Kl(t,e,n){const i=Rn(),r=Bn(),o=t+ge,s=r.firstCreatePass?function(t,e,n,i,r){const o=e.consts,s=Pn(o,i),a=Sa(e,t,8,"ng-container",s);return null!==s&&al(a,s,!0),Ra(e,n,a,Pn(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,i,e,n):r.data[o];qn(s,!0);const a=ec(r,i,s,t);return i[o]=a,gi()&&qr(r,i,a,s),_r(a,i),Oe(s)&&(Ta(r,i,s),Ea(r,s,i)),null!=n&&Ia(i,s),Kl}function Xl(){let t=Vn();const e=Bn();return Zn()?Un():(t=t.parent,qn(t,!1)),e.firstCreatePass&&(vi(e,t),Ce(t)&&e.queries.elementEnd(t)),Xl}function tc(t,e,n){return Kl(t,e,n),Xl(),tc}let ec=(t,e,n,i)=>{return mi(!0),r=e[ee],o="",r.createComment(function(t){return t.replace(gr,(t=>t.replace(mr,"​$1​")))}(o));var r,o};function nc(){return Rn()}function ic(t){return!!t&&"function"==typeof t.then}function rc(t){return!!t&&"function"==typeof t.subscribe}function oc(t,e,n,i){const r=Rn(),o=Bn(),s=Vn();return function(t,e,n,i,r,o,s){const a=Oe(i),l=t.firstCreatePass&&Xa(t),c=e[Kt],u=Ka(e);let h=!0;if(3&i.type||s){const d=On(i,e),p=s?s(d):d,f=u.length,g=s?t=>s(Cn(t[i.index])):i.index;let m=null;if(!s&&a&&(m=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let t=0;ti?n[i]:null}"string"==typeof o&&(t+=2)}return null}(t,e,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,h=!1;else{o=ac(i,e,c,o,!1);const t=n.listen(p,r,o);u.push(o,t),l&&l.push(r,g,f,f+1)}}else o=ac(i,e,c,o,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){const t=p.length;if(t)for(let n=0;n-1?An(t.index,e):e);let a=sc(e,n,i,s),l=o.__ngNextListenerFn__;for(;l;)a=sc(e,n,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&s.preventDefault(),a}}function lc(t=1){return function(t){return(Nn.lFrame.contextLView=function(t,e){for(;t>0;)e=e[re],t--;return e}(t,Nn.lFrame.contextLView))[Kt]}(t)}function cc(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(t);for(let r=0;r>17&32767}function mc(t){return 2|t}function vc(t){return(131068&t)>>2}function yc(t,e){return-131069&t|e<<2}function bc(t){return 1|t}function _c(t,e,n,i,r){const o=t[n+1],s=null===e;let a=i?gc(o):vc(o),l=!1;for(;0!==a&&(!1===l||s);){const n=t[a],r=t[a+1];wc(n,e)&&(l=!0,t[a+1]=i?bc(r):mc(r)),a=i?gc(r):vc(r)}l&&(t[n+1]=i?mc(o):bc(o))}function wc(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&cr(t,e)>=0}const xc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cc(t){return t.substring(xc.key,xc.keyEnd)}function kc(t,e){const n=xc.textEnd;return n===e?-1:(e=xc.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,xc.key=e,n),Oc(t,e,n))}function Oc(t,e,n){for(;e=0;n=kc(e,n))ar(t,Cc(e),!0)}function Ec(t,e,n,i){const r=Rn(),o=Bn(),s=Jn(2);o.firstUpdatePass&&Ic(o,t,s,i),e!==wa&&Rl(r,s,e)&&Fc(o,o.data[ci()],r,r[ee],t,r[s+1]=function(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=f(ho(t)))),t}(e,n),i,s)}function Tc(t,e){return e>=t.expandoStartIndex}function Ic(t,e,n,i){const r=t.data;if(null===r[n+1]){const o=r[ci()],s=Tc(t,n);Bc(o,i)&&null===e&&!s&&(e=!1),e=function(t,e,n,i){const r=Kn(t);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=zc(n=Dc(null,t,e,n,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(n=Dc(r,t,e,n,i),null===o){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==vc(i))return t[gc(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Dc(null,t,e,n[1],i),n=zc(n,e.attrs,i),function(t,e,n,i){t[gc(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else o=function(t,e,n){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=gc(t[a+1]);t[i+1]=fc(e,a),0!==e&&(t[e+1]=yc(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=fc(a,0),0!==a&&(t[a+1]=yc(t[a+1],i)),a=i;else t[i+1]=fc(l,0),0===a?a=i:t[l+1]=yc(t[l+1],i),l=i;u&&(t[i+1]=mc(t[i+1])),_c(t,c,i,!0),_c(t,c,i,!1),function(t,e,n,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&cr(o,e)>=0&&(n[i+1]=bc(n[i+1]))}(e,c,t,i,o),s=fc(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,n,s,i)}}function Dc(t,e,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[r],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[r+1];u===wa&&(u=c?ot:void 0);let h=c?lr(u,i):l===i?u:void 0;if(o&&!Rc(h)&&(h=lr(e,i)),Rc(h)&&(a=h,s))return a;const d=t[r+1];r=s?gc(d):vc(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=lr(t,i))}return a}function Rc(t){return void 0!==t}function Bc(t,e){return!!(t.flags&(e?8:16))}function jc(t,e=""){const n=Rn(),i=Bn(),r=t+ge,o=i.firstCreatePass?Sa(i,r,1,e,null):i.data[r],s=Hc(i,n,o,e,t);n[r]=s,gi()&&qr(i,n,s,o),qn(o,!1)}let Hc=(t,e,n,i,r)=>(mi(!0),function(t,e){return t.createText(e)}(e[ee],i));function Vc(t){return $c("",t,""),Vc}function $c(t,e,n){const i=Rn(),r=Vl(i,t,e,n);return r!==wa&&nl(i,ci(),r),$c}function qc(t,e,n,i,r){const o=Rn(),s=function(t,e,n,i,r,o){const s=Bl(t,Nn.lFrame.bindingIndex,n,r);return Jn(2),s?e+C(n)+i+C(r)+o:wa}(o,t,e,n,i,r);return s!==wa&&nl(o,ci(),s),qc}function Zc(t,e,n){const i=Rn();return Rl(i,Qn(),e)&&La(Bn(),hi(),i,t,e,i[ee],n,!0),Zc}function Uc(t,e,n){const i=Rn();if(Rl(i,Qn(),e)){const r=Bn(),o=hi();La(r,o,i,t,e,function(t,e,n){return(null===t||Me(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[me])return t;t=t[qt]}return null}(n[e.index])),n[ee]}(Kn(r.data),o,i),n,!0)}return Uc}const Gc=void 0;var Qc=["en",[["a","p"],["AM","PM"],Gc],[["AM","PM"],Gc,Gc],[["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"]],Gc,[["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"]],Gc,[["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}",Gc,"{1} 'at' {0}",Gc],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##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 Jc={};function Yc(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Kc(e);if(n)return n;const i=e.split("-")[0];if(n=Kc(i),n)return n;if("en"===i)return Qc;throw new x(701,!1)}function Wc(t){return Yc(t)[Xc.PluralCase]}function Kc(t){return t in Jc||(Jc[t]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[t]),Jc[t]}var Xc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Xc||{});const tu="en-US";let eu=tu;function nu(t,e,n,i,r){if(t=y(t),Array.isArray(t))for(let o=0;o>20;if(rs(t)||!t.multi){const i=new Oi(c,r,ka),p=ou(l,e,r?u:u+d,h);-1===p?(Bi(Ni(a,s),o,l),iu(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=ou(l,e,u+d,h),f=ou(l,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){Bi(Ni(a,s),o,l);const u=function(t,e,n,i,r){const o=new Oi(t,n,ka);return o.multi=[],o.index=e,o.componentProviders=0,ru(o,r,i&&!n),o}(r?au:su,n.length,r,i,c);!r&&m&&(n[f].providerFactory=u),iu(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(u),s.push(u)}else iu(o,t,p>-1?p:f,ru(n[r?f:p],c,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function iu(t,e,n,i){const r=rs(e),o=!!e.useClass;if(r||o){const s=(o?y(e.useClass):e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function ru(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ou(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=Bn();if(i.firstCreatePass){const r=Me(t);nu(n,i.data,i.blueprint,r,!0),nu(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class uu{}class hu{}function du(t,e){return new pu(t,e??null,[])}class pu extends uu{constructor(t,e,n){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yl(this);const i=jt(t);this._bootstrapComponents=aa(i.bootstrap),this._r3Injector=js(t,e,[{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver},...n],f(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((t=>t())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class fu extends hu{constructor(t){super(),this.moduleType=t}create(t){return new pu(this.moduleType,t,[])}}class gu extends uu{constructor(t){super(),this.componentFactoryResolver=new yl(this),this.instance=null;const e=new hs([...t.providers,{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],t.parent||cs(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mu(t,e,n=null){return new gu({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let vu=(()=>{var t;class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=Ko(0,t.type),n=e.length>0?mu([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return(t=e).ɵprov=O({token:t,providedIn:"environment",factory:()=>new t(Y(us))}),e})();function yu(t){t.getStandaloneInjector=e=>e.get(vu).getOrCreateStandaloneInjector(t)}function bu(t,e,n){const i=Gn()+t,r=Rn();return r[i]===wa?Fl(r,i,n?e.call(n):e()):Ll(r,i)}function _u(t,e,n,i){return Mu(Rn(),Gn(),t,e,n,i)}function wu(t,e,n,i,r){return Su(Rn(),Gn(),t,e,n,i,r)}function xu(t,e,n,i,r,o,s){return Au(Rn(),Gn(),t,e,n,i,r,o,s)}function Cu(t,e,n,i,r,o,s,a){const l=Gn()+t,c=Rn(),u=jl(c,l,n,i,r,o);return Rl(c,l+4,s)||u?Fl(c,l+5,a?e.call(a,n,i,r,o,s):e(n,i,r,o,s)):Ll(c,l+5)}function ku(t,e,n,i,r,o,s,a,l){const c=Gn()+t,u=Rn(),h=jl(u,c,n,i,r,o);return Bl(u,c+4,s,a)||h?Fl(u,c+6,l?e.call(l,n,i,r,o,s,a):e(n,i,r,o,s,a)):Ll(u,c+6)}function Ou(t,e){const n=t[e];return n===wa?void 0:n}function Mu(t,e,n,i,r,o){const s=e+n;return Rl(t,s,r)?Fl(t,s+1,o?i.call(o,r):i(r)):Ou(t,s+1)}function Su(t,e,n,i,r,o,s){const a=e+n;return Bl(t,a,r,o)?Fl(t,a+2,s?i.call(s,r,o):i(r,o)):Ou(t,a+2)}function Au(t,e,n,i,r,o,s,a,l){const c=e+n;return jl(t,c,r,o,s,a)?Fl(t,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):Ou(t,c+4)}function Pu(t,e){const n=Bn();let i;const r=t+ge;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Se(i.type)),s=R(ka);try{const t=Ei(!1),e=o();return Ei(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Rn(),r,e),e}finally{R(s)}}function Eu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?Mu(r,Gn(),e,o.transform,n,o):o.transform(n)}function Tu(t,e,n,i){const r=t+ge,o=Rn(),s=Sn(o,r);return Nu(o,r)?Su(o,Gn(),e,s.transform,n,i,s):s.transform(n,i)}function Iu(t,e,n,i,r){const o=t+ge,s=Rn(),a=Sn(s,o);return Nu(s,o)?function(t,e,n,i,r,o,s,a){const l=e+n;return function(t,e,n,i,r){const o=Bl(t,e,n,i);return Rl(t,e+2,r)||o}(t,l,r,o,s)?Fl(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Ou(t,l+3)}(s,Gn(),e,a.transform,n,i,r,a):a.transform(n,i,r)}function Du(t,e,n,i,r,o){const s=t+ge,a=Rn(),l=Sn(a,s);return Nu(a,s)?Au(a,Gn(),e,l.transform,n,i,r,o,l):l.transform(n,i,r,o)}function zu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?function(t,e,n,i,r,o){let s=e+n,a=!1;for(let e=0;e{class t{}return t.__NG_ELEMENT_ID__=Hu,t})();const Bu=Ru,ju=class extends Bu{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){const i=function(t,e,n,i){const r=e.tView,o=Ma(t,r,n,4096&t[Ut]?4096:16,null,e,null,null,null,i?.injector??null,i?.hydrationInfo??null),s=t[e.index];o[se]=s;const a=t[le];return null!==a&&(o[le]=a.createEmbeddedView(r)),rl(r,o,n),o}(this._declarationLView,this._declarationTContainer,t,{injector:e,hydrationInfo:n});return new ml(i)}};function Hu(){return Vu(Vn(),Rn())}function Vu(t,e){return 4&t.type?new ju(e,t,Ps(t,e)):null}let $u=(()=>{class t{}return t.__NG_ELEMENT_ID__=qu,t})();function qu(){return Ju(Vn(),Rn())}const Zu=$u,Uu=class extends Zu{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ps(this._hostTNode,this._hostLView)}get injector(){return new Ji(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ri(this._hostTNode,this._hostLView);if(Mi(t)){const e=Ai(t,this._hostLView),n=Si(t),i=e[Zt].data[n+8];return new Ji(i,e)}return new Ji(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Gu(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-_e}createEmbeddedView(t,e,n){let i,r;"number"==typeof n?i=n:null!=n&&(i=n.index,r=n.injector);const o=(this._lContainer,t.ssrId,null),s=t.createEmbeddedViewImpl(e||{},r,o),a=!!o&&!pr(this._hostTNode);return this.insertImpl(s,i,a),s}createComponent(t,e,n,i,r){const o=t&&!("function"==typeof t);let s;if(o)s=e;else{const t=e||{};s=t.index,n=t.injector,i=t.projectableNodes,r=t.environmentInjector||t.ngModuleRef}const a=o?t:new wl(Ft(t)),l=n||this.parentInjector;if(!r&&null==a.ngModule){const t=(o?l:this.parentInjector).get(us,null);t&&(r=t)}Ft(a.componentType??{});const c=(this._lContainer,null),u=c?.firstChild??null,h=a.create(l,i,u,r),d=!!c&&!pr(this._hostTNode);return this.insertImpl(h.hostView,s,d),h}insert(t,e){return this.insertImpl(t,e,!1)}insertImpl(t,e,n){const i=t._lView;if(i[Zt],xe(i[Gt])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[Gt],n=new Uu(e,e[Yt],e[Gt]);n.detach(n.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;return function(t,e,n,i=!0){const r=e[Zt];if(function(t,e,n,i){const r=_e+i,o=n.length;i>0&&(n[r-1][Qt]=e),i0)i.push(s[t/2]);else{const r=o[t+1],s=e[-n];for(let t=_e;t{var t;class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise(((t,e)=>{this.resolve=t,this.reject=e})),this.appInits=W(gh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=e();if(ic(n))t.push(n);else if(rc(n)){const e=new Promise(((t,e)=>{n.subscribe({complete:t,error:e})}));t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then((()=>{e()})).catch((t=>{this.reject(t)})),0===t.length&&e(),this.initialized=!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),vh=(()=>{var t;class e{log(t){console.log(t)}warn(t){console.warn(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})();const yh=new H("LocaleId",{providedIn:"root",factory:()=>W(yh,N.Optional|N.SkipSelf)||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||tu)}),bh=new H("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let _h=(()=>{var t;class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new a.X(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class wh{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let xh=(()=>{var t;class e{compileModuleSync(t){return new fu(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=aa(jt(t).declarations).reduce(((t,e)=>{const n=Ft(e);return n&&t.push(new wl(n)),t}),[]);return new wh(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const Ch=new H(""),kh=new H("");let Oh,Mh=(()=>{var t;class e{constructor(t,e,n){this._ngZone=t,this.registry=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Oh||(Oh=n,n.addToWindow(e)),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:()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{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())queueMicrotask((()=>{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 i=-1;e&&e>0&&(i=setTimeout((()=>{this._callbacks=this._callbacks.filter((t=>t.timeoutId!==i)),t(this._didWork,this.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,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}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,n){return[]}}return(t=e).ɵfac=function(e){return new(e||t)(Y(Ws),Y(Sh),Y(kh))},t.ɵprov=O({token:t,factory:t.ɵfac}),e})(),Sh=(()=>{var t;class e{constructor(){this._applications=new Map}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 Oh?.findTestabilityInTree(this,t,e)??null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})(),Ah=null;const Ph=new H("PlatformDestroyListeners"),Eh=new H("appBootstrapListener");function Th(t){try{const{rootComponent:n,appProviders:i,platformProviders:r}=t,o=function(t=[]){if(Ah)return Ah;const e=function(t=[],e){return Hs.create({name:e,providers:[{provide:os,useValue:"platform"},{provide:Ph,useValue:new Set([()=>Ah=null])},...t]})}(t);return Ah=e,tn=()=>{throw new x(600,!1)},function(t){const e=t.get(ys,null);e?.forEach((t=>t()))}(e),e}(r),s=[Yo([[],(e=()=>new Ws({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!1,shouldCoalesceRunChangeDetection:!1}),[{provide:Ws,useFactory:e},{provide:Uo,multi:!0,useFactory:()=>{const t=W(Fh,{optional:!0});return()=>t.initialize()}},{provide:zh,useFactory:Nh},{provide:ia,useFactory:ra}])]),...i||[]],a=new gu({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ws);return l.run((()=>{a.resolveInjectorInitializers();const t=a.get($s,null);let e;l.runOutsideAngular((()=>{e=l.onError.subscribe({next:e=>{t.handleError(e)}})}));const i=()=>a.destroy(),r=o.get(Ph);return r.add(i),a.onDestroy((()=>{e.unsubscribe(),r.delete(i)})),function(t,e,i){try{const i=(()=>{const t=a.get(mh);return t.runInitializers(),t.donePromise.then((()=>{var t,e,i;e=t=a.get(yh,tu)||tu,i="Expected localeId to be defined",null==e&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(eu=t.toLowerCase().replace(/_/g,"-"));const r=a.get(Ih);return void 0!==n&&r.bootstrap(n),r}))})();return ic(i)?i.catch((n=>{throw e.runOutsideAngular((()=>t.handleError(n))),n})):i}catch(n){throw e.runOutsideAngular((()=>t.handleError(n))),n}}(t,l)}))}catch(t){return Promise.reject(t)}var e}let Ih=(()=>{var t;class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(zh),this.zoneIsStable=W(ia),this.componentTypes=[],this.components=[],this.isStable=W(_h).hasPendingTasks.pipe((0,u.w)((t=>t?(0,l.of)(!1):this.zoneIsStable)),(0,h.x)(),(0,c.B)()),this._injector=W(us)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,e){const n=t instanceof Os;if(!this._injector.get(mh).done)throw!n&&Bt(t),new x(405,!1);let i;i=n?t:this._injector.get(Ss).resolveComponentFactory(t),this.componentTypes.push(i.componentType);const r=i.isBoundToModule?void 0:this._injector.get(uu),o=e||i.selector,s=i.create(Hs.NULL,[],o,r),a=s.location.nativeElement,l=s.injector.get(Ch,null);return l?.registerApplication(a),s.onDestroy((()=>{this.detachView(s.hostView),Dh(this.components,s),l?.unregisterApplication(a)})),this._loadComponent(s),s}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Dh(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const e=this._injector.get(Eh,[]);e.push(...this._bootstrapListeners),e.forEach((e=>e(t)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((t=>t())),this._views.slice().forEach((t=>t.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Dh(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new x(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const zh=new H("",{providedIn:"root",factory:()=>W($s).handleError.bind(void 0)});function Nh(){const t=W(Ws),e=W($s);return n=>t.runOutsideAngular((()=>e.handleError(n)))}let Fh=(()=>{var t;class e{constructor(){this.zone=W(Ws),this.applicationRef=W(Ih)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Lh(){}let Rh=(()=>{class t{}return t.__NG_ELEMENT_ID__=Bh,t})();function Bh(t){return function(t,e,n){if(ke(t)&&!n){const n=An(t.index,e);return new ml(n,n)}if(47&t.type){const t=e[oe];return new ml(t,e)}return null}(Vn(),Rn(),!(16&~t))}class jh{constructor(){}supports(t){return zl(t)}create(t){return new Vh(t)}}const Hh=(t,e)=>e;class Vh{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||Hh}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const o=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),o=!0),r=r._next,e++})),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=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,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new $h(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Zh),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||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zh),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class $h{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 qh{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 Zh{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qh,this.map.set(e,n)),n.add(t)}get(t,e){const n=t,i=this.map.get(n);return i?i.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 Uh(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}})),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Jh(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 Jh{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 Yh(){return new Wh([new jh])}let Wh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Yh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(null!=e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Yh}),e})();function Kh(){return new Xh([new Gh])}let Xh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Kh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Kh}),e})();function td(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function ed(t,e){const n=Ft(t),i=e.elementInjector||cs();return new wl(n).create(i,e.projectableNodes,e.hostElement,e.environmentInjector)}},62022:(t,e,n)=>{n.d(e,{O4:()=>u,sL:()=>s});var i=n(20755),r=n(48132),o=n(81749);function s(t){t||((0,i.gHi)(s),t=(0,i.f3M)(i.ktI));const e=new r.y((e=>t.onDestroy(e.next.bind(e))));return t=>t.pipe((0,o.R)(e))}class a extends Error{constructor(t,e){super(function(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(t,e)),this.code=t}}let l=null;function c(t){const e=l;return l=t,e}function u(t,e){const n=!e?.manualCleanup;n&&!e?.injector&&(0,i.gHi)(u);const r=n?e?.injector?.get(i.ktI)??(0,i.f3M)(i.ktI):null;let o;return o=e?.requireSync?(0,i.tdS)({kind:0}):(0,i.tdS)({kind:1,value:e?.initialValue}),function(e){const n=c(null);try{return(()=>{const e=t.subscribe({next:t=>o.set({kind:1,value:t}),error:t=>o.set({kind:2,error:t})});r?.onDestroy(e.unsubscribe.bind(e))})()}finally{c(n)}}(),(0,i.Flj)((()=>{const t=o();switch(t.kind){case 1:return t.value;case 2:throw t.error;case 0:throw new a(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}}))}},43226:(t,e,n)=>{n.d(e,{Cf:()=>y,Fj:()=>g,JJ:()=>$,JL:()=>q,JU:()=>u,NI:()=>dt,On:()=>gt,UX:()=>Et,Wl:()=>d,_:()=>_t,_Y:()=>mt,a5:()=>H,cw:()=>X,eT:()=>xt,gN:()=>j,kI:()=>w,oH:()=>Ot,sg:()=>St,u5:()=>Pt});var i=n(20755),r=n(76733),o=n(3489),s=n(30319),a=n(92425);let l=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.ɵdir=i.lG2({type:t}),e})(),c=(()=>{var t;class e extends l{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();const u=new i.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,i.Gpc)((()=>d)),multi:!0};let d=(()=>{var t;class e extends c{writeValue(t){this.setProperty("checked",t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([h]),i.qOj]}),e})();const p={provide:u,useExisting:(0,i.Gpc)((()=>g)),multi:!0},f=new i.OlP("CompositionEventMode");let g=(()=>{var t;class e extends l{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(f,8))},t.ɵdir=i.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&&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)}))},features:[i._Bn([p]),i.qOj]}),e})();function m(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function v(t){return null!=t&&"number"==typeof t.length}const y=new i.OlP("NgValidators"),b=new i.OlP("NgAsyncValidators"),_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class w{static min(t){return function(t){return e=>{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return function(t){return m(t.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return m(t.value)||_.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>m(e.value)||!v(e.value)?null:e.value.lengthv(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return x;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(m(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return A(t)}static composeAsync(t){return E(t)}}function x(t){return null}function C(t){return null!=t}function k(t){return(0,i.QGY)(t)?(0,o.D)(t):t}function O(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function M(t,e){return e.map((e=>e(t)))}function S(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function A(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return O(M(t,e))}}function P(t){return null!=t?A(S(t)):null}function E(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const n=M(t,e).map(k);return(0,s.D)(n).pipe((0,a.U)(O))}}function T(t){return null!=t?E(S(t)):null}function I(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function D(t){return t._rawValidators}function z(t){return t._rawAsyncValidators}function N(t){return t?Array.isArray(t)?t:[t]:[]}function F(t,e){return Array.isArray(t)?t.includes(e):t===e}function L(t,e){const n=N(e);return N(t).forEach((t=>{F(n,t)||n.push(t)})),n}function R(t,e){return N(e).filter((e=>!F(t,e)))}class B{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=P(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=T(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=void 0){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}}class j extends B{get formDirective(){return null}get path(){return null}}class H extends B{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class V{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let $=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(H,2))},t.ɵdir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)},features:[i.qOj]}),e})(),q=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,10))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)("ng-submitted",e.isSubmitted)},features:[i.qOj]}),e})();const Z="VALID",U="INVALID",G="PENDING",Q="DISABLED";function J(t){return(W(t)?t.validators:t)||null}function Y(t,e){return(W(e)?e.asyncValidators:t)||null}function W(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class K{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}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===Z}get invalid(){return this.status===U}get pending(){return this.status==G}get disabled(){return this.status===Q}get enabled(){return this.status!==Q}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._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(L(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(L(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(R(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(R(t,this._rawAsyncValidators))}hasValidator(t){return F(this._rawValidators,t)}hasAsyncValidator(t){return F(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=G,!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=Q,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Z,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...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}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Z&&this.status!==G||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()?Q:Z}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=G,this._hasOwnPendingAsyncValidator=!0;const e=k(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){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}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 i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Q:this.errors?U:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(G)?G:this._anyControlsHaveStatus(U)?U:Z}_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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){W(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?P(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?T(e):e||null)}}class X extends K{constructor(t,e,n){super(J(e),Y(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={}){(function(t,e,n){t._forEachChild(((t,e)=>{if(void 0===n[e])throw new i.vHH(1002,"")}))})(this,0,t),Object.keys(t).forEach((n=>{(function(t,e,n){const r=t.controls;if(!Object.keys(r).length)throw new i.vHH(1e3,"");if(!r[n])throw new i.vHH(1001,"")})(this,0,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=>{const i=this.controls[n];i&&i.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((n,i)=>{n.reset(t?t[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,n)=>(t[n]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),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,n]of Object.entries(this.controls))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,i)=>{n=e(n,t,i)})),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}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const tt=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>et}),et="always";function nt(t,e,n=et){ot(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===n)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&at(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&&at(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 it(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),st(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function rt(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function ot(t,e){const n=D(t);null!==e.validator?t.setValidators(I(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=z(t);null!==e.asyncValidator?t.setAsyncValidators(I(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();rt(e._rawValidators,r),rt(e._rawAsyncValidators,r)}function st(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=D(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.validator));r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=z(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.asyncValidator));r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return rt(e._rawValidators,i),rt(e._rawAsyncValidators,i),n}function at(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function ct(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===g?n=t:(e=t,Object.getPrototypeOf(e.constructor)===c?i=t:r=t)})),r||i||n||null}function ut(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ht(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const dt=class extends K{constructor(t=null,e,n){super(J(e),Y(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),W(e)&&(e.nonNullable||e.initialValueIsDefault)&&(ht(t)?this.defaultValue=t.value:this.defaultValue=t)}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=this.defaultValue,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){ut(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ut(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){ht(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}},pt={provide:H,useExisting:(0,i.Gpc)((()=>gt))},ft=(()=>Promise.resolve())();let gt=(()=>{var t;class e extends H{constructor(t,e,n,r,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new dt,this._registered=!1,this.name="",this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=ct(0,r)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),lt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){nt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){ft.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,n=0!==e&&(0,i.VuI)(e);ft.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?(e=t,[...this._parent.path,e]):[t];var e}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,9),i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(i.sBO,8),i.Y36(tt,8))},t.ɵdir=i.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:[i._Bn([pt]),i.qOj,i.TTD]}),e})(),mt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const vt={provide:u,useExisting:(0,i.Gpc)((()=>_t)),multi:!0};let yt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})(),bt=(()=>{var t;class e{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:yt}),e})(),_t=(()=>{var t;class e extends c{constructor(t,e,n,r){super(t,e),this._registry=n,this._injector=r,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,i.f3M)(tt,{optional:!0})??et}ngOnInit(){this._control=this._injector.get(H),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(bt),i.Y36(i.zs3))},t.ɵdir=i.lG2({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i._Bn([vt]),i.qOj]}),e})();const wt={provide:u,useExisting:(0,i.Gpc)((()=>xt)),multi:!0};let xt=(()=>{var t;class e extends c{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([wt]),i.qOj]}),e})();const Ct=new i.OlP("NgModelWithFormControlWarning"),kt={provide:H,useExisting:(0,i.Gpc)((()=>Ot))};let Ot=(()=>{var t;class e extends H{set isDisabled(t){}constructor(t,e,n,r,o){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=ct(0,n)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&it(e,this,!1),nt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}lt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&it(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=e)._ngModelWarningSentOnce=!1,t.ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(Ct,8),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([kt]),i.qOj,i.TTD]}),e})();const Mt={provide:j,useExisting:(0,i.Gpc)((()=>St))};let St=(()=>{var t;class e extends j{constructor(t,e,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.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&&(st(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 nt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){it(t.control||null,t,!1),function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,e=this.form,n=this.directives,e._syncPendingControls(),n.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),"dialog"===t?.target?.method;var e,n}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(it(e||null,t),n instanceof dt&&(nt(n,t,this.callSetDisabledState),t.control=n))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){ot(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const n=function(t,e){return st(t,e)}(e,t);n&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){ot(this.form,this),this._oldForm&&st(this._oldForm,this)}_checkFormPresent(){this.form}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Mt]),i.qOj,i.TTD]}),e})(),At=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[yt]}),e})(),Pt=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})(),Et=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ct,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})()},43232:(t,e,n)=>{n.d(e,{Cg:()=>D,Dx:()=>R,H7:()=>B,s3:()=>u,se:()=>x});var i=n(20755),r=n(76733);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),()=>{t.removeEventListener(e,n)}}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,c=(()=>{var t;class e{build(){return new XMLHttpRequest}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const u=new i.OlP("EventManagerPlugins");let h=(()=>{var t;class e{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)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find((e=>e.supports(t))),!e)throw new i.vHH(5101,!1);return this._eventNameToPlugin.set(t,e),e}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(u),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class d{constructor(t){this._doc=t}}const p="ng-app-id";let f=(()=>{var t;class e{constructor(t,e,n,i={}){this.doc=t,this.appId=e,this.nonce=n,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,r.PM)(i),this.resetHostNodes()}addStyles(t){for(const e of t)1===this.changeUsageCount(e,1)&&this.onStyleAdded(e)}removeStyles(t){for(const e of t)this.changeUsageCount(e,-1)<=0&&this.onStyleRemoved(e)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach((t=>t.remove())),t.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const e of this.getAllStyles())this.addStyleToHost(t,e)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const e of this.hostNodes)this.addStyleToHost(e,t)}onStyleRemoved(t){const e=this.styleRef;e.get(t)?.elements?.forEach((t=>t.remove())),e.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${p}="${this.appId}"]`);if(t?.length){const e=new Map;return t.forEach((t=>{null!=t.textContent&&e.set(t.textContent,t)})),e}return null}changeUsageCount(t,e){const n=this.styleRef;if(n.has(t)){const i=n.get(t);return i.usage+=e,i.usage}return n.set(t,{usage:e,elements:[]}),e}getStyleElement(t,e){const n=this.styleNodesInDOM,i=n?.get(e);if(i?.parentNode===t)return n.delete(e),i.removeAttribute(p),i;{const t=this.doc.createElement("style");return this.nonce&&t.setAttribute("nonce",this.nonce),t.textContent=e,this.platformIsServer&&t.setAttribute(p,this.appId),t}}addStyleToHost(t,e){const n=this.getStyleElement(t,e);t.appendChild(n);const i=this.styleRef,r=i.get(e)?.elements;r?r.push(n):i.set(e,{elements:[n],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.AFp),i.LFG(i.Ojb,8),i.LFG(i.Lbi))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},m=/%COMP%/g,v="%COMP%",y=`_nghost-${v}`,b=`_ngcontent-${v}`,_=new i.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function w(t,e){return e.map((e=>e.replace(m,t)))}let x=(()=>{var t;class e{constructor(t,e,n,i,o,s,a,l=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=i,this.doc=o,this.platformId=s,this.ngZone=a,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=(0,r.PM)(s),this.defaultRenderer=new C(t,o,a,this.platformIsServer)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;this.platformIsServer&&e.encapsulation===i.ifc.ShadowDom&&(e={...e,encapsulation:i.ifc.Emulated});const n=this.getOrCreateRenderer(t,e);return n instanceof S?n.applyToHost(t):n instanceof M&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const o=this.doc,s=this.ngZone,a=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(e.encapsulation){case i.ifc.Emulated:r=new S(a,l,e,this.appId,c,o,s,u);break;case i.ifc.ShadowDom:return new O(a,l,t,e,o,s,this.nonce,u);default:r=new M(a,l,e,c,o,s,u)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(h),i.LFG(f),i.LFG(i.AFp),i.LFG(_),i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(i.R0b),i.LFG(i.Ojb))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class C{constructor(t,e,n,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(g[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(k(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(k(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new i.vHH(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=g[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=g[n];i?t.removeAttributeNS(i,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){if("string"==typeof t&&!(t=(0,r.q)().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(n))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>t(e))):t(e))&&e.preventDefault()}}}function k(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class O extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,a),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=w(i.id,i.styles);for(const t of l){const e=document.createElement("style");s&&e.setAttribute("nonce",s),e.textContent=t,this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class M extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?w(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class S extends M{constructor(t,e,n,i,r,o,s,a){const l=i+"-"+n.id;var c;super(t,e,n,r,o,s,a,l),this.contentAttr=(c=l,b.replace(m,c)),this.hostAttr=function(t){return y.replace(m,t)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}let A=(()=>{var t;class e extends d{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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const P=["alt","control","meta","shift"],E={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{var t;class e extends d{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,r.q)().onAndCancel(t,o.domEventName,s)))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),o="code."),P.forEach((t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")})),o+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(t,e){let n=E[t.key]||t.key,i="";return e.indexOf("code.")>-1&&(n=t.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),P.forEach((e=>{e!==n&&(0,T[e])(t)&&(i+=e+".")})),i+=n,i===e)}static eventCallback(t,n,i){return r=>{e.matchEventFullKeyCode(r,t)&&i.runGuarded((()=>n(r)))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function D(t,e){return(0,i.iPO)({rootComponent:t,...z(e)})}function z(t){return{appProviders:[...F,...t?.providers??[]],platformProviders:N}}const N=[{provide:i.Lbi,useValue:r.bD},{provide:i.g9A,useValue:function(){s.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}],F=(i.rWj,i.lri,i.dDg,i.R0b,i.eoX,i.rWj,i.dDg,i.dDg,i.R0b,i.eoX,i.rWj,[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:u,useClass:A,multi:!0,deps:[r.K0,i.R0b,i.Lbi]},{provide:u,useClass:I,multi:!0,deps:[r.K0]},x,f,h,{provide:i.FYo,useExisting:x},{provide:r.JF,useClass:c,deps:[]},[]]);function L(){return new R((0,i.LFG)(r.K0))}let R=(()=>{var t;class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:L(),e},providedIn:"root"}),e})();"undefined"!=typeof window&&window;let B=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(e){let n=null;return n=e?new(e||t):i.LFG(H),n},providedIn:"root"}),e})();function j(t){return new H(t.get(r.K0))}let H=(()=>{var t;class e extends B{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 i.vHH(5200,!1);case i.q3G.URL:return(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 i.vHH(5201,!1);default:throw new i.vHH(5202,!1)}}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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:j(i.LFG(i.zs3)),e},providedIn:"root"}),e})()},99222:(t,e,n)=>{n.d(e,{gz:()=>be,m2:()=>Ut,F0:()=>In,rH:()=>zn,Od:()=>Nn,lC:()=>Se,Xs:()=>ae,Hx:()=>ct,bU:()=>Rn,ZU:()=>jn});var i=n(20755),r=n(11070),o=n(3489),s=n(71209),a=n(56424);const l=(0,n(99046).d)((t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}));var c=n(38442),u=n(45623),h=n(83562),d=n(22222),p=n(51960),f=n(30453),g=n(48132),m=n(902),v=n(96142),y=n(70134);function b(){return(0,v.e)(((t,e)=>{let n=null;t._refCount++;const i=new y.Q(e,void 0,void 0,void 0,(()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const i=t._connection,r=n;n=null,!i||r&&i!==r||i.unsubscribe(),e.unsubscribe()}));t.subscribe(i),i.closed||(n=t.connect())}))}class _ extends g.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,v.A)(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new m.w0;const e=this.getSubject();t.add(this.source.subscribe(new y.Q(e,void 0,(()=>{this._teardown(),e.complete()}),(t=>{this._teardown(),e.error(t)}),(()=>this._teardown())))),t.closed&&(this._connection=null,t=m.w0.EMPTY)}return t}refCount(){return b()(this)}}var w=n(78748),x=n(76733),C=n(92425),k=n(84787),O=n(21813),M=n(73843),S=n(55333),A=n(45130),P=n(80407);function E(t=T){return(0,v.e)(((e,n)=>{let i=!1;e.subscribe(new y.Q(n,(t=>{i=!0,n.next(t)}),(()=>i?n.complete():n.error(t()))))}))}function T(){return new l}var I=n(69401);function D(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,(0,O.q)(1),n?(0,P.d)(e):E((()=>new l)))}var z=n(70109),N=n(31570),F=n(17560),L=n(27795);function R(t){return t<=0?()=>f.E:(0,v.e)(((e,n)=>{let i=[];e.subscribe(new y.Q(n,(e=>{i.push(e),t{for(const t of i)n.next(t);n.complete()}),void 0,(()=>{i=null})))}))}var B=n(97376),j=n(36293),H=n(81749),V=n(42605),$=n(43232);const q="primary",Z=Symbol("RouteTitle");class U{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function G(t){return new U(t)}function Q(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t))}return t===e}function W(t){return t.length>0?t[t.length-1]:null}function K(t){return(0,r.b)(t)?t:(0,i.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,s.of)(t)}const X={exact:function t(e,n,i){if(!lt(e.segments,n.segments))return!1;if(!rt(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r],i))return!1}return!0},subset:nt},tt={exact:function(t,e){return J(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((n=>Y(t[n],e[n])))},ignored:()=>!0};function et(t,e,n){return X[n.paths](t.root,e.root,n.matrixParams)&&tt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function nt(t,e,n){return it(t,e,e.segments,n)}function it(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!!lt(r,n)&&!e.hasChildren()&&!!rt(r,n,i)}if(t.segments.length===n.length){if(!lt(t.segments,n))return!1;if(!rt(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!nt(t.children[n],e.children[n],i))return!1}return!0}{const r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!lt(t.segments,r)&&!!rt(t.segments,r,i)&&!!t.children[q]&&it(t.children[q],e,o,i)}}function rt(t,e,n){return e.every(((e,i)=>tt[n](t[i].parameters,e.parameters)))}class ot{constructor(t=new st([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return ht.serialize(this)}}class st{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach((t=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class at{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=G(this.parameters)),this._parameterMap}toString(){return bt(this)}}function lt(t,e){return t.length===e.length&&t.every(((t,n)=>t.path===e[n].path))}let ct=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new ut},providedIn:"root"}),e})();class ut{parse(t){const e=new Ot(t);return new ot(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${pt(t.root,!0)}`,n=function(t){const e=Object.keys(t).map((e=>{const n=t[e];return Array.isArray(n)?n.map((t=>`${gt(e)}=${gt(t)}`)).join("&"):`${gt(e)}=${gt(n)}`})).filter((t=>!!t));return e.length?`?${e.join("&")}`:""}(t.queryParams);var i;return`${e}${n}${"string"==typeof t.fragment?`#${i=t.fragment,encodeURI(i)}`:""}`}}const ht=new ut;function dt(t){return t.segments.map((t=>bt(t))).join("/")}function pt(t,e){if(!t.hasChildren())return dt(t);if(e){const e=t.children[q]?pt(t.children[q],!1):"",n=[];return Object.entries(t.children).forEach((([t,e])=>{t!==q&&n.push(`${t}:${pt(e,!1)}`)})),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach((([t,i])=>{t===q&&(n=n.concat(e(i,t)))})),Object.entries(t.children).forEach((([t,i])=>{t!==q&&(n=n.concat(e(i,t)))})),n}(t,((e,n)=>n===q?[pt(t.children[q],!1)]:[`${n}:${pt(e,!1)}`]));return 1===Object.keys(t.children).length&&null!=t.children[q]?`${dt(t)}/${e[0]}`:`${dt(t)}/(${e.join("//")})`}}function ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gt(t){return ft(t).replace(/%3B/gi,";")}function mt(t){return ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vt(t){return decodeURIComponent(t)}function yt(t){return vt(t.replace(/\+/g,"%20"))}function bt(t){return`${mt(t.path)}${e=t.parameters,Object.keys(e).map((t=>`;${mt(t)}=${mt(e[t])}`)).join("")}`;var e}const _t=/^[^\/()?;#]+/;function wt(t){const e=t.match(_t);return e?e[0]:""}const xt=/^[^\/()?;=#]+/,Ct=/^[^=?&#]+/,kt=/^[^&#]+/;class Ot{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new st([],{}):new st([],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[q]=new st(t,e)),n}parseSegment(){const t=wt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new i.vHH(4009,!1);return this.capture(t),new at(vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(xt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=wt(this.remaining);t&&(n=t,this.capture(n))}t[vt(e)]=vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Ct);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(kt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=yt(e),r=yt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=wt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new i.vHH(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=q);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[q]:new st([],s),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 i.vHH(4011,!1)}}function Mt(t){return t.segments.length>0?new st([],{[q]:t}):t}function St(t){const e={};for(const n of Object.keys(t.children)){const i=St(t.children[n]);if(n===q&&0===i.segments.length&&i.hasChildren())for(const[t,n]of Object.entries(i.children))e[t]=n;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[q]){const e=t.children[q];return new st(t.segments.concat(e.segments),e.children)}return t}(new st(t.segments,e))}function At(t){return t instanceof ot}function Pt(t){let e;const n=Mt(function n(i){const r={};for(const t of i.children){const e=n(t);r[t.outlet]=e}const o=new st(i.url,r);return i===t&&(e=o),o}(t.root));return e??n}function Et(t,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(0===e.length)return Dt(o,o,o,n,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Nt(!0,0,t);let e=0,n=!1;const i=t.reduce(((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return Object.entries(i.outlets).forEach((([t,n])=>{e[t]="string"==typeof n?n.split("/"):n})),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach(((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))})),t):[...t,i]}),[]);return new Nt(n,e,i)}(e);if(s.toRoot())return Dt(o,o,new st([],{}),n,r);const a=function(t,e,n){if(t.isAbsolute)return new Ft(e,!0,0);if(!n)return new Ft(e,!1,NaN);if(null===n.parent)return new Ft(n,!0,0);const r=Tt(t.commands[0])?0:1;return function(t,e,n){let r=t,o=e,s=n;for(;s>o;){if(s-=o,r=r.parent,!r)throw new i.vHH(4005,!1);o=r.segments.length}return new Ft(r,!1,o-s)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(s,o,t),l=a.processChildren?Rt(a.segmentGroup,a.index,s.commands):Lt(a.segmentGroup,a.index,s.commands);return Dt(o,a.segmentGroup,l,n,r)}function Tt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function It(t){return"object"==typeof t&&null!=t&&t.outlets}function Dt(t,e,n,i,r){let o,s={};i&&Object.entries(i).forEach((([t,e])=>{s[t]=Array.isArray(e)?e.map((t=>`${t}`)):`${e}`})),o=t===e?n:zt(t,e,n);const a=Mt(St(o));return new ot(a,s,r)}function zt(t,e,n){const i={};return Object.entries(t.children).forEach((([t,r])=>{i[t]=r===e?n:zt(r,e,n)})),new st(t.segments,i)}class Nt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Tt(n[0]))throw new i.vHH(4003,!1);const r=n.find(It);if(r&&r!==W(n))throw new i.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ft{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Lt(t,e,n){if(t||(t=new st([],{})),0===t.segments.length&&t.hasChildren())return Rt(t,e,n);const i=function(t,e,n){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const e=t.segments[r],s=n[i];if(It(s))break;const a=`${s}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Vt(a,l,e))return o;i+=2}else{if(!Vt(a,{},e))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndext!==q))&&t.children[q]&&1===t.numberOfChildren&&0===t.children[q].segments.length){const i=Rt(t.children[q],e,n);return new st(t.segments,i.children)}return Object.entries(i).forEach((([n,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(r[n]=Lt(t.children[n],e,i))})),Object.entries(t.children).forEach((([t,e])=>{void 0===i[t]&&(r[t]=e)})),new st(t.segments,r)}}function Bt(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=Bt(new st([],{}),0,n))})),e}function Ht(t){const e={};return Object.entries(t).forEach((([t,n])=>e[t]=`${n}`)),e}function Vt(t,e,n){return t==n.path&&J(e,n.parameters)}const $t="imperative";class qt{constructor(t,e){this.id=t,this.url=e}}class Zt extends qt{constructor(t,e,n="imperative",i=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends qt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Gt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=16}}class Jt extends qt{constructor(t,e,n,i){super(t,e),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt extends qt{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ne{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ie{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}class le{}class ce{constructor(t){this.url=t}}class ue{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new he,this.attachRef=null}}let he=(()=>{var t;class e{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 ue,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class de{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=pe(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=pe(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=fe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return fe(t,this._root).map((t=>t.value))}}function pe(t,e){if(t===e.value)return e;for(const n of e.children){const e=pe(t,n);if(e)return e}return null}function fe(t,e){if(t===e.value)return[e];for(const n of e.children){const i=fe(t,n);if(i.length)return i.unshift(e),i}return[]}class ge{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function me(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class ve extends de{constructor(t,e){super(t),this.snapshot=e,Ce(this,t)}toString(){return this.snapshot.toString()}}function ye(t,e){const n=function(t,e){const n=new we([],{},{},"",{},q,e,null,{});return new xe("",new ge(n,[]))}(0,e),i=new a.X([new at("",{})]),r=new a.X({}),o=new a.X({}),s=new a.X({}),l=new a.X(""),c=new be(i,r,s,l,o,q,e,n.root);return c.snapshot=n.root,new ve(new ge(c,[]),n)}class be{constructor(t,e,n,i,r,o,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=r,this.outlet=o,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe((0,C.U)((t=>t[Z])))??(0,s.of)(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r}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,C.U)((t=>G(t))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)((t=>G(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _e(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce(((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}})),{params:{},data:{},resolve:{}})}(n.slice(i))}class we{get title(){return this.data?.[Z]}constructor(t,e,n,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._resolve=l}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=G(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((t=>t.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xe extends de{constructor(t,e){super(e),this.url=t,Ce(this,e)}toString(){return ke(this._root)}}function Ce(t,e){e.value._routerState=t,e.children.forEach((e=>Ce(t,e)))}function ke(t){const e=t.children.length>0?` { ${t.children.map(ke).join(", ")} } `:"";return`${t.value}${e}`}function Oe(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,J(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),J(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nJ(t.parameters,r[e].parameters)));var i,r;const o=!t.parent!=!e.parent;return n&&!o&&(!t.parent||Me(t.parent,e.parent))}let Se=(()=>{var t;class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(he),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb),this.inputBinder=(0,i.f3M)(Pe,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}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 i.vHH(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,o=this.parentContexts.getOrCreateContext(this.name).children,s=new Ae(t,o,n.injector);this.activated=n.createComponent(r,{index:n.length,injector:s,environmentInjector:e??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]}),e})();class Ae{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===be?this.route:t===he?this.childContexts:this.parent.get(t,e)}}const Pe=new i.OlP("");function Ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map((e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return Ee(t,e,i);return Ee(t,e)}))}(t,e,n);return new ge(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const i=n.route;return i.value._futureSnapshot=e.value,i.children=e.children.map((e=>Ee(t,e))),i}}const n=(i=e.value,new be(new a.X(i.url),new a.X(i.params),new a.X(i.queryParams),new a.X(i.fragment),new a.X(i.data),i.outlet,i.component,i)),r=e.children.map((e=>Ee(t,e)));return new ge(n,r)}var i}const Te="ngNavigationCancelingError";function Ie(t,e){const{redirectTo:n,navigationBehaviorOptions:i}=At(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=De(!1,0,e);return r.url=n,r.navigationBehaviorOptions=i,r}function De(t,e,n){const i=new Error("NavigationCancelingError: "+(t||""));return i[Te]=!0,i.cancellationCode=e,n&&(i.url=n),i}function ze(t){return t&&t[Te]}let Ne=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},dependencies:[Se],encapsulation:2}),e})();function Fe(t){const e=t.children&&t.children.map(Fe),n=e?{...t,children:e}:{...t};return n.component||n.loadComponent||!e&&!n.loadChildren||!n.outlet||n.outlet===q||(n.component=Ne),n}function Le(t){return t.outlet||q}function Re(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Be{constructor(t,e,n,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Oe(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]})),Object.values(i).forEach((t=>{this.deactivateRouteAndItsChildren(t,n)}))}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new se(t.value.snapshot))})),t.children.length&&this.forwardEvent(new re(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(Oe(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const n=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),Oe(n.route.value),this.activateChildRoutes(t,null,e.children)}else{const n=Re(i.snapshot);e.attachRef=null,e.route=i,e.injector=n,e.outlet&&e.outlet.activateWith(i,e.injector),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}class je{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class He{constructor(t,e){this.component=t,this.route=e}}function Ve(t,e,n){const i=t._root;return qe(i,e?e._root:null,n,[i.value])}function $e(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||(0,i.Z0I)(t)?e.get(t):t:r}function qe(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=me(e);return t.children.forEach((t=>{!function(t,e,n,i,r={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!lt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!lt(t.url,e.url)||!J(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Me(t,e)||!J(t.queryParams,e.queryParams);default:return!Me(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new je(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?qe(t,e,a?a.children:null,i,r):qe(t,e,n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new He(a.outlet.component,s))}else s&&Ze(e,a,r),r.canActivateChecks.push(new je(i)),o.component?qe(t,null,a?a.children:null,i,r):qe(t,null,n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]})),Object.entries(o).forEach((([t,e])=>Ze(e,n.getContext(t),r))),r}function Ze(t,e,n){const i=me(t),r=t.value;Object.entries(i).forEach((([t,i])=>{r.component?Ze(i,e?e.children.getContext(t):null,n):Ze(i,e,n)})),r.component&&e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new He(e.outlet.component,r)):n.canDeactivateChecks.push(new He(null,r))}function Ue(t){return"function"==typeof t}function Ge(t){return t instanceof l||"EmptyError"===t?.name}const Qe=Symbol("INITIAL_VALUE");function Je(){return(0,k.w)((t=>(0,c.a)(t.map((t=>t.pipe((0,O.q)(1),(0,M.O)(Qe))))).pipe((0,C.U)((t=>{for(const e of t)if(!0!==e){if(e===Qe)return Qe;if(!1===e||e instanceof ot)return e}return!0})),(0,S.h)((t=>t!==Qe)),(0,O.q)(1))))}function Ye(t){return(0,d.z)((0,N.b)((t=>{if(At(t))throw Ie(0,t)})),(0,C.U)((t=>!0===t)))}class We{constructor(t){this.segmentGroup=t||null}}class Ke{constructor(t){this.urlTree=t}}function Xe(t){return(0,p._)(new We(t))}function tn(t){return(0,p._)(new Ke(t))}class en{constructor(t,e){this.urlSerializer=t,this.urlTree=e}noMatchError(t){return new i.vHH(4002,!1)}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[q])return t.redirectTo,(0,p._)(new i.vHH(4e3,!1));r=r.children[q]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new ot(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach((([t,i])=>{if("string"==typeof i&&i.startsWith(":")){const r=i.substring(1);n[t]=e[r]}else n[t]=i})),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let o={};return Object.entries(e.children).forEach((([e,r])=>{o[e]=this.createSegmentGroup(t,r,n,i)})),new st(r,o)}createSegments(t,e,n,i){return e.map((e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n)))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new i.vHH(4001,!1);return r}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}const nn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rn(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...nn}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(e.matcher||Q)(n,t,e);if(!i)return{...nn};const r={};Object.entries(i.posParams??{}).forEach((([t,e])=>{r[t]=e.path}));const o=i.consumed.length>0?{...r,...i.consumed[i.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function on(t,e,n,i){if(n.length>0&&function(t,e,n){return n.some((n=>sn(t,e,n)&&Le(n)!==q))}(t,n,i))return{segmentGroup:new st(e,function(t,e){const n={};n[q]=e;for(const e of t)if(""===e.path&&Le(e)!==q){const t=new st([],{});n[Le(e)]=t}return n}(i,new st(n,t.children))),slicedSegments:[]};if(0===n.length&&function(t,e,n){return n.some((n=>sn(t,e,n)))}(t,n,i)){const e=new st(t.segments,function(t,e,n,i,r){const o={};for(const e of i)if(sn(t,n,e)&&!r[Le(e)]){const t=new st([],{});o[Le(e)]=t}return{...r,...o}}(t,0,n,i,t.children));return{segmentGroup:e,slicedSegments:n}}return{segmentGroup:new st(t.segments,t.children),slicedSegments:n}}function sn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class an{constructor(t,e,n,i,r,o,s){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=r,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new en(this.urlSerializer,this.urlTree)}noMatchError(t){return new i.vHH(4002,!1)}recognize(){const t=on(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,q).pipe((0,F.K)((t=>{if(t instanceof Ke)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);if(t instanceof We)throw this.noMatchError(t);throw t})),(0,C.U)((t=>{const e=new we([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,{}),n=new ge(e,t),i=new xe("",n),r=function(t,e,n=null,i=null){return Et(Pt(t),e,n,i)}(e,[],this.urlTree.queryParams,this.urlTree.fragment);return r.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(r),this.inheritParamsAndData(i._root),{state:i,tree:r}})))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,q).pipe((0,F.K)((t=>{if(t instanceof We)throw this.noMatchError(t);throw t})))}inheritParamsAndData(t){const e=t.value,n=_e(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,i){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,i,!0)}processChildren(t,e,n){const i=[];for(const t of Object.keys(n.children))"primary"===t?i.unshift(t):i.push(t);return(0,o.D)(i).pipe((0,z.b)((i=>{const r=n.children[i],o=function(t,e){const n=t.filter((t=>Le(t)===e));return n.push(...t.filter((t=>Le(t)!==e))),n}(e,i);return this.processSegmentGroup(t,o,r,i)})),(0,L.R)(((t,e)=>(t.push(...e),t))),(0,P.d)(null),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,R(1),n?(0,P.d)(e):E((()=>new l)))}(),(0,A.z)((t=>{if(null===t)return Xe(n);const e=cn(t);return e.sort(((t,e)=>t.value.outlet===q?-1:e.value.outlet===q?1:t.value.outlet.localeCompare(e.value.outlet))),(0,s.of)(e)})))}processSegment(t,e,n,i,r,a){return(0,o.D)(e).pipe((0,z.b)((o=>this.processSegmentAgainstRoute(o._injector??t,e,o,n,i,r,a).pipe((0,F.K)((t=>{if(t instanceof We)return(0,s.of)(null);throw t}))))),D((t=>!!t)),(0,F.K)((t=>{if(Ge(t))return function(t,e,n){return 0===e.length&&!t.children[n]}(n,i,r)?(0,s.of)([]):Xe(n);throw t})))}processSegmentAgainstRoute(t,e,n,i,r,o,s){return function(t,e,n,i){return!!(Le(t)===i||i!==q&&sn(e,n,t))&&("**"===t.path||rn(e,t,n).matched)}(n,i,r,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,i,n,r,o,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,i,e,n,r,o):Xe(i):Xe(i)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?tn(r):this.applyRedirects.lineralizeSegments(n,r).pipe((0,A.z)((n=>{const r=new st(n,{});return this.processSegment(t,e,r,n,i,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){const{matched:s,consumedSegments:a,remainingSegments:l,positionalParamSegments:c}=rn(e,i,r);if(!s)return Xe(e);const u=this.applyRedirects.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?tn(u):this.applyRedirects.lineralizeSegments(i,u).pipe((0,A.z)((i=>this.processSegment(t,n,e,i.concat(l),o,!1))))}matchSegmentAgainstRoute(t,e,n,r,o,a){let l;if("**"===n.path){const t=r.length>0?W(r).parameters:{},i=new we(r,t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n));l=(0,s.of)({snapshot:i,consumedSegments:[],remainingSegments:[]}),e.children={}}else l=function(t,e,n,r,o){const a=rn(t,e,n);return a.matched?(r=function(t,e){return t.providers&&!t._injector&&(t._injector=(0,i.MMx)(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n,i){const r=e.canMatch;if(!r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canMatch)}(r)?r.canMatch(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(r,e,n).pipe((0,C.U)((t=>!0===t?a:{...nn})))):(0,s.of)(a)}(e,n,r,t,this.urlSerializer).pipe((0,C.U)((({matched:t,consumedSegments:e,remainingSegments:i,parameters:r})=>t?{snapshot:new we(e,r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n)),consumedSegments:e,remainingSegments:i}:null)));return l.pipe((0,k.w)((i=>null===i?Xe(e):(t=n._injector??t,this.getChildConfig(t,n,r).pipe((0,k.w)((({routes:r})=>{const a=n._loadedInjector??t,{snapshot:l,consumedSegments:c,remainingSegments:u}=i,{segmentGroup:h,slicedSegments:d}=on(e,c,u,r);if(0===d.length&&h.hasChildren())return this.processChildren(a,r,h).pipe((0,C.U)((t=>null===t?null:[new ge(l,t)])));if(0===r.length&&0===d.length)return(0,s.of)([new ge(l,[])]);const p=Le(n)===o;return this.processSegment(a,r,h,d,p?q:o,!0).pipe((0,C.U)((t=>[new ge(l,t)])))})))))))}getChildConfig(t,e,n){return e.children?(0,s.of)({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector}):function(t,e,n,i){const r=e.canLoad;if(void 0===r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canLoad)}(r)?r.canLoad(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(t,e,n,this.urlSerializer).pipe((0,A.z)((n=>n?this.configLoader.loadChildren(t,e).pipe((0,N.b)((t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector}))):(0,p._)(De(!1,3))))):(0,s.of)({routes:[],injector:t})}}function ln(t){const e=t.value.routeConfig;return e&&""===e.path}function cn(t){const e=[],n=new Set;for(const i of t){if(!ln(i)){e.push(i);continue}const t=e.find((t=>i.value.routeConfig===t.value.routeConfig));void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const t of n){const n=cn(t.children);e.push(new ge(t.value,n))}return e.filter((t=>!n.has(t)))}function un(t){return t.data||{}}function hn(t){return t.resolve||{}}function dn(t){return"string"==typeof t.title||null===t.title}function pn(t){return(0,k.w)((e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,C.U)((()=>e))):(0,s.of)(e)}))}const fn=new i.OlP("ROUTES");let gn=(()=>{var t;class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return(0,s.of)(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const e=K(t.loadComponent()).pipe((0,C.U)(mn),(0,N.b)((e=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=e})),(0,j.x)((()=>{this.componentLoaders.delete(t)}))),n=new _(e,(()=>new w.x)).pipe(b());return this.componentLoaders.set(t,n),n}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const n=function(t,e,n,r){return K(t.loadChildren()).pipe((0,C.U)(mn),(0,A.z)((t=>t instanceof i.YKP||Array.isArray(t)?(0,s.of)(t):(0,o.D)(e.compileModuleAsync(t)))),(0,C.U)((e=>{let i,o;r&&r(t);return Array.isArray(e)?o=e:(i=e.create(n).injector,o=i.get(fn,[],{optional:!0,self:!0}).flat()),{routes:o.map(Fe),injector:i}})))}(e,this.compiler,t,this.onLoadEndListener),r=n.pipe((0,j.x)((()=>{this.childrenLoaders.delete(e)}))),a=new _(r,(()=>new w.x)).pipe(b());return this.childrenLoaders.set(e,a),a}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function mn(t){return(e=t)&&"object"==typeof e&&"default"in e?t.default:t;var e}let vn=(()=>{var t;class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new w.x,this.transitionAbortSubject=new w.x,this.configLoader=(0,i.f3M)(gn),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(ct),this.rootContexts=(0,i.f3M)(he),this.inputBindingEnabled=null!==(0,i.f3M)(Pe,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,s.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=t=>this.events.next(new ne(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new ee(t))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:e})}setupNavigations(t,e,n){return this.transitions=new a.X({id:0,currentUrlTree:e,currentRawUrl:e,currentBrowserUrl:e,extractedUrl:t.urlHandlingStrategy.extract(e),urlAfterRedirects:t.urlHandlingStrategy.extract(e),rawUrl:e,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:$t,restoredState:null,currentSnapshot:n.snapshot,targetSnapshot:null,currentRouterState:n,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,S.h)((t=>0!==t.id)),(0,C.U)((e=>({...e,extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)}))),(0,k.w)((e=>{this.currentTransition=e;let n=!1,i=!1;return(0,s.of)(e).pipe((0,N.b)((t=>{this.currentNavigation={id:t.id,initialUrl:t.rawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),(0,k.w)((n=>{const i=n.currentBrowserUrl.toString(),r=!t.navigated||n.extractedUrl.toString()!==i||i!==n.currentUrlTree.toString(),o=n.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!r&&"reload"!==o){const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.rawUrl),t,0)),n.resolve(null),f.E}if(t.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return(0,s.of)(n).pipe((0,k.w)((t=>{const e=this.transitions?.getValue();return this.events.next(new Zt(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),e!==this.transitions?.getValue()?f.E:Promise.resolve(t)})),(a=this.environmentInjector,l=this.configLoader,c=this.rootComponentType,u=t.config,h=this.urlSerializer,d=t.paramsInheritanceStrategy,(0,A.z)((t=>function(t,e,n,i,r,o,s="emptyOnly"){return new an(t,e,n,i,r,s,o).recognize()}(a,l,c,u,t.extractedUrl,h,d).pipe((0,C.U)((({state:e,tree:n})=>({...t,targetSnapshot:e,urlAfterRedirects:n}))))))),(0,N.b)((t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:t.urlAfterRedirects};const n=new Yt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(n)})));var a,l,c,u,h,d;if(r&&t.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:i,source:r,restoredState:o,extras:a}=n,l=new Zt(t,this.urlSerializer.serialize(i),r,o);this.events.next(l);const c=ye(0,this.rootComponentType).snapshot;return this.currentTransition=e={...n,targetSnapshot:c,urlAfterRedirects:i,extras:{...a,skipLocationChange:!1,replaceUrl:!1}},(0,s.of)(e)}{const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.extractedUrl),t,1)),n.resolve(null),f.E}})),(0,N.b)((t=>{const e=new Wt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,C.U)((t=>(this.currentTransition=e={...t,guards:Ve(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e))),function(t,e){return(0,A.z)((n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,s.of)({...n,guardsResult:!0}):function(t,e,n,i){return(0,o.D)(t).pipe((0,A.z)((t=>function(t,e,n,i,r){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=Re(e)??r,a=$e(o,s);return K(function(t){return t&&Ue(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,i):s.runInContext((()=>a(t,e,n,i)))).pipe(D())}));return(0,s.of)(a).pipe(Je())}(t.component,t.route,n,e,i))),D((t=>!0!==t),!0))}(l,i,r,t).pipe((0,A.z)((n=>n&&"boolean"==typeof n?function(t,e,n,i){return(0,o.D)(e).pipe((0,z.b)((e=>(0,u.z)(function(t,e){return null!==t&&e&&e(new ie(t)),(0,s.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new oe(t)),(0,s.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=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,h.P)((()=>{const r=e.guards.map((r=>{const o=Re(e.node)??n,s=$e(r,o);return K(function(t){return t&&Ue(t.canActivateChild)}(s)?s.canActivateChild(i,t):o.runInContext((()=>s(i,t)))).pipe(D())}));return(0,s.of)(r).pipe(Je())}))));return(0,s.of)(r).pipe(Je())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map((i=>(0,h.P)((()=>{const r=Re(e)??n,o=$e(i,r);return K(function(t){return t&&Ue(t.canActivate)}(o)?o.canActivate(e,t):r.runInContext((()=>o(e,t)))).pipe(D())}))));return(0,s.of)(r).pipe(Je())}(t,e.route,n)))),D((t=>!0!==t),!0))}(i,a,t,e):(0,s.of)(n))),(0,C.U)((t=>({...n,guardsResult:t}))))}))}(this.environmentInjector,(t=>this.events.next(t))),(0,N.b)((t=>{if(e.guardsResult=t.guardsResult,At(t.guardsResult))throw Ie(this.urlSerializer,t.guardsResult);const n=new Kt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(n)})),(0,S.h)((t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",3),!1))),pn((e=>{if(e.guards.canActivateChecks.length)return(0,s.of)(e).pipe((0,N.b)((t=>{const e=new Xt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,k.w)((e=>{let n=!1;return(0,s.of)(e).pipe((i=t.paramsInheritanceStrategy,r=this.environmentInjector,(0,A.z)((t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return(0,s.of)(t);let a=0;return(0,o.D)(n).pipe((0,z.b)((t=>function(t,e,n,i){const r=t.routeConfig,a=t._resolve;return void 0===r?.title||dn(r)||(a[Z]=r.title),function(t,e,n,i){const r=(a=t,[...Object.keys(a),...Object.getOwnPropertySymbols(a)]);var a;if(0===r.length)return(0,s.of)({});const l={};return(0,o.D)(r).pipe((0,A.z)((r=>function(t,e,n,i){const r=Re(e)??i,o=$e(t,r);return K(o.resolve?o.resolve(e,n):r.runInContext((()=>o(e,n))))}(t[r],e,n,i).pipe(D(),(0,N.b)((t=>{l[r]=t}))))),R(1),(0,B.h)(l),(0,F.K)((t=>Ge(t)?f.E:(0,p._)(t))))}(a,t,e,i).pipe((0,C.U)((e=>(t._resolvedData=e,t.data=_e(t,n).resolve,r&&dn(r)&&(t.data[Z]=r.title),null))))}(t.route,e,i,r))),(0,N.b)((()=>a++)),R(1),(0,A.z)((e=>a===n.length?(0,s.of)(t):f.E)))}))),(0,N.b)({next:()=>n=!0,complete:()=>{n||this.cancelNavigationTransition(e,"",2)}}));var i,r})),(0,N.b)((t=>{const e=new te(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})))})),pn((t=>{const e=t=>{const n=[];t.routeConfig?.loadComponent&&!t.routeConfig._loadedComponent&&n.push(this.configLoader.loadComponent(t.routeConfig).pipe((0,N.b)((e=>{t.component=e})),(0,C.U)((()=>{}))));for(const i of t.children)n.push(...e(i));return n};return(0,c.a)(e(t.targetSnapshot.root)).pipe((0,P.d)(),(0,O.q)(1))})),pn((()=>this.afterPreactivation())),(0,C.U)((n=>{const i=function(t,e,n){const i=Ee(t,e._root,n?n._root:void 0);return new ve(i,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e={...n,targetRouterState:i},e})),(0,N.b)((()=>{this.events.next(new le)})),(r=this.rootContexts,a=t.routeReuseStrategy,l=t=>this.events.next(t),d=this.inputBindingEnabled,(0,C.U)((t=>(new Be(a,t.targetRouterState,t.currentRouterState,l,d).activate(r),t)))),(0,O.q)(1),(0,N.b)({next:e=>{n=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ut(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects))),t.titleStrategy?.updateTitle(e.targetRouterState.snapshot),e.resolve(!0)},complete:()=>{n=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,N.b)((t=>{throw t})))),(0,j.x)((()=>{if(!n&&!i){const t="";this.cancelNavigationTransition(e,t,1)}this.currentNavigation?.id===e.id&&(this.currentNavigation=null)})),(0,F.K)((n=>{if(i=!0,ze(n))this.events.next(new Gt(e.id,this.urlSerializer.serialize(e.extractedUrl),n.message,n.cancellationCode)),ze(r=n)&&At(r.url)?this.events.next(new ce(n.url)):e.resolve(!1);else{this.events.next(new Jt(e.id,this.urlSerializer.serialize(e.extractedUrl),n,e.targetSnapshot??void 0));try{e.resolve(t.errorHandler(n))}catch(t){e.reject(t)}}var r;return f.E})));var r,a,l,d})))}cancelNavigationTransition(t,e,n){const i=new Gt(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(i),t.resolve(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function yn(t){return t!==$t}let bn=(()=>{var t;class e{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find((t=>t.outlet===q));return e}getResolvedTitleForRoute(t){return t.data[Z]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(_n)},providedIn:"root"}),e})(),_n=(()=>{var t;class e extends bn{constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG($.Dx))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),wn=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Cn)},providedIn:"root"}),e})();class xn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Cn=(()=>{var t;class e extends xn{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const kn=new i.OlP("",{providedIn:"root",factory:()=>({})});let On=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Mn)},providedIn:"root"}),e})(),Mn=(()=>{var t;class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var Sn=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Sn||{});function An(t){throw t}function Pn(t,e,n){return e.parse("/")}const En={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Tn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let In=(()=>{var t;class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.ɵrouterPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this._events=new w.x,this.options=(0,i.f3M)(kn,{optional:!0})||{},this.pendingTasks=(0,i.f3M)(i.HDt),this.errorHandler=this.options.errorHandler||An,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Pn,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(On),this.routeReuseStrategy=(0,i.f3M)(wn),this.titleStrategy=(0,i.f3M)(bn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,i.f3M)(fn,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.f3M)(vn),this.urlSerializer=(0,i.f3M)(ct),this.location=(0,i.f3M)(x.Ye),this.componentInputBindingEnabled=!!(0,i.f3M)(Pe,{optional:!0}),this.eventsSubscription=new m.w0,this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ot,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ye(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe((t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId}),(t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe((t=>{try{const{currentTransition:e}=this.navigationTransitions;if(null===e)return void(Dn(t)&&this._events.next(t));if(t instanceof Zt)yn(e.source)&&(this.browserUrlTree=e.extractedUrl);else if(t instanceof Qt)this.rawUrlTree=e.rawUrl;else if(t instanceof Yt){if("eager"===this.urlUpdateStrategy){if(!e.extras.skipLocationChange){const t=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl);this.setBrowserUrl(t,e)}this.browserUrlTree=e.urlAfterRedirects}}else if(t instanceof le)this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects);else if(t instanceof Gt)0!==t.code&&1!==t.code&&(this.navigated=!0),3!==t.code&&2!==t.code||this.restoreHistory(e);else if(t instanceof ce){const n=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),i={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yn(e.source)};this.scheduleNavigation(n,$t,null,i,{resolve:e.resolve,reject:e.reject,promise:e.promise})}t instanceof Jt&&this.restoreHistory(e,!0),t instanceof Ut&&(this.navigated=!0),Dn(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}}));this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),$t,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((t=>{const e="popstate"===t.type?"popstate":"hashchange";"popstate"===e&&setTimeout((()=>{this.navigateToSyncWithBrowser(t.url,e,t.state)}),0)})))}navigateToSyncWithBrowser(t,e,n){const i={replaceUrl:!0},r=n?.navigationId?n:null;if(n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,0!==Object.keys(t).length&&(i.state=t)}const o=this.parseUrl(t);this.scheduleNavigation(o,e,r,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Fe),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=e,a=s?this.currentUrlTree.fragment:r;let l,c=null;switch(o){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{l=Pt(n?n.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof t[0]&&t[0].startsWith("/")||(t=[]),l=this.currentUrlTree.root}return Et(l,t,c,a??null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=At(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,$t,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e}),{})}scheduleNavigation(t,e,n,i,r){if(this.disposed)return Promise.resolve(!1);let o,s,a;r?(o=r.resolve,s=r.reject,a=r.promise):a=new Promise(((t,e)=>{o=t,s=e}));const l=this.pendingTasks.add();return c=()=>{queueMicrotask((()=>this.pendingTasks.remove(l)))},this.events.pipe((0,S.h)((t=>t instanceof Ut||t instanceof Gt||t instanceof Jt||t instanceof Qt)),(0,C.U)((t=>t instanceof Ut||t instanceof Qt?Sn.COMPLETE:t instanceof Gt&&(0===t.code||1===t.code)?Sn.REDIRECTING:Sn.FAILED)),(0,S.h)((t=>t!==Sn.REDIRECTING)),(0,O.q)(1)).subscribe((()=>{c()})),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((t=>Promise.reject(t)));var c}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl){const t=this.browserPageId,i={...e.extras.state,...this.generateNgRouterState(e.id,t)};this.location.replaceState(n,"",i)}else{const t={...e.extras.state,...this.generateNgRouterState(e.id,this.browserPageId+1)};this.location.go(n,"",t)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.browserPageId,n=this.currentPageId-e;0!==n?this.location.historyGo(n):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===n&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}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))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e}:{navigationId:t}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dn(t){return!(t instanceof le||t instanceof ce)}let zn=(()=>{var t;class e{constructor(t,e,n,i,r,o){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=i,this.el=r,this.locationStrategy=o,this.href=null,this.commands=null,this.onChanges=new w.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const s=r.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===s||"area"===s,this.isAnchorElement?this.subscription=t.events.subscribe((t=>{t instanceof Ut&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,e,n,i,r){if(null===this.urlTree)return!0;if(this.isAnchorElement){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const o={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,o),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,e){const n=this.renderer,i=this.el.nativeElement;null!==e?n.setAttribute(i,t,e):n.removeAttribute(i,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(be),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(x.S$))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLink",""]],hostVars:1,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.uIk("target",e.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",i.VuI],replaceUrl:["replaceUrl","replaceUrl",i.VuI],routerLink:"routerLink"},standalone:!0,features:[i.Xq5,i.TTD]}),e})(),Nn=(()=>{var t;class e{get isActive(){return this._isActive}constructor(t,e,n,r,o){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.vpe,this.routerEventsSubscription=t.events.subscribe((t=>{t instanceof Ut&&this.update()}))}ngAfterContentInit(){(0,s.of)(this.links.changes,(0,s.of)(null)).pipe((0,V.J)()).subscribe((t=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter((t=>!!t)).map((t=>t.onChanges));this.linkInputChangesSubscription=(0,o.D)(t).pipe((0,V.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(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask((()=>{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)})),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))}))}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>!!n.urlTree&&t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(zn,8))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,zn,5),2&t){let t;i.iGM(t=i.CRH())&&(e.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[i.TTD]}),e})();const Fn=new i.OlP("");let Ln=(()=>{var t;class e{constructor(t,e,n,i,r={}){this.urlSerializer=t,this.transitions=e,this.viewportScroller=n,this.zone=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof Zt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ut?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qt&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof ae&&(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.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new ae(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function Rn(t,...e){return(0,i.MR2)([{provide:fn,multi:!0,useValue:t},[],{provide:be,useFactory:Bn,deps:[In]},{provide:i.tb,multi:!0,useFactory:Hn},e.map((t=>t.ɵproviders))])}function Bn(t){return t.routerState.root}function jn(t={}){return{ɵkind:4,ɵproviders:[{provide:Fn,useFactory:()=>{const e=(0,i.f3M)(x.EM),n=(0,i.f3M)(i.R0b),r=(0,i.f3M)(vn),o=(0,i.f3M)(ct);return new Ln(o,r,e,n,t)}}]}}function Hn(){const t=(0,i.f3M)(i.zs3);return e=>{const n=t.get(i.z2F);if(e!==n.components[0])return;const r=t.get(In),o=t.get(Vn);1===t.get($n)&&r.initialNavigation(),t.get(qn,null,i.XFs.Optional)?.setUpPreloading(),t.get(Fn,null,i.XFs.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}i.Xts;const Vn=new i.OlP("",{factory:()=>new w.x}),$n=new i.OlP("",{providedIn:"root",factory:()=>1}),qn=new i.OlP("");x.Ye},28858:(t,e,n)=>{n.d(e,{ro:()=>a});var i=n(8239),r=n(20755),o=n(43226),s=n(7618);let a=(()=>{class t{constructor(){this.elementRef=(0,r.f3M)(r.SBq).nativeElement,this.ngZone=(0,r.f3M)(r.R0b),this.maskedElement=null,this.options=null,this.elementPredicate=s.gI;const t=(0,r.f3M)(o.Fj,{self:!0,optional:!0});if(t){const e=t.writeValue.bind(t);t.writeValue=t=>{e(this.options?(0,s.CV)(String(t??""),this.options):t)}}}ngOnChanges(){var t=this;return(0,i.Z)((function*(){const{elementPredicate:e,options:n}=t;if(t.maskedElement?.destroy(),!n)return;const i=yield e(t.elementRef);t.elementPredicate===e&&t.ngZone.runOutsideAngular((()=>{t.maskedElement=new s.C8(i,n)}))}))()}ngOnDestroy(){this.maskedElement?.destroy()}}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","maskito",""]],inputs:{options:["maskito","options"],elementPredicate:["maskitoElement","elementPredicate"]},standalone:!0,features:[r.TTD]}),t})()},42772:(t,e,n)=>{n.d(e,{Ct:()=>g,H3:()=>f,KS:()=>y,L1:()=>p,de:()=>v,m9:()=>d,s5:()=>m,yZ:()=>b});var i=n(20755),r=n(48132),o=n(88557),s=n(10409),a=n(73843),l=n(92425),c=n(18004),u=n(20530),h=n(76733);const d=new i.OlP("[WINDOW]: An abstraction over global window object",{factory:()=>{const{defaultView:t}=(0,i.f3M)(h.K0);if(!t)throw new Error("Window is not available");return t}}),p=new i.OlP("[ANIMATION_FRAME]: Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:t,cancelAnimationFrame:e}=(0,i.f3M)(d);return new r.y((n=>{let i=NaN;const r=e=>{n.next(e),i=t(r)};return i=t(r),()=>{e(i)}})).pipe((0,o.B)())}}),f=(new i.OlP("[CACHES]: An abstraction over window.caches object",{factory:()=>(0,i.f3M)(d).caches}),new i.OlP("[CRYPTO]: An abstraction over window.crypto object",{factory:()=>(0,i.f3M)(d).crypto}),new i.OlP("[TOKEN_CSS]: An abstraction over window.CSS object",{factory:()=>(0,i.f3M)(d).CSS??{escape:t=>t,supports:()=>!1}}),new i.OlP("[HISTORY]: An abstraction over window.history object",{factory:()=>(0,i.f3M)(d).history}),new i.OlP("[LOCAL_STORAGE]: An abstraction over window.localStorage object",{factory:()=>(0,i.f3M)(d).localStorage})),g=new i.OlP("[LOCATION]: An abstraction over window.location object",{factory:()=>(0,i.f3M)(d).location}),m=new i.OlP("[NAVIGATOR]: An abstraction over window.navigator object",{factory:()=>(0,i.f3M)(d).navigator}),v=(new i.OlP("[MEDIA_DEVICES]: An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,i.f3M)(m).mediaDevices}),new i.OlP("[NETWORK_INFORMATION]: An abstraction over window.navigator.connection object",{factory:()=>(0,i.f3M)(m).connection||null}),new i.OlP("[PAGE_VISIBILITY]: Shared Observable based on `document visibility changed`",{factory:()=>{const t=(0,i.f3M)(h.K0);return(0,s.R)(t,"visibilitychange").pipe((0,a.O)(0),(0,l.U)((()=>"hidden"!==t.visibilityState)),(0,c.x)(),(0,u.d)({refCount:!1,bufferSize:1}))}})),y=new i.OlP("[PERFORMANCE]: An abstraction over window.performance object",{factory:()=>(0,i.f3M)(d).performance}),b=(new i.OlP("[SCREEN]: An abstraction over window.screen object",{factory:()=>(0,i.f3M)(d).screen}),new i.OlP("[SESSION_STORAGE]: An abstraction over window.sessionStorage object",{factory:()=>(0,i.f3M)(d).sessionStorage}),new i.OlP("[SPEECH_RECOGNITION]: An abstraction over SpeechRecognition class",{factory:()=>{const t=(0,i.f3M)(d);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new i.OlP("[SPEECH_SYNTHESIS]: An abstraction over window.speechSynthesis object",{factory:()=>(0,i.f3M)(d).speechSynthesis}),new i.OlP("[USER_AGENT]: An abstraction over window.navigator.userAgent object",{factory:()=>(0,i.f3M)(m).userAgent}))},81695:(t,e,n)=>{n.d(e,{IM:()=>h,Vi:()=>u,k2:()=>a});var i=n(86889),r=n(20755),o=n(48132);const s="undefined"!=typeof MutationObserver?MutationObserver:class{observe(){}disconnect(){}takeRecords(){return[]}},a=new r.OlP("[MUTATION_OBSERVER_INIT]: MutationObserver config");function l(t,e){return null!==t.getAttribute(e)||void 0}function c({nativeElement:t}){const e=t.getAttribute("attributeFilter");return{attributeFilter:e?.split(",").map((t=>t.trim())),attributeOldValue:l(t,"attributeOldValue"),attributes:l(t,"attributes"),characterData:l(t,"characterData"),characterDataOldValue:l(t,"characterDataOldValue"),childList:l(t,"childList"),subtree:l(t,"subtree")}}let u=(()=>{var t;class e extends s{constructor(t,e,n,o,s,l,c){super((t=>{this.waMutationObserver.emit(t)})),(0,i.Z)(this,"nativeElement",(0,r.f3M)(r.SBq).nativeElement),(0,i.Z)(this,"config",(0,r.f3M)(a)),(0,i.Z)(this,"waMutationObserver",new r.vpe),this.observe(this.nativeElement,this.config)}ngOnDestroy(){this.disconnect()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("attributeFilter"),r.$8M("attributeOldValue"),r.$8M("attributes"),r.$8M("characterData"),r.$8M("characterDataOldValue"),r.$8M("childList"),r.$8M("subtree"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waMutationObserver",""]],outputs:{waMutationObserver:"waMutationObserver"},exportAs:["MutationObserver"],standalone:!0,features:[r._Bn([{provide:a,deps:[r.SBq],useFactory:c}]),r.qOj]})),e})(),h=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(a);super((n=>{const i=new s((t=>{n.next(t)}));return i.observe(t,e),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})()},34749:(t,e,n)=>{n.d(e,{P:()=>h,ax:()=>u});var i=n(86889),r=n(20755),o=n(48132),s=n(42772);const a="undefined"!=typeof ResizeObserver?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},l="content-box",c=new r.OlP("[RESIZE_OPTION_BOX]: Box model to observe changes",{providedIn:"root",factory:()=>l});let u=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(c);super((n=>{const i=new a((t=>n.next(t)));return i.observe(t,{box:e}),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})(),h=(()=>{var t;class e{constructor(t){(0,i.Z)(this,"box",void 0),(0,i.Z)(this,"waResizeObserver",(0,r.f3M)(u)),this.box=t}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("waResizeBox"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waResizeObserver",""]],outputs:{waResizeObserver:"waResizeObserver"},standalone:!0,features:[r._Bn([u,{provide:c,deps:[r.SBq],useFactory:({nativeElement:t})=>t.getAttribute("waResizeBox")||l}])]})),e})();new r.OlP("[RESIZE_OBSERVER_SUPPORT]: Resize Observer API support",{providedIn:"root",factory:()=>!!(0,r.f3M)(s.m9).ResizeObserver})},25797:(t,e,n)=>{n.d(e,{J0:()=>f,uX:()=>g});var i=n(43232),r=n(76733),o=n(20755);class s{supports(t){return t.includes(this.modifier)}unwrap(t){return t.split(".").filter((t=>!this.modifier.includes(t))).join(".")}}const a=new o.OlP("[GLOBAL_HANDLER]: Global event target handler",{factory:()=>{const t=(0,o.f3M)(r.K0);return e=>"body"===e?t.body:t.defaultView[e]||t.createElement("div")}});let l=(()=>{var t;class e extends s{constructor(){super(...arguments),this.handler=(0,o.f3M)(a),this.modifier=">"}addEventListener(t,e,n){return this.manager.addEventListener(this.handler(e.split(">")[0]),e.split(">")[1],n)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),c=(()=>{var t;class e extends s{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,e.includes(".capture"))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),u=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),h=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier="resize"}supports(t){return"resize"===t}addEventListener(t,e,n){if("undefined"==typeof ResizeObserver||!(t instanceof Element))return()=>{};const i=new ResizeObserver((t=>this.manager.getZone().run((()=>n(t)))));return i.observe(t),()=>i.disconnect()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),d=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),p=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(t,n,i){return e.ngZone=this.manager.getZone(),e.ngZone.runOutsideAngular((()=>this.manager.addEventListener(t,this.unwrap(n),i)))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();const f=[p,l,c,u,h,d,(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})()].map((t=>({provide:i.s3,multi:!0,useClass:t})));function g(t){return(e,n,i)=>{const{value:r}=i;i.value=function(...e){t.apply(this,e)&&(p.ngZone?p.ngZone.run((()=>r.apply(this,e))):r.apply(this,e))}}}},25690:(t,e,n)=>{n.d(e,{Al:()=>s,GL:()=>l,s$:()=>c,yf:()=>o});var i=n(86889),r=n(20755);const o=new r.OlP("POLYMORPHEUS_CONTEXT");class s{constructor(t,e){(0,i.Z)(this,"component",void 0),(0,i.Z)(this,"i",void 0),this.component=t,this.i=e}createInjector(t,e){return r.zs3.create({parent:this.i||t,providers:[{provide:o,useValue:e}]})}}class a{constructor(t){(0,i.Z)(this,"$implicit",void 0),this.$implicit=t}get polymorpheusOutlet(){return this.$implicit}}let l=(()=>{var t;class e{constructor(t=(0,r.f3M)(r.Rgc,{self:!0}),e=(0,r.f3M)(r.sBO)){(0,i.Z)(this,"template",void 0),(0,i.Z)(this,"cdr",void 0),(0,i.Z)(this,"polymorpheus",""),this.template=t,this.cdr=e}static ngTemplateContextGuard(t,e){return!0}check(){this.cdr.markForCheck()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.sBO))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"],standalone:!0})),e})(),c=(()=>{var t;class e{constructor(){(0,i.Z)(this,"vcr",(0,r.f3M)(r.s_b)),(0,i.Z)(this,"i",(0,r.f3M)(r.gxx)),(0,i.Z)(this,"t",(0,r.f3M)(r.Rgc)),(0,i.Z)(this,"c",void 0),(0,i.Z)(this,"content",""),(0,i.Z)(this,"context",void 0)}static ngTemplateContextGuard(t,e){return!0}ngOnChanges({content:t}){const e=this.getContext();if(this.c?.injector.get(r.sBO).markForCheck(),!t)return;this.vcr.clear();const n=e&&new Proxy(e,{get:(t,e)=>this.getContext()?.[e]});h(this.content)?this.process(this.content,n):null!=(e instanceof a&&e.$implicit)&&this.vcr.createEmbeddedView(this.template,n,{injector:this.i})}ngDoCheck(){u(this.content)&&this.content.check()}get template(){return u(this.content)?this.content.template:this.content instanceof r.Rgc?this.content:this.t}getContext(){return u(t=this.content)||t instanceof r.Rgc||h(this.content)?this.context:new a(this.context&&"function"==typeof this.content?this.content(this.context):this.content);var t}process(t,e){const n=t.createInjector(this.i,e);this.c=this.vcr.createComponent(t.component,{injector:n})}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},standalone:!0,features:[r.TTD]})),e})();function u(t){return t instanceof l}function h(t){return t instanceof s}},89088:(t,e,n)=>{n.d(e,{Z:()=>pn});var i={};n.r(i),n.d(i,{decode:()=>c,encode:()=>d,format:()=>p,parse:()=>M});var r={};n.r(r),n.d(r,{Any:()=>P,Cc:()=>E,Cf:()=>T,P:()=>S,S:()=>A,Z:()=>I});var o={};n.r(o),n.d(o,{arrayReplaceAt:()=>et,assign:()=>tt,escapeHtml:()=>pt,escapeRE:()=>gt,fromCodePoint:()=>it,has:()=>X,isMdAsciiPunct:()=>bt,isPunctChar:()=>yt,isSpace:()=>mt,isString:()=>W,isValidEntityCode:()=>nt,isWhiteSpace:()=>vt,lib:()=>wt,normalizeReference:()=>_t,unescapeAll:()=>lt,unescapeMd:()=>at});var s={};n.r(s),n.d(s,{parseLinkDestination:()=>Ct,parseLinkLabel:()=>xt,parseLinkTitle:()=>kt});const a={};function l(t,e){"string"!=typeof e&&(e=l.defaultChars);const n=function(t){let e=a[t];if(e)return e;e=a[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);e.push(n)}for(let n=0;n=55296&&t<=57343?"���":String.fromCharCode(t),i+=6;continue}}if(240==(248&o)&&i+91114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),i+=9;continue}}e+="�"}}return e}))}l.defaultChars=";/?:@&=+$,#",l.componentChars="";const c=l,u={};function h(t,e,n){"string"!=typeof e&&(n=e,e=h.defaultChars),void 0===n&&(n=!0);const i=function(t){let e=u[t];if(e)return e;e=u[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&e+1=56320&&n<=57343){r+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(t[e])}return r}h.defaultChars=";/?:@&=+$,-_.!~*'()#",h.componentChars="-_.!~*'()";const d=h;function p(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function f(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const g=/^([a-z0-9.+-]+:)/i,m=/:[0-9]*$/,v=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,y=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),b=["'"].concat(y),_=["%","/","?",";","#"].concat(b),w=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,C=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,k={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};f.prototype.parse=function(t,e){let n,i,r,o=t;if(o=o.trim(),!e&&1===t.split("#").length){const t=v.exec(o);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let s=g.exec(o);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,o=o.substr(s.length)),(e||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),!r||s&&k[s]||(o=o.substr(2),this.slashes=!0)),!k[s]&&(r||s&&!O[s])){let t,e,n=-1;for(let t=0;t127?i+="x":i+=n[t];if(!i.match(x)){const i=t.slice(0,e),r=t.slice(e+1),s=n.match(C);s&&(i.push(s[1]),r.unshift(s[2])),r.length&&(o=r.join(".")+o),this.hostname=i.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),O[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},f.prototype.parseHost=function(t){let e=m.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const M=function(t,e){if(t&&t instanceof f)return t;const n=new f;return n.parse(t,e),n},S=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,A=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,P=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,E=/[\0-\x1F\x7F-\x9F]/,T=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,I=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,D=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),z=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var N;const F=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),L=null!==(N=String.fromCodePoint)&&void 0!==N?N:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var R=function(t){return t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",t}(R||{}),B=function(t){return t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE",t}(B||{});function j(t){return t>=R.ZERO&&t<=R.NINE}var H=function(t){return t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity",t}(H||{}),V=function(t){return t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute",t}(V||{});class ${constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=H.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=V.Strict}startEntity(t){this.decodeMode=t,this.state=H.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case H.EntityStart:return t.charCodeAt(e)===R.NUM?(this.state=H.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=H.NamedEntity,this.stateNamedEntity(t,e));case H.NumericStart:return this.stateNumericStart(t,e);case H.NumericDecimal:return this.stateNumericDecimal(t,e);case H.NumericHex:return this.stateNumericHex(t,e);case H.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===R.LOWER_X?(this.state=H.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=H.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e=R.UPPER_A&&i<=R.UPPER_F||i>=R.LOWER_A&&i<=R.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}var i;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=F.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==R.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14;for(;e=R.UPPER_A&&t<=R.UPPER_Z||t>=R.LOWER_A&&t<=R.LOWER_Z||j(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14,0!==r){if(s===R.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==V.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var o;return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,i=(n[e]&B.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~B.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case H.NamedEntity:return 0===this.result||this.decodeMode===V.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case H.NumericDecimal:return this.emitNumericEntity(0,2);case H.NumericHex:return this.emitNumericEntity(0,3);case H.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case H.EntityStart:return 0}}}function q(t){let e="";const n=new $(t,(t=>e+=L(t)));return function(t,i){let r=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(r,o),n.startEntity(i);const s=n.write(t,o+1);if(s<0){r=o+n.end();break}r=o+s,o=0===s?r+1:r}const s=e+t.slice(r);return e="",s}}function Z(t,e,n,i){const r=(e&B.BRANCH_LENGTH)>>7,o=e&B.JUMP_TABLE;if(0===r)return 0!==o&&i===o?n:-1;if(o){const e=i-o;return e<0||e>=r?-1:t[n+e]-1}let s=n,a=s+r-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(ni))return t[e+r];a=e-1}}return-1}const U=q(D);function G(t,e=V.Legacy){return U(t,e)}function Q(t){for(let e=1;e'"]/g,J),Y(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Y(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));const K=Object.prototype.hasOwnProperty;function X(t,e){return K.call(t,e)}function tt(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function et(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function nt(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||!(65535&~t&&65534!=(65535&t))||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function it(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const rt=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ot=new RegExp(rt.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),st=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function at(t){return t.indexOf("\\")<0?t:t.replace(rt,"$1")}function lt(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ot,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&st.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return nt(n)?it(n):t}const n=G(t);return n!==t?n:t}(t,n)}))}const ct=/[&<>"]/,ut=/[&<>"]/g,ht={"&":"&","<":"<",">":">",'"':"""};function dt(t){return ht[t]}function pt(t){return ct.test(t)?t.replace(ut,dt):t}const ft=/[.?*+^$[\]\\(){}|-]/g;function gt(t){return t.replace(ft,"\\$&")}function mt(t){switch(t){case 9:case 32:return!0}return!1}function vt(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function yt(t){return S.test(t)||A.test(t)}function bt(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function _t(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const wt={mdurl:i,ucmicro:r};function xt(t,e,n){let i,r,o,s;const a=t.posMax,l=t.pos;for(t.pos=e+1,i=1;t.pos32))return o;if(41===i){if(0===s)break;s--}r++}return e===r||0!==s||(o.str=lt(t.slice(e,r)),o.pos=r,o.ok=!0),o}function kt(t,e,n,i){let r,o=e;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)s.str=i.str,s.marker=i.marker;else{if(o>=n)return s;let i=t.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return s;e++,o++,40===i&&(i=41),s.marker=i}for(;o"+pt(o.content)+""},Ot.code_block=function(t,e,n,i,r){const o=t[e];return""+pt(t[e].content)+"\n"},Ot.fence=function(t,e,n,i,r){const o=t[e],s=o.info?lt(o.info).trim():"";let a,l="",c="";if(s){const t=s.split(/(\s+)/g);l=t[0],c=t.slice(2).join("")}if(a=n.highlight&&n.highlight(o.content,l,c)||pt(o.content),0===a.indexOf("${a}\n`}return`
    ${a}
    \n`},Ot.image=function(t,e,n,i,r){const o=t[e];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(t,e,n)},Ot.hardbreak=function(t,e,n){return n.xhtmlOut?"
    \n":"
    \n"},Ot.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},Ot.text=function(t,e){return pt(t[e].content)},Ot.html_block=function(t,e){return t[e].content},Ot.html_inline=function(t,e){return t[e].content},Mt.prototype.renderAttrs=function(t){let e,n,i;if(!t.attrs)return"";for(i="",e=0,n=t.attrs.length;e\n":">",r},Mt.prototype.renderInline=function(t,e,n){let i="";const r=this.rules;for(let o=0,s=t.length;o=0&&(n=this.attrs[e][1]),n},Et.prototype.attrJoin=function(t,e){const n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e};const Tt=Et;function It(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}It.prototype.Token=Tt;const Dt=It,zt=/\r\n?|\n/g,Nt=/\0/g;function Ft(t){return/^<\/a\s*>/i.test(t)}const Lt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Rt=/\((c|tm|r)\)/i,Bt=/\((c|tm|r)\)/gi,jt={c:"©",r:"®",tm:"™"};function Ht(t,e){return jt[e.toLowerCase()]}function Vt(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||(i.content=i.content.replace(Bt,Ht)),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}function $t(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||Lt.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}const qt=/['"]/,Zt=/['"]/g;function Ut(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Gt(t,e){let n;const i=[];for(let r=0;r=0&&!(i[n].level<=s);n--);if(i.length=n+1,"text"!==o.type)continue;let a=o.content,l=0,c=a.length;t:for(;l=0)f=a.charCodeAt(u.index-1);else for(n=r-1;n>=0&&"softbreak"!==t[n].type&&"hardbreak"!==t[n].type;n--)if(t[n].content){f=t[n].content.charCodeAt(t[n].content.length-1);break}let g=32;if(l=48&&f<=57&&(d=h=!1),h&&d&&(h=m,d=v),h||d){if(d)for(n=i.length-1;n>=0;n--){let h=i[n];if(i[n].level=0;s--){const a=r[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&o>0&&o--,Ft(a.content)&&o++),!(o>0)&&"text"===a.type&&t.md.linkify.test(a.content)){const n=a.content;let o=t.md.linkify.match(n);const l=[];let c=a.level,u=0;o.length>0&&0===o[0].index&&s>0&&"text_special"===r[s-1].type&&(o=o.slice(1));for(let e=0;eu){const e=new t.Token("text","",0);e.content=n.slice(u,a),e.level=c,l.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",r]],h.level=c++,h.markup="linkify",h.info="auto",l.push(h);const d=new t.Token("text","",0);d.content=s,d.level=c,l.push(d);const p=new t.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=o[e].lastIndex}if(u=0;e--)"inline"===t.tokens[e].type&&(Rt.test(t.tokens[e].content)&&Vt(t.tokens[e].children),Lt.test(t.tokens[e].content)&&$t(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&qt.test(t.tokens[e].content)&&Gt(t.tokens[e].children,t)}],["text_join",function(t){let e,n;const i=t.tokens,r=i.length;for(let t=0;t0&&this.level++,this.tokens.push(i),i},Wt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Wt.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;te;)if(!mt(this.src.charCodeAt(--t)))return t+1;return t},Wt.prototype.skipChars=function(t,e){for(let n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Wt.prototype.getLines=function(t,e,n,i){if(t>=e)return"";const r=new Array(e-t);for(let o=0,s=t;sn?new Array(t-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},Wt.prototype.Token=Tt;const Kt=Wt;function Xt(t,e){const n=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];return t.src.slice(n,i)}function te(t){const e=[],n=t.length;let i=0,r=t.charCodeAt(i),o=!1,s=0,a="";for(;i=i)return-1;let o=t.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=i)return-1;if(o=t.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",re="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",oe=new RegExp("^(?:"+ie+"|"+re+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),se=new RegExp("^(?:"+ie+"|"+re+")"),ae=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(se.source+"\\s*$"),/^$/,!1]],le=[["table",function(t,e,n,i){if(e+2>n)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let o=t.bMarks[r]+t.tShift[r];if(o>=t.eMarks[r])return!1;const s=t.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s)return!1;if(o>=t.eMarks[r])return!1;const a=t.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a&&!mt(a))return!1;if(45===s&&mt(a))return!1;for(;o=4)return!1;c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const h=c.length;if(0===h||h!==u.length)return!1;if(i)return!0;const d=t.parentType;t.parentType="table";const p=t.md.block.ruler.getRules("blockquote"),f=[e,0];t.push("table_open","table",1).map=f,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e=4)break;if(c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=h-c.length,m>65536)break;r===e+2&&(t.push("tbody_open","tbody",1).map=g=[e+2,0]),t.push("tr_open","tr",1).map=[r,r+1];for(let e=0;e=4))break;i++,r=i}t.line=r;const o=t.push("code_block","code",0);return o.content=t.getLines(e,r,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}],["fence",function(t,e,n,i){let r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(r+3>o)return!1;const s=t.src.charCodeAt(r);if(126!==s&&96!==s)return!1;let a=r;r=t.skipChars(r,s);let l=r-a;if(l<3)return!1;const c=t.src.slice(a,r),u=t.src.slice(r,o);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(i)return!0;let h=e,d=!1;for(;h++,!(h>=n||(r=a=t.bMarks[h]+t.tShift[h],o=t.eMarks[h],r=4||(r=t.skipChars(r,s),r-a=4)return!1;if(62!==t.src.charCodeAt(r))return!1;if(i)return!0;const a=[],l=[],c=[],u=[],h=t.md.block.ruler.getRules("blockquote"),d=t.parentType;t.parentType="blockquote";let p,f=!1;for(p=e;p=o)break;if(62===t.src.charCodeAt(r++)&&!e){let e,n,i=t.sCount[p]+1;32===t.src.charCodeAt(r)?(r++,i++,n=!1,e=!0):9===t.src.charCodeAt(r)?(e=!0,(t.bsCount[p]+i)%4==3?(r++,i++,n=!1):n=!0):e=!1;let s=i;for(a.push(t.bMarks[p]),t.bMarks[p]=r;r=o,l.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(e?1:0),c.push(t.sCount[p]),t.sCount[p]=s-i,u.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(f)break;let i=!1;for(let e=0,r=h.length;e";const v=[e,0];m.map=v,t.md.block.tokenize(t,e,p),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=s,t.parentType=d,v[1]=t.line;for(let n=0;n=4)return!1;let o=t.bMarks[e]+t.tShift[e];const s=t.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o=4)return!1;if(t.listIndent>=0&&t.sCount[l]-t.listIndent>=4&&t.sCount[l]=t.blkIndent&&(p=!0),(d=ne(t,l))>=0){if(u=!0,s=t.bMarks[l]+t.tShift[l],h=Number(t.src.slice(s,d-1)),p&&1!==h)return!1}else{if(!((d=ee(t,l))>=0))return!1;u=!1}if(p&&t.skipSpaces(d)>=t.eMarks[l])return!1;if(i)return!0;const f=t.src.charCodeAt(d-1),g=t.tokens.length;u?(a=t.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=t.push("bullet_list_open","ul",1);const m=[l,0];a.map=m,a.markup=String.fromCharCode(f);let v=!1;const y=t.md.block.ruler.getRules("list"),b=t.parentType;for(t.parentType="list";l=r?1:i-e,p>4&&(p=1);const g=e+p;a=t.push("list_item_open","li",1),a.markup=String.fromCharCode(f);const m=[l,0];a.map=m,u&&(a.info=t.src.slice(s,d-1));const b=t.tight,_=t.tShift[l],w=t.sCount[l],x=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=g,t.tight=!0,t.tShift[l]=h-t.bMarks[l],t.sCount[l]=i,h>=r&&t.isEmpty(l+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,l,n,!0),t.tight&&!v||(c=!1),v=t.line-l>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=x,t.tShift[l]=_,t.sCount[l]=w,t.tight=b,a=t.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=t.line,m[1]=l,l>=n)break;if(t.sCount[l]=4)break;let C=!1;for(let e=0,i=y.length;e=4)return!1;if(91!==t.src.charCodeAt(r))return!1;function a(e){const n=t.lineMax;if(e>=n||t.isEmpty(e))return null;let i=!1;if(t.sCount[e]-t.blkIndent>3&&(i=!0),t.sCount[e]<0&&(i=!0),!i){const i=t.md.block.ruler.getRules("reference"),r=t.parentType;t.parentType="reference";let o=!1;for(let r=0,s=i.length;r=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(r))return!1;let s=t.src.slice(r,o),a=0;for(;a=4)return!1;let s=t.src.charCodeAt(r);if(35!==s||r>=o)return!1;let a=1;for(s=t.src.charCodeAt(++r);35===s&&r6||rr&&mt(t.src.charCodeAt(l-1))&&(o=l),t.line=e+1;const c=t.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[e,t.line];const u=t.push("inline","",0);return u.content=t.src.slice(r,o).trim(),u.map=[e,t.line],u.children=[],t.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,n){const i=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let o,s=0,a=e+1;for(;a3)continue;if(t.sCount[a]>=t.blkIndent){let e=t.bMarks[a]+t.tShift[a];const n=t.eMarks[a];if(e=n))){s=61===o?1:2;break}}if(t.sCount[a]<0)continue;let e=!1;for(let r=0,o=i.length;r3)continue;if(t.sCount[o]<0)continue;let e=!1;for(let r=0,s=i.length;r=n))&&!(t.sCount[s]=o){t.line=n;break}const e=t.line;let l=!1;for(let o=0;o=t.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),s=t.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i},he.prototype.scanDelims=function(t,e){const n=this.posMax,i=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let o=t;for(;o?@[]^_`{|}~-".split("").forEach((function(t){ge[t.charCodeAt(0)]=1}));const ve={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(126!==i)return!1;const r=t.scanDelims(t.pos,!0);let o=r.length;const s=String.fromCharCode(i);if(o<2)return!1;let a;o%2&&(a=t.push("text","",0),a.content=s,o--);for(let e=0;e=0;n--){const i=e[n];if(95!==i.marker&&42!==i.marker)continue;if(-1===i.end)continue;const r=e[i.end],o=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===r.token+1,s=String.fromCharCode(i.marker),a=t.tokens[i.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const l=t.tokens[r.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--)}}const be={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(95!==i&&42!==i)return!1;const r=t.scanDelims(t.pos,42===i);for(let e=0;e\x00-\x20]*)$/,xe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ce=/^&([a-z][a-z0-9]{1,31});/i;function ke(t){const e={},n=t.length;if(!n)return;let i=0,r=-2;const o=[];for(let s=0;sa;l-=o[l]+1){const e=t[l];if(e.marker===n.marker&&e.open&&e.end<0){let i=!1;if((e.close||n.open)&&(e.length+n.length)%3==0&&(e.length%3==0&&n.length%3==0||(i=!0)),!i){const i=l>0&&!t[l-1].open?o[l-1]+1:0;o[s]=s-l+i,o[l]=i,n.open=!1,e.end=s,e.close=!1,c=-1,r=-2;break}}}-1!==c&&(e[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Oe=[["text",function(t,e){let n=t.pos;for(;n0)return!1;const n=t.pos;if(n+3>t.posMax)return!1;if(58!==t.src.charCodeAt(n))return!1;if(47!==t.src.charCodeAt(n+1))return!1;if(47!==t.src.charCodeAt(n+2))return!1;const i=t.pending.match(fe);if(!i)return!1;const r=i[1],o=t.md.linkify.matchAtStart(t.src.slice(n-r.length));if(!o)return!1;let s=o.url;if(s.length<=r.length)return!1;s=s.replace(/\*+$/,"");const a=t.md.normalizeLink(s);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-r.length);const e=t.push("link_open","a",1);e.attrs=[["href",a]],e.markup="linkify",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(s);const n=t.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return t.pos+=s.length-r.length,!0}],["newline",function(t,e){let n=t.pos;if(10!==t.src.charCodeAt(n))return!1;const i=t.pending.length-1,r=t.posMax;if(!e)if(i>=0&&32===t.pending.charCodeAt(i))if(i>=1&&32===t.pending.charCodeAt(i-1)){let e=i-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n=i)return!1;let r=t.src.charCodeAt(n);if(10===r){for(e||t.push("hardbreak","br",0),n++;n=55296&&r<=56319&&n+1=56320&&e<=57343&&(o+=t.src[n+1],n++)}const s="\\"+o;if(!e){const e=t.push("text_special","",0);r<256&&0!==ge[r]?e.content=o:e.content=s,e.markup=s,e.info="escape"}return t.pos=n+1,!0}],["backticks",function(t,e){let n=t.pos;if(96!==t.src.charCodeAt(n))return!1;const i=n;n++;const r=t.posMax;for(;n=h)return!1;if(l=f,r=t.md.helpers.parseLinkDestination(t.src,f,t.posMax),r.ok){for(s=t.md.normalizeLink(r.str),t.md.validateLink(s)?f=r.pos:s="",l=f;f=h||41!==t.src.charCodeAt(f))&&(c=!0),f++}if(c){if(void 0===t.env.references)return!1;if(f=0?i=t.src.slice(l,f++):f=p+1):f=p+1,i||(i=t.src.slice(d,p)),o=t.env.references[_t(i)],!o)return t.pos=u,!1;s=o.href,a=o.title}if(!e){t.pos=d,t.posMax=p;const e=[["href",s]];t.push("link_open","a",1).attrs=e,a&&e.push(["title",a]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=f,t.posMax=h,!0}],["image",function(t,e){let n,i,r,o,s,a,l,c,u="";const h=t.pos,d=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const p=t.pos+2,f=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(f<0)return!1;if(o=f+1,o=d)return!1;for(c=o,a=t.md.helpers.parseLinkDestination(t.src,o,t.posMax),a.ok&&(u=t.md.normalizeLink(a.str),t.md.validateLink(u)?o=a.pos:u=""),c=o;o=d||41!==t.src.charCodeAt(o))return t.pos=h,!1;o++}else{if(void 0===t.env.references)return!1;if(o=0?r=t.src.slice(c,o++):o=f+1):o=f+1,r||(r=t.src.slice(p,f)),s=t.env.references[_t(r)],!s)return t.pos=h,!1;u=s.href,l=s.title}if(!e){i=t.src.slice(p,f);const e=[];t.md.inline.parse(i,t.md,t.env,e);const n=t.push("image","img",0),r=[["src",u],["alt",""]];n.attrs=r,n.children=e,n.content=i,l&&r.push(["title",l])}return t.pos=o,t.posMax=d,!0}],["autolink",function(t,e){let n=t.pos;if(60!==t.src.charCodeAt(n))return!1;const i=t.pos,r=t.posMax;for(;;){if(++n>=r)return!1;const e=t.src.charCodeAt(n);if(60===e)return!1;if(62===e)break}const o=t.src.slice(i+1,n);if(we.test(o)){const n=t.md.normalizeLink(o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}if(_e.test(o)){const n=t.md.normalizeLink("mailto:"+o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const n=t.posMax,i=t.pos;if(60!==t.src.charCodeAt(i)||i+2>=n)return!1;const r=t.src.charCodeAt(i+1);if(33!==r&&63!==r&&47!==r&&!function(t){const e=32|t;return e>=97&&e<=122}(r))return!1;const o=t.src.slice(i).match(oe);if(!o)return!1;if(!e){const e=t.push("html_inline","",0);e.content=o[0],s=e.content,/^\s]/i.test(s)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var s;return t.pos+=o[0].length,!0}],["entity",function(t,e){const n=t.pos,i=t.posMax;if(38!==t.src.charCodeAt(n))return!1;if(n+1>=i)return!1;if(35===t.src.charCodeAt(n+1)){const i=t.src.slice(n).match(xe);if(i){if(!e){const e="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n=t.push("text_special","",0);n.content=nt(e)?it(e):it(65533),n.markup=i[0],n.info="entity"}return t.pos+=i[0].length,!0}}else{const i=t.src.slice(n).match(Ce);if(i){const n=G(i[0]);if(n!==i[0]){if(!e){const e=t.push("text_special","",0);e.content=n,e.markup=i[0],e.info="entity"}return t.pos+=i[0].length,!0}}}return!1}]],Me=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length;ke(t.delimiters);for(let t=0;t0&&i++,"text"===r[e].type&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;s||t.pos++,o[e]=t.pos},Se.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,i=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(s){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Se.prototype.parse=function(t,e,n,i){const r=new this.State(t,e,n,i);this.tokenize(r);const o=this.ruler2.getRules(""),s=o.length;for(let t=0;t=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const i=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},Ne="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Fe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Le(t){const e=t.re=function(t){const e={};return t=t||{},e.src_Any=P.source,e.src_Cc=E.source,e.src_Z=I.source,e.src_P=S.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|"),e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice();function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(Ne),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(i(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(i(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(i(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(i(e.tpl_host_fuzzy_test),"i");const r=[];function o(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e];if(null===n)return;const i={validate:null,link:null};if(t.__compiled__[e]=i,"[object Object]"===Ee(n))return"[object RegExp]"!==Ee(n.validate)?Te(n.validate)?i.validate=n.validate:o(e,n):i.validate=function(t){return function(e,n){const i=e.slice(n);return t.test(i)?i.match(t)[0].length:0}}(n.validate),void(Te(n.normalize)?i.normalize=n.normalize:n.normalize?o(e,n):i.normalize=function(t,e){e.normalize(t)});"[object String]"!==Ee(n)?o(e,n):r.push(e)})),r.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const s=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Ie).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function Re(t,e){const n=t.__index__,i=t.__last_index__,r=t.__text_cache__.slice(n,i);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}function Be(t,e){const n=new Re(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function je(t,e){if(!(this instanceof je))return new je(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||De.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Pe({},De,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Pe({},ze,t),this.__compiled__={},this.__tlds__=Fe,this.__tlds_replaced__=!1,this.re={},Le(this)}je.prototype.add=function(t,e){return this.__schemas__[t]=e,Le(this),this},je.prototype.set=function(t){return this.__opts__=Pe(this.__opts__,t),this},je.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let e,n,i,r,o,s,a,l,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(r=this.testSchemaAt(t,e[2],a.lastIndex),r){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0},je.prototype.pretest=function(t){return this.re.pretest.test(t)},je.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},je.prototype.match=function(t){const e=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(e.push(Be(this,n)),n=this.__last_index__);let i=n?t.slice(n):t;for(;this.test(i);)e.push(Be(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},je.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,Be(this,0)):null},je.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),Le(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Le(this),this)},je.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},je.prototype.onCompile=function(){};const He=je,Ve=2147483647,$e=36,qe=/^xn--/,Ze=/[^\0-\x7F]/,Ue=/[\x2E\u3002\uFF0E\uFF61]/g,Ge={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qe=Math.floor,Je=String.fromCharCode;function Ye(t){throw new RangeError(Ge[t])}function We(t,e){const n=t.split("@");let i="";n.length>1&&(i=n[0]+"@",t=n[1]);const r=function(t,e){const n=[];let i=t.length;for(;i--;)n[i]=e(t[i]);return n}((t=t.replace(Ue,".")).split("."),e).join(".");return i+r}function Ke(t){const e=[];let n=0;const i=t.length;for(;n=55296&&r<=56319&&n>1,t+=Qe(t/e);t>455;i+=$e)t=Qe(t/35);return Qe(i+36*t/(t+38))},en=function(t){const e=[],n=t.length;let i=0,r=128,o=72,s=t.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&Ye("not-basic"),e.push(t.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&Ye("invalid-input");const s=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:$e;s>=$e&&Ye("invalid-input"),s>Qe((Ve-i)/e)&&Ye("overflow"),i+=s*e;const c=r<=o?1:r>=o+26?26:r-o;if(sQe(Ve/u)&&Ye("overflow"),e*=u}const c=e.length+1;o=tn(i-s,c,0==s),Qe(i/c)>Ve-r&&Ye("overflow"),r+=Qe(i/c),i%=c,e.splice(i++,0,r)}var a;return String.fromCodePoint(...e)},nn=function(t){const e=[],n=(t=Ke(t)).length;let i=128,r=0,o=72;for(const n of t)n<128&&e.push(Je(n));const s=e.length;let a=s;for(s&&e.push("-");a=i&&eQe((Ve-r)/l)&&Ye("overflow"),r+=(n-i)*l,i=n;for(const n of t)if(nVe&&Ye("overflow"),n===i){let t=r;for(let n=$e;;n+=$e){const i=n<=o?1:n>=o+26?26:n-o;if(tString.fromCodePoint(...t)},decode:en,encode:nn,toASCII:function(t){return We(t,(function(t){return Ze.test(t)?"xn--"+nn(t):t}))},toUnicode:function(t){return We(t,(function(t){return qe.test(t)?en(t.slice(4).toLowerCase()):t}))}},on={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},sn=/^(vbscript|javascript|file|data):/,an=/^data:image\/(gif|png|jpeg|webp);/;function ln(t){const e=t.trim().toLowerCase();return!sn.test(e)||an.test(e)}const cn=["http:","https:","mailto:"];function un(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toASCII(e.hostname)}catch(t){}return d(p(e))}function hn(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toUnicode(e.hostname)}catch(t){}return c(p(e),c.defaultChars+"%")}function dn(t,e){if(!(this instanceof dn))return new dn(t,e);e||W(t)||(e=t||{},t="default"),this.inline=new Ae,this.block=new ue,this.core=new Yt,this.renderer=new St,this.linkify=new He,this.validateLink=ln,this.normalizeLink=un,this.normalizeLinkText=hn,this.utils=o,this.helpers=tt({},s),this.options={},this.configure(t),e&&this.set(e)}dn.prototype.set=function(t){return tt(this.options,t),this},dn.prototype.configure=function(t){const e=this;if(W(t)){const e=t;if(!(t=on[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},dn.prototype.enable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},dn.prototype.disable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},dn.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},dn.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");const n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},dn.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},dn.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},dn.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const pn=dn},8239:(t,e,n)=>{function i(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(i,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var s=t.apply(e,n);function a(t){i(s,r,o,a,l,"next",t)}function l(t){i(s,r,o,a,l,"throw",t)}a(void 0)}))}}n.d(e,{Z:()=>r})},86889:(t,e,n)=>{function i(t){return i="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},i(t)}function r(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:()=>r})},84911:(t,e,n)=>{function i(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function a(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((i=i.apply(t,e||[])).next())}))}function s(t){return this instanceof s?(this.v=t,this):new s(t)}function a(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return",(function(t){return function(e){return Promise.resolve(e).then(t,u)}})),i[Symbol.asyncIterator]=function(){return this},i;function a(t,e){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||l(t,e)}))},e&&(i[t]=e(i[t])))}function l(t,e){try{(n=r[t](e)).value instanceof s?Promise.resolve(n.value.v).then(c,u):h(o[0][2],n)}catch(t){h(o[0][3],t)}var n}function c(t){l("next",t)}function u(t){l("throw",t)}function h(t,e){t(e),o.shift(),o.length&&l(o[0][0],o[0][1])}}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){!function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}(i,r,(e=t[n](e)).done,e.value)}))}}}n.d(e,{FC:()=>a,KL:()=>l,_T:()=>i,gn:()=>r,mG:()=>o,qq:()=>s}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}},t=>{t(t.s=1679)}]); \ No newline at end of file +(self.webpackChunkeditor_demo=self.webpackChunkeditor_demo||[]).push([[179],{7618:(t,e,n)=>{function i(t){const{anchorOffset:e=0,focusOffset:n=0}=t.ownerDocument.getSelection()||{};return[Math.min(e,n),Math.max(e,n)]}n.d(e,{A_:()=>s,C8:()=>O,CV:()=>k,fD:()=>m,gI:()=>o});class r{constructor(t){this.element=t,this.maxLength=1/0}get value(){return this.element.innerText.replace(/\n\n$/,"\n")}set value(t){this.element.innerHTML=t.replace(/\n$/,"\n\n")}get selectionStart(){return i(this.element)[0]}get selectionEnd(){return i(this.element)[1]}setSelectionRange(t,e){!function(t,[e,n]){var i,r;const o=t.ownerDocument,s=o.createRange();s.setStart(t.firstChild||t,Math.min(e,(null===(i=t.textContent)||void 0===i?void 0:i.length)||0)),s.setEnd(t.lastChild||t,Math.min(n,(null===(r=t.textContent)||void 0===r?void 0:r.length)||0));const a=o.getSelection();a&&(a.removeAllRanges(),a.addRange(s))}(this.element,[t||0,e||0])}select(){this.setSelectionRange(0,this.value.length)}}const o=t=>t.isContentEditable?function(t){const e=new r(t);return new Proxy(t,{get(t,n){if(n in e)return e[n];const i=t[n];return"function"==typeof i?i.bind(t):i},set:(t,n,i,r)=>Reflect.set(n in e?e:t,n,i,r)})}(t):t.querySelector("input,textarea")||t,s={mask:/^.*$/,preprocessors:[],postprocessors:[],plugins:[],overwriteMode:"shift"};class a{constructor(){this.now=null,this.past=[],this.future=[]}undo(){const t=this.past.pop();t&&this.now&&(this.future.push(this.now),this.updateElement(t,"historyUndo"))}redo(){const t=this.future.pop();t&&this.now&&(this.past.push(this.now),this.updateElement(t,"historyRedo"))}updateHistory(t){if(!this.now)return void(this.now=t);const e=this.now.value!==t.value,n=this.now.selection.some(((e,n)=>e!==t.selection[n]));(e||n)&&(e&&(this.past.push(this.now),this.future=[]),this.now=t)}updateElement(t,e){this.now=t,this.updateElementState(t,{inputType:e,data:null})}}function l(t){return"string"==typeof t}function c(t,e,n,i){let r="";for(let o=e.length;o{const i=e[n];return l(i)?t===i:t.match(i)})):e.test(t)}function h(t,e,n=null){if(u(t.value,e))return t;const{value:i,selection:r}=Array.isArray(e)?function(t,e,n){let i=null,r=null;const o=Array.from(t.value).reduce(((o,s,a)=>{const u=o+c(e,o,s,n),h=e[u.length];return l(h)?u+h:s.match(h)?(null===i&&a>=t.selection[0]&&(i=u.length),null===r&&a>=t.selection[1]&&(r=u.length),u+s):u}),""),s=c(e,o,"",n);return{value:u(o+s,e)?o+s:o,selection:[null!=i?i:o.length,null!=r?r:o.length]}}(t,e,n):function({value:t,selection:e},n){const[i,r]=e;let o=i,s=r;return{value:Array.from(t).reduce(((t,e,a)=>{const l=t+e;return i===a&&(o=t.length),r===a&&(s=t.length),l.match(n)?l:t}),""),selection:[o,s]}}(t,e);return{selection:r,value:Array.isArray(e)?i.slice(0,e.length):i}}function d(t,e){if(!Array.isArray(e))return t;const[n,i]=t.selection,r=[],o=Array.from(t.value).reduce(((t,o,s)=>{const a=e[s];return s===n&&r.push(t.length),s===i&&r.push(t.length),l(a)&&a===o?t:t+o}),"");return r.length<2&&r.push(...new Array(2-r.length).fill(o.length)),{value:o,selection:[r[0],r[1]]}}class p{constructor(t,e){this.initialElementState=t,this.maskOptions=e,this.value="",this.selection=[0,0];const{value:n,selection:i}=h(this.initialElementState,this.getMaskExpression(this.initialElementState));this.value=n,this.selection=i}addCharacters([t,e],n){const{value:i}=this,r=this.getMaskExpression({value:i.slice(0,t)+n+i.slice(e),selection:[t+n.length,t+n.length]}),o={value:i,selection:[t,e]},s=d(o,r),[a,l]=function({value:t,selection:e},n,i){const[r,o]=e;return{value:t,selection:"replace"===("function"==typeof i?i({value:t,selection:e}):i)?[r,r+n.length]:[r,o]}}(s,n,this.maskOptions.overwriteMode).selection,c=s.value.slice(0,a)+n,u=c.length,p=h({value:c+s.value.slice(l),selection:[u,u]},r,o);if(i.slice(0,a)===h({value:c,selection:[u,u]},r,o).value||function(t,...e){return e.every((({value:e,selection:n})=>e===t.value&&n[0]===t.selection[0]&&n[1]===t.selection[1]))}(this,p))throw new Error("Invalid mask value");this.value=p.value,this.selection=p.selection}deleteCharacters([t,e]){if(t===e||!e)return;const{value:n}=this,i=this.getMaskExpression({value:n.slice(0,t)+n.slice(e),selection:[t,t]}),r={value:n,selection:[t,e]},o=d(r,i),[s,a]=o.selection,l=h({value:o.value.slice(0,s)+o.value.slice(a),selection:[s,s]},i,r);this.value=l.value,this.selection=l.selection}getMaskExpression(t){const{mask:e}=this.maskOptions;return"function"==typeof e?e(t):e}}class f{constructor(t){this.element=t,this.listeners=[]}listen(t,e,n){const i=e;this.element.addEventListener(t,i,n),this.listeners.push((()=>this.element.removeEventListener(t,i)))}destroy(){this.listeners.forEach((t=>t()))}}function g(t,e,n){return t.ctrlKey===!!(1&e)&&t.altKey===!!(2&e)&&t.shiftKey===!!(4&e)&&t.metaKey===!!(8&e)&&t.keyCode===n}function m(t,e){var n;const i=t.value;if("string"==typeof e)t.value=e;else{const[i,r]=e.selection;t.value=e.value,t.matches(":focus")&&(null===(n=t.setSelectionRange)||void 0===n||n.call(t,i,r))}t.value!==i&&t.dispatchEvent(new Event("input",{bubbles:!0}))}function v({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];const o=n?t.slice(i).indexOf("\n")+1||t.length:t.slice(0,r).lastIndexOf("\n")+1;return[n?i:o,n?o:r]}function y({value:t,selection:e},n){const[i,r]=e;return i!==r?[i,r]:(n?[i,r+1]:[i-1,r]).map((e=>Math.min(Math.max(e,0),t.length)))}const b=/\s+$/g,_=/^\s+/g,w=/\s/;function x({value:t,selection:e},n){const[i,r]=e;if(i!==r)return[i,r];if(n){const e=t.slice(i),[n]=e.match(_)||[""],r=e.trimStart().search(w);return[i,-1!==r?i+n.length+r:t.length]}const o=t.slice(0,r),[s]=o.match(b)||[""],a=o.trimEnd().split("").reverse().findIndex((t=>t.match(w)));return[-1!==a?r-s.length-a:0,r]}function C(t=[]){return(e,...n)=>t.reduce(((t,e)=>Object.assign(Object.assign({},t),e(t,...n))),e)}function k(t,e){const n=Object.assign(Object.assign({},s),e),i=C(n.preprocessors),r=C(n.postprocessors),o="string"==typeof t?{value:t,selection:[0,0]}:t,{elementState:a}=i({elementState:o,data:""},"validation"),l=new p(a,n),{value:c,selection:u}=r(l,o);return"string"==typeof t?c:{value:c,selection:u}}class O extends a{constructor(t,e){super(),this.element=t,this.maskitoOptions=e,this.isTextArea="TEXTAREA"===this.element.nodeName,this.eventListener=new f(this.element),this.options=Object.assign(Object.assign({},s),this.maskitoOptions),this.preprocessor=C(this.options.preprocessors),this.postprocessor=C(this.options.postprocessors),this.teardowns=this.options.plugins.map((t=>t(this.element,this.options))),this.updateHistory(this.elementState),this.eventListener.listen("keydown",(t=>function(t){return g(t,1,89)||g(t,5,90)||g(t,12,90)}(t)?(t.preventDefault(),this.redo()):function(t){return g(t,1,90)||g(t,8,90)}(t)?(t.preventDefault(),this.undo()):void 0)),this.eventListener.listen("beforeinput",(t=>{var e;const n=t.inputType.includes("Forward");switch(this.updateHistory(this.elementState),t.inputType){case"historyUndo":return t.preventDefault(),this.undo();case"historyRedo":return t.preventDefault(),this.redo();case"deleteByCut":case"deleteContentBackward":case"deleteContentForward":return this.handleDelete({event:t,isForward:n,selection:y(this.elementState,n)});case"deleteWordForward":case"deleteWordBackward":return this.handleDelete({event:t,isForward:n,selection:x(this.elementState,n),force:!0});case"deleteSoftLineBackward":case"deleteSoftLineForward":case"deleteHardLineBackward":case"deleteHardLineForward":return this.handleDelete({event:t,isForward:n,selection:v(this.elementState,n),force:!0});case"insertCompositionText":case"insertReplacementText":return;case"insertLineBreak":case"insertParagraph":return this.handleEnter(t);default:return this.handleInsert(t,t.data||(null===(e=t.dataTransfer)||void 0===e?void 0:e.getData("text/plain"))||"")}})),this.eventListener.listen("input",(({inputType:t})=>{"insertCompositionText"!==t&&(this.ensureValueFitsMask(),this.updateHistory(this.elementState))})),this.eventListener.listen("compositionend",(()=>{this.ensureValueFitsMask(),this.updateHistory(this.elementState)}))}get elementState(){const{value:t,selectionStart:e,selectionEnd:n}=this.element;return{value:t,selection:[e||0,n||0]}}get maxLength(){const{maxLength:t}=this.element;return-1===t?1/0:t}destroy(){this.eventListener.destroy(),this.teardowns.forEach((t=>null==t?void 0:t()))}updateElementState({value:t,selection:e},n={inputType:"insertText",data:null}){const i=this.elementState.value;this.updateValue(t),this.updateSelectionRange(e),i!==t&&this.dispatchInputEvent(n)}updateSelectionRange([t,e]){var n;const{element:i}=this;!i.matches(":focus")||i.selectionStart===t&&i.selectionEnd===e||null===(n=i.setSelectionRange)||void 0===n||n.call(i,t,e)}updateValue(t){this.element.value=t}ensureValueFitsMask(){this.updateElementState(k(this.elementState,this.options))}dispatchInputEvent(t={inputType:"insertText",data:null}){globalThis.InputEvent&&this.element.dispatchEvent(new InputEvent("input",Object.assign(Object.assign({},t),{bubbles:!0,cancelable:!1})))}handleDelete({event:t,selection:e,isForward:n,force:i=!1}){const r={value:this.elementState.value,selection:e},[o,s]=r.selection,{elementState:a}=this.preprocessor({elementState:r,data:""},n?"deleteForward":"deleteBackward"),l=new p(a,this.options),[c,u]=a.selection;l.deleteCharacters([c,u]);const h=this.postprocessor(l,r);if(r.value.slice(0,o)+r.value.slice(s)!==h.value||i||this.element.isContentEditable){if(t.preventDefault(),function(t,...e){return e.every((({value:e})=>e===t.value))}(r,a,l,h))return this.updateSelectionRange(n?[u,u]:[c,c]);this.updateElementState(h,{inputType:t.inputType,data:null}),this.updateHistory(h)}}handleInsert(t,e){const n=this.elementState,{elementState:i,data:r=e}=this.preprocessor({data:e,elementState:n},"insert"),o=new p(i,this.options);try{o.addCharacters(i.selection,r)}catch(e){return t.preventDefault()}const[s,a]=i.selection,l=n.value.slice(0,s)+e+n.value.slice(a),c=this.postprocessor(o,n);if(c.value.length>this.maxLength)return t.preventDefault();(l!==c.value||this.element.isContentEditable)&&(t.preventDefault(),this.updateElementState(c,{data:e,inputType:t.inputType}),this.updateHistory(c))}handleEnter(t){(this.isTextArea||this.element.isContentEditable)&&this.handleInsert(t,"\n")}}},11262:(t,e,n)=>{n.d(e,{H$:()=>yt,f8:()=>Rt,jX:()=>J,n9:()=>st,nQ:()=>K,rC:()=>jt,tr:()=>nt,vZ:()=>xt});var i=n(7618);function r(t,e,n){const i=Math.min(Number(n),Math.max(Number(e),Number(t)));return t instanceof Date?new Date(i):i}function o(t){return t.replaceAll(/\W/g,"").length}function s(t,{day:e,month:n,year:i}={}){const r=new Date(t);return e&&r.setDate(r.getDate()+e),n&&r.setMonth(r.getMonth()+n),i&&r.setFullYear(r.getFullYear()+i),r}const a=t=>{var e,n,i;return{day:(null===(e=t.match(/d/g))||void 0===e?void 0:e.length)||0,month:(null===(n=t.match(/m/g))||void 0===n?void 0:n.length)||0,year:(null===(i=t.match(/y/g))||void 0===i?void 0:i.length)||0}};function l(t){return{day:String(t.getDate()).padStart(2,"0"),month:String(t.getMonth()+1).padStart(2,"0"),year:String(t.getFullYear()).padStart(4,"0"),hours:String(t.getHours()).padStart(2,"0"),minutes:String(t.getMinutes()).padStart(2,"0"),seconds:String(t.getSeconds()).padStart(2,"0"),milliseconds:String(t.getMilliseconds()).padStart(3,"0")}}function c(t,e){return!(t.length!t.match(/^0+$/)))}function u(t,e,n){const i=o(e);return t.replace(n,"").match(new RegExp(`(\\D*\\d[^\\d\\s]*){1,${i}}`,"g"))||[]}function h(t,e){const n=e.replaceAll(/[^dmy]/g,""),i=t.replaceAll(/\D+/g,""),r={day:i.slice(n.indexOf("d"),n.lastIndexOf("d")+1),month:i.slice(n.indexOf("m"),n.lastIndexOf("m")+1),year:i.slice(n.indexOf("y"),n.lastIndexOf("y")+1)};return Object.fromEntries(Object.entries(r).filter((([t,e])=>Boolean(e))).sort((([t],[n])=>e.toLowerCase().indexOf(t[0])>e.toLowerCase().indexOf(n[0])?1:-1)))}function d(t,e){var n,i,r,o,s,a,l;const c=2===(null===(n=t.year)||void 0===n?void 0:n.length)?`20${t.year}`:t.year,u=new Date(Number(null!=c?c:"0"),Number(null!==(i=t.month)&&void 0!==i?i:"1")-1,Number(null!==(r=t.day)&&void 0!==r?r:"1"),Number(null!==(o=null==e?void 0:e.hours)&&void 0!==o?o:"0"),Number(null!==(s=null==e?void 0:e.minutes)&&void 0!==s?s:"0"),Number(null!==(a=null==e?void 0:e.seconds)&&void 0!==a?a:"0"),Number(null!==(l=null==e?void 0:e.milliseconds)&&void 0!==l?l:"0"));return u.setFullYear(Number(null!=c?c:"0")),u}const p=", ";function f({day:t,month:e,year:n,hours:i,minutes:r,seconds:o,milliseconds:s},{dateMode:a,dateTimeSeparator:l=p,timeMode:c}){var u;const h=2===(null===(u=a.match(/y/g))||void 0===u?void 0:u.length)?null==n?void 0:n.slice(-2):n;return(a+(c?l+c:"")).replaceAll(/d+/g,null!=t?t:"").replaceAll(/m+/g,null!=e?e:"").replaceAll(/y+/g,null!=h?h:"").replaceAll(/H+/g,null!=i?i:"").replaceAll("MSS",null!=s?s:"").replaceAll(/M+/g,null!=r?r:"").replaceAll(/S+/g,null!=o?o:"").replaceAll(/^\D+/g,"").replaceAll(/\D+$/g,"")}const g={day:31,month:12,year:9999},m=[".",",","б","ю"],v=new Date("0001-01-01"),y=new Date("9999-12-31"),b={hours:23,minutes:59,seconds:59,milliseconds:999},_=[":","."],w={hours:2,minutes:2,seconds:2,milliseconds:3},x=" ",C="​",k="–",O="—",M="-",S="−",A="ー",P=":",E=":";function T({dateString:t,dateModeTemplate:e,dateSegmentsSeparator:n,offset:i,selection:[r,o]}){const s=h(t,e),l=Object.entries(s),c={};for(const[t,s]of l){const l=f(c,{dateMode:e}),u=g[t],h=l.length&&n.length,d=i+l.length+h+a(e)[t],p=d>=r&&d===o;if(p&&Number(s)>Number(u))return{validatedDateString:"",updatedSelection:[r,o]};if(p&&Number(s)<1)return{validatedDateString:"",updatedSelection:[r,o]};c[t]=s}const u=f(c,{dateMode:e}),d=u.length-t.length;return{validatedDateString:u,updatedSelection:[r+d,o+d]}}const I=/[\\^$.*+?()[\]{}|]/g,D=new RegExp(I.source);function z(t){return t&&D.test(t)?t.replaceAll(I,"\\$&"):t}function N(t,{prefix:e,postfix:n}){var i,r;const o=new RegExp(`^${z(e)}`),s=new RegExp(`${z(n)}$`),[a=""]=null!==(i=t.match(o))&&void 0!==i?i:[],[l=""]=null!==(r=t.match(s))&&void 0!==r?r:[];return{extractedPrefix:a,extractedPostfix:l,cleanValue:t.replace(o,"").replace(s,"")}}function F(t){return t}function L(t){return!t||"object"==typeof t&&0===Object.keys(t).length}function R(t,e,n=0){return Number(t.padEnd(e.length,"0"))<=Number(e)?{validatedSegmentValue:t,prefixedZeroesCount:n}:t.endsWith("0")?R(`0${t.slice(0,e.length-1)}`,e,n+1):R(`${t.slice(0,e.length-1)}0`,e,n)}function B(t){return t.replaceAll(new RegExp(E,"g"),P)}function j(t){return t.replaceAll(/[0-9]/g,(t=>String.fromCharCode(t.charCodeAt(0)-65248)))}function H(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:B(n)},data:B(e)}}}function V({dateModeTemplate:t,dateSegmentSeparator:e,splitFn:n,uniteFn:i}){return({value:r,selection:o})=>{var s;const[a,l]=o,{dateStrings:c,restPart:u=""}=n(r),d=[];let p=0;c.forEach((e=>{const n=h(e,t),i=Object.entries(n).reduce(((t,[e,n])=>{const{validatedSegmentValue:i,prefixedZeroesCount:r}=R(n,`${g[e]}`);return p+=r,Object.assign(Object.assign({},t),{[e]:i})}),{});d.push(f(i,{dateMode:t}))}));const m=i(d,r)+((null===(s=c[c.length-1])||void 0===s?void 0:s.endsWith(e))?e:"")+u;return p&&m.slice(l+p,l+p+e.length)===e&&(p+=e.length),{selection:[a+p,l+p],value:m}}}function $({dateModeTemplate:t,firstDateEndSeparator:e,dateSegmentSeparator:n,pseudoFirstDateEndSeparators:i}){return({elementState:r,data:s})=>{const{value:a,selection:l}=r,c=function(t,e){const n=o(e),[i=""]=t.match(new RegExp(`(\\D*\\d){${n}}`))||[];return i}(a,t),u=i.filter((t=>!e.includes(t)&&t!==n)),h=new RegExp(`[${u.join("")}]`,"gi");return{elementState:{selection:l,value:c&&a.length>c.length?c+a.slice(c.length).replace(/^[\D\s]*/,e):a},data:s.replace(h,e)}}}function q(){return({elementState:t,data:e})=>{const{value:n,selection:i}=t;return{elementState:{selection:i,value:j(n)},data:j(e)}}}function Z(t,e){const n=a(e);return Object.fromEntries(Object.entries(t).map((([t,e])=>{const i=n[t];return[t,e.length===i&&e.match(/^0+$/)?"1".padStart(i,"0"):e]})))}function U({dateModeTemplate:t,min:e=v,max:n=y,rangeSeparator:i="",dateSegmentSeparator:o="."}){return({value:s,selection:a})=>{const p=i&&s.endsWith(i),g=u(s,t,i);let m="";for(const s of g){m+=m?i:"";const a=h(s,t);c(s,t)?m+=f(l(r(d(a),e,n)),{dateMode:t}):m+=f(Z(a,t),{dateMode:t})+(s.endsWith(o)?o:"")}return{selection:a,value:m+(p?i:"")}}}function G({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n="",dateTimeSeparator:i=p}){return({elementState:r,data:o})=>{const s=n?new RegExp(`${n}|-`):i,a=o.split(s),l=o.includes(i)?[a[0]]:a;if(l.every((n=>n.trim().split(/\D/).filter(Boolean).length===t.split(e).length))){const s=l.map((n=>function(t,e,n){const i=t.split(/\D/).filter(Boolean),r=e.split(n);return i.map(((t,e)=>e===r.length-1?t:t.padStart(r[e].length,"0"))).join(n)}(n,t,e))).join(n);return{elementState:r,data:`${s}${o.includes(i)&&i+a[1]||""}`}}return{elementState:r,data:o}}}function Q(t){const e=new RegExp(`${z(t)}$`);return t?({value:n,selection:i},r)=>{if(!n&&!r.value.endsWith(t))return{value:n,selection:i};if(!n.endsWith(t)&&!r.value.endsWith(t))return{selection:i,value:n+t};const o=r.value.replace(e,""),s=r.selection[1]>=o.length,a=function(t,e){let n="";for(let i=0;i{const i=t.length-1-n,r=a[i]===e&&s;return t[i]!==e||r?t.slice(0,i+1)+e+t.slice(i+1):t}),n)}}:F}function J(t){return t?({value:e,selection:n},i)=>{if(e.startsWith(t)||!e&&!i.value.startsWith(t))return{value:e,selection:n};const[r,o]=n,s=Array.from(t).reduce(((t,e,n)=>t[n]===e?t:t.slice(0,n)+e+t.slice(n)),e),a=s.length-e.length;return{selection:[r+a,o+a],value:s}}:F}function Y({dateModeTemplate:t,dateSegmentsSeparator:e,rangeSeparator:n=""}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i;if(r===e)return{elementState:i,data:s[0]===o.length?r:""};const a=r.replaceAll(new RegExp(`[^\\d${z(e)}${n}]`,"g"),"");if(!a)return{elementState:i,data:""};const[l,c]=s;let h=c+r.length;const d=o.slice(0,l)+a+o.slice(h),p=u(d,t,n);let f="";const g=Boolean(n)&&d.includes(n);for(const r of p){const{validatedDateString:o,updatedSelection:s}=T({dateString:r,dateModeTemplate:t,dateSegmentsSeparator:e,offset:f.length,selection:[l,h]});if(r&&!o)return{elementState:i,data:""};h=s[1],f+=g&&!f?o+n:o}const m=f.slice(l,h);return{elementState:{selection:s,value:f.slice(0,l)+m.split(e).map((t=>"0".repeat(t.length))).join(e)+f.slice(h)},data:m}}}function W(t,e,n){return(i,r)=>{const o=()=>e(i,r);return i.addEventListener(t,o,n),()=>i.removeEventListener(t,o,n)}}function K(t){return e=>{const n=e.ownerDocument;let i=0;const o=()=>i++,s=()=>{i=Math.max(--i,0)},a=()=>{if(!e.matches(":focus"))return;if(i)return n.addEventListener("mouseup",a,{once:!0,passive:!0});const o=e.selectionStart||0,s=e.selectionEnd||0,[l,c]=t(e.value,[o,s]);(l>o||c{n.removeEventListener("selectionchange",a),n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",s)}}}const X=()=>{};function tt({step:t,fullMode:e,timeSegmentMaxValues:n}){const r=function(t){return new Map([["hours",et(t,"HH")],["minutes",et(t,"MM")],["seconds",et(t,"SS")],["milliseconds",et(t,"MSS")]])}(e);return t<=0?X:e=>{const o=o=>{if("ArrowUp"!==o.key&&"ArrowDown"!==o.key)return;o.preventDefault();const s=e.selectionStart||0,a=function({segmentsIndexes:t,selectionStart:e}){for(const[n,i]of t.entries()){const[t,r]=i;if(t<=e&&e<=r)return n}return null}({segmentsIndexes:r,selectionStart:s});if(!a)return;const l=function({selection:t,value:e,toAdd:n,max:i}){const[r,o]=t,s=function(t,e){return t<0&&(t+=Math.floor(Math.abs(t)/e+1)*e),t%e}(Number(e.slice(r,o).padEnd(o-r,"0"))+n,i+1);return e.slice(0,r)+String(s).padStart(o-r,"0")+e.slice(o,e.length)}({selection:r.get(a),value:e.value,toAdd:"ArrowUp"===o.key?t:-t,max:n[a]});(0,i.fD)(e,{value:l,selection:[s,s]})};return e.addEventListener("keydown",o),()=>e.removeEventListener("keydown",o)}}function et(t,e){const n=t.indexOf(e);return-1===n?[-1,-1]:[n,n+e.length]}function nt({mode:t,separator:e=".",max:n,min:r}){const o=t.split("/").join(e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(o).map((t=>e.includes(t)?t:/\d/)),overwriteMode:"replace",preprocessors:[q(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:o,dateSegmentsSeparator:e}),Y({dateModeTemplate:o,dateSegmentsSeparator:e})],postprocessors:[V({dateModeTemplate:o,dateSegmentSeparator:e,splitFn:t=>({dateStrings:[t]}),uniteFn:([t])=>t}),U({min:r,max:n,dateModeTemplate:o,dateSegmentSeparator:e})]})}const it=[M,k,O,S,A];function rt({dateModeTemplate:t,rangeSeparator:e,minLength:n,maxLength:i,max:o=y}){return L(n)&&L(i)?F:({value:a,selection:p})=>{const g=u(a,t,e);if(2!==g.length||g.some((e=>!c(e,t))))return{value:a,selection:p};const[m,v]=g.map((e=>d(h(e,t)))),y=s(m,Object.assign(Object.assign({},n),{day:(null==n?void 0:n.day)&&n.day-1})),b=L(i)?o:s(m,Object.assign(Object.assign({},i),{day:(null==i?void 0:i.day)&&i.day-1})),_=r(v,y,o),w=_>b?b:_;return{selection:p,value:g[0]+e+f(l(w),{dateMode:t})}}}function ot({dateModeTemplate:t,rangeSeparator:e}){return({value:n,selection:i})=>{const r=u(n,t,e),o=2===r.length&&r.every((e=>c(e,t))),[s,a]=i,l=s>=n.length,p=0===s&&a>=n.length;if(!l&&!p||!o)return{value:n,selection:i};const[f,g]=r.map((e=>d(h(e,t))));return{selection:i,value:f>g?r.reverse().join(e):n}}}function st({mode:t,min:e,max:n,minLength:r,maxLength:o,dateSeparator:s=".",rangeSeparator:a=`${x}${k}${x}`}){const l=t.split("/").join(s),c=Array.from(l).map((t=>s.includes(t)?t:/\d/));return Object.assign(Object.assign({},i.A_),{mask:[...c,...Array.from(a),...c],overwriteMode:"replace",preprocessors:[q(),$({dateModeTemplate:l,dateSegmentSeparator:s,firstDateEndSeparator:a,pseudoFirstDateEndSeparators:it}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s}),Y({dateModeTemplate:l,rangeSeparator:a,dateSegmentsSeparator:s})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:s,splitFn:t=>({dateStrings:u(t,l,a)}),uniteFn:(t,e)=>t.reduce(((t,n,i)=>t+n+(!i&&e.includes(a)?a:"")),"")}),U({min:e,max:n,dateModeTemplate:l,rangeSeparator:a,dateSegmentSeparator:s}),rt({dateModeTemplate:l,minLength:r,maxLength:o,max:n,rangeSeparator:a}),ot({dateModeTemplate:l,rangeSeparator:a})]})}function at(t){return Object.fromEntries(Object.entries(t).map((([t,e])=>[t,`${e}`.padEnd(w[t],"0")])))}const lt={HH:"hours",MM:"minutes",SS:"seconds",MSS:"milliseconds"};function ct(t,e){const n=t.replaceAll(/\D+/g,"");let i=0;return Object.fromEntries(e.split(/\W/).map((t=>{const e=n.slice(i,i+t.length);return i+=t.length,[lt[t],e]})))}const ut=/^\D*/,ht=/\D*$/;function dt({hours:t="",minutes:e="",seconds:n="",milliseconds:i=""}){return`${t}:${e}:${n}.${i}`.replace(ut,"").replace(ht,"")}const pt=new RegExp(`[${_.map(z).join("")}]$`);function ft({timeString:t,paddedMaxValues:e,offset:n,selection:[i,r],timeMode:o}){const s=ct(t,o),a=Object.entries(s),l={};let c=0;for(const[t,o]of a){const s=dt(l),a=e[t],u=s.length&&1,h=n+s.length+u+w[t];if(h>=i&&h<=r&&Number(o)>Number(a))return{validatedTimeString:"",updatedTimeSelection:[i,r]};const{validatedSegmentValue:d,prefixedZeroesCount:p}=R(o,`${a}`);c+=p,l[t]=d}const[u=""]=t.match(pt)||[],h=dt(l)+u,d=Math.max(h.length-t.length,0);return{validatedTimeString:h,updatedTimeSelection:[i+c+d,r+c+d]}}function gt(t,{dateModeTemplate:e,dateTimeSeparator:n}){const i=t.includes(n);return[t.slice(0,e.length),t.slice(i?e.length+n.length:e.length)]}function mt({dateModeTemplate:t,timeMode:e,min:n=v,max:i=y,dateTimeSeparator:o}){return({value:s,selection:a})=>{const[u,g]=gt(s,{dateModeTemplate:t,dateTimeSeparator:o}),m=h(u,t),v=ct(g,e);if(!function(t,{dateMode:e,timeMode:n,dateTimeSeparator:i=p}){return t.length>=e.length+n.length+i.length&&t.split(i)[0].split(/\D/).every((t=>!t.match(/^0+$/)))}(s,{dateMode:t,timeMode:e,dateTimeSeparator:o})){const h=Z(m,t),{year:p,month:g,day:y}=c(u,t)?l(r(d(h),n,i)):h,b=f(Object.assign({year:p,month:g,day:y},v),{dateMode:t,dateTimeSeparator:o,timeMode:e});return{selection:a,value:b+s.slice(b.length)}}return{selection:a,value:f(l(r(d(m,v),n,i)),{dateMode:t,dateTimeSeparator:o,timeMode:e})}}}function vt({dateModeTemplate:t,dateSegmentsSeparator:e,dateTimeSeparator:n,timeMode:i}){const r=new RegExp(`[^\\d${_.map(z).join("")}${z(e)}]+`);return({elementState:o,data:s})=>{const{value:a,selection:l}=o;if(s===e)return{elementState:o,data:l[0]===a.length?s:""};const c=s.replace(r,"");if(!c)return{elementState:o,data:""};const[u,h]=l;let d=h+s.length;const p=a.slice(0,u)+c+a.slice(d),[f,g]=gt(p,{dateModeTemplate:t,dateTimeSeparator:n});let m="";const v=p.includes(n),{validatedDateString:y,updatedSelection:_}=T({dateString:f,dateSegmentsSeparator:e,dateModeTemplate:t,offset:0,selection:[u,d]});if(f&&!y)return{elementState:o,data:""};d=_[1],m+=y;const w=at(b),{validatedTimeString:x,updatedTimeSelection:C}=ft({timeString:g,paddedMaxValues:w,offset:m.length+n.length,selection:[u,d],timeMode:i});if(g&&!x)return{elementState:o,data:""};d=C[1],m+=v?n+x:x;const k=m.slice(u,d);return{elementState:{selection:l,value:m.slice(0,u)+k.split(e).map((t=>"0".repeat(t.length))).join(e)+m.slice(d)},data:k}}}function yt({dateMode:t,timeMode:e,dateSeparator:n=".",min:r,max:o,dateTimeSeparator:s=p,timeStep:a=0}){const l=t.split("/").join(n);return Object.assign(Object.assign({},i.A_),{mask:[...Array.from(l).map((t=>n.includes(t)?t:/\d/)),...s.split(""),...Array.from(e).map((t=>_.includes(t)?t:/\d/))],overwriteMode:"replace",preprocessors:[q(),H(),$({dateModeTemplate:l,dateSegmentSeparator:n,firstDateEndSeparator:s,pseudoFirstDateEndSeparators:s.split("")}),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},G({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s}),vt({dateModeTemplate:l,dateSegmentsSeparator:n,dateTimeSeparator:s,timeMode:e})],postprocessors:[V({dateModeTemplate:l,dateSegmentSeparator:n,splitFn:t=>{const[e,n]=gt(t,{dateModeTemplate:l,dateTimeSeparator:s});return{dateStrings:[e],restPart:n}},uniteFn:([t],e)=>t+(e.includes(s)?s:"")}),mt({min:r,max:o,dateModeTemplate:l,timeMode:e,dateTimeSeparator:s})],plugins:[tt({step:a,fullMode:`${l}${s}${e}`,timeSegmentMaxValues:b})]})}function bt({prefix:t,postfix:e}){return({elementState:n,data:i})=>{const{cleanValue:r}=N(i,{prefix:t,postfix:e});return{elementState:n,data:r}}}function _t({decimalSeparator:t,isNegativeAllowed:e,precision:n,thousandSeparator:i,prefix:r,postfix:o,decimalPseudoSeparators:s=[],pseudoMinuses:a=[],minusSign:l}){const c=wt(r),u="\\d",h=e?`[${l}${a.map((t=>`\\${t}`)).join("")}]?`:"",d=i?`[${u}${z(i).replaceAll(/\s/g,"\\s")}]*`:`[${u}]*`,p=n>0?`([${z(t)}${s.map(z).join("")}]${u}{0,${Number.isFinite(n)?n:""}})?`:"",f=wt(o);return new RegExp(`^${c}${h}${d}${p}${f}$`)}function wt(t){return t?`${t.split("").map((t=>`${z(t)}?`)).join("")}`:""}function xt(t,e="."){const n=!!t.match(new RegExp(`^\\D*[${S}\\${M}${k}${O}${A}]`)),i=z(e),r=t.replaceAll(new RegExp(`${i}(?!\\d)`,"g"),"").replaceAll(new RegExp(`[^\\d${i}]`,"g"),"").replace(e,".");return r?Number((n?M:"")+r):NaN}function Ct(t,{decimalSeparator:e,thousandSeparator:n}){const[i="",r=""]=t.split(e),[,o="",s=""]=i.match(new RegExp(`([^\\d${z(n)}]+)?(.*)`))||[];return{minus:o,integerPart:s,decimalPart:r}}function kt({decimalSeparator:t,precision:e,decimalZeroPadding:n,prefix:i,postfix:r}){return e<=0||!n?F:({value:n,selection:o})=>{const{cleanValue:s,extractedPrefix:a,extractedPostfix:l}=N(n,{prefix:i,postfix:r});if(Number.isNaN(xt(s,t)))return{value:n,selection:o};const[c,u=""]=s.split(t);return{value:a+c+t+u.padEnd(e,"0")+l,selection:o}}}function Ot({prefix:t,postfix:e,decimalSeparator:n,thousandSeparator:i}){return({value:r,selection:o})=>{const[s]=o,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(r,{prefix:t,postfix:e}),{minus:u,integerPart:h,decimalPart:d}=Ct(a,{decimalSeparator:n,thousandSeparator:i}),p=!h&&!d&&a.includes(n);return!h&&!Number(d)&&s===(u+l).length||p?{selection:o,value:l+u+c}:{value:r,selection:o}}}function Mt({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:o,postfix:s,minusSign:a}){let l=!0;const c=_t({decimalSeparator:t,decimalPseudoSeparators:e,pseudoMinuses:n,prefix:"",postfix:"",thousandSeparator:"",precision:1/0,isNegativeAllowed:!0,minusSign:a});return({elementState:t,data:e})=>{if(!l)return{elementState:t,data:e};l=!1;const{value:n,selection:a}=t,[u,h]=a,{extractedPrefix:d,cleanValue:p,extractedPostfix:f}=N(n,{prefix:o,postfix:s}),g=(0,i.CV)({selection:[Math.max(u-d.length,0),r(h-d.length,0,p.length)],value:p},{mask:c}),[m,v]=g.selection;return{elementState:{selection:[m+d.length,v+d.length],value:d+g.value+f},data:e}}}function St({min:t,max:e,decimalSeparator:n,minusSign:i}){return({value:r,selection:o})=>{const s=xt(r,n),a=s>0?Math.min(s,e):Math.max(s,t);if(s&&a!==s){const t=`${a}`.replace(".",n).replace(M,i);return{value:t,selection:[t.length,t.length]}}return{value:r,selection:o}}}function At({decimalSeparator:t,thousandSeparator:e,decimalZeroPadding:n}){return({elementState:i,data:r},o)=>{const{value:s,selection:a}=i,[l,c]=a,u=s.slice(l,c),h=n?[t,e]:[e],d=n&&l>s.indexOf(t)&&Boolean(u.match(/^0+$/gi));return"deleteBackward"!==o&&"deleteForward"!==o||!h.includes(u)&&!d?{elementState:i,data:r}:{elementState:{value:s,selection:"deleteForward"===o?[c,c]:[l,l]},data:r}}}function Pt({decimalSeparator:t,precision:e,prefix:n,postfix:i}){const o=new RegExp(`^\\D*${z(t)}`);return({elementState:s,data:a})=>{const{value:l,selection:c}=s,{cleanValue:u,extractedPrefix:h}=N(l,{prefix:n,postfix:i}),[d,p]=c,f=r(d-h.length,0,u.length),g=r(p-h.length,0,u.length);return e<=0||u.slice(0,f).includes(t)||u.slice(g).includes(t)||!a.match(o)?{elementState:s,data:a}:{elementState:s,data:u.slice(0,f).match(/\d+/)?a:`0${a}`}}}function Et({validCharacter:t,pseudoCharacters:e,prefix:n,postfix:i}){const r=new RegExp(`[${e.join("")}]`,"gi");return({elementState:e,data:o})=>{const{value:s,selection:a}=e,{cleanValue:l,extractedPostfix:c,extractedPrefix:u}=N(s,{prefix:n,postfix:i});return{elementState:{selection:a,value:u+l.replace(r,t)+c},data:o.replace(r,t)}}}function Tt({decimalSeparator:t,prefix:e,postfix:n}){return({elementState:i,data:r})=>{const{value:o,selection:s}=i,[a,l]=s,{cleanValue:c}=N(o,{prefix:e,postfix:n});return{elementState:i,data:!c.includes(t)||o.slice(a,l+1).includes(t)?r:r.replaceAll(new RegExp(z(t),"gi"),"")}}}function It({thousandSeparator:t,decimalSeparator:e,prefix:n,postfix:i}){return t?({value:r,selection:o})=>{const{cleanValue:s,extractedPostfix:a,extractedPrefix:l}=N(r,{prefix:n,postfix:i}),{minus:c,integerPart:u,decimalPart:h}=Ct(s,{decimalSeparator:e,thousandSeparator:t}),[d,p]=o;let[f,g]=o;return{value:l+c+Array.from(u).reduceRight(((e,n,i)=>{const r=!(!i&&n===t)&&e.length&&(e.length+1)%4==0;return r&&(n===t||((...t)=>t.every((t=>/\s/.test(t))))(n,t))?t+e:n!==t||r?r?(i<=d&&f++,i<=p&&g++,n+t+e):n+e:(i&&i<=d&&f--,i&&i<=p&&g--,e)}),"")+(s.includes(e)?e:"")+h+a,selection:[f,g]}}:F}function Dt({precision:t,decimalSeparator:e,prefix:n,postfix:i}){if(t>0)return F;const r=new RegExp(`${z(e)}.*$`,"g");return({elementState:t,data:e})=>{const{value:o,selection:s}=t,{cleanValue:a,extractedPrefix:l,extractedPostfix:c}=N(o,{prefix:n,postfix:i}),[u,h]=s,d=l+a.replace(r,"")+c;return{elementState:{selection:[Math.min(u,d.length),Math.min(h,d.length)],value:d},data:e.replace(r,"")}}}const zt=[0,0];function Nt({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r}){const o=function({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:i}){const r=t=>{const n=z(e);return t.replace(new RegExp(`^(\\D+)?[0${n}]+(?=0)`),"$1").replace(new RegExp(`^(\\D+)?[0${n}]+(?=[1-9])`),"$1")},o=(t,e)=>{const n=t.slice(0,e),i=t.slice(e).startsWith("0");return n.length-r(n).length+(i?1:0)};return({value:e,selection:s})=>{const[a,l]=s,{cleanValue:c,extractedPrefix:u,extractedPostfix:h}=N(e,{prefix:n,postfix:i}),d=c.includes(t),[p,f=""]=c.split(t),g=r(p);if(p===g)return{value:e,selection:s};const m=a-o(e,a),v=l-o(e,l);return{value:u+g+(d?t:"")+f+h,selection:[Math.max(m,0),Math.max(v,0)]}}}({decimalSeparator:t,thousandSeparator:e,prefix:n,postfix:r});return W("blur",(t=>{const e=o({value:t.value,selection:zt},{value:"",selection:zt}).value;(0,i.fD)(t,e)}),{capture:!0})}function Ft({min:t,max:e,decimalSeparator:n}){return W("blur",((o,s)=>{const a=xt(o.value,n),l=r(a,t,e);Number.isNaN(a)||a===l||(0,i.fD)(o,(0,i.CV)(function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+((null==e?void 0:e.length)||0);r=t.toFixed(o)}return r}(l),s))}),{capture:!0})}function Lt({decimalSeparator:t,prefix:e,postfix:n}){return W("blur",(r=>{const{cleanValue:o,extractedPostfix:s,extractedPrefix:a}=N(r.value,{prefix:e,postfix:n}),l=a+o.replace(new RegExp(`^(\\D+)?${z(t)}`),`$10${t}`)+s;(0,i.fD)(r,l)}),{capture:!0})}function Rt({max:t=Number.MAX_SAFE_INTEGER,min:e=Number.MIN_SAFE_INTEGER,precision:n=0,thousandSeparator:r=x,decimalSeparator:o=".",decimalPseudoSeparators:s,decimalZeroPadding:a=!1,prefix:l="",postfix:c="",minusSign:u=S}={}){const h=[M,k,O,A,S].filter((t=>t!==r&&t!==o&&t!==u)),d=function({decimalSeparator:t,thousandSeparator:e,decimalPseudoSeparators:n=m}){return n.filter((n=>n!==e&&n!==t))}({decimalSeparator:o,thousandSeparator:r,decimalPseudoSeparators:s}),p=l.endsWith(o)&&n>0?`${l}${C}`:l;return Object.assign(Object.assign({},i.A_),{mask:_t({decimalSeparator:o,precision:n,thousandSeparator:r,prefix:p,postfix:c,isNegativeAllowed:e<0,minusSign:u}),preprocessors:[q(),Mt({decimalSeparator:o,decimalPseudoSeparators:d,pseudoMinuses:h,prefix:p,postfix:c,minusSign:u}),bt({prefix:p,postfix:c}),Et({validCharacter:u,pseudoCharacters:h,prefix:p,postfix:c}),Et({validCharacter:o,pseudoCharacters:d,prefix:p,postfix:c}),Pt({decimalSeparator:o,precision:n,prefix:p,postfix:c}),At({decimalSeparator:o,decimalZeroPadding:a,thousandSeparator:r}),Dt({precision:n,decimalSeparator:o,prefix:p,postfix:c}),Tt({decimalSeparator:o,prefix:p,postfix:c})],postprocessors:[St({decimalSeparator:o,min:e,max:t,minusSign:u}),J(p),Q(c),It({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),kt({decimalSeparator:o,decimalZeroPadding:a,precision:n,prefix:p,postfix:c}),Ot({prefix:p,postfix:c,decimalSeparator:o,thousandSeparator:r})],plugins:[Nt({decimalSeparator:o,thousandSeparator:r,prefix:p,postfix:c}),Lt({decimalSeparator:o,prefix:p,postfix:c}),Ft({min:e,max:t,decimalSeparator:o})],overwriteMode:a?({value:t,selection:[e]})=>e<=t.indexOf(o)?"shift":"replace":"shift"})}function Bt(t,e){const n=at(t),i=new RegExp(`[^\\d${_.map(z).join("")}]+`);return({elementState:t,data:r},o)=>{if("deleteBackward"===o||"deleteForward"===o)return{elementState:t,data:r};const{value:s,selection:a}=t;if("validation"===o){const{validatedTimeString:t,updatedTimeSelection:i}=ft({timeString:s,paddedMaxValues:n,offset:0,selection:a,timeMode:e});return{elementState:{value:t,selection:i},data:r}}const l=r.replace(i,""),[c,u]=a;let h=u+l.length;const d=s.slice(0,c)+l+s.slice(h),{validatedTimeString:p,updatedTimeSelection:f}=ft({timeString:d,paddedMaxValues:n,offset:0,selection:[c,h],timeMode:e});if(d&&!p)return{elementState:t,data:""};h=f[1];const g=p.slice(c,h);return{elementState:{selection:a,value:p.slice(0,c)+"0".repeat(g.length)+p.slice(h)},data:g}}}function jt({mode:t,timeSegmentMaxValues:e={},step:n=0}){const r=Object.assign(Object.assign({},b),e);return Object.assign(Object.assign({},i.A_),{mask:Array.from(t).map((t=>_.includes(t)?t:/\d/)),preprocessors:[q(),H(),({elementState:t},e)=>{const{value:n,selection:i}=t;if(!n||function(t,[e,n]){return n===t.length}(n,i))return{elementState:t};const[r,o]=i,s=n.slice(r,o).replaceAll(/\d/g,"0"),a=n.slice(0,r)+s+n.slice(o);return"validation"===e||"insert"===e&&r===o?{elementState:{selection:i,value:a}}:{elementState:{selection:"deleteBackward"===e||"insert"===e?[r,r]:[o,o],value:a}}},Bt(r,t)],plugins:[tt({fullMode:t,step:n,timeSegmentMaxValues:r})],overwriteMode:"replace"})}},56424:(t,e,n)=>{n.d(e,{X:()=>r});var i=n(78748);class r extends i.x{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return!e.closed&&t.next(this._value),e}getValue(){const{hasError:t,thrownError:e,_value:n}=this;if(t)throw e;return this._throwIfClosed(),n}next(t){super.next(this._value=t)}}},48132:(t,e,n)=>{n.d(e,{y:()=>u});var i=n(84676),r=n(902),o=n(49837),s=n(22222),a=n(89885),l=n(3649),c=n(41855);let u=(()=>{class t{constructor(t){t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const o=(s=t)&&s instanceof i.Lv||function(t){return t&&(0,l.m)(t.next)&&(0,l.m)(t.error)&&(0,l.m)(t.complete)}(s)&&(0,r.Nn)(s)?t:new i.Hp(t,e,n);var s;return(0,c.x)((()=>{const{operator:t,source:e}=this;o.add(t?t.call(o,e):e?this._subscribe(o):this._trySubscribe(o))})),o}_trySubscribe(t){try{return this._subscribe(t)}catch(e){t.error(e)}}forEach(t,e){return new(e=h(e))(((e,n)=>{const r=new i.Hp({next:e=>{try{t(e)}catch(t){n(t),r.unsubscribe()}},error:n,complete:e});this.subscribe(r)}))}_subscribe(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)}[o.L](){return this}pipe(...t){return(0,s.U)(t)(this)}toPromise(t){return new(t=h(t))(((t,e)=>{let n;this.subscribe((t=>n=t),(t=>e(t)),(()=>t(n)))}))}}return t.create=e=>new t(e),t})();function h(t){var e;return null!==(e=null!=t?t:a.config.Promise)&&void 0!==e?e:Promise}},35484:(t,e,n)=>{n.d(e,{t:()=>o});var i=n(78748),r=n(87541);class o extends i.x{constructor(t=1/0,e=1/0,n=r.l){super(),this._bufferSize=t,this._windowTime=e,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,t),this._windowTime=Math.max(1,e)}next(t){const{isStopped:e,_buffer:n,_infiniteTimeWindow:i,_timestampProvider:r,_windowTime:o}=this;e||(n.push(t),!i&&n.push(r.now()+o)),this._trimBuffer(),super.next(t)}_subscribe(t){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(t),{_infiniteTimeWindow:n,_buffer:i}=this,r=i.slice();for(let e=0;e{n.d(e,{x:()=>l});var i=n(48132),r=n(902);const o=(0,n(99046).d)((t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}));var s=n(40801),a=n(41855);let l=(()=>{class t extends i.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const e=new c(this,this);return e.operator=t,e}_throwIfClosed(){if(this.closed)throw new o}next(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){const e=this.observers.slice();for(const n of e)n.next(t)}}))}error(t){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:e}=this;for(;e.length;)e.shift().error(t)}}))}complete(){(0,a.x)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:e,isStopped:n,observers:i}=this;return e||n?r.Lc:(i.push(t),new r.w0((()=>(0,s.P)(i,t))))}_checkFinalizedStatuses(t){const{hasError:e,thrownError:n,isStopped:i}=this;e?t.error(n):i&&t.complete()}asObservable(){const t=new i.y;return t.source=this,t}}return t.create=(t,e)=>new c(t,e),t})();class c extends l{constructor(t,e){super(),this.destination=t,this.source=e}next(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===n||n.call(e,t)}error(t){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===n||n.call(e,t)}complete(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)}_subscribe(t){var e,n;return null!==(n=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==n?n:r.Lc}}},84676:(t,e,n)=>{n.d(e,{Hp:()=>p,Lv:()=>d});var i=n(3649),r=n(902),o=n(89885),s=n(29102),a=n(96811);const l=c("C",void 0,void 0);function c(t,e,n){return{kind:t,value:e,error:n}}var u=n(63112),h=n(41855);class d extends r.w0{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,(0,r.Nn)(t)&&t.add(this)):this.destination=v}static create(t,e,n){return new p(t,e,n)}next(t){this.isStopped?m(function(t){return c("N",t,void 0)}(t),this):this._next(t)}error(t){this.isStopped?m(c("E",void 0,t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?m(l,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class p extends d{constructor(t,e,n){let r;if(super(),(0,i.m)(t))r=t;else if(t){let i;({next:r,error:e,complete:n}=t),this&&o.config.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe()):i=t,r=null==r?void 0:r.bind(i),e=null==e?void 0:e.bind(i),n=null==n?void 0:n.bind(i)}this.destination={next:r?f(r):a.Z,error:f(null!=e?e:g),complete:n?f(n):a.Z}}}function f(t,e){return(...e)=>{try{t(...e)}catch(t){o.config.useDeprecatedSynchronousErrorHandling?(0,h.O)(t):(0,s.h)(t)}}}function g(t){throw t}function m(t,e){const{onStoppedNotification:n}=o.config;n&&u.z.setTimeout((()=>n(t,e)))}const v={closed:!0,next:a.Z,error:g,complete:a.Z}},902:(t,e,n)=>{n.d(e,{Lc:()=>a,w0:()=>s,Nn:()=>l});var i=n(3649);const r=(0,n(99046).d)((t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map(((t,e)=>`${e+1}) ${t.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e}));var o=n(40801);class s{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const t of e)t.remove(this);else e.remove(this);const{initialTeardown:n}=this;if((0,i.m)(n))try{n()}catch(e){t=e instanceof r?e.errors:[e]}const{_teardowns:o}=this;if(o){this._teardowns=null;for(const e of o)try{c(e)}catch(e){t=null!=t?t:[],e instanceof r?t=[...t,...e.errors]:t.push(e)}}if(t)throw new r(t)}}add(t){var e;if(t&&t!==this)if(this.closed)c(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._teardowns=null!==(e=this._teardowns)&&void 0!==e?e:[]).push(t)}}_hasParent(t){const{_parentage:e}=this;return e===t||Array.isArray(e)&&e.includes(t)}_addParent(t){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t}_removeParent(t){const{_parentage:e}=this;e===t?this._parentage=null:Array.isArray(e)&&(0,o.P)(e,t)}remove(t){const{_teardowns:e}=this;e&&(0,o.P)(e,t),t instanceof s&&t._removeParent(this)}}s.EMPTY=(()=>{const t=new s;return t.closed=!0,t})();const a=s.EMPTY;function l(t){return t instanceof s||t&&"closed"in t&&(0,i.m)(t.remove)&&(0,i.m)(t.add)&&(0,i.m)(t.unsubscribe)}function c(t){(0,i.m)(t)?t():t.unsubscribe()}},89885:(t,e,n)=>{n.d(e,{config:()=>i});const i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},38442:(t,e,n)=>{n.d(e,{a:()=>d});var i=n(48132),r=n(56632),o=n(3489),s=n(69401),a=n(35993),l=n(38197),c=n(22713),u=n(70134),h=n(53224);function d(...t){const e=(0,l.yG)(t),n=(0,l.jO)(t),{args:h,keys:d}=(0,r.D)(t);if(0===h.length)return(0,o.D)([],e);const f=new i.y(function(t,e,n=s.y){return i=>{p(e,(()=>{const{length:r}=t,s=new Array(r);let a=r,l=r;for(let c=0;c{const r=(0,o.D)(t[c],e);let h=!1;r.subscribe(new u.Q(i,(t=>{s[c]=t,h||(h=!0,l--),l||i.next(n(s.slice()))}),(()=>{--a||i.complete()})))}),i)}),i)}}(h,e,d?t=>(0,c.n)(d,t):s.y));return n?f.pipe((0,a.Z)(n)):f}function p(t,e,n){t?(0,h.f)(n,t,e):e()}},45623:(t,e,n)=>{n.d(e,{z:()=>s});var i=n(42605),r=n(38197),o=n(3489);function s(...t){return(0,i.J)(1)((0,o.D)(t,(0,r.yG)(t)))}},83562:(t,e,n)=>{n.d(e,{P:()=>o});var i=n(48132),r=n(46974);function o(t){return new i.y((e=>{(0,r.Xf)(t()).subscribe(e)}))}},30453:(t,e,n)=>{n.d(e,{E:()=>i});const i=new(n(48132).y)((t=>t.complete()))},30319:(t,e,n)=>{n.d(e,{D:()=>u});var i=n(48132),r=n(56632),o=n(46974),s=n(38197),a=n(70134),l=n(35993),c=n(22713);function u(...t){const e=(0,s.jO)(t),{args:n,keys:u}=(0,r.D)(t),h=new i.y((t=>{const{length:e}=n;if(!e)return void t.complete();const i=new Array(e);let r=e,s=e;for(let l=0;l{e||(e=!0,s--),i[l]=t}),(()=>r--),void 0,(()=>{r&&e||(s||t.next(u?(0,c.n)(u,i):i),t.complete())})))}}));return e?h.pipe((0,l.Z)(e)):h}},3489:(t,e,n)=>{n.d(e,{D:()=>_});var i=n(46974),r=n(53224),o=n(96142),s=n(70134);function a(t,e=0){return(0,o.e)(((n,i)=>{n.subscribe(new s.Q(i,(n=>(0,r.f)(i,t,(()=>i.next(n)),e)),(()=>(0,r.f)(i,t,(()=>i.complete()),e)),(n=>(0,r.f)(i,t,(()=>i.error(n)),e))))}))}function l(t,e=0){return(0,o.e)(((n,i)=>{i.add(t.schedule((()=>n.subscribe(i)),e))}))}var c=n(48132),u=n(56818),h=n(3649);function d(t,e){if(!t)throw new Error("Iterable cannot be null");return new c.y((n=>{(0,r.f)(n,e,(()=>{const i=t[Symbol.asyncIterator]();(0,r.f)(n,e,(()=>{i.next().then((t=>{t.done?n.complete():n.next(t.value)}))}),0,!0)}))}))}var p=n(48040),f=n(43913),g=n(23234),m=n(58926),v=n(53525),y=n(369),b=n(85994);function _(t,e){return e?function(t,e){if(null!=t){if((0,p.c)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,g.z)(t))return function(t,e){return new c.y((n=>{let i=0;return e.schedule((function(){i===t.length?n.complete():(n.next(t[i++]),n.closed||this.schedule())}))}))}(t,e);if((0,f.t)(t))return function(t,e){return(0,i.Xf)(t).pipe(l(e),a(e))}(t,e);if((0,v.D)(t))return d(t,e);if((0,m.T)(t))return function(t,e){return new c.y((n=>{let i;return(0,r.f)(n,e,(()=>{i=t[u.h](),(0,r.f)(n,e,(()=>{let t,e;try{({value:t,done:e}=i.next())}catch(t){return void n.error(t)}e?n.complete():n.next(t)}),0,!0)})),()=>(0,h.m)(null==i?void 0:i.return)&&i.return()}))}(t,e);if((0,b.L)(t))return function(t,e){return d((0,b.Q)(t),e)}(t,e)}throw(0,y.z)(t)}(t,e):(0,i.Xf)(t)}},10409:(t,e,n)=>{n.d(e,{R:()=>d});var i=n(46974),r=n(48132),o=n(45130),s=n(23234),a=n(3649),l=n(35993);const c=["addListener","removeListener"],u=["addEventListener","removeEventListener"],h=["on","off"];function d(t,e,n,f){if((0,a.m)(n)&&(f=n,n=void 0),f)return d(t,e,n).pipe((0,l.Z)(f));const[g,m]=function(t){return(0,a.m)(t.addEventListener)&&(0,a.m)(t.removeEventListener)}(t)?u.map((i=>r=>t[i](e,r,n))):function(t){return(0,a.m)(t.addListener)&&(0,a.m)(t.removeListener)}(t)?c.map(p(t,e)):function(t){return(0,a.m)(t.on)&&(0,a.m)(t.off)}(t)?h.map(p(t,e)):[];if(!g&&(0,s.z)(t))return(0,o.z)((t=>d(t,e,n)))((0,i.Xf)(t));if(!g)throw new TypeError("Invalid event target");return new r.y((t=>{const e=(...e)=>t.next(1m(e)}))}function p(t,e){return n=>i=>t[n](e,i)}},46974:(t,e,n)=>{n.d(e,{Xf:()=>g});var i=n(84911),r=n(23234),o=n(43913),s=n(48132),a=n(48040),l=n(53525),c=n(369),u=n(58926),h=n(85994),d=n(3649),p=n(29102),f=n(49837);function g(t){if(t instanceof s.y)return t;if(null!=t){if((0,a.c)(t))return v=t,new s.y((t=>{const e=v[f.L]();if((0,d.m)(e.subscribe))return e.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,r.z)(t))return g=t,new s.y((t=>{for(let e=0;e{i.then((e=>{t.closed||(t.next(e),t.complete())}),(e=>t.error(e))).then(null,p.h)}));if((0,l.D)(t))return m(t);if((0,u.T)(t))return n=t,new s.y((t=>{for(const e of n)if(t.next(e),t.closed)return;t.complete()}));if((0,h.L)(t))return e=t,m((0,h.Q)(e))}var e,n,i,g,v;throw(0,c.z)(t)}function m(t){return new s.y((e=>{(function(t,e){var n,r,o,s;return(0,i.mG)(this,void 0,void 0,(function*(){try{for(n=(0,i.KL)(t);!(r=yield n.next()).done;){const t=r.value;if(e.next(t),e.closed)return}}catch(t){o={error:t}}finally{try{r&&!r.done&&(s=n.return)&&(yield s.call(n))}finally{if(o)throw o.error}}e.complete()}))})(t,e).catch((t=>e.error(t)))}))}},45047:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(42605),r=n(46974),o=n(30453),s=n(38197),a=n(3489);function l(...t){const e=(0,s.yG)(t),n=(0,s._6)(t,1/0),l=t;return l.length?1===l.length?(0,r.Xf)(l[0]):(0,i.J)(n)((0,a.D)(l,e)):o.E}},14553:(t,e,n)=>{n.d(e,{C:()=>o});var i=n(48132),r=n(96811);const o=new i.y(r.Z)},71209:(t,e,n)=>{n.d(e,{of:()=>o});var i=n(38197),r=n(3489);function o(...t){const e=(0,i.yG)(t);return(0,r.D)(t,e)}},82479:(t,e,n)=>{n.d(e,{S:()=>a});var i=n(48132),r=n(46974),o=n(15130),s=n(70134);function a(...t){return 1===(t=(0,o.k)(t)).length?(0,r.Xf)(t[0]):new i.y(function(t){return e=>{let n=[];for(let i=0;n&&!e.closed&&i{if(n){for(let t=0;t{n.d(e,{_:()=>o});var i=n(48132),r=n(3649);function o(t,e){const n=(0,r.m)(t)?t:()=>t,o=t=>t.error(n());return new i.y(e?t=>e.schedule(o,0,t):o)}},1925:(t,e,n)=>{n.d(e,{H:()=>s});var i=n(48132),r=n(68634),o=n(16943);function s(t=0,e,n=r.P){let s=-1;return null!=e&&((0,o.K)(e)?n=e:s=e),new i.y((e=>{let i=(r=t)instanceof Date&&!isNaN(r)?+t-n.now():t;var r;i<0&&(i=0);let o=0;return n.schedule((function(){e.closed||(e.next(o++),0<=s?this.schedule(void 0,s):e.complete())}),i)}))}},87493:(t,e,n)=>{n.d(e,{$:()=>c});var i=n(48132),r=n(46974),o=n(15130),s=n(30453),a=n(70134),l=n(38197);function c(...t){const e=(0,l.jO)(t),n=(0,o.k)(t);return n.length?new i.y((t=>{let i=n.map((()=>[])),o=n.map((()=>!1));t.add((()=>{i=o=null}));for(let s=0;!t.closed&&s{if(i[s].push(n),i.every((t=>t.length))){const n=i.map((t=>t.shift()));t.next(e?e(...n):n),i.some(((t,e)=>!t.length&&o[e]))&&t.complete()}}),(()=>{o[s]=!0,!i[s].length&&t.complete()})));return()=>{i=o=null}})):s.E}},70134:(t,e,n)=>{n.d(e,{Q:()=>r});var i=n(84676);class r extends i.Lv{constructor(t,e,n,i,r){super(t),this.onFinalize=r,this._next=e?function(n){try{e(n)}catch(e){t.error(e)}}:super._next,this._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;const{closed:e}=this;super.unsubscribe(),!e&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}},17560:(t,e,n)=>{n.d(e,{K:()=>s});var i=n(46974),r=n(70134),o=n(96142);function s(t){return(0,o.e)(((e,n)=>{let o,a=null,l=!1;a=e.subscribe(new r.Q(n,void 0,void 0,(r=>{o=(0,i.Xf)(t(r,s(t)(e))),a?(a.unsubscribe(),a=null,o.subscribe(n)):l=!0}))),l&&(a.unsubscribe(),a=null,o.subscribe(n))}))}},70109:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(45130),r=n(3649);function o(t,e){return(0,r.m)(e)?(0,i.z)(t,e,1):(0,i.z)(t,1)}},24249:(t,e,n)=>{n.d(e,{D:()=>a});var i=n(96142),r=n(96811),o=n(70134),s=n(46974);function a(t){return(0,i.e)(((e,n)=>{let i=!1,a=null,l=null;const c=()=>{if(null==l||l.unsubscribe(),l=null,i){i=!1;const t=a;a=null,n.next(t)}};e.subscribe(new o.Q(n,(e=>{null==l||l.unsubscribe(),i=!0,a=e,l=new o.Q(n,c,r.Z),(0,s.Xf)(t(e)).subscribe(l)}),(()=>{c(),n.complete()}),void 0,(()=>{a=l=null})))}))}},20155:(t,e,n)=>{n.d(e,{b:()=>s});var i=n(68634),r=n(96142),o=n(70134);function s(t,e=i.z){return(0,r.e)(((n,i)=>{let r=null,s=null,a=null;const l=()=>{if(r){r.unsubscribe(),r=null;const t=s;s=null,i.next(t)}};function c(){const n=a+t,o=e.now();if(o{s=n,a=e.now(),r||(r=e.schedule(c,t),i.add(r))}),(()=>{l(),i.complete()}),void 0,(()=>{s=r=null})))}))}},80407:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(96142),r=n(70134);function o(t){return(0,i.e)(((e,n)=>{let i=!1;e.subscribe(new r.Q(n,(t=>{i=!0,n.next(t)}),(()=>{i||n.next(t),n.complete()})))}))}},69286:(t,e,n)=>{n.d(e,{g:()=>h});var i=n(68634),r=n(45623),o=n(21813),s=n(91105),a=n(97376),l=n(45130);function c(t,e){return e?n=>(0,r.z)(e.pipe((0,o.q)(1),(0,s.l)()),n.pipe(c(t))):(0,l.z)(((e,n)=>t(e,n).pipe((0,o.q)(1),(0,a.h)(e))))}var u=n(1925);function h(t,e=i.z){const n=(0,u.H)(t,e);return c((()=>n))}},18004:(t,e,n)=>{n.d(e,{x:()=>s});var i=n(69401),r=n(96142),o=n(70134);function s(t,e=i.y){return t=null!=t?t:a,(0,r.e)(((n,i)=>{let r,s=!0;n.subscribe(new o.Q(i,(n=>{const o=e(n);!s&&t(r,o)||(s=!1,r=o,i.next(n))})))}))}function a(t,e){return t===e}},93311:(t,e,n)=>{n.d(e,{l:()=>o});var i=n(45623),r=n(71209);function o(...t){return e=>(0,i.z)(e,(0,r.of)(...t))}},55333:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>t.call(e,n,o++)&&i.next(n))))}))}},36293:(t,e,n)=>{n.d(e,{x:()=>r});var i=n(96142);function r(t){return(0,i.e)(((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}}))}},91105:(t,e,n)=>{n.d(e,{l:()=>s});var i=n(96142),r=n(70134),o=n(96811);function s(){return(0,i.e)(((t,e)=>{t.subscribe(new r.Q(e,o.Z))}))}},92425:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{i.next(t.call(e,n,o++))})))}))}},97376:(t,e,n)=>{n.d(e,{h:()=>r});var i=n(92425);function r(t){return(0,i.U)((()=>t))}},42605:(t,e,n)=>{n.d(e,{J:()=>o});var i=n(45130),r=n(69401);function o(t=1/0){return(0,i.z)(r.y,t)}},45130:(t,e,n)=>{n.d(e,{z:()=>l});var i=n(92425),r=n(46974),o=n(96142),s=(n(53224),n(70134)),a=n(3649);function l(t,e,n=1/0){return(0,a.m)(e)?l(((n,o)=>(0,i.U)(((t,i)=>e(n,t,o,i)))((0,r.Xf)(t(n,o)))),n):("number"==typeof e&&(n=e),(0,o.e)(((e,i)=>function(t,e,n,i,o,a,l,c){const u=[];let h=0,d=0,p=!1;const f=()=>{!p||u.length||h||e.complete()},g=t=>{h++;let o=!1;(0,r.Xf)(n(t,d++)).subscribe(new s.Q(e,(t=>{e.next(t)}),(()=>{o=!0}),void 0,(()=>{if(o)try{for(h--;u.length&&hh{p=!0,f()}))),()=>{}}(e,i,t,n))))}},74114:(t,e,n)=>{n.d(e,{G:()=>o});var i=n(96142),r=n(70134);function o(){return(0,i.e)(((t,e)=>{let n,i=!1;t.subscribe(new r.Q(e,(t=>{const r=n;n=t,i&&e.next([r,t]),i=!0})))}))}},74842:(t,e,n)=>{n.d(e,{r:()=>l});var i=n(30453),r=n(96142),o=n(70134),s=n(46974),a=n(1925);function l(t){let e,n=1/0;return null!=t&&("object"==typeof t?({count:n=1/0,delay:e}=t):n=t),n<=0?()=>i.E:(0,r.e)(((t,i)=>{let r,l=0;const c=()=>{if(null==r||r.unsubscribe(),r=null,null!=e){const t="number"==typeof e?(0,a.H)(e):(0,s.Xf)(e(l)),n=new o.Q(i,(()=>{n.unsubscribe(),u()}));t.subscribe(n)}else u()},u=()=>{let e=!1;r=t.subscribe(new o.Q(i,void 0,(()=>{++l{n.d(e,{R:()=>o});var i=n(96142),r=n(70134);function o(t,e){return(0,i.e)(function(t,e,n,i,o){return(i,o)=>{let s=n,a=e,l=0;i.subscribe(new r.Q(o,(e=>{const n=l++;a=s?t(a,e,n):(s=!0,e),o.next(a)}),void 0))}}(t,e,arguments.length>=2))}},88557:(t,e,n)=>{n.d(e,{B:()=>l});var i=n(3489),r=n(21813),o=n(78748),s=n(84676),a=n(96142);function l(t={}){const{connector:e=(()=>new o.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:l=!0}=t;return t=>{let o=null,u=null,h=null,d=0,p=!1,f=!1;const g=()=>{null==u||u.unsubscribe(),u=null},m=()=>{g(),o=h=null,p=f=!1},v=()=>{const t=o;m(),null==t||t.unsubscribe()};return(0,a.e)(((t,a)=>{d++,f||p||g();const y=h=null!=h?h:e();a.add((()=>{d--,0!==d||f||p||(u=c(v,l))})),y.subscribe(a),o||(o=new s.Hp({next:t=>y.next(t),error:t=>{f=!0,g(),u=c(m,n,t),y.error(t)},complete:()=>{p=!0,g(),u=c(m,r),y.complete()}}),(0,i.D)(t).subscribe(o))}))(t)}}function c(t,e,...n){return!0===e?(t(),null):!1===e?null:e(...n).pipe((0,r.q)(1)).subscribe((()=>t()))}},20530:(t,e,n)=>{n.d(e,{d:()=>o});var i=n(35484),r=n(88557);function o(t,e,n){var o,s;let a,l=!1;return t&&"object"==typeof t?(a=null!==(o=t.bufferSize)&&void 0!==o?o:1/0,e=null!==(s=t.windowTime)&&void 0!==s?s:1/0,l=!!t.refCount,n=t.scheduler):a=null!=t?t:1/0,(0,r.B)({connector:()=>new i.t(a,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:l})}},14776:(t,e,n)=>{n.d(e,{T:()=>r});var i=n(55333);function r(t){return(0,i.h)(((e,n)=>t<=n))}},73843:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(45623),r=n(38197),o=n(96142);function s(...t){const e=(0,r.yG)(t);return(0,o.e)(((n,r)=>{(e?(0,i.z)(t,n,e):(0,i.z)(t,n)).subscribe(r)}))}},84787:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(46974),r=n(96142),o=n(70134);function s(t,e){return(0,r.e)(((n,r)=>{let s=null,a=0,l=!1;const c=()=>l&&!s&&r.complete();n.subscribe(new o.Q(r,(n=>{null==s||s.unsubscribe();let l=0;const u=a++;(0,i.Xf)(t(n,u)).subscribe(s=new o.Q(r,(t=>r.next(e?e(n,t,u,l++):t)),(()=>{s=null,c()})))}),(()=>{l=!0,c()})))}))}},21813:(t,e,n)=>{n.d(e,{q:()=>s});var i=n(30453),r=n(96142),o=n(70134);function s(t){return t<=0?()=>i.E:(0,r.e)(((e,n)=>{let i=0;e.subscribe(new o.Q(n,(e=>{++i<=t&&(n.next(e),t<=i&&n.complete())})))}))}},81749:(t,e,n)=>{n.d(e,{R:()=>a});var i=n(96142),r=n(70134),o=n(46974),s=n(96811);function a(t){return(0,i.e)(((e,n)=>{(0,o.Xf)(t).subscribe(new r.Q(n,(()=>n.complete()),s.Z)),!n.closed&&e.subscribe(n)}))}},85228:(t,e,n)=>{n.d(e,{o:()=>o});var i=n(96142),r=n(70134);function o(t,e=!1){return(0,i.e)(((n,i)=>{let o=0;n.subscribe(new r.Q(i,(n=>{const r=t(n,o++);(r||e)&&i.next(n),!r&&i.complete()})))}))}},31570:(t,e,n)=>{n.d(e,{b:()=>a});var i=n(3649),r=n(96142),o=n(70134),s=n(69401);function a(t,e,n){const a=(0,i.m)(t)||e||n?{next:t,error:e,complete:n}:t;return a?(0,r.e)(((t,e)=>{var n;null===(n=a.subscribe)||void 0===n||n.call(a);let i=!0;t.subscribe(new o.Q(e,(t=>{var n;null===(n=a.next)||void 0===n||n.call(a,t),e.next(t)}),(()=>{var t;i=!1,null===(t=a.complete)||void 0===t||t.call(a),e.complete()}),(t=>{var n;i=!1,null===(n=a.error)||void 0===n||n.call(a,t),e.error(t)}),(()=>{var t,e;i&&(null===(t=a.unsubscribe)||void 0===t||t.call(a)),null===(e=a.finalize)||void 0===e||e.call(a)})))})):s.y}},38356:(t,e,n)=>{n.d(e,{p:()=>c});var i=n(68634),r=n(96142),o=n(70134),s=n(46974);const a={leading:!0,trailing:!1};var l=n(1925);function c(t,e=i.z,n=a){const c=(0,l.H)(t,e);return function(t,e=a){return(0,r.e)(((n,i)=>{const{leading:r,trailing:a}=e;let l=!1,c=null,u=null,h=!1;const d=()=>{null==u||u.unsubscribe(),u=null,a&&(g(),h&&i.complete())},p=()=>{u=null,h&&i.complete()},f=e=>u=(0,s.Xf)(t(e)).subscribe(new o.Q(i,d,p)),g=()=>{if(l){l=!1;const t=c;c=null,i.next(t),!h&&f(t)}};n.subscribe(new o.Q(i,(t=>{l=!0,c=t,(!u||u.closed)&&(r?g():f(t))}),(()=>{h=!0,(!(a&&l&&u)||u.closed)&&i.complete()})))}))}((()=>c),n)}},17544:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(96142),r=n(70134),o=n(46974),s=n(69401),a=n(96811),l=n(38197);function c(...t){const e=(0,l.jO)(t);return(0,i.e)(((n,i)=>{const l=t.length,c=new Array(l);let u=t.map((()=>!1)),h=!1;for(let e=0;e{c[e]=t,h||u[e]||(u[e]=!0,(h=u.every(s.y))&&(u=null))}),a.Z));n.subscribe(new r.Q(i,(t=>{if(h){const n=[t,...c];i.next(e?e(...n):n)}})))}))}},80054:(t,e,n)=>{n.d(e,{o:()=>a});var i=n(902);class r extends i.w0{constructor(t,e){super()}schedule(t,e=0){return this}}const o={setInterval(...t){const{delegate:e}=o;return((null==e?void 0:e.setInterval)||setInterval)(...t)},clearInterval(t){const{delegate:e}=o;return((null==e?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0};var s=n(40801);class a extends r{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}requestAsyncId(t,e,n=0){return o.setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return e;o.clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n,i=!1;try{this.work(t)}catch(t){i=!0,n=t||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:t,scheduler:e}=this,{actions:n}=e;this.work=this.state=this.scheduler=null,this.pending=!1,(0,s.P)(n,this),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null,super.unsubscribe()}}}},65804:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(87541);class r{constructor(t,e=r.now){this.schedulerActionCtor=t,this.now=e}schedule(t,e=0,n){return new this.schedulerActionCtor(this,t).schedule(n,e)}}r.now=i.l.now;class o extends r{constructor(t,e=r.now){super(t,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(t){const{actions:e}=this;if(this._active)return void e.push(t);let n;this._active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this._active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},68634:(t,e,n)=>{n.d(e,{P:()=>o,z:()=>r});var i=n(80054);const r=new(n(65804).v)(i.o),o=r},87541:(t,e,n)=>{n.d(e,{l:()=>i});const i={now:()=>(i.delegate||Date).now(),delegate:void 0}},63112:(t,e,n)=>{n.d(e,{z:()=>i});const i={setTimeout(...t){const{delegate:e}=i;return((null==e?void 0:e.setTimeout)||setTimeout)(...t)},clearTimeout(t){const{delegate:e}=i;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0}},56818:(t,e,n)=>{n.d(e,{h:()=>i});const i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},49837:(t,e,n)=>{n.d(e,{L:()=>i});const i="function"==typeof Symbol&&Symbol.observable||"@@observable"},38197:(t,e,n)=>{n.d(e,{_6:()=>l,jO:()=>s,yG:()=>a});var i=n(3649),r=n(16943);function o(t){return t[t.length-1]}function s(t){return(0,i.m)(o(t))?t.pop():void 0}function a(t){return(0,r.K)(o(t))?t.pop():void 0}function l(t,e){return"number"==typeof o(t)?t.pop():e}},56632:(t,e,n)=>{n.d(e,{D:()=>a});const{isArray:i}=Array,{getPrototypeOf:r,prototype:o,keys:s}=Object;function a(t){if(1===t.length){const n=t[0];if(i(n))return{args:n,keys:null};if((e=n)&&"object"==typeof e&&r(e)===o){const t=s(n);return{args:t.map((t=>n[t])),keys:t}}}var e;return{args:t,keys:null}}},15130:(t,e,n)=>{n.d(e,{k:()=>r});const{isArray:i}=Array;function r(t){return 1===t.length&&i(t[0])?t[0]:t}},40801:(t,e,n)=>{function i(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}n.d(e,{P:()=>i})},99046:(t,e,n)=>{function i(t){const e=t((t=>{Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}n.d(e,{d:()=>i})},22713:(t,e,n)=>{function i(t,e){return t.reduce(((t,n,i)=>(t[n]=e[i],t)),{})}n.d(e,{n:()=>i})},41855:(t,e,n)=>{n.d(e,{O:()=>s,x:()=>o});var i=n(89885);let r=null;function o(t){if(i.config.useDeprecatedSynchronousErrorHandling){const e=!r;if(e&&(r={errorThrown:!1,error:null}),t(),e){const{errorThrown:t,error:e}=r;if(r=null,t)throw e}}else t()}function s(t){i.config.useDeprecatedSynchronousErrorHandling&&r&&(r.errorThrown=!0,r.error=t)}},53224:(t,e,n)=>{function i(t,e,n,i=0,r=!1){const o=e.schedule((function(){n(),r?t.add(this.schedule(null,i)):this.unsubscribe()}),i);if(t.add(o),!r)return o}n.d(e,{f:()=>i})},69401:(t,e,n)=>{function i(t){return t}n.d(e,{y:()=>i})},23234:(t,e,n)=>{n.d(e,{z:()=>i});const i=t=>t&&"number"==typeof t.length&&"function"!=typeof t},53525:(t,e,n)=>{n.d(e,{D:()=>r});var i=n(3649);function r(t){return Symbol.asyncIterator&&(0,i.m)(null==t?void 0:t[Symbol.asyncIterator])}},3649:(t,e,n)=>{function i(t){return"function"==typeof t}n.d(e,{m:()=>i})},48040:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(49837),r=n(3649);function o(t){return(0,r.m)(t[i.L])}},58926:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(56818),r=n(3649);function o(t){return(0,r.m)(null==t?void 0:t[i.h])}},11070:(t,e,n)=>{n.d(e,{b:()=>o});var i=n(48132),r=n(3649);function o(t){return!!t&&(t instanceof i.y||(0,r.m)(t.lift)&&(0,r.m)(t.subscribe))}},43913:(t,e,n)=>{n.d(e,{t:()=>r});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.then)}},85994:(t,e,n)=>{n.d(e,{L:()=>s,Q:()=>o});var i=n(84911),r=n(3649);function o(t){return(0,i.FC)(this,arguments,(function*(){const e=t.getReader();try{for(;;){const{value:t,done:n}=yield(0,i.qq)(e.read());if(n)return yield(0,i.qq)(void 0);yield yield(0,i.qq)(t)}}finally{e.releaseLock()}}))}function s(t){return(0,r.m)(null==t?void 0:t.getReader)}},16943:(t,e,n)=>{n.d(e,{K:()=>r});var i=n(3649);function r(t){return t&&(0,i.m)(t.schedule)}},96142:(t,e,n)=>{n.d(e,{A:()=>r,e:()=>o});var i=n(3649);function r(t){return(0,i.m)(null==t?void 0:t.lift)}function o(t){return e=>{if(r(e))return e.lift((function(e){try{return t(e,this)}catch(t){this.error(t)}}));throw new TypeError("Unable to lift unknown Observable type")}}},35993:(t,e,n)=>{n.d(e,{Z:()=>o});var i=n(92425);const{isArray:r}=Array;function o(t){return(0,i.U)((e=>function(t,e){return r(e)?t(...e):t(e)}(t,e)))}},96811:(t,e,n)=>{function i(){}n.d(e,{Z:()=>i})},22222:(t,e,n)=>{n.d(e,{U:()=>o,z:()=>r});var i=n(69401);function r(...t){return o(t)}function o(t){return 0===t.length?i.y:1===t.length?t[0]:function(e){return t.reduce(((t,e)=>e(t)),e)}}},29102:(t,e,n)=>{n.d(e,{h:()=>o});var i=n(89885),r=n(63112);function o(t){r.z.setTimeout((()=>{const{onUnhandledError:e}=i.config;if(!e)throw t;e(t)}))}},369:(t,e,n)=>{function i(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(e,{z:()=>i})},1679:(t,e,n)=>{var i=n(20755),r=n(43232),o=n(8239),s=n(99222),a=n(42772),l=n(89037);const c=JSON.parse('{"i8":"2.0.21-alpha.6"}');var u=n(63613);let h=(()=>{var t;class e{constructor(){this.pageLoaded$=(0,i.f3M)(l.V1),this.pageLoadedInit="0",this.pageLoaded=this.pageLoaded$,this.router=(0,i.f3M)(s.F0),this.storage=(0,i.f3M)(a.H3),this.version=c.i8}ngOnInit(){this.replaceEnvInURI()}replaceEnvInURI(){var t=this;return(0,o.Z)((function*(){const e=t.storage.getItem("env");e&&(t.storage.removeItem("env"),yield t.router.navigateByUrl(e))}))()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["app"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.Ikx("$.class._loaded",e.pageLoaded),i.ekj("_loaded",e.pageLoadedInit))},standalone:!0,features:[i.jDz],decls:4,vars:1,consts:[["ngProjectAs","tuiDocHeader",5,["tuiDocHeader"]],["ngProjectAs","tuiDocNavigation",5,["tuiDocNavigation"],1,"app-version"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-doc-main"),i.ynx(1,0),i.TgZ(2,"p",1),i._uU(3),i.qZA(),i.BQk(),i.qZA()),2&t&&(i.xp6(3),i.hij(" v",e.version," "))},dependencies:[u.og],styles:["[_nghost-%COMP%]{font:var(--tui-font-text-m);color:var(--tui-text-primary)}.link[_ngcontent-%COMP%]{margin-left:1rem}.app-version[_ngcontent-%COMP%]{color:var(--tui-text-secondary);font:var(--tui-font-text-xs)}@media not (min-width: 480px){.app-version[_ngcontent-%COMP%]{display:none}}"],changeDetection:0}),e})();var d=n(76733),p=n(12405),f=n(80396);let g=(()=>{var t;class e extends p._j{constructor(t,e){super(),this._nextAnimationId=0;const n={id:"0",encapsulation:i.ifc.None,styles:[],data:{animation:[]}};this._renderer=t.createRenderer(e.body,n)}build(t){const e=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(t)?(0,p.vP)(t):t;return y(this._renderer,null,e,"register",[n]),new m(e,this._renderer)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(d.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class m extends p.LC{constructor(t,e){super(),this._id=t,this._renderer=e}create(t,e){return new v(this._id,t,e||{},this._renderer)}}class v{constructor(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(t,e){return this._renderer.listen(this.element,`@@${this.id}:${t}`,e)}_command(t,...e){return y(this._renderer,this.element,this.id,t,e)}onDone(t){this._listen("done",t)}onStart(t){this._listen("start",t)}onDestroy(t){this._listen("destroy",t)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(t){this._command("setPosition",t)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function y(t,e,n,i,r){return t.setProperty(e,`@@${n}:${i}`,r)}const b="@",_="@.disabled";let w=(()=>{var t;class e{constructor(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,e.onRemovalComplete=(t,e)=>{const n=e?.parentNode(t);n&&e.removeChild(n,t)}}createRenderer(t,e){const n=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){let t=this._rendererCache.get(n);if(!t){const e=()=>this._rendererCache.delete(n);t=new x("",n,this.engine,e),this._rendererCache.set(n,t)}return t}const i=e.id,r=e.id+"-"+this._currentId;this._currentId++,this.engine.register(r,t);const o=e=>{Array.isArray(e)?e.forEach(o):this.engine.registerTrigger(i,r,t,e.name,e)};return e.data.animation.forEach(o),new C(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask((()=>{this._microtaskId++}))}scheduleListenerCallback(t,e,n){t>=0&&te(n))):(0==this._animationCallbacksBuffer.length&&queueMicrotask((()=>{this._zone.run((()=>{this._animationCallbacksBuffer.forEach((t=>{const[e,n]=t;e(n)})),this._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([e,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)})),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.FYo),i.LFG(f.Th),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class x{constructor(t,e,n,i){this.namespaceId=t,this.delegate=e,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(t){this.delegate.destroyNode?.(t)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone((()=>{queueMicrotask((()=>{this.delegate.destroy()}))})),this._onDestroy?.()}createElement(t,e){return this.delegate.createElement(t,e)}createComment(t){return this.delegate.createComment(t)}createText(t){return this.delegate.createText(t)}appendChild(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)}insertBefore(t,e,n,i=!0){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,i)}removeChild(t,e,n){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(t,e){return this.delegate.selectRootElement(t,e)}parentNode(t){return this.delegate.parentNode(t)}nextSibling(t){return this.delegate.nextSibling(t)}setAttribute(t,e,n,i){this.delegate.setAttribute(t,e,n,i)}removeAttribute(t,e,n){this.delegate.removeAttribute(t,e,n)}addClass(t,e){this.delegate.addClass(t,e)}removeClass(t,e){this.delegate.removeClass(t,e)}setStyle(t,e,n,i){this.delegate.setStyle(t,e,n,i)}removeStyle(t,e,n){this.delegate.removeStyle(t,e,n)}setProperty(t,e,n){e.charAt(0)==b&&e==_?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)}setValue(t,e){this.delegate.setValue(t,e)}listen(t,e,n){return this.delegate.listen(t,e,n)}disableAnimations(t,e){this.engine.disableAnimations(t,e)}}class C extends x{constructor(t,e,n,i,r){super(e,n,i,r),this.factory=t,this.namespaceId=e}setProperty(t,e,n){e.charAt(0)==b?"."==e.charAt(1)&&e==_?(n=void 0===n||!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.slice(1),n):this.delegate.setProperty(t,e,n)}listen(t,e,n){if(e.charAt(0)==b){const i=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t);let r=e.slice(1),o="";return r.charAt(0)!=b&&([r,o]=function(t){const e=t.indexOf(".");return[t.substring(0,e),t.slice(e+1)]}(r)),this.engine.listen(this.namespaceId,i,r,o,(t=>{const e=t._data||-1;this.factory.scheduleListenerCallback(e,n,t)}))}return this.delegate.listen(t,e,n)}}let k=(()=>{var t;class e extends f.Th{constructor(t,e,n,i){super(t.body,e,n)}ngOnDestroy(){this.flush()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(d.K0),i.LFG(f.Vi),i.LFG(f.NH),i.LFG(i.z2F))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const O=[{provide:p._j,useClass:g},{provide:f.NH,useFactory:function(){return new f.Ar}},{provide:f.Th,useClass:k},{provide:i.FYo,useFactory:function(t,e,n){return new w(t,e,n)},deps:[r.se,f.Th,i.R0b]}],M=[{provide:f.Vi,useFactory:()=>new f.DT},{provide:i.QbO,useValue:"BrowserAnimations"},...O];f.Vi,f.nV,i.QbO;var S=n(25797);const A="anchors",P="appearance",E="mention",T="color-picker",I="checkbox",D="custom-tool/color-picker",z="embed/html5",N="embed/iframe",F="embed/youtube",L="focus",R="font",B="groups",j="highlight/code",H="highlight/text",V="images/preview",$="images/resizable",q="images/upload",Z="custom-tool/paste-emoji",U="custom-tool/paste-image",G="processing/cleanup-html",Q="processing/legacy-html",J="processing/markdown",Y="processing/markdown-extension",W="starter-kit",K="toolbar/bottom",X="toolbar/floating",tt=[{section:"Documentation",title:"Starter Kit",route:W,keywords:"editor, setup, starter kit, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Playground",keywords:"reproduce, issue, bug, sandbox, playground, test, stackblitz",route:"stackblitz",target:"_blank"},{section:"Documentation",title:"ColorPicker",route:T,keywords:"цвет, выбор, градиент, gradient, палитра, input, inputcolor"},{section:"Documentation",title:"Font",route:R,keywords:"editor, font, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Anchors",route:A,keywords:"editor, anchors, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Checkbox",route:I,keywords:"editor, checkbox, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Appearance",route:P,keywords:"editor, appearance, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Mention",route:E,keywords:"editor, mention, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Groups",route:B,keywords:"editor, draggable, nested, hilite, groups, wysiwyg, редактор, текст, html, rich, text"},{section:"Documentation",title:"Focus",route:L,keywords:"editor, focus, focusable, wysiwyg, редактор, фокус, html, rich, text"},{section:"Documentation",title:"Custom tool",subPages:[{section:"Documentation",title:"Paste emoji",keywords:"editor, custom, tool, emoji, wysiwyg, редактор, текст, html, rich, text",route:`/${Z}`},{section:"Documentation",title:"Color picker",keywords:"editor, custom color picker, color picker, tool, wysiwyg, редактор, выбрать цвет, html, rich, text",route:`/${D}`},{section:"Documentation",title:"Paste image",keywords:"editor, paste image, tool, wysiwyg, редактор, текст, html, rich, text",route:`/${U}`},{section:"Documentation",title:"Font size tool",keywords:"editor, custom font size tool, tool, wysiwyg, редактор, выбрать размер, html, rich, text",route:`/${R}`,fragment:"custom-size-tool"}]},{section:"Documentation",title:"Highlight",subPages:[{section:"Documentation",title:"Mark text",keywords:"editor, highlight, text, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${H}`},{section:"Documentation",title:"Code block",keywords:"editor, highlight, code, block, pre, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${j}`}]},{section:"Documentation",title:"Processing",subPages:[{section:"Documentation",title:"Legacy html",keywords:"editor, processing, content, legacy html, wysiwyg, редактор, текст, html, rich, text",route:`/${Q}`},{section:"Documentation",title:"Cleanup html",keywords:"editor, processing, content, cleanup html, wysiwyg, редактор, текст, html, rich, text",route:`/${G}`}]},{section:"Documentation",title:"Markdown",subPages:[{section:"Documentation",title:"Extension",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${Y}`},{section:"Documentation",title:"Custom parsing",keywords:"editor, markdown, wysiwyg, редактор, текст, html, rich, text",route:`/${J}`}]},{section:"Documentation",title:"Images",subPages:[{section:"Documentation",title:"Resizable",keywords:"editor, resizable, image, wysiwyg, редактор, текст, html, rich, text",route:`/${$}`},{section:"Documentation",title:"Preview images",keywords:"editor, preview, images, wysiwyg, редактор, текст, html, rich, text",route:`/${V}`},{section:"Documentation",title:"Upload",keywords:"editor, upload, images, wysiwyg, редактор, текст, html, rich, text",route:`/${q}`}]},{section:"Documentation",title:"Embed",subPages:[{section:"Documentation",title:"Youtube",keywords:"editor, embed, video player, audio player, youtube, wysiwyg, редактор, плейер, плеер, ютуб, текст, html, rich, text",route:`/${F}`},{section:"Documentation",title:"Iframe",keywords:"editor, embed, iframe, wysiwyg, редактор, айфрейм, html, rich, text",route:`/${N}`},{section:"Documentation",title:"HTML5",keywords:"editor, embed, video player, audio player, html5, wysiwyg, редактор, плеер, html, rich, text",route:`/${z}`}]},{section:"Documentation",title:"Toolbar",subPages:[{section:"Documentation",title:"Align bottom",keywords:"editor, toolbar, bottom, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${K}`},{section:"Documentation",title:"Floating",keywords:"editor, toolbar, floating, wysiwyg, редактор, текст, подсветка, html, rich, text",route:`/${X}`}]}],et=[(0,l.ws)({path:W,loadComponent:(Et=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3601)]).then(n.bind(n,13601))})),function(){return Et.apply(this,arguments)}),title:"StarterKit"}),(0,l.ws)({path:"stackblitz",loadComponent:(Pt=(0,o.Z)((function*(){return n.e(2966).then(n.bind(n,42966))})),function(){return Pt.apply(this,arguments)}),title:"Stackblitz Starter"}),(0,l.ws)({path:T,loadComponent:(At=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4555)]).then(n.bind(n,94555))})),function(){return At.apply(this,arguments)}),title:"Input color picker"}),(0,l.ws)({path:R,loadComponent:(St=(0,o.Z)((function*(){return n.e(7742).then(n.bind(n,87742))})),function(){return St.apply(this,arguments)}),title:"Font"}),(0,l.ws)({path:A,loadComponent:(Mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3198)]).then(n.bind(n,63198))})),function(){return Mt.apply(this,arguments)}),title:"Anchors"}),(0,l.ws)({path:P,loadComponent:(Ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8687)]).then(n.bind(n,88687))})),function(){return Ot.apply(this,arguments)}),title:"Appearance"}),(0,l.ws)({path:I,loadComponent:(kt=(0,o.Z)((function*(){return n.e(698).then(n.bind(n,40698))})),function(){return kt.apply(this,arguments)}),title:"Checkbox"}),(0,l.ws)({path:E,loadComponent:(Ct=(0,o.Z)((function*(){return n.e(5693).then(n.bind(n,15693))})),function(){return Ct.apply(this,arguments)}),title:"Mention"}),(0,l.ws)({path:L,loadComponent:(xt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3920)]).then(n.bind(n,93920))})),function(){return xt.apply(this,arguments)}),title:"Focus"}),(0,l.ws)({path:B,loadComponent:(wt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1753)]).then(n.bind(n,1753))})),function(){return wt.apply(this,arguments)}),title:"Groups"}),(0,l.ws)({path:"upload-files",loadComponent:(_t=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4623)]).then(n.bind(n,4623))})),function(){return _t.apply(this,arguments)}),title:"Upload files"}),(0,l.ws)({path:Z,loadComponent:(bt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(3587)]).then(n.bind(n,43587))})),function(){return bt.apply(this,arguments)}),title:"Editor — Paste emoji custom tool"}),(0,l.ws)({path:D,loadComponent:(yt=(0,o.Z)((function*(){return n.e(3459).then(n.bind(n,33459))})),function(){return yt.apply(this,arguments)}),title:"Editor — Color picker custom tool"}),(0,l.ws)({path:U,loadComponent:(vt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return vt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:U,loadComponent:(mt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4608)]).then(n.bind(n,54608))})),function(){return mt.apply(this,arguments)}),title:"Editor — Paste image custom tool"}),(0,l.ws)({path:H,loadComponent:(gt=(0,o.Z)((function*(){return n.e(8500).then(n.bind(n,38500))})),function(){return gt.apply(this,arguments)}),title:"Editor — Highlight text"}),(0,l.ws)({path:Q,loadComponent:(ft=(0,o.Z)((function*(){return n.e(8912).then(n.bind(n,8912))})),function(){return ft.apply(this,arguments)}),title:"Editor — Legacy html"}),(0,l.ws)({path:G,loadComponent:(pt=(0,o.Z)((function*(){return n.e(5857).then(n.bind(n,75857))})),function(){return pt.apply(this,arguments)}),title:"Editor — Cleanup html"}),(0,l.ws)({path:J,loadComponent:(dt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8827)]).then(n.bind(n,18827))})),function(){return dt.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:Y,loadComponent:(ht=(0,o.Z)((function*(){return n.e(2638).then(n.bind(n,42638))})),function(){return ht.apply(this,arguments)}),title:"Editor — Markdown"}),(0,l.ws)({path:j,loadComponent:(ut=(0,o.Z)((function*(){return n.e(5811).then(n.bind(n,75811))})),function(){return ut.apply(this,arguments)}),title:"Editor — Highlight code"}),(0,l.ws)({path:$,loadComponent:(ct=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2098)]).then(n.bind(n,22098))})),function(){return ct.apply(this,arguments)}),title:"Editor — Resizable images"}),(0,l.ws)({path:V,loadComponent:(lt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(8931)]).then(n.bind(n,68931))})),function(){return lt.apply(this,arguments)}),title:"Editor — Preview images"}),(0,l.ws)({path:q,loadComponent:(at=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2859)]).then(n.bind(n,82859))})),function(){return at.apply(this,arguments)}),title:"Editor — Upload images"}),(0,l.ws)({path:F,loadComponent:(st=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(5439)]).then(n.bind(n,95439))})),function(){return st.apply(this,arguments)}),title:"Editor — YouTube"}),(0,l.ws)({path:N,loadComponent:(ot=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(4105)]).then(n.bind(n,34105))})),function(){return ot.apply(this,arguments)}),title:"Editor — Iframe"}),(0,l.ws)({path:z,loadComponent:(rt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(1131)]).then(n.bind(n,81131))})),function(){return rt.apply(this,arguments)}),title:"Editor — HTML5"}),(0,l.ws)({path:K,loadComponent:(it=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(999)]).then(n.bind(n,40999))})),function(){return it.apply(this,arguments)}),title:"Editor — Toolbar"}),(0,l.ws)({path:X,loadComponent:(nt=(0,o.Z)((function*(){return Promise.all([n.e(6635),n.e(2119)]).then(n.bind(n,22119))})),function(){return nt.apply(this,arguments)}),title:"Editor — Toolbar"}),{path:"**",redirectTo:W}];var nt,it,rt,ot,st,at,lt,ct,ut,ht,dt,pt,ft,gt,mt,vt,yt,bt,_t,wt,xt,Ct,kt,Ot,Mt,St,At,Pt,Et,Tt=n(68704),It=n(25690);let Dt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["logo"]],standalone:!0,features:[i.jDz],decls:3,vars:0,consts:[["routerLink","/","tuiLink","",1,"logo-link"],[1,"logo-name"],["icon","assets/icons/logo.svg",1,"logo-icon"]],template:function(t,e){1&t&&(i.TgZ(0,"a",0)(1,"span",1),i._UZ(2,"tui-icon",2),i.qZA()())},dependencies:[s.rH,Tt.lI3,Tt.RJr],styles:['[_nghost-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%] tui-root._mobile[_nghost-%COMP%], tui-root._mobile [_nghost-%COMP%]{font-size:0}.logo-link[_ngcontent-%COMP%]{display:flex}.logo-name[_ngcontent-%COMP%]{display:flex;color:var(--tui-text-primary)}.logo-icon[_ngcontent-%COMP%]{min-width:180px;min-height:30px;color:#eb5a3d}.logo-icon[tuiTheme="dark"][_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .logo-icon[_ngcontent-%COMP%]{color:#fff}.logo[_ngcontent-%COMP%]{margin-right:.625rem}.by[_ngcontent-%COMP%]{margin-left:.875rem}tui-root._mobile[_nghost-%COMP%] .by[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .by[_ngcontent-%COMP%]{display:none}'],changeDetection:0}),e})();const zt=new It.Al(Dt),Nt={providers:[[...M],(0,s.bU)(et,(0,s.ZU)({scrollPositionRestoration:"enabled",anchorScrolling:"enabled"})),S.J0,{provide:d.S$,useClass:d.b0},{provide:l.Yx,useValue:"Editor | "},{provide:l.Or,useValue:zt},{provide:l.AC,useValue:["Description and examples","API"]},{provide:l.V5,useValue:tt},{provide:l.yO,useValue:t=>{const e="https://github.com/taiga-family/editor/tree/main/libs";return t.path?`${e}/${t.path}`:t.package&&"kit"===t.package.toLowerCase()?`${e}/${t.package.toLowerCase()}/src/lib/editor/${(t.header[0].toLowerCase()+t.header.slice(1)).replaceAll(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}`:null}}]};(0,i.G48)(),(0,r.Cg)(h,Nt).catch((t=>console.error(t)))},63613:(t,e,n)=>{n.d(e,{D_:()=>q,lh:()=>W,oI:()=>Ct,cJ:()=>xe,b7:()=>Lt,Cv:()=>an,Ei:()=>Ie,og:()=>Si,t9:()=>hi,xR:()=>Zi,Cn:()=>Di,NC:()=>Ot,fz:()=>Ut});var i=n(76733),r=n(20755);class o{constructor(t,e){this._document=e;const n=this._textarea=this._document.createElement("textarea"),i=n.style;i.position="fixed",i.top=i.opacity="0",i.left="-999em",n.setAttribute("aria-hidden","true"),n.value=t,n.readOnly=!0,(this._document.fullscreenElement||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{}return e}destroy(){const t=this._textarea;t&&(t.remove(),this._textarea=void 0)}}let s=(()=>{var t;class e{constructor(t){this._document=t}copy(t){const e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new o(t,this._document)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const a=new r.OlP("CDK_COPY_TO_CLIPBOARD_CONFIG");let l=(()=>{var t;class e{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 i=()=>{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(i,1)))};i()}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=e).ɵfac=function(e){return new(e||t)(r.Y36(s),r.Y36(r.R0b),r.Y36(a,8))},t.ɵdir=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"}}),e})(),c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({}),e})();var u=n(32101),h=n(36541),d=n(11679),p=n(56424),f=n(55333),g=n(21813),m=n(84787),v=n(31570),y=n(30453),b=n(17560),_=n(51960),w=n(87493),x=n(92425),C=n(3489),k=n(80054),O=n(902);const M={schedule(t){let e=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:i}=M;i&&(e=i.requestAnimationFrame,n=i.cancelAnimationFrame);const r=e((e=>{n=void 0,t(e)}));return new O.w0((()=>null==n?void 0:n(r)))},requestAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.requestAnimationFrame)||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:e}=M;return((null==e?void 0:e.cancelAnimationFrame)||cancelAnimationFrame)(...t)},delegate:void 0};class S extends k.o{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t._scheduled||(t._scheduled=M.requestAnimationFrame((()=>t.flush(void 0)))))}recycleAsyncId(t,e,n=0){if(null!=n&&n>0||null==n&&this.delay>0)return super.recycleAsyncId(t,e,n);t.actions.some((t=>t.id===e))||(M.cancelAnimationFrame(e),t._scheduled=void 0)}}var A=n(65804);class P extends A.v{flush(t){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let i;t=t||n.shift();do{if(i=t.execute(t.state,t.delay))break}while((t=n[0])&&t.id===e&&n.shift());if(this._active=!1,i){for(;(t=n[0])&&t.id===e&&n.shift();)t.unsubscribe();throw i}}}const E=new P(S);var T=n(43232);const I=new r.OlP("HIGHLIGHT_OPTIONS");let D,z=(()=>{var t;class e{constructor(t,e,n){this.doc=t,this.platformId=e,this._options=n,this._ready=new p.X(null),this.ready=this._ready.asObservable().pipe((0,f.h)((t=>!!t)),(0,g.q)(1)),(0,i.NF)(e)&&(t.defaultView.hljs?this._ready.next(t.defaultView.hljs):(this._loadLibrary().pipe((0,m.w)((e=>this._options&&this._options.lineNumbersLoader?(t.defaultView.hljs=e,this.loadLineNumbers().pipe((0,v.b)((t=>{t.activateLineNumbers(),this._ready.next(e)})))):(this._ready.next(e),y.E))),(0,b.K)((t=>(console.error("[HLJS] ",t),y.E)))).subscribe(),this._options?.themePath&&this.loadTheme(this._options.themePath)))}_loadLibrary(){if(this._options){if(this._options.fullLibraryLoader&&this._options.coreLibraryLoader)return(0,_._)((()=>"The full library and the core library were imported, only one of them should be imported!"));if(this._options.fullLibraryLoader&&this._options.languages)return(0,_._)((()=>"The highlighting languages were imported they are not needed!"));if(this._options.coreLibraryLoader&&!this._options.languages)return(0,_._)((()=>"The highlighting languages were not imported!"));if(!this._options.coreLibraryLoader&&this._options.languages)return(0,_._)((()=>"The core library was not imported!"));if(this._options.fullLibraryLoader)return this.loadFullLibrary();if(this._options.coreLibraryLoader&&this._options.languages&&Object.keys(this._options.languages).length)return this.loadCoreLibrary().pipe((0,m.w)((t=>this._loadLanguages(t))))}return(0,_._)((()=>"Highlight.js library was not imported!"))}_loadLanguages(t){const e=Object.entries(this._options.languages).map((([e,n])=>N(n()).pipe((0,v.b)((n=>t.registerLanguage(e,n))))));return(0,w.$)(...e).pipe((0,x.U)((()=>t)))}loadCoreLibrary(){return N(this._options.coreLibraryLoader())}loadFullLibrary(){return N(this._options.fullLibraryLoader())}loadLineNumbers(){return(0,C.D)(this._options.lineNumbersLoader())}setTheme(t){(0,i.NF)(this.platformId)&&(this._themeLinkElement?this._themeLinkElement.href=t:this.loadTheme(t))}loadTheme(t){this._themeLinkElement=this.doc.createElement("link"),this._themeLinkElement.href=t,this._themeLinkElement.type="text/css",this._themeLinkElement.rel="stylesheet",this._themeLinkElement.media="screen,print",this.doc.head.appendChild(this._themeLinkElement)}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(i.K0),r.LFG(r.Lbi),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const N=t=>(0,C.D)(t).pipe((0,f.h)((t=>!!t?.default)),(0,x.U)((t=>t.default)));let F=(()=>{var t;class e{get hljs(){return this._hljs}constructor(t,e){this._loader=t,this._hljs=null,t.ready.subscribe((t=>{this._hljs=t,e&&e.config&&(t.configure(e.config),t.listLanguages().length<1&&console.error("[HighlightJS]: No languages were registered!"))}))}highlight(t,{language:e,ignoreIllegals:n}){return this._loader.ready.pipe((0,x.U)((i=>i.highlight(t,{language:e,ignoreIllegals:n}))))}highlightAuto(t,e){return this._loader.ready.pipe((0,x.U)((n=>n.highlightAuto(t,e))))}highlightElement(t){return this._loader.ready.pipe((0,x.U)((e=>e.highlightElement(t))))}highlightAll(){return this._loader.ready.pipe((0,x.U)((t=>t.highlightAll())))}configure(t){return this._loader.ready.pipe((0,x.U)((e=>e.configure(t))))}registerLanguage(t,e){return this._loader.ready.pipe((0,v.b)((n=>n.registerLanguage(t,e))))}unregisterLanguage(t){return this._loader.ready.pipe((0,v.b)((e=>e.unregisterLanguage(t))))}registerAliases(t,{languageName:e}){return this._loader.ready.pipe((0,v.b)((n=>n.registerAliases(t,{languageName:e}))))}listLanguages(){return this._loader.ready.pipe((0,x.U)((t=>t.listLanguages())))}getLanguage(t){return this._loader.ready.pipe((0,x.U)((e=>e.getLanguage(t))))}safeMode(){return this._loader.ready.pipe((0,x.U)((t=>t.safeMode())))}debugMode(){return this._loader.ready.pipe((0,x.U)((t=>t.debugMode())))}lineNumbersBlock(t){return this._loader.ready.pipe((0,f.h)((t=>!!t.lineNumbersBlock)),(0,v.b)((e=>e.lineNumbersBlock(t))))}}return(t=e).ɵfac=function(e){return new(e||t)(r.LFG(z),r.LFG(I,8))},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),L=(()=>{var t;class e{constructor(t,e,n,i,o){this._hljs=e,this._sanitizer=n,this.platformId=i,this._options=o,this.highlighted=new r.vpe,this._nativeElement=t.nativeElement}ngOnChanges(t){(0,i.NF)(this.platformId)&&null!==t?.code?.currentValue&&t.code.currentValue!==t.code.previousValue&&(this.code?this.highlightElement(this.code,this.languages):this.setTextContent(""))}highlightElement(t,e){this.setTextContent(t),this._hljs.highlightAuto(t,e).subscribe((t=>{this.setInnerHTML(t?.value),this.lineNumbers&&this._options&&this._options.lineNumbersLoader&&this.addLineNumbers(),this.highlighted.emit(t)}))}addLineNumbers(){this.destroyLineNumbersObserver(),E.schedule((()=>{this._hljs.lineNumbersBlock(this._nativeElement).subscribe(),this._lineNumbersObs=new MutationObserver((()=>{this._nativeElement.firstElementChild&&"TABLE"===this._nativeElement.firstElementChild.tagName.toUpperCase()&&this._nativeElement.classList.add("hljs-line-numbers"),this.destroyLineNumbersObserver()})),this._lineNumbersObs.observe(this._nativeElement,{childList:!0})}))}destroyLineNumbersObserver(){this._lineNumbersObs&&(this._lineNumbersObs.disconnect(),this._lineNumbersObs=null)}setTextContent(t){E.schedule((()=>this._nativeElement.textContent=t))}setInnerHTML(t){E.schedule((()=>{return this._nativeElement.innerHTML=(e=this._sanitizer.sanitize(r.q3G.HTML,t)||"",function(){if(!D)try{D=window?.trustedTypes?.createPolicy("ngx-highlightjs",{createHTML:t=>t})}catch{}return D}()?.createHTML(e)||e);var e}))}}return(t=e).ɵfac=function(e){return new(e||t)(r.Y36(r.SBq),r.Y36(F),r.Y36(T.H7),r.Y36(r.Lbi),r.Y36(I,8))},t.ɵdir=r.lG2({type:t,selectors:[["","highlight",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("hljs",!0)},inputs:{code:["highlight","code"],languages:"languages",lineNumbers:"lineNumbers"},outputs:{highlighted:"highlighted"},standalone:!0,features:[r.TTD]}),e})();var R=n(78748),B=n(1925),j=n(73843);function H(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 V(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",3),r._uU(1," "),r._UZ(2,"code",4),r._uU(3,"\n "),r.TgZ(4,"div",5),r._uU(5,"\n "),r.TgZ(6,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.copy$.next())})),r.ALo(7,"async"),r._uU(8,"\n "),r.qZA(),r._uU(9,"\n "),r.Hsn(10),r._uU(11,"\n "),r.qZA(),r._uU(12,"\n"),r.qZA()}if(2&t){const t=e.$implicit,n=r.oxw();r.xp6(2),r.Q6J("lineNumbers",!0)("highlight",t),r.xp6(4),r.Q6J("iconLeft",r.lcZ(7,4,n.icon$)||"@tui.copy")("cdkCopyToClipboard",t)}}const $=["*"];let q=(()=>{var t;class e{constructor(){this.rawLoader$$=new p.X(""),this.markdownCodeProcessor=(0,r.f3M)(u.Es),this.copy$=new R.x,this.icon$=this.copy$.pipe((0,m.w)((()=>(0,B.H)(2e3).pipe((0,x.U)((()=>"@tui.copy")),(0,j.O)("@tui.check"))))),this.processor$=this.rawLoader$$.pipe((0,m.w)(h.JQ),(0,x.U)((t=>this.markdownCodeProcessor(t)))),this.filename=""}set code(t){this.rawLoader$$.next(t)}get hasFilename(){return!!this.filename}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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"},standalone:!0,features:[r.jDz],ngContentSelectors:$,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"],[1,"t-code-actions"],["tuiIconButton","","appearance","icon","size","xs",1,"t-copy-button",3,"iconLeft","cdkCopyToClipboard","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,H,2,1,"p",0),r.YNc(1,V,13,6,"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$)))},dependencies:[i.O5,i.Ov,i.sg,L,d.xG,c,l],styles:["[_nghost-%COMP%]{display:block}.t-header[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}.t-header[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{border-radius:.25rem}.t-code[_ngcontent-%COMP%]{position:relative;margin:0;white-space:normal;outline:1px solid var(--tui-border-normal)}.t-code[_ngcontent-%COMP%] .hljs-ln{width:-webkit-max-content;width:max-content}.t-code[_ngcontent-%COMP%] + .t-code[_ngcontent-%COMP%]{margin-top:1rem}.t-code-actions[_ngcontent-%COMP%]{position:absolute;top:.75rem;right:.75rem;display:flex;justify-content:center;align-items:center;flex-direction:row-reverse}tui-root._mobile[_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-code-actions[_ngcontent-%COMP%]{padding:.3125rem;border-radius:.25rem;border:1px solid var(--tui-border-normal)}.t-copy-button[_ngcontent-%COMP%] +*:not(:empty){margin-right:.375rem}.hljs[_ngcontent-%COMP%]:not(:empty){font:var(--tui-font-text-m);font-size:.875rem;padding:1.5rem 2rem;font-family:monospace;word-wrap:break-word;white-space:pre-wrap}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar{background-color:transparent}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.hljs[_ngcontent-%COMP%]:not(:empty)::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty), tui-root._mobile [_nghost-%COMP%] .hljs[_ngcontent-%COMP%]:not(:empty){padding:1rem}.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:var(--tui-background-base)}@supports (background: color-mix(in srgb,var(--tui-background-base),#222 2%)){.t-code-actions[_ngcontent-%COMP%], .hljs[_ngcontent-%COMP%]:not(:empty){background:color-mix(in srgb,var(--tui-background-base),#222 2%)}}"],changeDetection:0}),e})();var Z,U=n(84911),G=n(11892),Q=n(73740),J=n(11637);function Y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.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()()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-content_moved",r.lcZ(2,4,n.copied$)),r.xp6(2),r.uIk("data-text",t[0]),r.xp6(2),r.hij(" ",t[1]," ")}}class W{constructor(){this.copy$=new R.x,this.texts$=(0,r.f3M)(J.UV)}get copied$(){return this.copy$.pipe((0,m.w)((()=>(0,B.H)(1500).pipe((0,x.U)(G.tD),(0,j.O)(!0)))))}onClick(){this.copy$.next()}}(Z=W).ɵfac=function(t){return new(t||Z)},Z.ɵcmp=r.Xpm({type:Z,selectors:[["tui-doc-copy"]],standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:3,consts:[["appearance","","size","s","tuiButton","","type","button","class","t-copy",3,"click",4,"ngIf"],["appearance","","size","s","tuiButton","","type","button",1,"t-copy",3,"click"],[1,"t-content"],[1,"t-initial"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Y,6,6,"button",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.texts$))},dependencies:[i.O5,i.Ov,d.xG],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;vertical-align:middle;border-radius:var(--tui-radius-m)}.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-primary);background:var(--tui-background-base);overflow:hidden}.t-copy[_ngcontent-%COMP%]:hover{background:var(--tui-background-base-alt)}.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,U.gn)([Q.UM],W.prototype,"copied$",null);var K,X=n(43226),tt=n(99222),et=n(25693),nt=n(66266),it=n(55181),rt=n(58373),ot=n(44501),st=n(92840),at=n(3223),lt=n(83368),ct=n(71641),ut=n(93745),ht=n(26505),dt=n(61122),pt=n(19975),ft=n(67917),gt=n(62515);const mt=["content"],vt=["resizer"];function yt(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",22),2&t){const t=r.oxw(3);r.Q6J("items",t.updateOnVariants)}}const bt=function(){return{standalone:!0}};function _t(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"pre",16),r._uU(1),r.ALo(2,"json"),r.qZA(),r.TgZ(3,"div",17)(4,"tui-select",18),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.updateOnChange(e))})),r._uU(5," updateOn "),r.YNc(6,yt,1,1,"tui-data-list-wrapper",19),r.qZA(),r.TgZ(7,"button",20),r._uU(8," Reset "),r.qZA(),r.TgZ(9,"button",21),r._uU(10," Submit "),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,bt))}}function wt(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"form",10)(1,"div",11),r.GkF(2,12),r.qZA(),r.TgZ(3,"button",13),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.toggleDetails())})),r._uU(4),r.qZA(),r.TgZ(5,"tui-expand",14),r.YNc(6,_t,11,6,"ng-template",15),r.qZA()()}if(2&t){const t=r.oxw();r.Q6J("formGroup",t.testForm),r.xp6(2),r.Q6J("ngTemplateOutlet",t.template),r.xp6(1),r.Q6J("tuiChevron",t.expanded),r.xp6(1),r.hij(" ",t.texts[2]," "),r.xp6(1),r.Q6J("expanded",t.expanded)}}const xt=function(){return[1,0]};class Ct{constructor(){var t;this.el=(0,it.AG)(),this.locationRef=(0,r.f3M)(i.Ye),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.template=null,this.dark=(0,h.cd)(this.params.darkMode??(0,r.f3M)(et.QN).value),this.updateOnVariants=["change","blur","submit"],this.updateOn=this.params.updateOn||this.updateOnVariants[0],this.opaque=(0,h.cd)(this.params.sandboxOpaque??!0),this.expanded=(0,h.cd)(this.params.sandboxExpanded??!1),this.sandboxWidth=(t=this.params.sandboxWidth,parseInt(t,10)),this.texts=(0,r.f3M)(u.ru),this.control=null,this.sticky=!0}ngOnInit(){this.createForm(),this.updateWidth(this.sandboxWidth+this.delta)}onResize(){this.updateWidth(),this.onMouseUp()}onMouseUp(){this.updateUrl({sandboxWidth:this.sandboxWidth})}onModeChange(t){this.dark=t,this.updateUrl({sandboxWidth:this.sandboxWidth,darkMode:this.dark})}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.resizable||!this.content)return;const e=t||this.resizable.nativeElement.clientWidth,n=this.el.clientWidth,i=Math.round((0,rt.K)(e,160,n))-this.delta,r=e *[_ngcontent-%COMP%]{pointer-events:auto}.t-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.t-wrapper[_ngcontent-%COMP%]{box-shadow:var(--tui-shadow-medium);display:flex;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);max-width:100%;min-height:6rem;width:100%;min-width:10rem;color:var(--tui-text-primary);background-color:var(--tui-background-base);overflow:hidden;pointer-events:auto}.t-wrapper.t-wrapper_transparent[_ngcontent-%COMP%]{background-image:linear-gradient(45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(-45deg,var(--tui-background-base-alt) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,var(--tui-background-base-alt) 75%),linear-gradient(-45deg,transparent 75%,var(--tui-background-base-alt) 75%);background-size:1.25rem 1.25rem;background-position:0 0,0 .625rem,.625rem -.625rem,-.625rem 0}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-value[_ngcontent-%COMP%]{flex:1;background:var(--tui-background-neutral-1);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:var(--tui-shadow-medium);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-border-normal);outline:none;background:var(--tui-background-base);color:var(--tui-text-primary)}.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-border-normal);box-shadow:-.25rem 0 var(--tui-border-normal);transform:translateZ(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-background-base)}.wrapper_light[_ngcontent-%COMP%] .t-resizer-text[_ngcontent-%COMP%]{background:#3e464e}.t-group[_ngcontent-%COMP%], .t-checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:.75rem}.t-button[_ngcontent-%COMP%], .t-form-controls[_ngcontent-%COMP%]{margin-top:.75rem}@supports (position: sticky){@media screen and (min-height: 37.5rem){._sticky[_nghost-%COMP%]{position:sticky;top:4.625rem;z-index:2}}}'],changeDetection:0}),(0,U.gn)([Q.UM],Ct.prototype,"updateUrl",null);const kt=["*"];let Ot=(()=>{var t;class e{constructor(){this.src=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-tab"]],inputs:{src:"src"},standalone:!0,features:[r.jDz],ngContentSelectors:kt,decls:3,vars:1,consts:[[1,"t-tab"],["alt","Documentation tab icon",1,"t-icon",3,"src"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"div",0),r._UZ(1,"img",1),r.Hsn(2),r.qZA()),2&t&&(r.xp6(1),r.Q6J("src",e.src,r.LSH))},styles:[".t-tab[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:0 .5rem;gap:.5rem;color:var(--tui-text-primary)}.t-tab[_ngcontent-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1rem}"],changeDetection:0}),e})();var Mt=n(12405),St=n(62022),At=n(65026);let Pt=(()=>{var t;class e{transform(t,e,...n){return t.filter((t=>e(t,...n)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiFilter",type:t,pure:!0,standalone:!0}),e})(),Et=(()=>{var t;class e{transform(t){return Array.from(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiToArray",type:t,pure:!0,standalone:!0}),e})();var Tt=n(50109),It=n(94030),Dt=n(44713),zt=n(59679),Nt=n(45047),Ft=n(75097);let Lt=(()=>{var t;class e{constructor(){this.locationRef=(0,r.f3M)(i.Ye),this.activatedRoute=(0,r.f3M)(tt.gz),this.urlSerializer=(0,r.f3M)(tt.Hx),this.urlStateHandler=(0,r.f3M)(u.Ii),this.alerts=(0,r.f3M)(Ft.J9),this.documentationPropertyName="",this.documentationPropertyMode=null,this.documentationPropertyType="",this.documentationPropertyDeprecated=!1,this.documentationPropertyValues=null,this.documentationPropertyValueChange=new r.vpe,this.changed$=new R.x,this.emits$=new p.X(1),this.template=(0,r.f3M)(r.Rgc)}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 shouldShowValues(){return"output"!==this.documentationPropertyMode}get hasItems(){return!!this.documentationPropertyValues}ngOnInit(){this.parseParams(this.activatedRoute.snapshot.queryParams)}ngOnChanges(){this.changed$.next()}onValueChange(t){this.documentationPropertyValue=t,this.documentationPropertyValueChange.emit(t),this.setQueryParam(t)}emitEvent(t){let e;console.info(this.attrName,t),this.emits$.next(this.emits$.value+1),void 0!==t&&(e=(0,h.sj)(t,2)),this.alerts.open(e,{label:this.attrName}).subscribe()}parseParams(t){const e=t[this.documentationPropertyName],n=t[`${this.documentationPropertyName}$`];if(!e&&!n)return;let i=n&&this.documentationPropertyValues?this.documentationPropertyValues[n]:(0,h.p8)(e);"string"===this.documentationPropertyType&&(0,Q.dt)(i)&&(i=i.toString()),this.onValueChange(i)}setQueryParam(t){const e=this.urlSerializer.parse(this.locationRef.path()),n=t instanceof Object,i=n&&this.documentationPropertyValues?this.documentationPropertyValues.indexOf(t):t,r=n?"$":"",o=this.documentationPropertyName+r;e.queryParams={...e.queryParams,[o]:i},this.locationRef.go(this.urlStateHandler(e))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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"],standalone:!0,features:[r.TTD]}),e})(),Rt=(()=>{var t;class e{transform(t){return t.includes("null")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiShowCleanerPipe",type:t,pure:!0,standalone:!0}),e})();var Bt=n(79611);let jt=(()=>{var t;class e{transform(t){if(4===t.length)return t.split("").reduce(((t,e)=>[...t,e,e]),[]).join("").replace("#","");if(t.startsWith("#"))return t;if("transparent"===t)return"#000000";const e=t.replace("rgb(","").replace("rgba(","").replace(")","").replace(" ","").split(",").map((t=>Number.parseInt(t,10)));return(0,Bt.W)(...e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetColorPipe",type:t,pure:!0,standalone:!0}),e})();var Ht=n(86253);let Vt=(()=>{var t;class e{constructor(){this.isE2E=(0,r.f3M)(Ht.oD)}transform(t,e=2){return this.isE2E&&"function"==typeof t?"λ(x) => y":(0,h.sj)(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiInspectAny",type:t,pure:!0,standalone:!0}),e})(),$t=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiGetOpacity",type:t,pure:!0,standalone:!0}),e})(),qt=(()=>{var t;class e{transform(t){return t.includes("?")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiIsOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Zt=(()=>{var t;class e{transform(t){return t.replace("?","")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiStripOptionalPipe",type:t,pure:!0,standalone:!0}),e})(),Ut=(()=>{var t;class e{constructor(){this.parser=(0,r.f3M)(u.B$),this.linkHandler=(0,r.f3M)(u.x9)}transform(t){return this.parser(t).map((({type:t,extracted:e})=>({type:t,extracted:e,reference:this.linkHandler?.(e)??null}))).sort(((t,e)=>e.reference?.localeCompare(t.reference??"")??-1))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocTypeReference",type:t,pure:!0,standalone:!0}),e})();var Gt=n(60598),Qt=n(2239),Jt=n(98015),Yt=n(16737),Wt=n(70388),Kt=n(97017);function Xt(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 te(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 ee(t,e){if(1&t&&(r.TgZ(0,"code",22),r._uU(1),r.ALo(2,"tuiStripOptionalPipe"),r.qZA()),2&t){const t=r.oxw().$implicit;r.Udp("color","var(--tui-background-accent-2-pressed)"),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.attrName)," ")}}function ne(t,e){1&t&&(r.TgZ(0,"tui-badge",23),r._uU(1," Optional "),r.qZA())}function ie(t,e){1&t&&(r.TgZ(0,"tui-badge",24),r._uU(1," Deprecated "),r.qZA())}function re(t,e){if(1&t&&(r.TgZ(0,"a",27),r._uU(1),r.qZA()),2&t){const t=r.oxw().$implicit;r.uIk("href",t.reference,r.LSH),r.xp6(1),r.hij(" ",t.type," ")}}function oe(t,e){if(1&t&&r._uU(0),2&t){const t=r.oxw().$implicit;r.hij(" ",t.type," ")}}function se(t,e){1&t&&(r.TgZ(0,"span"),r._uU(1," | "),r.qZA())}function ae(t,e){if(1&t&&(r.ynx(0),r.YNc(1,re,2,2,"a",25),r.YNc(2,oe,1,1,"ng-template",null,26,r.W1O),r.YNc(4,se,2,0,"span",1),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.reference)("ngIfElse",i),r.xp6(3),r.Q6J("ngIf",!n)}}function le(t,e){if(1&t&&r._UZ(0,"tui-data-list-wrapper",37),2&t){r.oxw(2);const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("itemContent",t)("items",e.documentationPropertyValues)}}function ce(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-select",34),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(3).$implicit;return r.KtG(n.onValueChange(e))})),r.ALo(1,"tuiShowCleanerPipe"),r.TgZ(2,"code",35),r._uU(3,"null"),r.qZA(),r.YNc(4,le,1,2,"tui-data-list-wrapper",36),r.qZA()}if(2&t){r.oxw();const t=r.MAs(3),e=r.oxw(2).$implicit;r.Q6J("nativeId",e.attrName)("ngModel",e.documentationPropertyValue)("tuiTextfieldCleaner",r.lcZ(1,5,e.documentationPropertyType))("tuiTextfieldLabelOutside",!0)("valueContent",t)}}function ue(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 he(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"input",42),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue)("showIcons",!0)}}function de(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-textfield",43)(1,"input",44),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e))})),r.qZA()()}if(2&t){const t=r.oxw(4).$implicit;r.xp6(1),r.Q6J("id",t.attrName)("ngModel",t.documentationPropertyValue||"")}}function pe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-input-number",45),r.NdJ("ngModelChange",(function(e){r.CHM(t);const n=r.oxw(4).$implicit;return r.KtG(n.onValueChange(e||0))})),r.qZA()}if(2&t){const t=r.oxw(4).$implicit;r.Q6J("nativeId",t.attrName)("ngModel",t.documentationPropertyValue)("step",1)("tuiTextfieldLabelOutside",!0)}}function fe(t,e){if(1&t&&(r.ynx(0,38),r.YNc(1,he,1,3,"input",39),r.YNc(2,de,2,2,"tui-textfield",40),r.YNc(3,pe,1,4,"tui-input-number",41),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","number")}}function ge(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ce,5,7,"tui-select",31),r.YNc(2,ue,3,3,"ng-template",null,32,r.W1O),r.YNc(4,fe,4,4,"ng-template",null,33,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 me(t,e){if(1&t&&(r.TgZ(0,"tui-notification",46),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 ve(t,e){if(1&t&&(r.TgZ(0,"td",28),r.YNc(1,ge,6,2,"ng-container",29),r.YNc(2,me,3,3,"ng-template",null,30,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 ye(t,e){if(1&t&&(r.TgZ(0,"tr",11)(1,"td",12)(2,"div",13),r.YNc(3,ee,3,5,"code",14),r.YNc(4,ne,2,0,"tui-badge",15),r.ALo(5,"tuiIsOptionalPipe"),r.YNc(6,ie,2,0,"tui-badge",16),r.qZA(),r.GkF(7,17),r.qZA(),r.TgZ(8,"td",12)(9,"span",18)(10,"code",19),r.YNc(11,ae,5,3,"ng-container",20),r.ALo(12,"tuiDocTypeReference"),r.qZA()()(),r.YNc(13,ve,4,2,"td",21),r.qZA()),2&t){const t=e.$implicit,n=r.oxw(3);r.ekj("t-deprecated",t.documentationPropertyDeprecated),r.xp6(3),r.Q6J("ngIf",t.attrName),r.xp6(1),r.Q6J("ngIf",r.lcZ(5,8,t.attrName)),r.xp6(2),r.Q6J("ngIf",t.documentationPropertyDeprecated),r.xp6(1),r.Q6J("ngTemplateOutlet",t.template),r.xp6(4),r.Q6J("ngForOf",r.lcZ(12,10,t.documentationPropertyType)),r.xp6(2),r.Q6J("ngIf",n.showValues)}}function be(t,e){if(1&t&&(r.TgZ(0,"table",4)(1,"tr",5)(2,"th",6),r._uU(3),r.qZA(),r.TgZ(4,"th",7),r._uU(5),r.qZA(),r.YNc(6,te,2,1,"th",8),r.qZA(),r.YNc(7,ye,14,12,"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 _e(t,e){if(1&t&&(r.ynx(0),r.YNc(1,be,8,4,"table",3),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length)}}const we=["*"];let xe=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.getColor=(0,r.f3M)(jt),this.getOpacity=(0,r.f3M)($t),this.propertiesConnectors=G.Mm,this.texts=(0,r.f3M)(u.IK),this.excludedProperties=(0,r.f3M)(u.et),this.activeItemIndex=0,this.heading="",this.showValues=!0,this.isAPI=!1,this.matcher=(t,e)=>!e.has(t.documentationPropertyName)}ngAfterContentInit(){(0,At.ll)(this.propertiesConnectors).pipe((0,m.w)((t=>(0,Nt.T)(...t.map((({changed$:t})=>t))))),(0,At.NA)(this.cdr),(0,St.sL)(this.destroyRef)).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 i=`rgba(${(0,Tt.R)(e).join(", ")}, ${n/100})`;t.onValueChange(i)}onOpacityChange(t,e){const n=this.getColor.transform(t.documentationPropertyValue||""),i=`rgba(${(0,Tt.R)(n)}, ${(e||0)/100})`;t.onValueChange(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-documentation"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Lt,4),2&t){let t;r.iGM(t=r.CRH())&&(e.propertiesConnectors=t)}},inputs:{heading:"heading",showValues:"showValues",isAPI:"isAPI"},standalone:!0,features:[r._Bn([jt,$t]),r.jDz],ngContentSelectors:we,decls:5,vars:8,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","t-additional-info"],["class","t-property-code",3,"color",4,"ngIf"],["appearance","neutral","size","s",4,"ngIf"],["appearance","error","size","s",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"type"],[1,"t-code-type"],[4,"ngFor","ngForOf"],["class","t-cell t-cell_value",4,"ngIf"],[1,"t-property-code"],["appearance","neutral","size","s"],["appearance","error","size","s"],["target","_blank","class","t-code-reference",4,"ngIf","ngIfElse"],["default",""],["target","_blank",1,"t-code-reference"],[1,"t-cell","t-cell_value"],[4,"ngIf","ngIfElse"],["elseEmitter",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange",4,"ngIf","ngIfElse"],["selectContent",""],["noItems",""],["tuiDropdownLimitWidth","min","tuiTextfieldSize","m",3,"nativeId","ngModel","tuiTextfieldCleaner","tuiTextfieldLabelOutside","valueContent","ngModelChange"],[1,"t-exception"],[3,"itemContent","items",4,"tuiDataList"],[3,"itemContent","items"],[3,"ngSwitch"],["tuiSwitch","","type","checkbox","class","t-switch",3,"id","ngModel","showIcons","ngModelChange",4,"ngSwitchCase"],["tuiTextfieldSize","m",4,"ngSwitchCase"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange",4,"ngSwitchCase"],["tuiSwitch","","type","checkbox",1,"t-switch",3,"id","ngModel","showIcons","ngModelChange"],["tuiTextfieldSize","m"],["tuiTextfield","",3,"id","ngModel","ngModelChange"],["tuiTextfieldSize","m",3,"nativeId","ngModel","step","tuiTextfieldLabelOutside","ngModelChange"],[1,"t-output"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Xt,2,1,"h1",0),r.Hsn(1),r.YNc(2,_e,2,1,"ng-container",1),r.ALo(3,"tuiFilter"),r.ALo(4,"tuiToArray")),2&t&&(r.Q6J("ngIf",e.heading),r.xp6(2),r.Q6J("ngIf",r.Dn7(3,2,r.lcZ(4,6,e.propertiesConnectors),e.matcher,e.excludedProperties)))},dependencies:[i.O5,Pt,i.sg,Zt,qt,Dt.Cb,i.tP,Ut,lt.Jy,ht.u,dt.O,Gt.Ek,pt.g,ft.e,X.u5,X.Fj,X.Wl,X.JJ,X.On,Rt,Vt,i.RF,i.n9,st.AE,Qt.MB,Qt.bf,Qt.qm,zt._H,Jt.q,Yt.g,It.tK,i.Ov,Et,ct.cn,Wt.b,Kt.x,gt.s],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-border-normal)}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-secondary);font-weight:400;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%] .t-property-code[_ngcontent-%COMP%]{text-decoration:line-through}.t-deprecated-label[_ngcontent-%COMP%]{margin-right:.125rem;color:var(--tui-status-negative);font-size:.75rem}.t-additional-info[_ngcontent-%COMP%]{display:flex;gap:.3125rem;align-items:center}.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)}.t-code-type[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start}.t-code-reference[_ngcontent-%COMP%]{display:inline-flex;color:var(--tui-text-action);text-decoration:none;align-items:center;justify-content:center;gap:3px}.t-code-reference[_ngcontent-%COMP%]:after{content:"";font-size:1rem;width:1rem;height:1rem;background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%}.t-switch[_ngcontent-%COMP%]{display:block}'],data:{animation:[(0,Mt.X$)("emitEvent",[(0,Mt.eR)(":increment",[(0,Mt.oB)({opacity:1}),(0,Mt.jt)("500ms ease-in")])])]},changeDetection:0}),e})();var Ce=n(42772),ke=n(86198),Oe=n(32097),Me=n(25690),Se=n(35484),Ae=n(69401),Pe=n(81059);const Ee={codeEditorVisibilityHandler:t=>Boolean(t[Pe.N.TS]&&t[Pe.N.HTML]),tabTitles:new Map,fullsize:!0,linkIcon:"@tui.link"},Te=(0,Q.JN)(Ee);let Ie=(()=>{var t;class e{transform(t,e){return[e,...Object.keys(t).filter((e=>t[e]))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiDocExampleGetTabs",type:t,pure:!0,standalone:!0}),e})();var De=n(62417),ze=n(2115);function Ne(t,e){if(1&t&&r._UZ(0,"span",8),2&t){const t=e.polymorpheusOutlet;r.Q6J("textContent",t)}}function Fe(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",9),r.NdJ("click",(function(e){r.CHM(t);const n=r.oxw(2);return r.KtG(n.copyExampleLink(e.currentTarget))})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw(2);r.Q6J("fragment",t.id)("iconLeft",t.options.linkIcon),r.xp6(1),r.hij(" ",r.lcZ(2,3,t.copy$)," ")}}function Le(t,e){if(1&t&&(r.TgZ(0,"h3",5),r.YNc(1,Ne,1,1,"span",6),r.YNc(2,Fe,3,5,"a",7),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.heading),r.xp6(1),r.Q6J("ngIf",t.id)}}function Re(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 Be(t,e){if(1&t&&(r.TgZ(0,"h4",10),r.YNc(1,Re,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.description)}}function je(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 He(t,e){if(1&t&&(r.TgZ(0,"button",21),r.YNc(1,je,2,1,"ng-container",11),r.qZA()),2&t){const t=r.oxw().$implicit,e=r.oxw(4);r.xp6(1),r.Q6J("polymorpheusOutlet",e.getTabTitle(t))}}function Ve(t,e){1&t&&(r.ynx(0),r.YNc(1,He,2,1,"button",20),r.BQk())}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," ")}}function qe(t,e){if(1&t&&(r.ynx(0),r.YNc(1,$e,2,1,"ng-container",11),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("polymorpheusOutlet",t)}}function Ze(t,e){if(1&t&&(r.TgZ(0,"button",25),r._uU(1),r.qZA()),2&t){const t=r.oxw(5);r.xp6(1),r.hij(" Edit on ",t.codeEditor.name," ")}}function Ue(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-loader",22),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3).ngIf,n=r.oxw();return r.KtG(n.edit(e))})),r.ALo(1,"async"),r.YNc(2,qe,2,1,"ng-container",23),r.YNc(3,Ze,2,1,"ng-template",null,24,r.W1O),r.qZA()}if(2&t){const t=r.MAs(4),e=r.oxw(4);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 Ge(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",16)(1,"tui-tabs-with-more",17),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw(3);return r.KtG(n.activeItemIndex=e)})),r.YNc(2,Ve,2,0,"ng-container",18),r.qZA(),r.YNc(3,Ue,5,6,"tui-loader",19),r.ALo(4,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw().ngIf,e=r.oxw().ngIf,n=r.oxw();r.xp6(1),r.Q6J("activeItemIndex",n.activeItemIndex),r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Q6J("ngIf",r.xi3(4,3,e,n.visible))}}function Qe(t,e){if(1&t&&r.GkF(0,29),2&t){r.oxw(4);const t=r.MAs(5);r.Q6J("ngTemplateOutlet",t)}}const Je=function(t){return{$implicit:t}};function Ye(t,e){if(1&t&&r.GkF(0,30),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,Je,(null==e?null:e[t[n.activeItemIndex]])||""))}}function We(t,e){if(1&t&&(r.TgZ(0,"div",26),r.YNc(1,Qe,1,1,"ng-container",27),r.YNc(2,Ye,1,4,"ng-template",null,28,r.W1O),r.qZA()),2&t){const t=e.index,n=r.MAs(3),i=r.oxw(3);r.ekj("t-content_animated",!i.isE2E)("t-content_visible",i.activeItemIndex===t),r.xp6(1),r.Q6J("ngIf",t===i.defaultTabIndex)("ngIfElse",n)}}function Ke(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ge,5,6,"div",14),r.YNc(2,We,4,6,"div",15),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t.length>1),r.xp6(1),r.Q6J("ngForOf",t)}}function Xe(t,e){if(1&t&&(r.TgZ(0,"div",12),r.YNc(1,Ke,3,2,"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 tn(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 en(t,e){if(1&t&&(r.TgZ(0,"div",31),r.Hsn(1),r.YNc(2,tn,2,1,"ng-container",11),r.ALo(3,"async"),r.qZA()),2&t){const t=r.oxw();r.xp6(2),r.Q6J("polymorpheusOutlet",r.lcZ(3,1,t.lazyComponent$))}}function nn(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 rn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,nn,2,1,"ng-container",33),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit;r.xp6(1),r.Q6J("polymorpheusOutlet",t)("polymorpheusOutletContext",r.VKq(2,Je,n))}}function on(t,e){if(1&t&&(r.TgZ(0,"tui-doc-code",32),r.YNc(1,rn,2,4,"ng-container",18),r.qZA()),2&t){const t=e.$implicit,n=r.oxw();r.Q6J("code",t),r.xp6(1),r.Q6J("ngForOf",n.codeActions)}}const sn=["*"];let an=(()=>{var t;class e{constructor(){this.clipboard=(0,r.f3M)(s),this.alerts=(0,r.f3M)(Ft.J9),this.location=(0,r.f3M)(Ce.Ct),this.copyTexts$=(0,r.f3M)(J.UV),this.processContent=(0,r.f3M)(u.$_),this.rawLoader$$=new p.X({}),this.lazyLoader$$=new Se.t(1),this.options=(0,r.f3M)(Te),this.texts=(0,r.f3M)(u.mv),this.codeEditor=(0,r.f3M)(u.lW,{optional:!0}),this.isE2E=(0,r.f3M)(Ht.oD),this.codeActions=(0,r.f3M)(u.mT),this.defaultTabIndex=0,this.defaultTab=this.texts[this.defaultTabIndex],this.activeItemIndex=this.defaultTabIndex,this.copy$=this.copyTexts$.pipe((0,x.U)((([t])=>t))),this.loading$=new R.x,this.processor$=this.rawLoader$$.pipe((0,m.w)(h.vP),(0,x.U)((t=>this.processContent(t)))),this.lazyComponent$=this.lazyLoader$$.pipe((0,m.w)(Ae.y),(0,x.U)((t=>new Me.Al(t.default)))),this.id=null,this.fullsize=(0,r.f3M)(Te).fullsize,this.componentName=this.location.pathname.slice(1),this.visible=t=>Boolean(this.codeEditor&&this.options.codeEditorVisibilityHandler(t))}set content(t){this.rawLoader$$.next(t)}set component(t){this.lazyLoader$$.next(t)}getTabTitle(t){return this.options.tabTitles.get(t)||t}copyExampleLink(t){this.clipboard.copy(t?.href??""),this.alerts.open(this.texts[1],{label:this.texts[2],status:"success"}).subscribe()}edit(t){this.loading$.next(!0),this.codeEditor?.edit(this.componentName,this.id||"",t).finally((()=>this.loading$.next(!1)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-example"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("id",e.id),r.ekj("_fullsize",e.fullsize))},inputs:{id:"id",heading:"heading",description:"description",fullsize:"fullsize",componentName:"componentName",content:"content",component:"component"},standalone:!0,features:[r.jDz],ngContentSelectors:sn,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"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button","class","t-link-icon",3,"fragment","iconLeft","click",4,"ngIf"],[3,"textContent"],["appearance","icon","routerLink",".","size","xs","tuiIconButton","","type","button",1,"t-link-icon",3,"fragment","iconLeft","click"],[1,"t-description"],[4,"polymorpheusOutlet"],[1,"t-example"],[4,"ngIf"],["class","t-tabs-wrapper",4,"ngIf"],["class","t-content",3,"t-content_animated","t-content_visible",4,"ngFor","ngForOf"],[1,"t-tabs-wrapper"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngFor","ngForOf"],["size","xs","class","t-code-editor",3,"overlay","showLoader","click",4,"ngIf"],["tuiTab","",4,"tuiItem"],["tuiTab",""],["size","xs",1,"t-code-editor",3,"overlay","showLoader","click"],[4,"ngIf","ngIfElse"],["defaultEditContent",""],["appearance","flat","size","s","tuiButton","","type","button"],[1,"t-content"],[3,"ngTemplateOutlet",4,"ngIf","ngIfElse"],["anotherTab",""],[3,"ngTemplateOutlet"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["automation-id","tui-doc-example",1,"t-demo"],[3,"code"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,Le,3,2,"h3",0),r.YNc(1,Be,2,1,"h4",1),r.YNc(2,Xe,3,4,"div",2),r.ALo(3,"async"),r.YNc(4,en,4,3,"ng-template",null,3,r.W1O),r.YNc(6,on,2,2,"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$)))},dependencies:[i.O5,Me.s$,d.xG,tt.rH,i.Ov,Ie,De.W,ze.Yh,ze.Pk,i.sg,Oe.A6,ke.c,i.tP,q],styles:["[_nghost-%COMP%]{position:relative;display:block;padding-top:3.5rem;clear:right}[_nghost-%COMP%]:target{animation:1s .3s tuiShaking}[_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:400;margin:0}.t-title[_ngcontent-%COMP%]:first-letter, .t-description[_ngcontent-%COMP%]:first-letter{text-transform:capitalize}.t-example[_ngcontent-%COMP%]{position:relative;margin-top:1.5rem;border:1px solid var(--tui-border-normal);border-radius:var(--tui-radius-m);box-shadow:0 .125rem .1875rem #0000001a;overflow:hidden}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 .875rem 0 2rem;box-shadow:inset 0 -1px var(--tui-border-normal);justify-content:space-between;align-items:center;gap:.5rem}tui-root._mobile[_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-tabs-wrapper[_ngcontent-%COMP%]{padding:0 .875rem 0 1rem}.t-tabs[_ngcontent-%COMP%]{flex-grow:1}.t-code-editor[_ngcontent-%COMP%]{flex-shrink:0}.t-demo[_ngcontent-%COMP%]{padding:2rem;max-width:100%;box-sizing:border-box;overflow-x:auto}@media all and (-webkit-min-device-pixel-ratio: 0) and (-webkit-min-device-pixel-ratio: 0),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:.375rem solid transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar{background-color:transparent}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:var(--tui-background-neutral-1-hover)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:var(--tui-background-neutral-1-pressed)}.t-demo[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:active{background-color:var(--tui-text-tertiary)}}tui-root._mobile[_nghost-%COMP%] .t-demo[_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-demo[_ngcontent-%COMP%]{padding:1rem}[_nghost-%COMP%]:not(._fullsize) .t-demo[_ngcontent-%COMP%]{width:-webkit-min-content;width:min-content;min-width:20rem}.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}),e})();var ln=n(95079),cn=n(18004),un=n(73284),hn=n(34138),dn=n(41589),pn=n(16931),fn=n(71938);let gn=(()=>{var t;class e extends Me.GL{constructor(){super(...arguments),this.injector=(0,r.f3M)(r.gxx),this.portalService=(0,r.f3M)(fn.UA),this.component=new Me.Al(yn,this.injector),this.sidebarRef=null,this.direction="left",this.autoWidth=!1,this.content=(0,r.f3M)(r.Rgc)}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=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiSidebar",""]],inputs:{direction:["tuiSidebarDirection","direction"],autoWidth:["tuiSidebarAutoWidth","autoWidth"],tuiSidebar:"tuiSidebar"},standalone:!0,features:[r.qOj]}),e})();const mn=["tuiSidebar",""];function vn(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 yn=(()=>{var t;class e{constructor(){this.directive=(0,r.f3M)(gn),this.options=(0,pn.qS)((0,r.f3M)(dn.ZW)),this.left={...this.options,value:"left"},this.right={...this.options,value:"right"}}ngDoCheck(){this.directive.check()}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}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["aside","tuiSidebar",""]],hostVars:3,hostBindings:function(t,e){2&t&&(r.d8E("@tuiSlideIn",e.animation),r.Tol(e.directionHostClass))},standalone:!0,features:[r.jDz],attrs:mn,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,vn,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))},dependencies:[ln.d,Me.s$],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-background-base);box-shadow:0 10rem var(--tui-background-base);width:17.25rem}.t-wrapper_auto-width[_ngcontent-%COMP%]{width:auto}'],data:{animation:[hn.Gw]},changeDetection:0}),e})();var bn=n(30696),_n=n(9368),wn=n(16100),xn=n(88543),Cn=n(71918),kn=n(38442),On=n(45130);function Mn(t){return t.map((({section:t})=>t)).filter(Q.Pc).filter(((t,e,n)=>n.indexOf(t)===e))}const Sn=new r.OlP("[NAVIGATION_TITLE]"),An=new r.OlP("[NAVIGATION_LABELS]"),Pn=new r.OlP("[NAVIGATION_ITEMS]"),En=[(0,wn.S9)({appearance:"icon"}),{provide:Sn,deps:[tt.F0,tt.gz,u.Yx],useFactory:(t,e,n)=>t.events.pipe((0,f.h)((t=>t instanceof tt.m2)),(0,x.U)((()=>e.firstChild)),(0,f.h)(Q.Pc),(0,On.z)((({data:t})=>t)),(0,x.U)((({title:t})=>`${n}${t}`)),(0,St.sL)())},{provide:An,deps:[u.V5],useFactory:Mn},{provide:Pn,deps:[u.V5],useFactory:t=>[...Mn(t).map((e=>t.filter((({section:t})=>t===e)))),t.filter((t=>!t.section))]}];var Tn,In=n(14814),Dn=n(5583),zn=n(63098),Nn=n(24149),Fn=n(28021);function Ln(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Rn(t,e){if(1&t&&(r.TgZ(0,"a",16),r._uU(1),r.YNc(2,Ln,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Bn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function jn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",19),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(5),n=r.MAs(1);return r.KtG(e.onClick(n))})),r._uU(1),r.YNc(2,Bn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit;r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Hn(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Rn,3,5,"a",14),r.YNc(2,jn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}function Vn(t,e){if(1&t&&(r.TgZ(0,"tui-opt-group",12),r.YNc(1,Hn,4,2,"ng-container",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 $n(t,e){if(1&t&&(r.TgZ(0,"tui-data-list"),r.YNc(1,Vn,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 qn(t,e){1&t&&(r.ynx(0),r.YNc(1,$n,3,3,"tui-data-list",10),r.BQk())}const Zn=function(t,e){return{item:t,index:e}};function Un(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(2).index;r.oxw();const o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,100*i+n))}}function Gn(t,e){if(1&t&&(r.TgZ(0,"div",23),r.YNc(1,Un,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 Qn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-accordion-item",20),r.NdJ("openChange",(function(e){const n=r.CHM(t).index,i=r.oxw();return r.KtG(i.openPagesArr[n]=e)})),r.TgZ(1,"span",21)(2,"strong"),r._uU(3),r.qZA()(),r.YNc(4,Gn,2,1,"ng-template",22),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 Jn(t,e){if(1&t&&r.GkF(0,24),2&t){const t=e.$implicit,n=e.index,i=r.oxw(),o=r.MAs(11);r.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",r.WLB(2,Zn,t,i.items.length-1+n))}}function Yn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Wn(t,e){if(1&t&&(r.TgZ(0,"a",28),r._uU(1),r.YNc(2,Yn,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw(2).item;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function Kn(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function Xn(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",29),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(3);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,Kn,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw(2).item,e=r.oxw();r.Q6J("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ti(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Wn,3,5,"a",27),r.YNc(2,Xn,3,6,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=r.MAs(3),e=r.oxw().item;r.xp6(1),r.Q6J("ngIf",e.route.includes("://"))("ngIfElse",t)}}function ei(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ni(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",34),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(2).index,n=r.oxw();return r.KtG(n.onGroupClick(e))})),r._UZ(1,"tui-icon",35),r._uU(2),r.YNc(3,ei,1,1,"tui-icon",17),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.Q6J("icon",i.icons.more),r.xp6(1),r.hij(" ",n.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",n.icon)}}function ii(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function ri(t,e){if(1&t&&(r.TgZ(0,"a",37),r._uU(1),r.YNc(2,ii,1,1,"tui-icon",17),r.qZA()),2&t){const t=r.oxw().$implicit;r.Q6J("href",t.route,r.LSH)("target",t.target||"_self"),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function oi(t,e){if(1&t&&r._UZ(0,"tui-icon",18),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function si(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"a",38),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw(4);return r.KtG(e.closeMenu())})),r._uU(1),r.YNc(2,oi,1,1,"tui-icon",17),r.qZA()}if(2&t){const t=r.oxw().$implicit,e=r.oxw(3);r.Q6J("fragment",t.fragment)("routerLink",t.route)("target",t.target||"_self")("tuiScrollIntoViewLink",e.isActive(t.route)),r.uIk("rel",t.rel),r.xp6(1),r.hij(" ",t.title," "),r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)}}function ai(t,e){if(1&t&&(r.ynx(0),r.YNc(1,ri,3,5,"a",36),r.YNc(2,si,3,7,"ng-template",null,15,r.W1O),r.BQk()),2&t){const t=e.$implicit,n=r.MAs(3);r.xp6(1),r.Q6J("ngIf",t.route.includes("://"))("ngIfElse",n)}}const li=function(){return{exact:!1}};function ci(t,e){if(1&t&&(r.TgZ(0,"div",30),r.YNc(1,ni,4,5,"button",31),r.TgZ(2,"tui-expand",32)(3,"div",33),r.YNc(4,ai,4,2,"ng-container",13),r.qZA()()()),2&t){const t=r.oxw(),e=t.item,n=t.index,i=r.oxw();r.Q6J("routerLinkActiveOptions",r.DdM(4,li)),r.xp6(1),r.Q6J("ngIf",e.subPages),r.xp6(1),r.Q6J("expanded",!!i.openPagesGroupsArr[n]),r.xp6(2),r.Q6J("ngForOf",i.$pages(e.subPages))}}function ui(t,e){if(1&t&&(r.YNc(0,ti,4,2,"ng-container",25),r.YNc(1,ci,5,5,"ng-template",null,26,r.W1O)),2&t){const t=e.item,n=r.MAs(2);r.Q6J("ngIf",!t.subPages)("ngIfElse",n)}}class hi{constructor(){this.router=(0,r.f3M)(tt.F0),this.doc=(0,r.f3M)(i.K0),this.menuOpen=!1,this.sidebar=(0,r.f3M)(gn,{optional:!0}),this.labels=(0,r.f3M)(An),this.items=(0,r.f3M)(Pn),this.searchText=(0,r.f3M)(u.EI),this.activatedRoute=(0,r.f3M)(tt.gz),this.docIcons=(0,r.f3M)(u.oq),this.icons=(0,r.f3M)(dn.Gs),this.openPagesArr=[],this.openPagesGroupsArr=[],this.active="",this.search=new X.NI(""),this.filtered$=(0,At.EK)(this.search).pipe((0,f.h)((t=>t.trim().length>2)),(0,x.U)((t=>this.filterItems(this.flattenSubPages(this.items),t))));const t=(0,r.f3M)(T.Dx),e=(0,r.f3M)(u.V1);(0,r.f3M)(Sn).pipe((0,At.NA)((0,r.f3M)(r.sBO)),(0,St.sL)()).subscribe((e=>{t.setTitle(e),this.openActivePageGroup()})),(0,kn.a)([this.router.events.pipe((0,f.h)((t=>t instanceof tt.Xs))),(0,r.f3M)(Sn).pipe((0,m.w)((()=>e.pipe((0,f.h)(Boolean)))))]).pipe((0,g.q)(1),(0,x.U)((([t])=>t.anchor||"")),(0,f.h)(Boolean),(0,St.sL)()).subscribe((t=>this.navigateToAnchorLink(t)))}get canOpen(){return(this.search.value?.length??0)>2}get itemsWithoutSections(){return this.items[this.items.length-1]}$pages(t){return t}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,Q.pf)(t.filter((({title:t,keywords:n=""})=>(e=e.toLowerCase().trim(),n=n.toLowerCase(),(t=t.toLowerCase()).includes(e)||n.includes(e)||t.includes((0,h.OO)(e))||n.includes((0,h.OO)(e))||e.replaceAll("-","").includes(t)||t.includes(e.replaceAll(/\s|tui/g,""))||n.includes(e.replaceAll(/\s|tui/g,""))||e.split(/\s/).find((e=>t.includes(e)))))),"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"})}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}`):[];if(!e.length||!e[e.length-1])return;const n=this.doc.createElement("a");n.href=`${this.doc.location.pathname}#${t}`,n.style.display="none",n.style.position="absolute",this.doc.body.appendChild(n),n.click(),n.remove()}}(Tn=hi).ɵfac=function(t){return new(t||Tn)},Tn.ɵcmp=r.Xpm({type:Tn,selectors:[["tui-doc-navigation"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_open",e.menuOpen)},standalone:!0,features:[r._Bn(En),r.jDz],ngContentSelectors:["*"],decls:13,vars:11,consts:[["tuiTextfieldSize","m",1,"t-input",3,"formControl","tuiAutoFocus","tuiTextfieldCleaner","tuiTextfieldIconLeft","tuiTextfieldLabelOutside"],["input",""],[4,"ngIf"],[1,"t-navigation"],[1,"t-scrollbar"],[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"],[4,"ngFor","ngForOf"],["tuiOption","",3,"href","target",4,"ngIf","ngIfElse"],["internal",""],["tuiOption","",3,"href","target"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"],["tuiOption","",3,"fragment","routerLink","target","click"],["size","s",3,"borders","open","openChange"],[1,"t-label"],["tuiAccordionItemContent",""],[1,"t-section"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],["subPagesTemplate",""],["tuiLink","","class","t-sublink",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink",3,"routerLink","target","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","","type","button",1,"t-sublink","t-sublink_subsection",3,"click"],[1,"t-chevron",3,"icon"],["tuiLink","","class","t-sublink t-sublink_small",3,"href","target",4,"ngIf","ngIfElse"],["tuiLink","",1,"t-sublink","t-sublink_small",3,"href","target"],["routerLinkActive","t-sublink_active","tuiLink","",1,"t-sublink","t-sublink_small",3,"fragment","routerLink","target","tuiScrollIntoViewLink","click"]],template:function(t,e){1&t&&(r.F$t(),r.TgZ(0,"tui-input",0,1),r._uU(2),r.YNc(3,qn,2,0,"ng-container",2),r.qZA(),r.TgZ(4,"nav",3)(5,"tui-scrollbar",4)(6,"tui-accordion",5),r.YNc(7,Qn,5,3,"tui-accordion-item",6),r.qZA(),r.TgZ(8,"div",7),r.YNc(9,Jn,1,5,"ng-container",8),r.qZA(),r.YNc(10,ui,3,2,"ng-template",null,9,r.W1O),r.qZA()(),r.Hsn(12)),2&t&&(r.Q6J("formControl",e.search)("tuiAutoFocus",!!e.sidebar)("tuiTextfieldCleaner",!0)("tuiTextfieldIconLeft",e.docIcons.search)("tuiTextfieldLabelOutside",!0),r.xp6(2),r.hij(" ",e.searchText," "),r.xp6(1),r.Q6J("ngIf",e.canOpen),r.xp6(3),r.Q6J("closeOthers",!1)("rounded",!1),r.xp6(1),r.Q6J("ngForOf",e.labels),r.xp6(2),r.Q6J("ngForOf",e.itemsWithoutSections))},dependencies:[Cn.Qf,In.K,Dn.w,Qt.qm,X.UX,X.JJ,X.oH,bn.bi,zn.qi,zn.gX,zn.bH,zn.c4,i.Ov,i.sg,i.O5,_n.R,Me.s$,tt.rH,xn.D1,Nn.z0,Nn.tR,Nn.Z0,i.tP,wn.lI,un.k,tt.Od,ut.SV,ct.cn,Wt.b,Kt.x,gt.s,Fn.a],styles:["[_nghost-%COMP%]{z-index:1;display:flex;flex-direction:column;text-align:center;background:var(--tui-background-base)}.t-input[_ngcontent-%COMP%]{margin:1.25rem}.t-input[_ngcontent-%COMP%] tui-icon{border:.25rem solid transparent}.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%}tui-root._reduced-motion[_nghost-%COMP%] .t-scrollbar[_ngcontent-%COMP%], tui-root._reduced-motion [_nghost-%COMP%] .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:-.5rem 0 -1rem}.t-section_bordered[_ngcontent-%COMP%]{margin:.5rem 0;border-left:1px solid var(--tui-border-normal)}.t-subsection[_ngcontent-%COMP%]{margin-left:.5rem}.t-sublink[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;font:var(--tui-font-text-m);margin-left:.5rem;padding:.5rem 0}.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.t-sublink.t-sublink_active[_ngcontent-%COMP%]{color:var(--tui-text-primary)}.t-icon[_ngcontent-%COMP%]{margin-left:.5rem}.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,U.gn)([Q.UM],hi.prototype,"filterItems",null),(0,U.gn)([Q.UM],hi.prototype,"flattenSubPages",null);const di=["tuiDocHeader",""];function pi(t,e){1&t&&r._UZ(0,"tui-doc-navigation",4)}function fi(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("src",t,r.LSH)}}const gi=["*"];let mi=(()=>{var t;class e{constructor(){this.stream$=new R.x,this.router=(0,r.f3M)(tt.F0),this.icons=(0,r.f3M)(u.oq),this.logo=(0,r.f3M)(u.Or),this.menu=(0,r.f3M)(u.gG),this.open$=(0,Nt.T)(this.router.events.pipe((0,x.U)(G.tD)),this.stream$).pipe((0,j.O)(!1),(0,cn.x)())}onClick(){this.stream$.next(!0)}onActiveZone(t){t||this.stream$.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["header","tuiDocHeader",""]],standalone:!0,features:[r.jDz],attrs:di,ngContentSelectors:gi,decls:6,vars:6,consts:[["appearance","icon","tuiIconButton","","type","button",1,"t-menu",3,"iconLeft","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,pi,1,0,"tui-doc-navigation",1),r.ALo(2,"async"),r.qZA(),r.TgZ(3,"div",2),r.YNc(4,fi,1,1,"img",3),r.qZA(),r.Hsn(5)),2&t&&(r.Q6J("iconLeft",e.icons.menu)("title",e.menu),r.xp6(1),r.Q6J("tuiSidebar",!!r.lcZ(2,4,e.open$)),r.xp6(3),r.Q6J("polymorpheusOutlet",e.logo))},dependencies:[d.xG,ln.d,gn,i.Ov,Me.s$,hi],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0;z-index:1;display:flex;box-shadow:var(--tui-shadow-small);height:3.9375rem;align-items:center;padding:0 1.25rem;background:var(--tui-background-base);border-bottom:1px solid var(--tui-border-normal)}@supports (background: color-mix(in srgb,var(--tui-background-base),transparent 50%)){[_nghost-%COMP%]{background:color-mix(in srgb,var(--tui-background-base),transparent 50%);-webkit-backdrop-filter:blur(1.25rem);backdrop-filter:blur(1.25rem)}}.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}),e})();function vi(t,e){1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t&&(r.xp6(1),r.Oqu(", "))}function yi(t,e){if(1&t&&(r.ynx(0),r._UZ(1,"a",2),r.YNc(2,vi,2,1,"ng-container",3),r.BQk()),2&t){const t=e.$implicit,n=e.last,i=r.oxw();r.xp6(1),r.Q6J("innerText",t)("routerLink",i.getRouterLink(t)),r.xp6(1),r.Q6J("ngIf",!n)}}let bi=(()=>{var t;class e{constructor(){this.pages=(0,r.f3M)(u._Z),this.text=(0,r.f3M)(u.VX),this.seeAlso=[]}getRouterLink(t){return this.pages.get(t)?.route??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-see-also"]],inputs:{seeAlso:"seeAlso"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[[1,"t-header"],[4,"ngFor","ngForOf"],["tuiLink","",3,"innerText","routerLink"],[4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"h5",0),r._uU(1),r.qZA(),r.YNc(2,yi,3,3,"ng-container",1)),2&t&&(r.xp6(1),r.Oqu(e.text),r.xp6(1),r.Q6J("ngForOf",e.seeAlso))},dependencies:[wn.lI,i.sg,tt.rH,i.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-secondary);margin:0 0 .5rem;white-space:nowrap}"],changeDetection:0}),e})();var _i;function wi(t,e){if(1&t&&(r.TgZ(0,"a",1),r._uU(1),r.qZA()),2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.Udp("height","var(--tui-height-l)"),r.Q6J("href",t,r.LSH)("iconLeft",n.icons.code),r.xp6(1),r.hij(" ",n.text,"\n")}}class xi{constructor(){this.icons=(0,r.f3M)(u.oq),this.sourceCode=(0,r.f3M)(u.yO),this.text=(0,r.f3M)(u.as),this.header="",this.package="",this.type="",this.path=""}get pathOptions(){return this.getPathOptions(this.header,this.package,this.type,this.path)}pathIsUrl(t){return t.startsWith("http")}getPathOptions(t,e,n,i){return{header:t,package:e,type:n,path:i}}}(_i=xi).ɵfac=function(t){return new(t||_i)},_i.ɵcmp=r.Xpm({type:_i,selectors:[["tui-doc-source-code"]],inputs:{header:"header",package:"package",type:"type",path:"path"},standalone:!0,features:[r.jDz],decls:1,vars:2,consts:[["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft","height",4,"polymorpheusOutlet","polymorpheusOutletContext"],["appearance","icon","size","s","target","_blank","tuiIconButton","","type","button",3,"href","iconLeft"]],template:function(t,e){1&t&&r.YNc(0,wi,2,5,"a",0),2&t&&r.Q6J("polymorpheusOutlet",e.pathIsUrl(e.path)?e.path:e.sourceCode)("polymorpheusOutletContext",e.pathOptions)},dependencies:[Me.s$,d.xG],encapsulation:2,changeDetection:0}),(0,U.gn)([Q.UM],xi.prototype,"pathIsUrl",null),(0,U.gn)([Q.UM],xi.prototype,"getPathOptions",null),n(18639),n(3667);var Ci=n(69838),ki=n(38525);const Oi=[[["tuiDocNavigation"]],[["tuiDocHeader"]],[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],Mi=["tuiDocNavigation","tuiDocHeader","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let Si=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(u.oq),this.dark$=(0,r.f3M)(et.QN)}get icon(){return this.dark$.value?this.icons.light:this.icons.dark}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-main"]],standalone:!0,features:[r._Bn([Ci.$D]),r.jDz],ngContentSelectors:Mi,decls:20,vars:6,consts:[[1,"tui-doc-page"],[1,"tui-doc-navigation"],[1,"tui-doc-content"],[1,"tui-doc-outlet"],["tuiDocHeader",""],["appearance","secondary","size","s","tuiIconButton","","type","button",1,"tui-doc-dark-mode-switch",3,"iconLeft","click"],["ngProjectAs","tuiOverContent",5,["tuiOverContent"]],["ngProjectAs","tuiOverDialogs",5,["tuiOverDialogs"]],["ngProjectAs","tuiOverAlerts",5,["tuiOverAlerts"]],["ngProjectAs","tuiOverDropdowns",5,["tuiOverDropdowns"]],["ngProjectAs","tuiOverHints",5,["tuiOverHints"]]],template:function(t,e){1&t&&(r.F$t(Oi),r.TgZ(0,"tui-root"),r.ALo(1,"async"),r.TgZ(2,"div",0)(3,"tui-doc-navigation",1),r.Hsn(4),r.qZA(),r.TgZ(5,"div",2),r._UZ(6,"router-outlet",3),r.qZA()(),r.TgZ(7,"header",4),r.Hsn(8,1),r.TgZ(9,"button",5),r.NdJ("click",(function(){return e.dark$.toggle()})),r.qZA()(),r.ynx(10,6),r.Hsn(11,2),r.BQk(),r.ynx(12,7),r.Hsn(13,3),r.BQk(),r.ynx(14,8),r.Hsn(15,4),r.BQk(),r.ynx(16,9),r.Hsn(17,5),r.BQk(),r.ynx(18,10),r.Hsn(19,6),r.BQk(),r.qZA()),2&t&&(r.uIk("tuiTheme",r.lcZ(1,4,e.dark$)?"dark":null),r.xp6(9),r.Udp("border-radius",100,"%"),r.Q6J("iconLeft",e.icon))},dependencies:[ki.q,i.Ov,tt.lC,d.xG,mi,hi],styles:["@keyframes tuiShaking{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-.3125rem,0,0)}20%,40%,60%,80%{transform:translate3d(.3125rem,0,0)}}html,body{scroll-padding-top:4rem;background:var(--tui-background-base)}tui-root>tui-scroll-controls>.t-bar_vertical{top:4rem!important}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;display:inline-flex;background:var(--tui-background-base-alt);color:var(--tui-text-secondary);vertical-align:middle;align-items:center;border-radius:.25rem;font-weight:500;outline:1px solid var(--tui-border-hover);font-size:.75rem;padding:0 .3125rem;margin:.125rem .1875rem;text-wrap:wrap}tui-notification code:not(pre code):not(.hljs):not([class*=language-]){mix-blend-mode:luminosity}a code:not(pre code):not(.hljs):not([class*=language-]){color:var(--tui-text-action)}button:focus code,a:focus code{background:var(--tui-background-base)}.tui-doc-page{isolation:isolate;padding-top:4rem}tui-doc-navigation.tui-doc-navigation{position:fixed;top:4rem;bottom:0;width:16.25rem;border-right:1px solid var(--tui-border-normal)}@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-dark-mode-switch{margin-left:1rem}tui-doc-code .hljs-tag{background:none}tui-doc-code .hljs{display:block;overflow-x:auto;padding:.5em;color:var(--tui-text-primary);background-color:var(--tui-background-neutral-1)}tui-doc-code .hljs.hljs-line-numbers{background:transparent}tui-doc-code .hljs-subst,tui-doc-code .hljs-title{font-weight:400;color:var(--tui-text-primary)}tui-doc-code .hljs-property{color:#bd65a4}tui-doc-code .hljs-comment,tui-doc-code .hljs-quote{color:var(--tui-text-secondary);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:700;color:var(--tui-text-action)}tui-doc-code .hljs-attr{color:var(--tui-text-action)}tui-doc-code .hljs-attribute,tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link,tui-doc-code .hljs-built_in{font-weight:700;color:#b8474e}tui-doc-code .hljs-number,tui-doc-code .hljs-regexp,tui-doc-code .hljs-link{font-weight:400}tui-doc-code .hljs-string{color:var(--tui-status-positive);font-weight:700}tui-doc-code .hljs-symbol,tui-doc-code .hljs-bullet,tui-doc-code .hljs-formula{color:var(--tui-text-primary);background:var(--tui-background-base-alt);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-text-action-hover)}tui-doc-code .hljs-addition{background:var(--tui-status-positive-pale)}tui-doc-code .hljs-deletion{background:var(--tui-status-negative-pale)}tui-doc-code .hljs-emphasis{font-style:italic}tui-doc-code .hljs-strong{font-weight:700}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}[tuiTheme=dark] tui-doc-code .hljs-variable,tui-doc-code[tuiTheme=dark] .hljs-variable,[tuiTheme=dark] tui-doc-code .hljs-template-variable,tui-doc-code[tuiTheme=dark] .hljs-template-variable{color:var(--tui-status-warning)}\n"],encapsulation:2}),e})(),Ai=(()=>{var t;class e{transform(t,e,n){return t?.replace(e,n)??""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiReplace",type:t,pure:!0,standalone:!0}),e})();var Pi=n(13027),Ei=n(73378);const Ti=new r.OlP("[PAGE_SEE_ALSO]"),Ii=[{provide:Ti,deps:[r.SBq,u.UL],useFactory:({nativeElement:t},e)=>{const n=t.getAttribute("header"),i=e.filter((t=>t.includes(n)))||[],r=new Set(i.join().split(",").filter((t=>t&&t!==n)));return Array.from(r)}}];let Di=(()=>{var t;class e{constructor(){this.template=(0,r.f3M)(r.Rgc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["ng-template","pageTab",""]],inputs:{pageTab:"pageTab"},standalone:!0}),e})();function zi(t,e){1&t&&(r.TgZ(0,"tui-chip",9),r._uU(1," deprecated "),r.qZA())}function Ni(t,e){if(1&t&&(r.TgZ(0,"tui-chip",10),r.ALo(1,"tuiAutoColor"),r._uU(2),r.qZA()),2&t){const t=r.oxw();r.Udp("background",r.lcZ(1,3,t.package)),r.xp6(2),r.hij(" ",t.package," ")}}const Fi=function(t){return{exact:t}};function Li(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("routerLink",e?"./":r.Dn7(1,3,t,n.from,n.to))("routerLinkActiveOptions",r.VKq(7,Fi,e)),r.xp6(2),r.hij(" ",t," ")}}function Ri(t,e){1&t&&(r.ynx(0),r.YNc(1,Li,3,9,"a",13),r.BQk())}function Bi(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Ri,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 ji(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-tabs-with-more",11),r.NdJ("activeItemIndexChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.activeItemIndex=e)})),r.YNc(1,Bi,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 Hi(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 Vi(t,e){if(1&t&&r.GkF(0,17),2&t){const t=r.oxw().$implicit;r.Q6J("ngTemplateOutlet",t.template)}}function $i(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Vi,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)}}const qi=["*"];let Zi=(()=>{var t;class e{constructor(){this.defaultTabs=(0,r.f3M)(u.AC),this.from=/ /g,this.to="_",this.header="",this.package="",this.type="",this.path="",this.deprecated=!1,this.tabConnectors=G.Mm,this.activeItemIndex=0,this.seeAlso=(0,r.f3M)(Ti)}get showSeeAlso(){return!!this.seeAlso.length&&0===this.activeItemIndex}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-doc-page"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,Di,4),2&t){let t;r.iGM(t=r.CRH())&&(e.tabConnectors=t)}},inputs:{header:"header",package:"package",type:"type",path:"path",deprecated:"deprecated"},standalone:!0,features:[r._Bn(Ii),r.jDz],ngContentSelectors:qi,decls:11,vars:10,consts:[[1,"t-header"],[1,"t-title"],["appearance","custom","size","xs","class","t-tag t-tag_deprecated",4,"ngIf"],["appearance","custom","size","xs","class","t-tag t-tag_package",3,"background",4,"ngIf"],["class","t-tabs",3,"activeItemIndex","activeItemIndexChange",4,"ngIf"],[1,"t-source-code",3,"header","package","path","type"],[1,"t-content"],["class","t-see-also",3,"seeAlso",4,"ngIf"],[4,"ngFor","ngForOf"],["appearance","custom","size","xs",1,"t-tag","t-tag_deprecated"],["appearance","custom","size","xs",1,"t-tag","t-tag_package"],[1,"t-tabs",3,"activeItemIndex","activeItemIndexChange"],[4,"ngIf"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions",4,"tuiItem"],["routerLinkActive","","tuiTab","",3,"routerLink","routerLinkActiveOptions"],[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)(1,"h1",1),r._uU(2),r.YNc(3,zi,2,0,"tui-chip",2),r.YNc(4,Ni,3,5,"tui-chip",3),r.qZA(),r.YNc(5,ji,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,Hi,1,1,"tui-doc-see-also",7),r.YNc(10,$i,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)("path",e.path)("type",e.type),r.xp6(3),r.Q6J("ngIf",e.showSeeAlso),r.xp6(1),r.Q6J("ngForOf",e.tabConnectors))},dependencies:[Ei.Xt,i.O5,Pi.$,De.W,ze.Yh,ze.Pk,i.sg,tt.rH,tt.Od,Ai,xi,bi,i.tP],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-primary);box-shadow:inset 0 -1px 0 0 var(--tui-border-normal);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-status-negative);color:#fff}.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}),e})()},73284:(t,e,n)=>{n.d(e,{k:()=>h,g:()=>d});var i=n(20755),r=n(62022),o=n(32101),s=n(55181),a=n(35484),l=n(55333),c=n(84787),u=n(20155);let h=(()=>{var t;class e{constructor(){this.scroll$=new a.t(1);const t=(0,s.AG)();(0,i.f3M)(o.V1).pipe((0,l.h)(Boolean),(0,c.w)((()=>this.scroll$)),(0,u.b)(750),(0,l.h)((e=>e&&!!(0,s.PU)(t))),(0,r.sL)()).subscribe((()=>t.scrollIntoView()))}set tuiScrollIntoViewLink(t){this.scroll$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoViewLink",""]],inputs:{tuiScrollIntoViewLink:"tuiScrollIntoViewLink"},standalone:!0}),e})(),d=(()=>{var t;class e{constructor(){this.code=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["code","tuiText",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("textContent",e.code)},inputs:{code:["tuiText","code"]},standalone:!0}),e})()},89037:(t,e,n)=>{n.d(e,{AC:()=>bt.AC,Es:()=>bt.Es,Or:()=>bt.Or,V5:()=>bt.V5,V1:()=>bt.V1,yO:()=>bt.yO,Yx:()=>bt.Yx,N0:()=>_t.N,ws:()=>o.ws,JQ:()=>o.JQ,vi:()=>o.vi});var i=n(63613),r=n(73284),o=n(36541),s=n(86889);function a(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}let l={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function c(t){l=t}const u=/[&<>"']/,h=new RegExp(u.source,"g"),d=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,p=new RegExp(d.source,"g"),f={"&":"&","<":"<",">":">",'"':""","'":"'"},g=t=>f[t];function m(t,e){if(e){if(u.test(t))return t.replace(h,g)}else if(d.test(t))return t.replace(p,g);return t}const v=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,y=/(^|[^\[])\^/g;function b(t,e){let n="string"==typeof t?t:t.source;e=e||"";const i={replace:(t,e)=>{let r="string"==typeof e?e:e.source;return r=r.replace(y,"$1"),n=n.replace(t,r),i},getRegex:()=>new RegExp(n,e)};return i}function _(t){try{t=encodeURI(t).replace(/%25/g,"%")}catch(t){return null}return t}const w={exec:()=>null};function x(t,e){const n=t.replace(/\|/g,((t,e,n)=>{let i=!1,r=e;for(;--r>=0&&"\\"===n[r];)i=!i;return i?"|":" |"})).split(/ \|/);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;n.length0)return{type:"space",raw:e[0]}}code(t){const e=this.rules.block.code.exec(t);if(e){const t=e[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:C(t,"\n")}}}fences(t){const e=this.rules.block.fences.exec(t);if(e){const t=e[0],n=function(t,e){const n=t.match(/^(\s+)(?:```)/);if(null===n)return e;const i=n[1];return e.split("\n").map((t=>{const e=t.match(/^\s+/);if(null===e)return t;const[n]=e;return n.length>=i.length?t.slice(i.length):t})).join("\n")}(t,e[3]||"");return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){const e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(/#$/.test(t)){const e=C(t,"#");this.options.pedantic?t=e.trim():e&&!/ $/.test(e)||(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){const e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:C(e[0],"\n")}}blockquote(t){const e=this.rules.block.blockquote.exec(t);if(e){let t=C(e[0],"\n").split("\n"),n="",i="";const r=[];for(;t.length>0;){let e=!1;const o=[];let s;for(s=0;s/.test(t[s]))o.push(t[s]),e=!0;else{if(e)break;o.push(t[s])}t=t.slice(s);const a=o.join("\n"),l=a.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?`${n}\n${a}`:a,i=i?`${i}\n${l}`:l;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,r,!0),this.lexer.state.top=c,0===t.length)break;const u=r[r.length-1];if("code"===u?.type)break;if("blockquote"===u?.type){const e=u,o=e.raw+"\n"+t.join("\n"),s=this.blockquote(o);r[r.length-1]=s,n=n.substring(0,n.length-e.raw.length)+s.raw,i=i.substring(0,i.length-e.text.length)+s.text;break}if("list"!==u?.type);else{const e=u,o=e.raw+"\n"+t.join("\n"),s=this.list(o);r[r.length-1]=s,n=n.substring(0,n.length-u.raw.length)+s.raw,i=i.substring(0,i.length-e.raw.length)+s.raw,t=o.substring(r[r.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:r,text:i}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim();const i=n.length>1,r={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let s="",a="",l=!1;for(;t;){let n=!1;if(!(e=o.exec(t)))break;if(this.rules.block.hr.test(t))break;s=e[0],t=t.substring(s.length);let i=e[2].split("\n",1)[0].replace(/^\t+/,(t=>" ".repeat(3*t.length))),c=t.split("\n",1)[0],u=0;this.options.pedantic?(u=2,a=i.trimStart()):(u=e[2].search(/[^ ]/),u=u>4?1:u,a=i.slice(u),u+=e[1].length);let h=!1;if(!i&&/^ *$/.test(c)&&(s+=c+"\n",t=t.substring(c.length+1),n=!0),!n){const e=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),r=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),o=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;t;){const l=t.split("\n",1)[0];if(c=l,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),r.test(c))break;if(o.test(c))break;if(e.test(c))break;if(n.test(t))break;if(c.search(/[^ ]/)>=u||!c.trim())a+="\n"+c.slice(u);else{if(h)break;if(i.search(/[^ ]/)>=4)break;if(r.test(i))break;if(o.test(i))break;if(n.test(i))break;a+="\n"+c}h||c.trim()||(h=!0),s+=l+"\n",t=t.substring(l.length+1),i=c.slice(u)}}r.loose||(l?r.loose=!0:/\n *\n *$/.test(s)&&(l=!0));let d,p=null;this.options.gfm&&(p=/^\[[ xX]\] /.exec(a),p&&(d="[ ] "!==p[0],a=a.replace(/^\[[ xX]\] +/,""))),r.items.push({type:"list_item",raw:s,task:!!p,checked:d,loose:!1,text:a,tokens:[]}),r.raw+=s}r.items[r.items.length-1].raw=s.trimEnd(),r.items[r.items.length-1].text=a.trimEnd(),r.raw=r.raw.trimEnd();for(let t=0;t"space"===t.type)),n=e.length>0&&e.some((t=>/\n.*\n/.test(t.raw)));r.loose=n}if(r.loose)for(let t=0;t$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",i=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:i}}}table(t){const e=this.rules.block.table.exec(t);if(!e)return;if(!/[:|]/.test(e[2]))return;const n=x(e[1]),i=e[2].replace(/^\||\| *$/g,"").split("|"),r=e[3]&&e[3].trim()?e[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const t of i)/^ *-+: *$/.test(t)?o.align.push("right"):/^ *:-+: *$/.test(t)?o.align.push("center"):/^ *:-+ *$/.test(t)?o.align.push("left"):o.align.push(null);for(let t=0;t({text:t,tokens:this.lexer.inline(t),header:!1,align:o.align[e]}))));return o}}lheading(t){const e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){const e=this.rules.block.paragraph.exec(t);if(e){const t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){const e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){const e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:m(e[1])}}tag(t){const e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&/^
    /i.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){const e=this.rules.inline.link.exec(t);if(e){const t=e[2].trim();if(!this.options.pedantic&&/^$/.test(t))return;const e=C(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{const t=function(t,e){if(-1===t.indexOf(e[1]))return-1;let n=0;for(let i=0;i-1){const n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],i="";if(this.options.pedantic){const t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);t&&(n=t[1],i=t[3])}else i=e[3]?e[3].slice(1,-1):"";return n=n.trim(),/^$/.test(t)?n.slice(1):n.slice(1,-1)),k(e,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:i?i.replace(this.rules.inline.anyPunctuation,"$1"):i},e[0],this.lexer)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const t=e[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!t){const t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return k(n,t,n[0],this.lexer)}}emStrong(t,e,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(i&&(!i[3]||!n.match(/[\p{L}\p{N}]/u))&&(!i[1]&&!i[2]||!n||this.rules.inline.punctuation.exec(n))){const n=[...i[0]].length-1;let r,o,s=n,a=0;const l="*"===i[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+n);null!=(i=l.exec(e));){if(r=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!r)continue;if(o=[...r].length,i[3]||i[4]){s+=o;continue}if((i[5]||i[6])&&n%3&&!((n+o)%3)){a+=o;continue}if(s-=o,s>0)continue;o=Math.min(o,o+s+a);const e=[...i[0]][0].length,l=t.slice(0,n+i.index+e+o);if(Math.min(n,o)%2){const t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}const c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){const e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(/\n/g," ");const n=/[^ ]/.test(t),i=/^ /.test(t)&&/ $/.test(t);return n&&i&&(t=t.substring(1,t.length-1)),t=m(t,!0),{type:"codespan",raw:e[0],text:t}}}br(t){const e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){const e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){const e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=m(e[1]),n="mailto:"+t):(t=m(e[1]),n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=m(e[0]),n="mailto:"+t;else{let i;do{i=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??""}while(i!==e[0]);t=m(e[0]),n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){const e=this.rules.inline.text.exec(t);if(e){let t;return t=this.lexer.state.inRawBlock?e[0]:m(e[0]),{type:"text",raw:e[0],text:t}}}}const M=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,A=b(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,S).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),P=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,E=/(?!\s*\])(?:\\.|[^\[\]\\])+/,T=b(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",E).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),I=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),D="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",z=/|$))/,N=b("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",z).replace("tag",D).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),F=b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),L={blockquote:b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",F).getRegex(),code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:T,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:M,html:N,lheading:A,list:I,newline:/^(?: *(?:\n|$))+/,paragraph:F,table:w,text:/^[^\n]+/},R=b("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex(),B={...L,table:R,paragraph:b(P).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",R).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",D).getRegex()},j={...L,html:b("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",z).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(P).replace("hr",M).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},H=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,V=/^( {2,}|\\)\n(?!\s*$)/,$="\\p{P}\\p{S}",q=b(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,$).getRegex(),Z=b(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,$).getRegex(),U=b("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,$).getRegex(),G=b("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,$).getRegex(),Q=b(/\\([punct])/,"gu").replace(/punct/g,$).getRegex(),J=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Y=b(z).replace("(?:--\x3e|$)","--\x3e").getRegex(),W=b("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Y).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),K=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,X=b(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",K).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tt=b(/^!?\[(label)\]\[(ref)\]/).replace("label",K).replace("ref",E).getRegex(),et=b(/^!?\[(ref)\](?:\[\])?/).replace("ref",E).getRegex(),nt={_backpedal:w,anyPunctuation:Q,autolink:J,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:V,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,emStrongLDelim:Z,emStrongRDelimAst:U,emStrongRDelimUnd:G,escape:H,link:X,nolink:et,punctuation:q,reflink:tt,reflinkSearch:b("reflink|nolink(?!\\()","g").replace("reflink",tt).replace("nolink",et).getRegex(),tag:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\e+" ".repeat(n.length)));t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(i=n.call({lexer:this},t,e))&&(t=t.substring(i.raw.length),e.push(i),!0)))))if(i=this.tokenizer.space(t))t=t.substring(i.raw.length),1===i.raw.length&&e.length>0?e[e.length-1].raw+="\n":e.push(i);else if(i=this.tokenizer.code(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?e.push(i):(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.fences(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.heading(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.hr(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.blockquote(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.list(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.html(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.def(t))t=t.substring(i.raw.length),r=e[e.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[i.tag]||(this.tokens.links[i.tag]={href:i.href,title:i.title}):(r.raw+="\n"+i.raw,r.text+="\n"+i.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(i=this.tokenizer.table(t))t=t.substring(i.raw.length),e.push(i);else if(i=this.tokenizer.lheading(t))t=t.substring(i.raw.length),e.push(i);else{if(o=t,this.options.extensions&&this.options.extensions.startBlock){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startBlock.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(o=t.substring(0,e+1))}if(this.state.top&&(i=this.tokenizer.paragraph(o)))r=e[e.length-1],n&&"paragraph"===r?.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i),n=o.length!==t.length,t=t.substring(i.raw.length);else if(i=this.tokenizer.text(t))t=t.substring(i.raw.length),r=e[e.length-1],r&&"text"===r.type?(r.raw+="\n"+i.raw,r.text+="\n"+i.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):e.push(i);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let n,i,r,o,s,a,l=t;if(this.tokens.links){const t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)t.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(s||(a=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((i=>!!(n=i.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))))if(n=this.tokenizer.escape(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.tag(t))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.link(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.reflink(t,this.tokens.links))t=t.substring(n.raw.length),i=e[e.length-1],i&&"text"===n.type&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(n=this.tokenizer.emStrong(t,l,a))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.codespan(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.br(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.del(t))t=t.substring(n.raw.length),e.push(n);else if(n=this.tokenizer.autolink(t))t=t.substring(n.raw.length),e.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(t))){if(r=t,this.options.extensions&&this.options.extensions.startInline){let e=1/0;const n=t.slice(1);let i;this.options.extensions.startInline.forEach((t=>{i=t.call({lexer:this},n),"number"==typeof i&&i>=0&&(e=Math.min(e,i))})),e<1/0&&e>=0&&(r=t.substring(0,e+1))}if(n=this.tokenizer.inlineText(r))t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(a=n.raw.slice(-1)),s=!0,i=e[e.length-1],i&&"text"===i.type?(i.raw+=n.raw,i.text+=n.text):e.push(n);else if(t){const e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw new Error(e)}}else t=t.substring(n.raw.length),e.push(n);return e}}class ct{constructor(t){(0,s.Z)(this,"options",void 0),(0,s.Z)(this,"parser",void 0),this.options=t||l}space(t){return""}code({text:t,lang:e,escaped:n}){const i=(e||"").match(/^\S*/)?.[0],r=t.replace(/\n$/,"")+"\n";return i?'
    '+(n?r:m(r,!0))+"
    \n":"
    "+(n?r:m(r,!0))+"
    \n"}blockquote({tokens:t}){return`
    \n${this.parser.parse(t)}
    \n`}html({text:t}){return t}heading({tokens:t,depth:e}){return`${this.parser.parseInline(t)}\n`}hr(t){return"
    \n"}list(t){const e=t.ordered,n=t.start;let i="";for(let e=0;e\n"+i+"\n"}listitem(t){let e="";if(t.task){const n=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=n+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=n+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):e+=n+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`
  • ${e}
  • \n`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    \n`}table(t){let e="",n="";for(let e=0;e${i}`),"\n\n"+e+"\n"+i+"
    \n"}tablerow({text:t}){return`\n${t}\n`}tablecell(t){const e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`\n`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:e,tokens:n}){const i=this.parser.parseInline(n),r=_(t);if(null===r)return i;let o='
    ",o}image({href:t,title:e,text:n}){const i=_(t);if(null===i)return n;let r=`${n}"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""))}(n.parser.parseInline(i.tokens,n.parser.textRenderer))):t.apply(this,arguments)};case"code":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.lang,!!n.escaped):t.apply(this,arguments)};case"table":return function(n){if(!n.type||n.type!==e)return t.apply(this,arguments);let i="",r="";for(let t=0;t0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=t+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=t+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",text:t+" "}):a+=t+" "}a+=this.parser.parse(e.tokens,o),s+=this.listitem({type:"list_item",raw:a,text:a,task:r,checked:!!i,loose:o,tokens:e.tokens})}return t.call(this,s,i,r)};case"html":return function(n){return n.type&&n.type===e?t.call(this,n.text,n.block):t.apply(this,arguments)};case"paragraph":case"strong":case"em":case"del":return function(n){return n.type&&n.type===e?t.call(this,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"escape":case"codespan":case"text":return function(n){return n.type&&n.type===e?t.call(this,n.text):t.apply(this,arguments)};case"link":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,this.parser.parseInline(n.tokens)):t.apply(this,arguments)};case"image":return function(n){return n.type&&n.type===e?t.call(this,n.href,n.title,n.text):t.apply(this,arguments)}}return t}function gt(t,e){return(n,i)=>{const r={...i},o={...this.defaults,...r};!0===this.defaults.async&&!1===r.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const s=a(pt,this,mt).call(this,!!o.silent,!!o.async);if(null==n)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof n)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(n)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then((e=>t(e,o))).then((t=>o.hooks?o.hooks.processAllTokens(t):t)).then((t=>o.walkTokens?Promise.all(this.walkTokens(t,o.walkTokens)).then((()=>t)):t)).then((t=>e(t,o))).then((t=>o.hooks?o.hooks.postprocess(t):t)).catch(s);try{o.hooks&&(n=o.hooks.preprocess(n));let i=t(n,o);o.hooks&&(i=o.hooks.processAllTokens(i)),o.walkTokens&&this.walkTokens(i,o.walkTokens);let r=e(i,o);return o.hooks&&(r=o.hooks.postprocess(r)),r}catch(t){return s(t)}}}function mt(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){const t="

    An error occurred:

    "+m(n.message+"",!0)+"
    ";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}const vt=new class{constructor(...t){var e;(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(this,e=pt),e.add(this),(0,s.Z)(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),(0,s.Z)(this,"options",this.setOptions),(0,s.Z)(this,"parse",a(pt,this,gt).call(this,lt.lex,ht.parse)),(0,s.Z)(this,"parseInline",a(pt,this,gt).call(this,lt.lexInline,ht.parseInline)),(0,s.Z)(this,"Parser",ht),(0,s.Z)(this,"Renderer",ct),(0,s.Z)(this,"TextRenderer",ut),(0,s.Z)(this,"Lexer",lt),(0,s.Z)(this,"Tokenizer",O),(0,s.Z)(this,"Hooks",dt),this.use(...t)}walkTokens(t,e){let n=[];for(const i of t)switch(n=n.concat(e.call(this,i)),i.type){case"table":{const t=i;for(const i of t.header)n=n.concat(this.walkTokens(i.tokens,e));for(const i of t.rows)for(const t of i)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":{const t=i;n=n.concat(this.walkTokens(t.items,e));break}default:{const t=i;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach((i=>{const r=t[i].flat(1/0);n=n.concat(this.walkTokens(r,e))})):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){const e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach((t=>{const n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let i=t.renderer.apply(this,e);return!1===i&&(i=n.apply(this,e)),i}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),n.extensions=e),t.renderer){const e=this.defaults.renderer||new ct(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;const i=n;let r=t.renderer[i];const o=e[i];e[i]=(...n)=>{t.useNewRenderer||(r=a(pt,this,ft).call(this,r,i,e));let s=r.apply(e,n);return!1===s&&(s=o.apply(e,n)),s||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new O(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;const i=n,r=t.tokenizer[i],o=e[i];e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new dt;for(const n in t.hooks){if(!(n in e))throw new Error(`hook '${n}' does not exist`);if("options"===n)continue;const i=n,r=t.hooks[i],o=e[i];dt.passThroughHooks.has(n)?e[i]=t=>{if(this.defaults.async)return Promise.resolve(r.call(e,t)).then((t=>o.call(e,t)));const n=r.call(e,t);return o.call(e,n)}:e[i]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=o.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,i=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(i.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}})),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return lt.lex(t,e??this.defaults)}parser(t,e){return ht.parse(t,e??this.defaults)}};function yt(t,e){return vt.parse(t,e)}yt.options=yt.setOptions=function(t){return vt.setOptions(t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},yt.defaults=l,yt.use=function(...t){return vt.use(...t),yt.defaults=vt.defaults,c(yt.defaults),yt},yt.walkTokens=function(t,e){return vt.walkTokens(t,e)},yt.parseInline=vt.parseInline,yt.Parser=ht,yt.parser=ht.parse,yt.Renderer=ct,yt.TextRenderer=ut,yt.Lexer=lt,yt.lexer=lt.lex,yt.Tokenizer=O,yt.Hooks=dt,yt.parse=yt,yt.options,yt.setOptions,yt.use,yt.walkTokens,yt.parseInline,ht.parse,lt.lex,n(25693);var bt=n(32101),_t=n(81059);i.lh,i.NC,i.oI,i.D_,i.Cv,i.Ei,i.fz,i.cJ,i.b7,i.xR,i.Cn,i.t9,i.og,r.g},25693:(t,e,n)=>{n.d(e,{QN:()=>c});var i=n(73740);(0,i.JN)("tuiTheme"),(0,i.JN)("Taiga UI");const r=(0,i.JN)("tuiNight"),o=(0,i.JN)(!1);var s=n(20755),a=n(42772),l=n(56424);let c=(()=>{var t;class e extends l.X{constructor(){super(function(t,e,n){const i=n.matchMedia("(prefers-color-scheme: dark)").matches||(0,s.f3M)(o);return"true"===t.getItem(e)||null===t.getItem(e)&&i}((0,s.f3M)(a.H3),(0,s.f3M)(r),(0,s.f3M)(a.m9))),this.storage=(0,s.f3M)(a.H3),this.key=(0,s.f3M)(r)}next(t){this.storage.setItem(this.key,String(t)),super.next(t)}toggle(){this.next(!this.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=s.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},32101:(t,e,n)=>{n.d(e,{mT:()=>r,lW:()=>s,AC:()=>a,ru:()=>f,IK:()=>g,$_:()=>h,Es:()=>d,mv:()=>m,et:()=>p,oq:()=>l,Or:()=>w,_Z:()=>A,gG:()=>v,V5:()=>S,V1:()=>M,EI:()=>y,UL:()=>P,VX:()=>b,yO:()=>E,as:()=>_,Yx:()=>T,x9:()=>I,B$:()=>D,Ii:()=>z});var i=n(73740);const r=(0,i.JN)("");var o=n(20755);const s=new o.OlP("[TUI_DOC_CODE_EDITOR]"),a=(0,i.JN)([]),l=(0,i.JN)({search:"@tui.search",light:"@tui.sun",dark:"@tui.moon",code:"@tui.code",menu:"@tui.menu"});var c=n(36541),u=n(69401);const h=(0,i.JN)(u.y),d=(0,i.JN)(c.vi),p=(0,i.JN)(new Set([])),f=(0,i.JN)(["Dark mode","Background","Form value"]),g=(0,i.JN)(["Argument","Type","Name and description","Value","Learn about our dynamic templates from "]),m=(0,i.JN)(["Preview","Link to a sample was successfully copied","Done"]),v=(0,i.JN)("Menu"),y=(0,i.JN)("Search"),b=(0,i.JN)("See also"),_=(0,i.JN)("Source code"),w=(0,i.JN)("");var x=n(83562),C=n(1925),k=n(84787),O=n(71209);const M=(0,i.JN)((0,x.P)((()=>(0,C.H)(200).pipe((0,k.w)((()=>(0,O.of)(!0))))))),S=(0,i.JN)([]),A=(0,i.N1)((()=>(0,c.S4)((0,o.f3M)(S)))),P=(0,i.JN)([]),E=(0,i.JN)(null),T=(0,i.JN)(""),I=(0,i.JN)(null),D=(0,i.JN)(c.TN),z=(0,i.JN)(String)},81059:(t,e,n)=>{n.d(e,{N:()=>i});const i={TS:"TypeScript",LESS:"LESS",HTML:"HTML"}},36541:(t,e,n)=>{function i(t){return JSON.parse(JSON.stringify(t,((t,e)=>function(t){const e="string"==typeof t?t.trim():t;return[void 0,null,NaN,""].includes(e)}(e)?void 0:e)))}function r(t){return"true"===t?.toString()}function o(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{return n}}function s(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"[…]";let n="",i=!0;for(let r=0;ri,p8:()=>o,cd:()=>r,sj:()=>s,ws:()=>c,JQ:()=>h,vP:()=>p,S4:()=>g,OO:()=>v,vi:()=>l,TN:()=>y});var a=n(89088);function l(t=""){const e=(new a.Z).parse(t,{}).filter((({tag:t,type:e})=>"code"===t&&"fence"===e)).map((({content:t})=>t.trim()));return e.length?e:[t]}function c({path:t,title:e,loadComponent:n,loadChildren:i}={}){return{path:t?.replace(/^\//,""),loadComponent:n,loadChildren:i,data:{title:e},...i||""===t?{}:{children:[{path:":tab",loadComponent:n}]}}}var u=n(8239);function h(t){return d.apply(this,arguments)}function d(){return(d=(0,u.Z)((function*(t){return t instanceof Promise?(yield t).default:t}))).apply(this,arguments)}function p(t){return f.apply(this,arguments)}function f(){return(f=(0,u.Z)((function*(t){const e={};for(const[n,i]of Object.entries(t))i&&(e[n]=yield h(i));return e}))).apply(this,arguments)}function g(t){const e=new Map;return t.forEach((t=>{"subPages"in t?t.subPages.forEach((t=>{e.set(t.title,t)})):e.set(t.title,t)})),e}const m={а:"f",б:",",в:"d",г:"u",д:"l",е:"t",ё:"`",ж:";",з:"p",и:"b",й:"q",к:"r",л:"k",м:"v",н:"y",о:"j",п:"g",р:"h",с:"c",т:"n",у:"e",ф:"a",х:"[",ц:"w",ч:"x",ш:"i",щ:"o",ъ:"]",ы:"s",ь:"m",ю:".",я:"z"};function v(t){let e="";for(let n=0;n]+)>/g);return(e?e.reduce(((t,e)=>t.replace(e,e.replaceAll("|","&"))),t).split("|").map((t=>t.trim())):t.split("|").map((t=>t.trim()))).reduce(((t,e)=>{let n=e.trim().replaceAll("readonly ","").replaceAll("[]","");return n=n.match(/ReadonlyArray<([^>]+)>/)?.[1]?.split("&")?.[0]??n,n=n.match(/\[([^\]]+)\]/)?.[1]?.split(",")?.[0]??n,n=(n.split("<")?.[0]??n)?.trim()??"",n=Number.isNaN(parseFloat(n))?n:"number",n=/^'(.+)'$|^"(.+)"$|^`(.+)`$/.test(n)?"string":n,n=1===n.length?"unknown":n,t.concat({type:e.replaceAll("&","|"),extracted:n})}),[])}},94267:(t,e,n)=>{n.d(e,{QJ:()=>x,NN:()=>_,Bb:()=>O,oL:()=>k,T8:()=>A,R4:()=>b,wB:()=>w,ze:()=>M});var i,r=n(84911),o=n(20755),s=n(62022),a=n(43226),l=n(11892),c=n(86253),u=n(46492),h=n(78748),d=n(69286),p=n(73843),f=n(92425),g=n(55333),m=n(18004),v=n(84787),y=n(45047);class b{}class _{constructor(){this.refresh$=new h.x,this.pseudoInvalid=(0,o.tdS)(null),this.internal=(0,o.tdS)((0,o.f3M)(c.tp,{self:!0,optional:!0})),this.control=(0,o.f3M)(a.a5,{self:!0}),this.destroyRef=(0,o.f3M)(o.ktI),this.cdr=(0,o.f3M)(o.sBO),this.transformer=(0,o.f3M)(b,{optional:!0}),this.value=(0,o.Flj)((()=>this.internal())),this.readOnly=(0,o.tdS)(!1),this.touched=(0,o.tdS)(!1),this.status=(0,o.tdS)(void 0),this.disabled=(0,o.Flj)((()=>"DISABLED"===this.status())),this.interactive=(0,o.Flj)((()=>!this.disabled()&&!this.readOnly())),this.invalid=(0,o.Flj)((()=>null!==this.pseudoInvalid()?!!this.pseudoInvalid()&&this.interactive():this.interactive()&&this.touched()&&"INVALID"===this.status())),this.mode=(0,o.Flj)((()=>this.readOnly()?"readonly":this.invalid()?"invalid":"valid")),this.onTouched=l.iD,this.onChange=l.iD,this.control.valueAccessor=this,this.refresh$.pipe((0,d.g)(0),(0,p.O)(null),(0,f.U)((()=>this.control.control)),(0,g.h)(u.Pc),(0,m.x)(),(0,v.w)((t=>(0,y.T)(t.valueChanges,t.statusChanges))),(0,s.sL)(this.destroyRef)).subscribe((()=>{this.update()}))}set readOnlySetter(t){this.readOnly.set(t)}set invalidSetter(t){this.pseudoInvalid.set(t)}registerOnChange(t){this.refresh$.next(),this.onChange=e=>{e!==this.internal()&&(t(this.toControlValue(e)),this.internal.set(e),this.update())}}registerOnTouched(t){this.onTouched=()=>{t(),this.update()}}setDisabledState(){this.update()}writeValue(t){const e=this.control instanceof a.On?this.control.model:t;this.internal.set(this.fromControlValue(e)),this.update()}fromControlValue(t){return this.transformer?this.transformer.fromControlValue(t):t}toControlValue(t){return this.transformer?this.transformer.toControlValue(t):t}update(){this.status.set(this.control.control?.status),this.touched.set(!!this.control.control?.touched),this.cdr.markForCheck()}}function w(t){return(0,u.Q2)(_,t)}(i=_).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,inputs:{readOnlySetter:["readOnly","readOnlySetter"],invalidSetter:["invalid","invalidSetter"]}}),(0,r.gn)([u.UM],_.prototype,"fromControlValue",null),(0,r.gn)([u.UM],_.prototype,"toControlValue",null);let x=(()=>{var t;class e{constructor(){this.change$=new h.x}ngOnChanges(){this.change$.next()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,features:[o.TTD]}),e})();const C=["viewContainer"];let k=(()=>{var t;class e{constructor(){this.injector=(0,o.f3M)(o.gxx),this.nothing=(0,o.f3M)(O).attach(this)}addComponentChild(t){const e=t.createInjector(this.injector),n=this.vcr.createComponent(t.component,{injector:e});return n.changeDetectorRef.detectChanges(),n}addTemplateChild(t,e){return this.vcr.createEmbeddedView(t,e)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,viewQuery:function(t,e){if(1&t&&o.Gf(C,5,o.s_b),2&t){let t;o.iGM(t=o.CRH())&&(e.vcr=t.first)}}}),e})(),O=(()=>{var t;class e{attach(t){this.host=t}add(t){return this.safeHost.addComponentChild(t)}remove({hostView:t}){t.destroyed||t.destroy()}addTemplate(t,e){return this.safeHost.addTemplateChild(t,e)}removeTemplate(t){t.destroyed||t.destroy()}get safeHost(){if(!this.host)throw new S;return this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();function M(t){return(0,u.Q2)(O,t)}class S extends Error{constructor(){super("")}}class A{constructor(t,e={}){this.message=t,this.context=e}}},11892:(t,e,n)=>{n.d(e,{F:()=>v,fv:()=>y,em:()=>b,f$:()=>m,kU:()=>_,tU:()=>w,LZ:()=>s,Jy:()=>l,iD:()=>a,Mm:()=>o,bg:()=>p,LQ:()=>h,tD:()=>c,R3:()=>f,zy:()=>d,oN:()=>u,Ml:()=>x,Lw:()=>g});var i=n(20755);const r={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},o=new i.n_E,s=[],a=()=>{},l={...r,toJSON:()=>r},c=()=>!1,u=()=>!0,h=(t,e,n=String)=>n(t).toLowerCase().includes(e.toLowerCase()),d=(t,e,n=String)=>n(t).toLowerCase()===e.toLowerCase(),p=(t,e)=>t===e||function(t,e){return Array.isArray(t)&&Array.isArray(e)&&!t.length&&!e.length}(t,e),f=/\D+/g,g={acceptNode:t=>"ownerSVGElement"in t?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},m=" ",v="–",y="-",b="−",_="+",w="​",x="4.0.0-rc.2"},28351:(t,e,n)=>{function i(t,e,n){return n&&nt?e:t}n.d(e,{ek:()=>p,FZ:()=>f,NA:()=>o,cO:()=>l,nN:()=>a,mH:()=>c,K1:()=>k,Oy:()=>O,TU:()=>_,Lr:()=>v,VR:()=>C,ql:()=>b,dt:()=>x,qD:()=>M,F4:()=>y,hV:()=>i});var r=n(11892);const o=7,s=12,a=0,l=9999,c=`${r.f$}${r.F}${r.f$}`,u=6e4,h=36e5,d=864e5,p=10,f=2*p+c.length;var g=n(23880);function m(t,e,n){return Number.isNaN(t)||t<=e?e:t>=n?n:Math.round(t)}const v={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};class y{constructor(t){this.year=t}static isValidYear(t){return Number.isInteger(t)&&(0,g.w)(t,a,l+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 m(t,a,l)}get formattedYear(){return String(this.year).padStart(4,"0")}get isLeapYear(){return y.isLeapYear(this.year)}get absoluteLeapYears(){return y.getAbsoluteLeapYears(this.year)}yearBefore({year:t}){return this.year=t}yearAfter({year:t}){return this.year>t}append({year:t=0}){const e=this.year+t;return new y(e)}toString(){return this.formattedYear}valueOf(){return this.year}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toJSON(){return this.formattedYear}}class b extends y{constructor(t,e){super(t),this.month=e}static isValidMonth(t,e){return y.isValidYear(t)&&b.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 b(t.getFullYear(),t.getMonth())}static currentUtc(){const t=new Date;return new b(t.getUTCFullYear(),t.getUTCMonth())}static lengthBetween(t,e){const n=t.month+12*t.year;return e.month+12*e.year-n}static normalizeMonthPart(t){return m(t,0,11)}static isValidMonthPart(t){return Number.isInteger(t)&&(0,g.w)(t,0,12)}get formattedMonthPart(){return String(this.month+1).padStart(2,"0")}get daysCount(){return b.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)*s+this.month+e;return new b(Math.floor(n/s),n%s)}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 _ extends b{constructor(t,e,n){super(t,e),this.day=n}static fromLocalNativeDate(t){return new _(t.getFullYear(),t.getMonth(),t.getDate())}static fromUtcNativeDate(t){return new _(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())}static isValidDay(t,e,n){return b.isValidMonth(t,e)&&Number.isInteger(n)&&(0,g.w)(n,1,b.getMonthDaysCount(e,y.isLeapYear(t))+1)}static currentLocal(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),i=t.getDate();return new _(e,n,i)}static currentUtc(){const t=new Date,e=t.getUTCFullYear(),n=t.getUTCMonth(),i=t.getUTCDate();return new _(e,n,i)}static normalizeOf(t,e,n){const i=y.normalizeYearPart(t),r=b.normalizeMonthPart(e),o=_.normalizeDayPart(n,r,i);return new _(i,r,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:i,year:r}=this.parseRawDateString(t,e);return _.normalizeOf(r,i,n)}static jsonParse(t){const{day:e,month:n,year:i}=this.parseRawDateString(t,"YMD");if(!b.isValidMonth(i,n)||!Number.isInteger(e)||!(0,g.w)(e,1,b.getMonthDaysCount(n,y.isLeapYear(i))+1))throw new w(i,n,e);return new _(i,n,e)}static normalizeDayPart(t,e,n){return m(t,1,b.getMonthDaysCount(e,y.isLeapYear(n)))}get formattedDayPart(){return String(this.day).padStart(2,"0")}get isWeekend(){const t=this.dayOfWeek(!1);return t===v.Saturday||t===v.Sunday}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 i=(this.year+t)*s+this.month+e;let r=Math.floor(i/s),o=i%s,a=Math.min(this.day,b.getMonthDaysCount(o,y.isLeapYear(r)))+n;for(;a>b.getMonthDaysCount(o,y.isLeapYear(r));)a-=b.getMonthDaysCount(o,y.isLeapYear(r)),11===o?(r++,o=0):o++;for(;a<1;)0===o?(r--,o=11):o--,a+=b.getMonthDaysCount(o,y.isLeapYear(r));return new _(r,o,a)}getFormattedDay(t,e){const n=this.formattedDayPart,i=this.formattedMonthPart,r=this.formattedYear;switch(t){case"YMD":return`${r}${e}${i}${e}${n}`;case"MDY":return`${i}${e}${n}${e}${r}`;default:return`${n}${e}${i}${e}${r}`}}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))}}class w extends Error{constructor(t,e,n){super("")}}class x{constructor(t,e){this.from=t,this.to=e}static sort(t,e){return t.monthSameOrBefore(e)?new x(t,e):new x(e,t)}get isSingleMonth(){return this.from.monthSame(this.to)}monthSame(t){return this.from.monthSame(t.from)&&this.to.monthSame(t.to)}toString(){return`${this.from}${c}${this.to}`}}class C extends x{constructor(t,e){super(t,e),this.from=t,this.to=e}static sort(t,e){return t.daySameOrBefore(e)?new C(t,e):new C(e,t)}static normalizeParse(t,e="DMY"){const n=_.normalizeParse(t.slice(0,p),e);return t.length0,n=e||"HH:MM:SS"===t||!t&&this.seconds>0;return`${this.formatTime(this.hours)}:${this.formatTime(this.minutes)}${n?`:${this.formatTime(this.seconds)}`:""}${e?`.${this.formatTime(this.ms,3)}`:""}`}valueOf(){return this.toAbsoluteMilliseconds()}[Symbol.toPrimitive](t){return Date.prototype[Symbol.toPrimitive].call(this,t)}toAbsoluteMilliseconds(){return this.hours*h+this.minutes*u+1e3*this.seconds+this.ms}formatTime(t,e=2){return String(t).padStart(e,"0")}}},48606:(t,e,n)=>{n.d(e,{d:()=>g});var i,r=n(84911),o=n(20755),s=n(43226),a=n(65026),l=n(86253),c=n(46492),u=n(92425),h=n(73843),d=n(18004),p=n(14776),f=n(31570);class g{constructor(){this.control=(0,o.f3M)(s.a5,{optional:!0,self:!0}),this.active$=(0,o.f3M)(l.wk),this.zone=(0,o.f3M)(o.R0b),this.el=(0,c.AG)(),this.tuiActiveZoneParent=null,this.subActiveZones=[],this.directParentActiveZone=(0,o.f3M)(g,{skipSelf:!0,optional:!0}),this.tuiActiveZoneChange=this.active$.pipe((0,u.U)((t=>!!t&&this.contains(t))),(0,h.O)(!1),(0,d.x)(),(0,p.T)(1),(0,f.b)((t=>{t||"function"!=typeof this.control?.valueAccessor.onTouched||this.control.valueAccessor.onTouched()})),(0,a.Yr)(this.zone)),this.directParentActiveZone?.addSubActiveZone(this)}set tuiActiveZoneParentSetter(t){this.setZone(t)}ngOnDestroy(){this.directParentActiveZone?.removeSubActiveZone(this),this.tuiActiveZoneParent?.removeSubActiveZone(this)}contains(t){return this.el.contains(t)||this.subActiveZones.some(((e,n,i)=>i.indexOf(e)===n&&e.contains(t)))}setZone(t){this.tuiActiveZoneParent?.removeSubActiveZone(this),t?.addSubActiveZone(this),this.tuiActiveZoneParent=t}addSubActiveZone(t){this.subActiveZones=[...this.subActiveZones,t]}removeSubActiveZone(t){this.subActiveZones=(0,c.WX)(this.subActiveZones,this.subActiveZones.indexOf(t))}}(i=g).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiActiveZone","",5,"ng-container"],["","tuiActiveZoneChange","",5,"ng-container"],["","tuiActiveZoneParent","",5,"ng-container"]],hostBindings:function(t,e){1&t&&o.NdJ("mousedown.silent",(function(){return 0}),!1,o.evT)},inputs:{tuiActiveZoneParentSetter:["tuiActiveZoneParent","tuiActiveZoneParentSetter"]},outputs:{tuiActiveZoneChange:"tuiActiveZoneChange"},exportAs:["tuiActiveZone"],standalone:!0}),(0,r.gn)([c.UM],g.prototype,"setZone",null)},95079:(t,e,n)=>{n.d(e,{d:()=>i.d});var i=n(48606)},30696:(t,e,n)=>{n.d(e,{bi:()=>M,f$:()=>C});var i=n(62561),r=n(20755),o=n(62022),s=n(1925),a=n(42772),l=n(86253),c=n(73740),u=n(82479),h=n(38356),d=n(92425),p=n(96142),f=n(70134),g=n(21813);class m{constructor(t){this.el=t}get element(){return(this.el.nativeElement.tagName.includes("-")?this.el.nativeElement.querySelector("input,textarea"):this.el.nativeElement)||this.el.nativeElement}get isTextFieldElement(){return this.element.matches("input, textarea, [contenteditable]")}}class v extends m{constructor(t,e){super(t),this.animationFrame$=e}setFocus(){var t;this.isTextFieldElement?(0,u.S)((0,s.H)(1e3),this.animationFrame$.pipe((0,h.p)(100),(0,d.U)((()=>this.element.closest(".ng-animating"))),(t=Boolean,(0,p.e)(((e,n)=>{let i=!1,r=0;e.subscribe(new f.Q(n,(e=>(i||(i=!t(e,r++)))&&n.next(e))))}))),(0,g.q)(1))).subscribe((()=>this.element.focus({preventScroll:!0}))):this.element.focus({preventScroll:!0})}}var y=n(46492);const b=["type","inputMode","autocomplete","accept","min","max","step","pattern","size","maxlength"];class _ extends m{constructor(t,e,n,i){super(t),this.renderer=e,this.zone=n,this.win=i,this.patchCssStyles()}setFocus(){this.isTextFieldElement?this.zone.runOutsideAngular((()=>this.iosWebkitAutofocus())):this.element.focus({preventScroll:!0})}iosWebkitAutofocus(){const t=this.makeFakeInput(),e=this.getDurationTimeBeforeFocus();let n=0,i=0;const r=()=>t.focus({preventScroll:!0}),o=()=>{clearTimeout(n),n=this.win.setTimeout((()=>{clearTimeout(i),t.removeEventListener("blur",r),t.removeEventListener("focus",o),i=this.win.setTimeout((()=>{this.element.focus({preventScroll:!1}),t.remove()}),e)}))};t.addEventListener("blur",r,{once:!0}),t.addEventListener("focus",o),this.insideDialog()?this.win.document.body.appendChild(t):this.element.parentElement?.appendChild(t),t.focus({preventScroll:!0})}makeFakeInput(){const t=this.renderer.createElement("input"),e=this.element.getBoundingClientRect();return this.patchFakeInputFromFocusableElement(t),t.style.height=(0,y.O9)(e.height),t.style.width=(0,y.O9)(e.width/2),t.style.position="fixed",t.style.zIndex="-99999999",t.style.caretColor="transparent",t.style.border="none",t.style.outline="none",t.style.color="transparent",t.style.background="transparent",t.style.cursor="none",t.style.fontSize=(0,y.O9)(16),t.style.top=(0,y.O9)(e.top),t.style.left=(0,y.O9)(e.left),t}getDurationTimeBeforeFocus(){return parseFloat(this.win.getComputedStyle(this.element).getPropertyValue("--tui-duration"))||0}insideDialog(){return!!this.element.closest("tui-dialog")}patchCssStyles(){[this.win.document.documentElement,this.win.document.body].forEach((t=>{t.style.setProperty("overflow","auto"),t.style.setProperty("height","100%")}))}patchFakeInputFromFocusableElement(t){b.forEach((e=>{const n=this.element.getAttribute(e);(0,y.Pc)(n)&&t.setAttribute(e,n)}))}}const w={delay:NaN},x=(0,c.JN)(w);function C(t){return(0,c.vK)(x,t,w)}const k=new r.OlP("[TUI_AUTOFOCUS_HANDLER]"),O=[{provide:k,useFactory:(t,e,n,i,r,o)=>o?new _(t,n,i,r):new v(t,e),deps:[r.SBq,a.L1,r.Qsj,r.R0b,a.m9,l.FA]}];let M=(()=>{var t;class e{constructor(){this.handler=(0,r.f3M)(k),this.options=(0,r.f3M)(x),this.destroyRef=(0,r.f3M)(r.ktI)}ngAfterViewInit(){this.autoFocus&&this.focus()}focus(){Number.isNaN(this.options.delay)?Promise.resolve().then((()=>this.handler.setFocus())):(0,s.H)(this.options.delay).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>this.handler.setFocus()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiAutoFocus",""]],inputs:{autoFocus:["tuiAutoFocus","autoFocus",i.Ig]},standalone:!0,features:[r._Bn(O),r.Xq5]}),e})()},49148:(t,e,n)=>{n.d(e,{v:()=>o});var i=n(20755),r=n(46492);let o=(()=>{var t;class e{constructor(){return this.nativeElement=(0,r.AG)(),new i.SBq(this.nativeElement)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiElement",""]],exportAs:["elementRef"],standalone:!0}),e})()},69008:(t,e,n)=>{n.d(e,{m:()=>a});var i=n(76733),r=n(20755),o=n(55181),s=n(52674);let a=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,o.AG)(),this.activeElement=(0,s.ie)(this.doc),Promise.resolve().then((()=>this.el.focus()))}ngOnDestroy(){(0,s.hp)(this.doc),Promise.resolve().then((()=>{(0,o.dW)(this.activeElement)&&this.activeElement.focus()}))}onBlur(){this.el.removeAttribute("tabIndex")}onFocusIn(t){(0,o.PP)(this.el,t)||(0,s.BW)({initial:this.el,root:this.el})?.focus()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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)},standalone:!0}),e})()},7479:(t,e,n)=>{n.d(e,{et:()=>f,gs:()=>p});var i=n(20755),r=n(11892),o=n(65026),s=(n(86253),n(46492)),a=n(48132),l=n(45047),c=n(92425),u=n(55333),h=n(18004);function d({currentTarget:t,relatedTarget:e}){return!(0,s.ve)(e)||!(0,s.ve)(t)||!t.contains(e)}let p=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.el=(0,s.AG)(),this.zone=(0,i.f3M)(i.R0b),this.stream$=(0,l.T)((0,o.mL)(this.el,"mouseenter").pipe((0,c.U)(r.oN)),(0,o.mL)(this.el,"mouseleave").pipe((0,c.U)(r.tD)),(0,o.mL)(this.el,"mouseout").pipe((0,u.h)(d),(0,c.U)(r.tD))).pipe((0,h.x)(),(0,o.Yr)(this.zone))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),f=(()=>{var t;class e{constructor(){this.tuiHoveredChange=(0,i.f3M)(p)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHoveredChange",""]],outputs:{tuiHoveredChange:"tuiHoveredChange"},standalone:!0,features:[i._Bn([p])]}),e})()},62417:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiItem",""]],standalone:!0}),e})()},81929:(t,e,n)=>{n.d(e,{i:()=>o});var i=n(20755);class r{constructor(t){this.internalDirectiveInstance=t}get $implicit(){return this.internalDirectiveInstance.tuiLet}get tuiLet(){return this.internalDirectiveInstance.tuiLet}}let o=(()=>{var t;class e{constructor(){(0,i.f3M)(i.s_b).createEmbeddedView((0,i.f3M)(i.Rgc),new r(this))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiLet",""]],inputs:{tuiLet:"tuiLet"},standalone:!0}),e})()},82527:(t,e,n)=>{n.d(e,{k:()=>l});var i=n(20755),r=n(43226),o=n(65026),s=n(46492),a=n(1925);let l=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.zone=(0,i.f3M)(i.R0b),this.host=(0,s.AG)(),this.tuiNativeValidator="Invalid"}validate(t){return this.control=t,(0,a.H)(0).pipe((0,o.fL)(this.zone),(0,o.Wo)(this.destroyRef)).subscribe((()=>this.handleValidation())),null}handleValidation(){this.el.setCustomValidity?.(this.control?.touched&&this.control?.invalid?this.tuiNativeValidator:"")}get el(){return this.host.querySelector("input,textarea,select")||this.host}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNativeValidator",""]],hostBindings:function(t,e){1&t&&i.NdJ("blur",(function(){return e.handleValidation()}))},inputs:{tuiNativeValidator:"tuiNativeValidator"},standalone:!0,features:[i._Bn([(0,s.Q2)(r.Cf,t,!0)])]}),e})()},42833:(t,e,n)=>{n.d(e,{Q:()=>g});var i=n(20755),r=n(95079),o=n(65026),s=n(78748),a=n(92425),l=n(42772),c=n(55181),u=n(48132),h=n(38356),d=n(73843),p=n(18004);let f=(()=>{var t;class e extends u.y{constructor(){super((t=>this.obscured$.subscribe(t))),this.el=(0,c.AG)(),this.obscured$=(0,i.f3M)(l.L1).pipe((0,h.p)(100),(0,a.U)((()=>(0,c.PU)(this.el))),(0,d.O)(null),(0,p.x)(),(0,o.Yr)((0,i.f3M)(i.R0b)))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.enabled$=new s.x,this.obscured$=(0,i.f3M)(f,{self:!0}).pipe((0,a.U)((t=>!!t?.every((t=>!this.activeZone?.contains(t)))))),this.tuiObscured=this.enabled$.pipe((0,o.Xd)((()=>this.obscured$)))}set tuiObscuredEnabled(t){this.enabled$.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiObscured",""]],inputs:{tuiObscuredEnabled:"tuiObscuredEnabled"},outputs:{tuiObscured:"tuiObscured"},standalone:!0,features:[i._Bn([f])]}),e})()},32423:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(20755),r=n(86253);let o=(()=>{var t;class e{constructor(){this.tuiPlatform=(0,i.f3M)(r.ff,{skipSelf:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiPlatform",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-platform",e.tuiPlatform)},inputs:{tuiPlatform:"tuiPlatform"},standalone:!0,features:[i._Bn([{provide:r.ff,useFactory:()=>(0,i.f3M)(t).tuiPlatform}])]}),e})()},11320:(t,e,n)=>{n.d(e,{z:()=>d});var i=n(20755),r=n(65026),o=n(10676),s=n(25690),a=n(78748),l=n(18004),c=n(91105),u=n(93311),h=n(88557);let d=(()=>{var t;class e extends s.GL{constructor(){super(...arguments),this.service=(0,i.f3M)(o.IS),this.open$=new a.x,this.options={},this.open=!1,this.openChange=this.open$.pipe((0,l.x)(),(0,r.Xd)((()=>this.service.open(this,this.options).pipe((0,c.l)(),(0,u.l)(!1)))),(0,h.B)())}ngOnChanges(){this.open$.next(this.open)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj,i.TTD]}),e})()},80313:(t,e,n)=>{n.d(e,{d:()=>s});var i=n(20755),r=n(58373);class o{constructor(t){this.$implicit=t}}let s=(()=>{var t;class e{constructor(){this.viewContainer=(0,i.f3M)(i.s_b),this.templateRef=(0,i.f3M)(i.Rgc)}set tuiRepeatTimesOf(t){const e=Math.floor((0,r.K)(t,0,65536)),{length:n}=this.viewContainer;t{n.d(e,{I:()=>o,h:()=>a});var i=n(49148),r=n(20755);let o=(()=>{var t;class e extends i.v{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizable",""]],standalone:!0,features:[r.qOj]}),e})();var s=n(73740);let a=(()=>{var t;class e{constructor(){this.resizable=(0,r.f3M)(o),this.x=NaN,this.y=NaN,this.width=0,this.height=0,this.tuiResizer=[0,0],this.tuiSizeChange=new r.vpe}get cursor(){return this.tuiResizer[0]?this.tuiResizer[1]?this.tuiResizer[0]*this.tuiResizer[1]>0?"nwse-resize":"nesw-resize":"ew-resize":"ns-resize"}onPointerDown(t,e){this.x=t,this.y=e,this.width=this.resizable.nativeElement.clientWidth,this.height=this.resizable.nativeElement.clientHeight}onPointerMove({x:t,y:e,buttons:n}){n?this.onMove(t,e):this.onPointerUp()}onPointerUp(){this.x=NaN}onMove(t,e){if(Number.isNaN(this.x))return;const{style:n}=this.resizable.nativeElement,i=[this.width+this.tuiResizer[0]*(t-this.x),this.height+this.tuiResizer[1]*(e-this.y)];this.tuiResizer[0]&&(n.width=(0,s.O9)(i[0])),this.tuiResizer[1]&&(n.height=(0,s.O9)(i[1])),this.tuiSizeChange.emit(i)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiResizer",""]],hostVars:4,hostBindings:function(t,e){1&t&&r.NdJ("pointerdown.silent.prevent",(function(t){return e.onPointerDown(t.x,t.y)}))("pointermove.silent",(function(t){return e.onPointerMove(t)}),!1,r.evT)("pointerup.silent",(function(){return e.onPointerUp()}),!1,r.evT),2&t&&r.Udp("touch-action","none")("cursor",e.cursor)},inputs:{tuiResizer:"tuiResizer"},outputs:{tuiSizeChange:"tuiSizeChange"},standalone:!0}),e})()},69838:(t,e,n)=>{n.d(e,{tB:()=>g,$D:()=>f});var i=n(20755),r=n(76733),o=n(65026),s=n(55181),a=n(73740),l=n(48132),c=n(45047),u=n(74114),h=n(55333),d=n(92425);const p=(0,n(46492).JN)({timeout:500,threshold:30});let f=(()=>{var t;class e extends l.y{constructor(){const t=(0,i.f3M)(r.K0),e=(0,s.AG)(),{timeout:n,threshold:l}=(0,i.f3M)(p);super((i=>{(0,c.T)((0,o.mL)(e,"touchstart",{passive:!0}),(0,o.mL)(t,"touchend")).pipe((0,u.G)(),(0,h.h)((([t,e])=>!!t.touches.length&&t.touches[0].identifier===e.changedTouches[0].identifier)),(0,d.U)((([t,e])=>{const i=t.touches[0].clientX,r=t.touches[0].clientY,o=i-e.changedTouches[0].clientX,s=r-e.changedTouches[0].clientY,a=e.timeStamp-t.timeStamp;return(Math.abs(o)>l||Math.abs(s)>l)&&aMath.abs(c)?u>0?"top":"bottom":c>0?"left":"right"),events:[t,e]}:null;var c,u})),(0,h.h)(a.Pc)).subscribe(i)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),g=(()=>{var t;class e{constructor(){this.tuiSwipe=(0,i.f3M)(f)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiSwipe",""]],outputs:{tuiSwipe:"tuiSwipe"},standalone:!0,features:[i._Bn([f])]}),e})()},65026:(t,e,n)=>{n.d(e,{EK:()=>o,mM:()=>y,Xd:()=>k,mp:()=>_,ll:()=>O,pt:()=>M,Wo:()=>I,mL:()=>m,NA:()=>D,Yr:()=>F,fL:()=>N,Ao:()=>z});var i=n(48132),r=n(73843);function o(t){return new i.y((e=>{if(!t?.valueChanges)throw new s;return t.valueChanges.pipe((0,r.O)(t.value)).subscribe(e)}))}class s extends Error{constructor(){super("")}}var a=n(73740),l=n(45623),c=n(21813),u=n(92425),h=n(45047),d=n(93311),p=n(85228),f=n(74842),g=n(10409);function m(t,e,n={}){return(0,g.R)(t,e,n)}class v{constructor(t,e){this.stage=t,this.event=e}}function y(t){const{ownerDocument:e}=t;return(0,l.z)(m(t,"mousedown").pipe((0,c.q)(1),(0,u.U)((t=>new v("start",t)))),(0,h.T)(m(e,"mousemove").pipe((0,u.U)((t=>new v("continues",t)))),(0,h.T)(m(e,"mouseup"),m(e,"dragend")).pipe((0,c.q)(1),(0,u.U)((t=>new v("end",t))),(0,d.l)(null))).pipe((0,p.o)(a.Pc))).pipe((0,f.r)())}var b=n(31570);function _(){return(0,b.b)((t=>t.preventDefault()))}var w=n(22222),x=n(84787),C=n(30453);function k(t,e=Boolean){return(0,w.z)((0,x.w)((n=>e(n)?t(n):C.E)))}function O(t){return t.changes.pipe((0,r.O)(null),(0,u.U)((()=>(0,a.gD)(t))))}function M(t){return m(t===t.ownerDocument.documentElement?t.ownerDocument:t,"scroll")}var S=n(62022),A=n(81749),P=n(14553),E=n(17560),T=n(80407);function I(t){return(0,w.z)((0,A.R)(P.C.pipe((0,S.sL)(t),(0,E.K)((()=>C.E)),(0,T.d)(null))))}function D(t){return(0,b.b)((()=>t.markForCheck()))}function z(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()))})))}function N(t){return e=>new i.y((n=>t.runOutsideAngular((()=>e.subscribe(n)))))}function F(t){return(0,w.z)(N(t),z(t))}},86198:(t,e,n)=>{n.d(e,{c:()=>r});var i=n(20755);let r=(()=>{var t;class e{transform(t,e,...n){return e(t,...n)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMapper",type:t,pure:!0,standalone:!0}),e})()},10676:(t,e,n)=>{n.d(e,{ll:()=>r,IS:()=>l,FY:()=>x,Fr:()=>A,D$:()=>c});var i=n(20755);let r=(()=>{var t;class e{generate(){return`tui_${e.autoId++}${Date.now()}`}}return(t=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var o=n(46492),s=n(25690),a=n(48132);let l=(()=>{var t;class e{constructor(t,e,n={}){this.options=n,this.id=(0,i.f3M)(r),this.component=new s.Al(e),this.items$=(0,i.f3M)(t)}open(t,e={}){return new a.y((n=>{const i={...this.options,...e,content:t,$implicit:n,component:this.component,createdAt:Date.now(),id:this.id.generate(),completeWith:t=>{n.next(t),n.complete()}};return this.items$.next([...this.items$.value,i]),()=>{this.items$.next(this.items$.value.filter((t=>t!==i)))}}))}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function c(t){return(0,o.Q2)(l,t)}var u=n(42772),h=n(58373),d=n(73740),p=n(71209),f=n(83562),g=n(84787),m=n(92425),v=n(81749),y=n(1925),b=n(93311),_=n(31570);function w(t){return"scrollX"in t?t.scrollX:t.scrollLeft}let x=(()=>{var t;class e{constructor(){this.performanceRef=(0,i.f3M)(u.KS),this.animationFrame$=(0,i.f3M)(u.L1)}scroll$(t,e,n=w(t),i=300){const r=function(t){return"scrollY"in t?t.scrollY:t.scrollTop}(t),o=w(t),s=e-r,a=n-o;return(i?(0,f.P)((()=>(0,p.of)(this.performanceRef.now()))).pipe((0,g.w)((t=>this.animationFrame$.pipe((0,m.U)((e=>e-t))))),(0,m.U)((t=>(0,d.Xg)((0,h.K)(t/i,0,1)))),(0,m.U)((t=>[r+s*t,o+a*t])),(0,v.R)((0,y.H)(i)),(0,b.l)([e,n])):(0,p.of)([e,n])).pipe((0,_.b)((([e,n])=>{t.scrollTo?.(n,e)})))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var C=n(8239),k=n(20530),O=n(84911),M=n(70134),S=n(46974);let A=(()=>{var t;class e{constructor(){this.cache=new Map}request(t){const e=this.cache.get(t);if(e)return e;const n=function(t,e={}){const{selector:n}=e,i=(0,O._T)(e,["selector"]);return new a.y((e=>{const r=new AbortController,{signal:o}=r;let s=!0;const{signal:a}=i;if(a)if(a.aborted)r.abort();else{const t=()=>{o.aborted||r.abort()};a.addEventListener("abort",t),e.add((()=>a.removeEventListener("abort",t)))}const l=Object.assign(Object.assign({},i),{signal:o}),c=t=>{s=!1,e.error(t)};return fetch(t,l).then((t=>{n?(0,S.Xf)(n(t)).subscribe(new M.Q(e,void 0,(()=>{s=!1,e.complete()}),c)):(s=!1,e.next(t),e.complete())})).catch(c),()=>{s&&r.abort()}}))}(t).pipe((0,g.w)(function(){var e=(0,C.Z)((function*(e){if(e.ok)return e.text();throw new Error(`Failed to load ${t} (${e.statusText})`)}));return function(t){return e.apply(this,arguments)}}()),(0,k.d)({bufferSize:1,refCount:!1}));return this.cache.set(t,n),n}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},86253:(t,e,n)=>{n.d(e,{wk:()=>O,I2:()=>M,tp:()=>R,oD:()=>L,FA:()=>T,fL:()=>E,jF:()=>D,ff:()=>z,i0:()=>j,fM:()=>V,Ai:()=>B});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(46492),l=n(45047),c=n(92425),u=n(55333),h=n(81749),d=n(74842),p=n(17544),f=n(84787),g=n(71209),m=n(73843),v=n(21813),y=n(1925),b=n(18004),_=n(88557),w=n(80396),x=n(56424);const C=(0,a.N1)((()=>{const t={onRemovalComplete:()=>{}},e=new x.X(null),n=(0,r.f3M)(w.Th,r.XFs.Optional)||t,{onRemovalComplete:i=t.onRemovalComplete}=n;return n.onRemovalComplete=(t,r)=>{e.next(t),i.call(n,t,r)},e.pipe((0,f.w)((t=>(0,y.H)(0).pipe((0,c.U)((()=>null)),(0,m.O)(t)))),(0,_.B)())}));function k(t,e=null){return(0,a.Wf)(t).activeElement!==t&&!t.matches(":disabled")&&!e?.contains(t)}const O=(0,a.N1)((()=>{const t=(0,r.f3M)(C),e=(0,r.f3M)(o.m9),n=(0,r.f3M)(i.K0),w=(0,s.mL)(e,"focusout",{capture:!0}),x=(0,s.mL)(e,"focusin",{capture:!0}),O=(0,s.mL)(e,"blur"),M=(0,s.mL)(e,"mousedown"),S=(0,s.mL)(e,"mouseup");return(0,l.T)(w.pipe((0,h.R)(M),(0,d.r)({delay:()=>S}),(0,p.M)(t),(0,u.h)((([t,e])=>k((0,a.mA)(t),e))),(0,c.U)((([{relatedTarget:t}])=>t))),O.pipe((0,c.U)((()=>n.activeElement)),(0,u.h)((t=>!!t?.matches("iframe")))),x.pipe((0,f.w)((t=>{const e=(0,a.mA)(t),i=(0,a.Wf)(e);return i===n?(0,g.of)(e):function(t){return(0,l.T)((0,s.mL)(t,"focusin").pipe((0,c.U)((({target:t})=>t))),(0,s.mL)(t,"focusout").pipe((0,u.h)((({target:t,relatedTarget:e})=>!!e&&k(t))),(0,c.U)((({relatedTarget:t})=>t))))}(i).pipe((0,m.O)(e))}))),M.pipe((0,f.w)((t=>{const e=(0,a.mA)(t);return n.activeElement&&n.activeElement!==n.body?w.pipe((0,v.q)(1),(0,c.U)((()=>e)),(0,h.R)((0,y.H)(0))):(0,g.of)(e)})))).pipe((0,b.x)(),(0,_.B)())})),M=(0,a.N1)((()=>(0,r.f3M)(i.K0).querySelector("base")?.href??""));var S=n(11892);const A=/(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/,P=/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-/,E=(0,a.N1)((()=>A.test((0,r.f3M)(o.yZ).toLowerCase())||P.test((0,r.f3M)(o.yZ).slice(0,4).toLowerCase()))),T=(0,a.N1)((()=>(0,a.i1)((0,r.f3M)(o.s5)))),I=(0,a.N1)((()=>(0,r.f3M)(E)&&!(0,r.f3M)(T))),D=(0,a.N1)((()=>!!(0,r.f3M)(o.m9)?.webkitConvertPointFromNodeToPage)),z=(0,a.N1)((()=>(0,r.f3M)(T)?"ios":(0,r.f3M)(I)?"android":"web")),N=(0,a.N1)((()=>!!(0,r.f3M)(o.m9).Cypress)),F=(0,a.N1)(S.tD),L=(0,a.N1)((()=>(0,r.f3M)(N)||(0,r.f3M)(F))),R=new r.OlP("");function B(t){return{provide:R,useValue:t}}const j=(0,a.N1)((()=>(0,i.NF)((0,r.f3M)(r.Lbi))?new Range:{}));var H=n(20530);const V=new r.OlP("[TUI_WINDOW_SIZE]",{factory:()=>{const t=(0,r.f3M)(o.m9);return(0,s.mL)(t,"resize").pipe((0,m.O)(null),(0,c.U)((()=>{const e=Math.max(t.document.documentElement.clientWidth||0,t.innerWidth||0,t.visualViewport?.width||0),n=Math.max(t.document.documentElement.clientHeight||0,t.innerHeight||0,t.visualViewport?.height||0),i={width:e,height:n,top:0,left:0,right:e,bottom:n,x:0,y:0};return{...i,toJSON:()=>JSON.stringify(i)}})),(0,H.d)({bufferSize:1,refCount:!0}))}})},21247:(t,e,n)=>{n.d(e,{i:()=>r});const i=/ipad|iphone|ipod/;function r(t){return i.test(t.userAgent.toLowerCase())||function(t){return t.platform.startsWith("Mac")||"iPhone"===t.platform}(t)&&t.maxTouchPoints>1}},50109:(t,e,n)=>{function i(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]}n.d(e,{R:()=>i})},79611:(t,e,n)=>{function i(t,e,n){return`#${[t,e,n].map((t=>t.toString(16).padStart(2,"0"))).join("")}`}n.d(e,{W:()=>i})},55181:(t,e,n)=>{function i(t,e){try{return t.contains(e)||!!(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}catch{return!1}}function r(t){return t.matches("input")}function o(t){return r(t)||function(t){return t.matches("textarea")}(t)}function s(t){return!!t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function a(t){return!!t&&t instanceof t.ownerDocument.defaultView.HTMLElement}function l(t){return t.nodeType===Node.TEXT_NODE}function c(t){return t.composedPath()[0]}n.d(e,{PP:()=>i,mA:()=>c,Nn:()=>h,Wf:()=>d,PU:()=>g,YX:()=>m,AG:()=>y,ve:()=>s,Hn:()=>b,dW:()=>a,Ls:()=>r,FP:()=>_,wq:()=>l,qY:()=>o,dD:()=>w,UP:()=>x});const u="text/plain";function h(t,e=u){return"clipboardData"in t&&null!==t.clipboardData?t.clipboardData.getData(e)||t.clipboardData.getData(u):t.target.ownerDocument.defaultView.clipboardData.getData("text")}function d(t){return"getRootNode"in t&&t.isConnected?t.getRootNode():t.ownerDocument}var p=n(58373),f=n(73740);function g(t){const{ownerDocument:e}=t;if(!e?.defaultView||!t.getBoundingClientRect)return null;const{innerWidth:n,innerHeight:i}=e.defaultView,r=d(t),o=t.getBoundingClientRect();if(0===o.width&&0===o.height)return null;const s=(0,p.K)(Math.round(o.left)+2,0,n),a=(0,p.K)(Math.round(o.top)+2,0,i),l=(0,p.K)(Math.round(o.right)-2,0,n),c=(0,p.K)(Math.round(o.bottom)-2,0,i),u=(0,p.K)(Math.round(o.left+o.width/2),0,n),h=(0,p.K)(Math.round(o.top+o.height/2),0,i),g=[r.elementFromPoint(u,a),r.elementFromPoint(u,c),r.elementFromPoint(s,h),r.elementFromPoint(l,h)].filter(f.Pc);if(!g.length)return[];const m=g.filter((e=>!t.contains(e)&&!e.contains(t)));return 4===m.length?m:null}function m(t,e){let{offsetTop:n,offsetLeft:i,offsetParent:r}=e;for(;a(r)&&r!==t;)n+=r.offsetTop,i+=r.offsetLeft,r=r.offsetParent;return{offsetTop:n,offsetLeft:i}}var v=n(20755);function y(){return(0,v.f3M)(v.SBq).nativeElement}function b(t){return o(t)&&!t.readOnly||!!t.isContentEditable}function _(t,e){return l(t)?!!t.parentElement?.closest(e):s(t)&&!!t.closest(e)}function w(t=0,e=0){const n={x:t,y:e,left:t,right:t,top:e,bottom:e,width:0,height:0};return{...n,toJSON:()=>n}}function x(t){return"explicitOriginalTarget"in t?t?.explicitOriginalTarget!==t.target:"pointerId"in t?-1===t.pointerId:"detail"in t&&"webkitForce"in t&&0===t?.detail}},52674:(t,e,n)=>{n.d(e,{hp:()=>o,BW:()=>c,ie:()=>r,V8:()=>u,zb:()=>h,dT:()=>a,_h:()=>l,VR:()=>d});var i=n(55181);function r({activeElement:t}){if(!t?.shadowRoot)return t;let e=t.shadowRoot.activeElement;for(;e?.shadowRoot;)e=e.shadowRoot.activeElement;return e}function o(t){const e=r(t);(0,i.dW)(e)&&e.blur()}var s=n(11892);function a(t){if(t.hasAttribute("disabled")||"-1"===t.getAttribute("tabIndex"))return!1;if((0,i.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:r=!0}){if(!e.ownerDocument)return null;const o=r?a:l,c=e.ownerDocument.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s.Lw);for(c.currentNode=t;n?c.previousNode():c.nextNode();)if((0,i.dW)(c.currentNode)&&(t=c.currentNode),(0,i.dW)(t)&&o(t))return t;return null}function u(t){return!!t?.ownerDocument&&r(t.ownerDocument)===t&&t.ownerDocument.hasFocus()}function h(t){const e=t?.ownerDocument&&r(t.ownerDocument);return!!e&&t.contains(e)&&!!t.ownerDocument?.hasFocus()}function d(t,e,n){for(t+=n;t>=0&&t{n.d(e,{WX:()=>g.WX,Ki:()=>p.K,JN:()=>g.JN,N1:()=>g.N1,A2:()=>g.A2,q2:()=>g.q2,mA:()=>h.mA,BW:()=>d.BW,Wf:()=>h.Wf,ie:()=>d.ie,RO:()=>r.R,qZ:()=>s,AG:()=>h.AG,ve:()=>h.ve,i1:()=>i.i,zb:()=>d.zb,_h:()=>d._h,FP:()=>h.FP,dt:()=>g.dt,Pc:()=>g.Pc,Aj:()=>g.Aj,wq:()=>h.wq,qY:()=>h.qY,lj:()=>g.lj,Mp:()=>l,Q2:()=>g.Q2,vK:()=>g.vK,UM:()=>g.UM,O9:()=>g.O9,WS:()=>c.W,bD:()=>u,FG:()=>f.FG});var i=n(21247),r=n(50109);function o(t,e,n,i){const r=(i+t/60)%6;return Math.round(n-n*e*Math.max(Math.min(r,4-r,1),0))}function s(t,e,n){return[o(t,e,n,5),o(t,e,n,3),o(t,e,n,1)]}const a=[0,0,0,1];function l(t){const e=t.replace("#","").replace("rgba(","").replace("rgb(","").replace(")",""),n=e.split(",").map((t=>parseFloat(t)));if(4===n.length)return n;if(3===n.length)return n.concat(1);const i=e.match(new RegExp(`(.{${e.length/3}})`,"g"));if(!i)return a;const r=i.map((t=>parseInt(e.length%2?t+t:t,16)));return[r[0]||a[0],r[1]||a[1],r[2]||a[2],void 0===r[3]?a[3]:r[3]]}var c=n(79611);function u(t,e,n){const i=Math.max(t,e,n),r=i-Math.min(t,e,n),o=r&&(i===t?(e-n)/r:i===e?2+(n-t)/r:4+(t-e)/r);return[60*(o<0?o+6:o),i&&r/i,i]}var h=n(55181),d=n(52674),p=n(58373),f=n(72478),g=n(73740)},58373:(t,e,n)=>{function i(t,e,n){return Math.min(n,Math.max(e,t))}n.d(e,{K:()=>i})},23880:(t,e,n)=>{function i(t,e,n){return t>=e&&ti})},72478:(t,e,n)=>{n.d(e,{Br:()=>s,FG:()=>o,OT:()=>a,h4:()=>l});const i=292;function r(t,e,n){if(t===1/0)return t;e=Math.min(e,i);const r=`${t}e`.split("e"),o=`${n(Number(`${r[0]}e${Number(r[1])+e}`))}e`.split("e");return Number(`${o[0]}e${Number(o[1])-e}`)}function o(t,e=0){return r(t,e,Math.round)}function s(t,e=0){return r(t,e,Math.ceil)}function a(t,e=0){return r(t,e,Math.floor)}function l(t,e=0){return r(t,e,Math.trunc)}},73740:(t,e,n)=>{function i(t,e){return t.slice(0,Math.max(e,0)).concat(t.slice(Math.max(e+1,0)))}function r(t,e){return t.length===e.length&&t.every(((t,n)=>t===e[n]))}function o(t,e){const n=t.indexOf(e);return-1===n?[...t,e]:i(t,n)}n.d(e,{Yl:()=>s,WX:()=>i,Hh:()=>r,jp:()=>o,JN:()=>l,N1:()=>c,A2:()=>h,Vx:()=>d,q2:()=>p,Xg:()=>f,gD:()=>g,Mv:()=>m,dt:()=>v,Pc:()=>y,Aj:()=>u,lj:()=>b,J$:()=>_,Q2:()=>w,vK:()=>x,UM:()=>k,O9:()=>M,pf:()=>S,__:()=>P});const s=(t,e)=>t.replaceAll(/[^0-9A-Za-zА-Яа-я]/gi,e);var a=n(20755);function l(t){return c((()=>t))}function c(t){return new a.OlP("",{factory:t})}function u(t){return"string"==typeof t}function h(t,e){return t===e?0:u(t)&&u(e)?t.localeCompare(e):t>e?1:-1}function d(t,e,n,i={self:!0}){const r=(0,a.$Zp)(n)?n:(0,a.tdS)(n),o=(0,a.f3M)(t,i),s=o[`${e.toString()}Change`];let l;return(0,a.cEC)((()=>{const t=r();l!==t&&((0,a.$Zp)(o[e])?o[e].set(t):o[e]=t,o.ngOnChanges?.({}),s?.emit?.(t),l=t)}),{allowSignalWrites:!0}),r}function p({touches:t}){return Math.hypot(t[0].clientX-t[1].clientX,t[0].clientY-t[1].clientY)}function f(t){return t<.5?2*t*t:(4-2*t)*t-1}function g(t){let e=[];return t.find(((t,n,i)=>(e=i,!0))),e}function m(t){return!t}function v(t){return"number"==typeof t}function y(t){return null!=t}function b(t){return new RegExp("^([a-zA-Z]+:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|localhost|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(t)}function _(t,e,n){return null===t?null===e:null!==e&&n(t,e)}function w(t,e,n=!1){return{provide:t,useExisting:e,multi:n}}function x(t,e,n){return{provide:t,deps:[[new a.FiY,new a.tp0,t]],useFactory:t=>({...t||n,...e})}}function C(t,e,n=!0){return function(){const i=t.call(this);return Object.defineProperty(this,e,{enumerable:n,value:i}),i}}function k(t,e,n){if("function"==typeof t){const n=e;if("getter"===n.kind)return C(t,n.name);if("method"===n.kind)return function(t){let e,n=[],i=!1;return function(...r){return i&&n.length===r.length&&r.every(((t,e)=>t===n[e]))||(n=r,e=t.apply(this,r),i=!0),e}}(t);throw new O}const{get:i,enumerable:r,value:o}=n,s=e;if(i)return{configurable:!0,enumerable:r,get:C(i,s,r)};if("function"!=typeof o)throw new O;const a=o;return{configurable:!0,enumerable:r,get(){let t,e=[],n=!1;const i=(...i)=>(n&&e.length===i.length&&i.every(((t,n)=>t===e[n]))||(e=i,t=a.apply(this,i),n=!0),t);return Object.defineProperty(this,s,{configurable:!0,value:i}),i}}}class O extends Error{constructor(){super("")}}function M(t){return`${t}px`}function S(t,e){return Array.from(t.reduce(((t,n)=>t.has(n[e])?t:t.set(n[e],n)),new Map).values())}const A=c((()=>{const t=new Map;return(0,a.f3M)(a.ktI).onDestroy((()=>t.forEach((t=>t.destroy())))),t}));function P(t){const e=(0,a.f3M)(A),n=(0,a.f3M)(a.lqb);e.has(t)||e.set(t,(0,a.LMc)(t,{environmentInjector:n}))}},34138:(t,e,n)=>{n.d(e,{i9:()=>h,QF:()=>u,eu:()=>c,Hp:()=>l,B_:()=>a,Gw:()=>d,X9:()=>p});var i=n(12405);const r="{{duration}}ms ease-in-out",o={params:{duration:300}},s=300,a=(0,i.X$)("tuiParentAnimation",[(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])]),l=((0,i.X$)("tuiParentStop",[(0,i.eR)(":enter",[])]),(0,i.X$)("tuiHost",[(0,i.eR)(":enter",[(0,i.oB)({overflow:"clip"}),(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})]),(0,i.eR)(":leave",[(0,i.IO)(":scope > *",[(0,i.pV)()],{optional:!0})])])),c=(0,i.X$)("tuiHeightCollapse",[(0,i.eR)(":enter",[(0,i.oB)({height:0}),(0,i.jt)(r,(0,i.oB)({height:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({height:"*"}),(0,i.jt)(r,(0,i.oB)({height:0}))],o)]),u=((0,i.X$)("tuiHeightCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({height:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({height:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({height:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiWidthCollapse",[(0,i.eR)(":enter",[(0,i.oB)({width:0}),(0,i.jt)(r,(0,i.oB)({width:"*"}))],o),(0,i.eR)(":leave",[(0,i.oB)({width:"*"}),(0,i.jt)(r,(0,i.oB)({width:0}))],o)]),(0,i.X$)("tuiWidthCollapseList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({width:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:"*"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({width:"*"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({width:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeIn",[(0,i.eR)(":enter",[(0,i.oB)({opacity:0}),(0,i.jt)(r,(0,i.oB)({opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({opacity:1}),(0,i.jt)(r,(0,i.oB)({opacity:0}))],o)])),h=((0,i.X$)("tuiFadeInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({opacity:0}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:1}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({opacity:1}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({opacity:0}))])],{optional:!0})],o)]),(0,i.X$)("tuiFadeInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)]),(0,i.X$)("tuiFadeInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(10px)",opacity:0}))],o)]),(0,i.X$)("tuiDropdownAnimation",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-10px)",opacity:0}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)",opacity:1}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)",opacity:1}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-10px)",opacity:0}))],o)])),d=((0,i.X$)("tuiScaleIn",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiPop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.jt)(r,(0,i.oB)({transform:"scale(1.1)"})),(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))],o)]),(0,i.X$)("tuiScaleInList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"scale(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(1)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"scale(1)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"scale(0)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideIn",[(0,i.eR)("* => left",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("left => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o),(0,i.eR)("* => right",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)("right => *",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)])),p=((0,i.X$)("tuiSlideInLeft",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))],o)]),(0,i.X$)("tuiSlideInLeftList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(-100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInRight",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))],o)]),(0,i.X$)("tuiSlideInRightList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateX(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateX(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateX(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInTop",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translate3d(0,{{start}},0)",pointerEvents:"none"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{end}},0)"}))],{params:{end:0,start:"100%",duration:300}}),(0,i.eR)(":leave",[(0,i.oB)({transform:"translate3d(0,{{end}},0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translate3d(0,{{start}},0)"}))],{params:{end:0,start:"100%",duration:300}})]));(0,i.X$)("tuiSlideInTopList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(100%)"}))])],{optional:!0})],o)]),(0,i.X$)("tuiSlideInBottom",[(0,i.eR)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))],o),(0,i.eR)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))],o)]),(0,i.X$)("tuiSlideInBottomList",[(0,i.eR)("* => *",[(0,i.IO)(":enter",[(0,i.oB)({transform:"translateY(-100%)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(0)"}))])],{optional:!0}),(0,i.IO)(":leave",[(0,i.oB)({transform:"translateY(0)"}),(0,i.EY)(s,[(0,i.jt)(r,(0,i.oB)({transform:"translateY(-100%)"}))])],{optional:!0})],o)])},52540:(t,e,n)=>{n.d(e,{kk:()=>_,qz:()=>x,uG:()=>s,O4:()=>a,UK:()=>w,P7:()=>d,Ic:()=>p,Fe:()=>b,Zy:()=>c,ei:()=>u,Wk:()=>h});var i=n(20755),r=n(73740);class o{}class s extends o{}class a extends o{}function l(t,e,n){return{provide:t,deps:[[new i.tp0,new i.FiY,t],n],useFactory:c(e)}}function c(t){return(e,n)=>e?.find?.((e=>e!==n&&e.type===t))||n}function u(t,e){return l(s,t,e)}function h(t,e){return l(a,t,e)}function d(t){return(0,r.Q2)(s,t,!0)}function p(t){return(0,r.Q2)(a,t,!0)}var f=n(62022),g=n(48132),m=n(45047),v=n(18004);class y{}function b(t){return(0,r.Q2)(y,t,!0)}class _ extends g.y{}function w(t){return(0,r.Q2)(_,t,!0)}let x=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.drivers=(0,i.f3M)(_),this.vehicles=(0,i.f3M)(y)}ngOnInit(){const t=this.vehicles.find((({type:t})=>t===this.type));(0,m.T)(...this.drivers.filter((({type:t})=>t===this.type))).pipe((0,v.x)(),(0,f.sL)(this.destroyRef)).subscribe((e=>{t?.toggle(e)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})()},75097:(t,e,n)=>{n.d(e,{J9:()=>I,Jp:()=>L});var i=n(76733),r=n(20755),o=n(62022),s=n(55181),a=n(34138),l=n(94030),c=n(41589),u=n(82510),h=n(25690),d=n(1925),p=n(81749),f=n(10409),g=n(74842),m=n(86253),v=n(73740),y=n(56424),b=n(38442),_=n(71209),w=n(92425);const x={autoClose:3e3,label:"",closeable:!0,data:void 0},C=(0,v.N1)((()=>({...x,...(0,r.f3M)(l.Ln)}))),k=(0,v.N1)((()=>(0,r.f3M)(m.fL)?"1rem 1rem 0 auto":"2rem 3rem 0 auto")),O=(0,v.JN)(new y.X([])),M=(0,v.N1)((()=>(0,b.a)([(0,_.of)(new Map),(0,r.f3M)(O)]).pipe((0,w.U)((([t,e])=>(t.forEach(((e,n)=>t.set(n,[]))),e.forEach((e=>{const n=e.component.component,i=t.get(n)||[];t.set(n,[...i,e])})),Array.from(t.values())))))));function S(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 A(t,e){if(1&t&&(r.TgZ(0,"label",4),r.YNc(1,S,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 P(t,e){if(1&t&&r._UZ(0,"div",6),2&t){const t=e.polymorpheusOutlet;r.Q6J("innerHTML",t,r.oJD)}}let E=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.destroyRef=(0,r.f3M)(r.ktI),this.position=(0,r.f3M)(k),this.item=(0,r.f3M)(h.yf),this.autoClose="function"==typeof this.item.autoClose?this.item.autoClose(this.item.status):this.item.autoClose,this.options=(0,u.qS)((0,r.f3M)(c.ZW)),this.animation=this.position.endsWith("auto")?{...this.options,value:"right"}:{...this.options,value:"left"}}ngOnInit(){this.initAutoClose()}close(){this.item.$implicit.complete()}initAutoClose(){this.autoClose&&(0,d.H)(this.autoClose).pipe((0,p.R)((0,f.R)(this.el,"mouseenter")),(0,g.r)({delay:()=>(0,f.R)(this.el,"mouseleave")}),(0,o.sL)(this.destroyRef)).subscribe((()=>this.close()))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alert"]],hostAttrs:["role","alert"],hostVars:5,hostBindings:function(t,e){2&t&&(r.d8E("@tuiFadeIn",e.options)("@tuiSlideIn",e.animation)("@tuiHeightCollapse",e.animation),r.Udp("margin",e.position))},standalone:!0,features:[r.jDz],decls:4,vars:6,consts:[[3,"hideClose","icon","status","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.close()})),r.YNc(1,A,2,2,"label",1),r.TgZ(2,"div",2),r.YNc(3,P,1,1,"div",3),r.qZA()()),2&t&&(r.Q6J("hideClose",!e.item.closeable)("icon",e.item.icon)("status",e.item.status),r.xp6(1),r.Q6J("ngIf",e.item.label),r.xp6(2),r.Q6J("polymorpheusOutlet",e.item.content)("polymorpheusOutletContext",e.item))},dependencies:[l.tK,i.O5,h.s$],styles:["[_nghost-%COMP%]{display:block;box-shadow:var(--tui-shadow-medium);border-radius:var(--tui-radius-l);width:18rem}[_nghost-%COMP%]:not(:first-child){margin-top:.75rem!important}[_nghost-%COMP%]:not(:last-child){margin-bottom:0!important}.t-heading[_ngcontent-%COMP%]{margin:0}[data-size=s][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-s);font-weight:700}[data-size=m][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:700}[data-size=l][_ngcontent-%COMP%] .t-heading[_ngcontent-%COMP%]{font:var(--tui-font-text-l);line-height:1.5rem;font-weight:700}.t-content[_ngcontent-%COMP%]{color:var(--tui-text-primary);word-wrap:break-word;word-break:break-word}.t-content[_ngcontent-%COMP%]:empty{display:none}"],data:{animation:[a.QF,a.Gw,a.eu]},changeDetection:0}),e})();n(11320);var T=n(10676);let I=(()=>{var t;class e extends T.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(O,E,(0,r.f3M)(C))},providedIn:"root"}),e})();var D=n(86198),z=n(69401);function N(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 F(t,e){if(1&t&&(r.TgZ(0,"div",1),r.YNc(1,N,2,5,"ng-container",2),r.qZA()),2&t){const t=e.$implicit;r.Q6J("@tuiParentAnimation",void 0),r.xp6(1),r.Q6J("ngForOf",t)}}let L=(()=>{var t;class e{constructor(){this.injector=(0,r.f3M)(r.gxx),this.alerts$=(0,r.f3M)(M),this.trackBy=z.y,this.mapper=t=>r.zs3.create({providers:[{provide:h.yf,useValue:t}],parent:this.injector})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-alerts"]],standalone:!0,features:[r.jDz],decls:2,vars:4,consts:[["class","t-wrapper",4,"ngFor","ngForOf","ngForTrackBy"],[1,"t-wrapper"],[3,"ngComponentOutlet","ngComponentOutletInjector",4,"ngFor","ngForOf"],[3,"ngComponentOutlet","ngComponentOutletInjector"]],template:function(t,e){1&t&&(r.YNc(0,F,2,2,"div",0),r.ALo(1,"async")),2&t&&r.Q6J("ngForOf",r.lcZ(1,2,e.alerts$))("ngForTrackBy",e.trackBy)},dependencies:[i.ez,i.$G,i.sg,i.Ov,D.c],styles:["tui-alerts>.t-wrapper{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;pointer-events:none}tui-alerts>.t-wrapper>*{pointer-events:auto}\n"],encapsulation:2,data:{animation:[a.B_]}}),e})()},14863:(t,e,n)=>{n.d(e,{x:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(83960),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-button"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiButton],[tuiIconButton]{--t-gap: .125rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));height:var(--t-size);justify-content:center;border-radius:var(--t-radius);padding:var(--t-padding);-webkit-user-select:none;user-select:none;cursor:pointer}[tuiButton]>img,[tuiIconButton]>img,[tuiButton]>tui-svg,[tuiIconButton]>tui-svg,[tuiButton]>tui-icon,[tuiIconButton]>tui-icon,[tuiButton]>tui-avatar,[tuiIconButton]>tui-avatar,[tuiButton]>tui-badge,[tuiIconButton]>tui-badge,[tuiButton]>[tuiBadge],[tuiIconButton]>[tuiBadge],[tuiButton]>[tuiRadio],[tuiIconButton]>[tuiRadio],[tuiButton]>[tuiSwitch],[tuiIconButton]>[tuiSwitch],[tuiButton]>[tuiCheckbox],[tuiIconButton]>[tuiCheckbox],[tuiButton]._icon-left:before,[tuiIconButton]._icon-left:before,[tuiButton]._icon-right:after,[tuiIconButton]._icon-right:after{margin:var(--t-margin)}[tuiButton]>.t-loader,[tuiIconButton]>.t-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[tuiButton]>.t-loader .t-text,[tuiIconButton]>.t-loader .t-text{position:absolute}[tuiButton][data-size=xs],[tuiIconButton][data-size=xs]{--t-size: var(--tui-height-xs);--t-radius: var(--tui-radius-xs);--t-padding: 0 .375rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=xs] tui-svg,[tuiIconButton][data-size=xs] tui-svg,[tuiButton][data-size=xs] tui-icon,[tuiIconButton][data-size=xs] tui-icon,[tuiButton][data-size=xs]:before,[tuiIconButton][data-size=xs]:before{font-size:1rem}[tuiButton][data-size=s],[tuiIconButton][data-size=s]{--t-size: var(--tui-height-s);--t-radius: var(--tui-radius-s);--t-padding: 0 .625rem;--t-margin: -.125rem;font:var(--tui-font-text-s)}[tuiButton][data-size=s] tui-svg,[tuiIconButton][data-size=s] tui-svg,[tuiButton][data-size=s] tui-icon,[tuiIconButton][data-size=s] tui-icon,[tuiButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before,[tuiIconButton][data-size=s]:not([tuiIconButton][data-appearance=icon]):not([tuiIconButton][data-appearance=link]):before{font-size:1rem}[tuiButton][data-size=m],[tuiIconButton][data-size=m]{--t-size: var(--tui-height-m);--t-radius: var(--tui-radius-m);--t-padding: 0 1rem;--t-margin: -.375rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=m]:after,[tuiIconButton][data-size=m]:after{margin-inline-end:-.125rem}[tuiButton][data-size=l],[tuiIconButton][data-size=l]{--t-size: var(--tui-height-l);--t-radius: var(--tui-radius-l);--t-padding: 0 1.25rem;--t-gap: .25rem;--t-margin: -.25rem;font:var(--tui-font-text-m);font-weight:700}[tuiButton][data-size=l]:after,[tuiIconButton][data-size=l]:after{margin-inline-start:.25rem;margin-inline-end:-.25rem}[tuiButton]._loading,[tuiIconButton]._loading{--tui-disabled-opacity: 1;-webkit-text-fill-color:transparent}[tuiButton]._loading>*,[tuiIconButton]._loading>*,[tuiButton]._loading:before,[tuiIconButton]._loading:before,[tuiButton]._loading:after,[tuiIconButton]._loading:after{opacity:0}[tuiButton]._loading>.t-loader,[tuiIconButton]._loading>.t-loader{opacity:1}[tuiButton][tuiIcons]:after,[tuiIconButton][tuiIcons]:after{font-size:1rem}[tuiIconButton]{gap:0;width:var(--t-size);font-size:0!important;padding:0}[tuiIconButton][data-size=l]:after{margin:0}[tuiIconButton]._icon-left:after{display:none}\n"],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s.Gm),this.nothing=(0,r.__)(l),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiButton",""],["button","tuiButton",""],["a","tuiIconButton",""],["button","tuiIconButton",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,o.mS)(s.Gm)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},83960:(t,e,n)=>{n.d(e,{Gm:()=>o,O0:()=>s});var i=n(73740);const r={appearance:"primary",size:"l"},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},11679:(t,e,n)=>{n.d(e,{O0:()=>r.O0,xG:()=>i.x});var i=n(14863),r=n(83960)},7443:(t,e,n)=>{n.d(e,{R:()=>C});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(7479),l=n(81929),c=n(80313),u=n(86198),h=n(73740),d=n(88283),p=n(41589);function f(t,e){if(1&t&&r._UZ(0,"div",3),2&t){const t=e.$implicit;r.Q6J("textContent",t)}}function g(t,e){if(1&t&&r._UZ(0,"div",12),2&t){const t=r.oxw().ngIf;r.Udp("background",(null==t?null:t[1])||"")}}function m(t,e){if(1&t&&(r.TgZ(0,"div",11),r._UZ(1,"div",12),r.YNc(2,g,1,2,"div",13),r.qZA()),2&t){const t=e.ngIf;r.xp6(1),r.Udp("background",null==t?null:t[0]),r.xp6(1),r.Q6J("ngIf",t.length>1)}}const v=function(t,e,n,i,r){return[t,e,n,i,r]};function y(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",8),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw().tuiLet,n=r.oxw(4);return r.KtG(n.onItemClick(e))}))("tuiHoveredChange",(function(e){r.CHM(t);const n=r.oxw().tuiLet,i=r.oxw(4);return r.KtG(i.onItemHovered(e&&n))})),r.TgZ(1,"div",9),r.ALo(2,"tuiMapper"),r._uU(3),r.YNc(4,m,3,3,"div",10),r.ALo(5,"tuiMapper"),r.qZA()()}if(2&t){const t=r.oxw().tuiLet,e=r.oxw(4);r.ekj("t-cell_disabled",e.disabledItemHandler(t))("t-cell_interval",e.itemIsInterval(t))("t-cell_today",e.itemIsToday(t))("t-cell_unavailable",e.itemIsUnavailable(t)),r.uIk("data-range",e.getItemRange(t)),r.xp6(1),r.ekj("t-item_unavailable",e.itemIsUnavailable(t)),r.uIk("data-type",r.xi3(2,14,t,e.dayTypeHandler)),r.xp6(2),r.hij(" ",t.day," "),r.xp6(1),r.Q6J("ngIf",r.G7q(5,17,r.qbA(23,v,t,e.toMarkers,e.itemIsToday(t),!!e.getItemRange(t),e.markerHandler)))}}function b(t,e){if(1&t&&(r.ynx(0),r.YNc(1,y,6,29,"div",7),r.BQk()),2&t){const t=e.tuiLet,n=r.oxw(4);r.xp6(1),r.Q6J("ngIf",!n.itemIsUnavailable(t)||n.showAdjacent)}}function _(t,e){if(1&t&&(r.ynx(0),r.YNc(1,b,2,1,"ng-container",2),r.BQk()),2&t){const t=e.$implicit,n=r.oxw().$implicit,i=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiLet",i[n][t])}}function w(t,e){if(1&t&&(r.TgZ(0,"div",5),r.YNc(1,_,2,1,"ng-container",6),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",n[t].length)}}function x(t,e){if(1&t&&(r.TgZ(0,"div"),r.YNc(1,w,2,1,"div",4),r.qZA()),2&t){const t=e.tuiLet;r.xp6(1),r.Q6J("tuiRepeatTimesOf",t.length)}}let C=(()=>{var t;class e{constructor(){this.today=s.TU.currentLocal(),this.unorderedWeekDays$=(0,r.f3M)(p.P),this.dayTypeHandler=(0,r.f3M)(p.rJ),this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.markerHandler=null,this.value=null,this.hoveredItem=null,this.showAdjacent=!0,this.hoveredItemChange=new r.vpe,this.dayClick=new r.vpe,this.toMarkers=(t,e,n,i)=>{if(e||n)return null;const r=i?.(t);return r?.length?r:null}}itemIsInterval(t){const{value:e,hoveredItem:n}=this;if(!(e instanceof s.VR))return!1;if(!e.isSingleDay)return e.from.daySameOrBefore(t)&&e.to.dayAfter(t);if(null===n)return!1;const i=s.VR.sort(e.from,n);return i.from.daySameOrBefore(t)&&i.to.dayAfter(t)}onItemHovered(t){this.updateHoveredItem(t||null)}getItemRange(t){const{value:e,hoveredItem:n}=this;return e?e instanceof s.TU?e.daySame(t)?"single":null:e instanceof s.VR?e.from.daySame(t)&&!e.isSingleDay||n?.dayAfter(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayBefore(e.from)&&e.isSingleDay?"start":e.to.daySame(t)&&!e.isSingleDay||n?.dayBefore(e.from)&&e.from.daySame(t)&&e.isSingleDay||n?.daySame(t)&&n.dayAfter(e.from)&&e.isSingleDay?"end":e.isSingleDay&&e.from.daySame(t)?"single":null:e.find((e=>e.daySame(t)))?"single":null:null}get isSingleDayRange(){return this.value instanceof s.VR&&this.value.isSingleDay}itemIsToday(t){return this.today.daySame(t)}itemIsUnavailable(t){return!this.month.monthSame(t)}onItemClick(t){this.dayClick.emit(t)}updateHoveredItem(t){(0,h.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-sheet"]],hostVars:2,hostBindings:function(t,e){2&t&&r.ekj("_single",e.isSingleDayRange)},inputs:{month:"month",disabledItemHandler:"disabledItemHandler",markerHandler:"markerHandler",value:"value",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent"},outputs:{hoveredItemChange:"hoveredItemChange",dayClick:"dayClick"},standalone:!0,features:[r.jDz],decls:6,vars:9,consts:[[1,"t-row","t-row_weekday"],["class","t-cell",3,"textContent",4,"ngFor","ngForOf"],[4,"tuiLet"],[1,"t-cell",3,"textContent"],["automation-id","tui-calendar-sheet__row","class","t-row",4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__row",1,"t-row"],[4,"tuiRepeatTimes","tuiRepeatTimesOf"],["automation-id","tui-calendar-sheet__cell","class","t-cell",3,"t-cell_disabled","t-cell_interval","t-cell_today","t-cell_unavailable","click","tuiHoveredChange",4,"ngIf"],["automation-id","tui-calendar-sheet__cell",1,"t-cell",3,"click","tuiHoveredChange"],["automation-id","tui-calendar-sheet__item",1,"t-item"],["class","t-dots",4,"ngIf"],[1,"t-dots"],[1,"t-dot"],["class","t-dot",3,"background",4,"ngIf"]],template:function(t,e){1&t&&(r.TgZ(0,"div",0),r.YNc(1,f,1,1,"div",1),r.ALo(2,"async"),r.ALo(3,"tuiOrderWeekDays"),r.qZA(),r.YNc(4,x,2,1,"div",2),r.ALo(5,"tuiCalendarSheet")),2&t&&(r.xp6(1),r.Q6J("ngForOf",r.lcZ(2,2,r.lcZ(3,4,e.unorderedWeekDays$))),r.xp6(3),r.Q6J("tuiLet",r.xi3(5,6,e.month,!0)))},dependencies:[i.ez,i.sg,i.O5,i.Ov,l.i,u.c,c.d,a.et,d.hp,d.q2],styles:['[_nghost-%COMP%]{display:block;font:var(--tui-font-text-m)}.t-row[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item[_ngcontent-%COMP%]{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:before, .t-item[_ngcontent-%COMP%]:after{position:absolute;top:0;left:0;bottom:0;right:0;content:"";z-index:-1;border-radius:var(--tui-radius-m)}.t-item[_ngcontent-%COMP%]:after{border-radius:.5rem}.t-cell[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;justify-content:center;width:2.25rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today[_ngcontent-%COMP%]:after{position:absolute;left:50%;transform:translate(-50%);content:"";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background:var(--tui-text-primary)}.t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell_interval[_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell_interval[_ngcontent-%COMP%]:not(:last-child):before{right:-.1875rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval[_ngcontent-%COMP%]:not([data-range=start]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval[_ngcontent-%COMP%]:last-child:first-child:before{right:0}.t-cell_interval[_ngcontent-%COMP%]:first-child > .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}[data-type=weekday][_ngcontent-%COMP%]{color:var(--tui-text-primary)}[data-type=weekend][_ngcontent-%COMP%]{color:var(--tui-status-negative)}.t-row[_ngcontent-%COMP%]{justify-content:flex-start}.t-row[_ngcontent-%COMP%]:first-child{justify-content:flex-end}.t-row_weekday[_ngcontent-%COMP%]{font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none}.t-item[_ngcontent-%COMP%]{display:flex;flex-direction:column}.t-item_unavailable[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}.t-dots[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:-.5rem;padding-bottom:.25rem}.t-dot[_ngcontent-%COMP%]{display:inline-block;width:.25rem;height:.25rem;border-radius:100%;margin:0 .0625rem}'],changeDetection:0}),e})()},94840:(t,e,n)=>{n.d(e,{z:()=>h});var i=n(76733),r=n(20755),o=n(28351),s=n(16100),a=n(82509),l=n(88283);function c(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}function u(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onYearClick())})),r._uU(1),r.qZA()}if(2&t){const t=r.oxw();r.xp6(1),r.hij(" ",t.value.formattedYear," ")}}let h=(()=>{var t;class e{constructor(){this.value=o.ql.currentLocal(),this.min=o.K1,this.max=o.Oy,this.valueChange=new r.vpe,this.yearClick=new r.vpe}onYearClick(){this.yearClick.next(this.value)}append(t){const e=this.value.append(t);this.min.monthSameOrAfter(e)?this.updateValue(this.min):this.updateValue(this.max.monthSameOrBefore(e)?this.max:e)}updateValue(t){this.value.monthSame(t)||(this.value=t,this.valueChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar-spin"]],inputs:{value:"value",min:"min",max:"max"},outputs:{valueChange:"valueChange",yearClick:"yearClick"},standalone:!0,features:[r.jDz],decls:7,vars:10,consts:[[3,"focusable","leftDisabled","rightDisabled","leftClick","rightClick"],[4,"ngIf","ngIfElse"],["button",""],["id","year-btn","automation-id","tui-primitive-year-month-pagination__year-button","tabIndex","-1","tuiLink","","type","button",3,"click"]],template:function(t,e){if(1&t&&(r.TgZ(0,"tui-spin-button",0),r.NdJ("leftClick",(function(){return e.append({month:-1})}))("rightClick",(function(){return e.append({month:1})})),r._uU(1),r.ALo(2,"async"),r.ALo(3,"tuiMonth"),r.YNc(4,c,2,1,"ng-container",1),r.YNc(5,u,2,1,"ng-template",null,2,r.W1O),r.qZA()),2&t){const t=r.MAs(6);r.Q6J("focusable",!1)("leftDisabled",e.value.monthSameOrBefore(e.min))("rightDisabled",e.value.monthSameOrAfter(e.max)),r.xp6(1),r.hij(" ",r.lcZ(2,6,r.lcZ(3,8,e.value))," "),r.xp6(3),r.Q6J("ngIf",e.min.year===e.max.year)("ngIfElse",t)}},dependencies:[a.f,s.lI,l.$7,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),e})()},62571:(t,e,n)=>{n.d(e,{u:()=>g});var i=n(20755),r=n(11892),o=n(28351),s=n(7479),a=n(81929),l=n(80313),c=n(23880),u=n(73740),h=n(88543);function d(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",4),i.NdJ("click",(function(){const e=i.CHM(t).tuiLet,n=i.oxw(3);return i.KtG(n.yearClick.emit(e))}))("tuiHoveredChange",(function(e){const n=i.CHM(t).tuiLet,r=i.oxw(3);return i.KtG(r.onItemHovered(e,n))})),i.TgZ(1,"div",5),i._uU(2),i.qZA()()}if(2&t){const t=e.tuiLet,n=i.oxw(3);i.ekj("t-cell_disabled",n.isDisabled(t))("t-cell_interval",n.itemIsInterval(t))("t-cell_today",n.itemIsToday(t)),i.Q6J("tuiScrollIntoView",n.scrollItemIntoView(t)),i.uIk("data-range",n.getItemRange(t)),i.xp6(2),i.Oqu(t)}}function p(t,e){if(1&t&&(i.ynx(0),i.YNc(1,d,3,9,"div",3),i.BQk()),2&t){const t=e.$implicit,n=i.oxw().$implicit,r=i.oxw();i.xp6(1),i.Q6J("tuiLet",r.getItem(n,t))}}function f(t,e){1&t&&(i.TgZ(0,"div",1),i.YNc(1,p,2,1,"ng-container",2),i.qZA()),2&t&&(i.xp6(1),i.Q6J("tuiRepeatTimesOf",4))}let g=(()=>{var t;class e{constructor(){this.hoveredItem=null,this.currentYear=o.ql.currentLocal().year,this.value=null,this.initialItem=this.currentYear,this.min=o.nN,this.max=o.cO,this.disabledItemHandler=r.tD,this.yearClick=new i.vpe}isDisabled(t){return this.max&&this.maxt||this.disabledItemHandler(t)}getItemRange(t){const{value:e,hoveredItem:n}=this;return null===e?null:e instanceof o.F4?e.year===t?"single":null:(0,u.dt)(e)?e===t?"single":null:e instanceof o.dt?e.from.year===t&&!e.from.yearSame(e.to)||null!==n&&n>e.from.year&&e.from.year===t&&e.from.yearSame(e.to)||null!==n&&n===t&&ne.from.year&&e.from.yearSame(e.to)?"end":e.from.yearSame(e.to)&&e.from.year===t?"single":null:e.find((e=>e.year===t))?"single":null}itemIsInterval(t){const{value:e,hoveredItem:n}=this;return!!this.isRange(e)&&(e.from.yearSame(e.to)?null!==n&&e.from.year!==n&&(0,c.w)(t,Math.min(e.from.year,n),Math.max(e.from.year,n)):e.from.year<=t&&e.to.year>t)}onItemHovered(t,e){this.updateHoveredItem(t,e)}get isSingle(){return this.isRange(this.value)&&this.value.from.yearSame(this.value.to)}get rows(){return Math.ceil((this.calculatedMax-this.calculatedMin)/4)}isRange(t){return t instanceof o.dt}scrollItemIntoView(t){return this.initialItem===t}getItem(t,e){return 4*t+e+this.calculatedMin}itemIsToday(t){return this.currentYear===t}get calculatedMin(){const t=this.initialItem-100,e=this.min??o.nN;return e>t?e:t}get calculatedMax(){const t=this.initialItem+100,e=this.max??o.cO;return e .t-item[_ngcontent-%COMP%]{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%]:last-child > .t-item[_ngcontent-%COMP%]{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{border-radius:0}.t-cell[data-range][_ngcontent-%COMP%]:after{background:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{color:var(--tui-text-primary-on-accent-1)}.t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1)}.t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:hover > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-hover)}.t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:before, .t-cell[data-range][_ngcontent-%COMP%]:active > .t-item[_ngcontent-%COMP%]:after{background:var(--tui-background-accent-1-pressed)}.t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-base-alt)}._single[_nghost-%COMP%] .t-cell[data-range=end][_ngcontent-%COMP%]:before{background:var(--tui-background-neutral-1-hover)}.t-cell[data-range=end][_ngcontent-%COMP%]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single][_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]:after{display:none}.t-cell_disabled[_ngcontent-%COMP%]{pointer-events:none}.t-cell_disabled[_ngcontent-%COMP%] > .t-item[_ngcontent-%COMP%]{opacity:.36}.t-cell[_ngcontent-%COMP%]:hover:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-hover)}.t-cell[_ngcontent-%COMP%]:active:not([data-range]) > .t-item[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1-pressed)}[_nghost-%COMP%]{width:15.75rem}.t-row[_ngcontent-%COMP%]{margin:.875rem 0}.t-row[_ngcontent-%COMP%]:first-child{margin-top:0}.t-row[_ngcontent-%COMP%]:last-child{margin-bottom:0}'],changeDetection:0}),e})()},23650:(t,e,n)=>{n.d(e,{X:()=>g});var i=n(76733),r=n(20755),o=n(11892),s=n(28351),a=n(86198),l=n(73740),c=n(88543),u=n(7443),h=n(94840),d=n(62571);function p(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-scrollbar",2)(1,"tui-calendar-year",3),r.NdJ("yearClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPickerYearClick(e))})),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Q6J("initialItem",t.month.year)("max",t.computedMax.year)("min",t.computedMin.year)("value",t.value)}}function f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"tui-calendar-spin",4),r.NdJ("valueChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onPaginationValueChange(e))}))("yearClick",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onPaginationYearClick())})),r.qZA(),r.TgZ(1,"tui-calendar-sheet",5),r.NdJ("dayClick",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onDayClick(e))}))("hoveredItemChange",(function(e){r.CHM(t);const n=r.oxw();return r.KtG(n.onHoveredItemChange(e))})),r.ALo(2,"tuiMapper"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("max",t.computedMaxViewedMonth)("min",t.computedMinViewedMonth)("value",t.month),r.xp6(1),r.Q6J("disabledItemHandler",r.gM2(2,9,t.disabledItemHandler,t.disabledItemHandlerMapper,t.computedMin,t.computedMax))("hoveredItem",t.hoveredItem)("markerHandler",t.markerHandler)("month",t.month)("showAdjacent",t.showAdjacent)("value",t.value)}}let g=(()=>{var t;class e{constructor(){this.day=null,this.view="month",this.month=s.ql.currentLocal(),this.disabledItemHandler=o.tD,this.min=s.K1,this.max=s.Oy,this.minViewedMonth=s.K1,this.maxViewedMonth=s.Oy,this.hoveredItem=null,this.showAdjacent=!0,this.markerHandler=null,this.dayClick=new r.vpe,this.monthChange=new r.vpe,this.hoveredItemChange=new r.vpe,this.disabledItemHandlerMapper=(t,e,n)=>i=>i.dayBefore(e)||i.dayAfter(n)||t(i)}set value(t){this.day=t,this.showAdjacent&&t instanceof s.TU&&(this.month=t)}set initialView(t){this.view=t}get value(){return this.day}onPaginationValueChange(t){this.updateViewedMonth(t)}onDayClick(t){this.dayClick.emit(t)}onHoveredItemChange(t){this.updateHoveredDay(t)}get computedMin(){return this.min??s.K1}get computedMax(){return this.max??s.Oy}get computedMinViewedMonth(){const t=this.computedMin,e=this.minViewedMonth??s.K1;return e.monthSameOrAfter(t)?e:t}get computedMaxViewedMonth(){const t=this.computedMax,e=this.maxViewedMonth??s.Oy;return e.monthSameOrBefore(t)?e:t}get isInYearView(){return"year"===this.view}onPaginationYearClick(){this.view="year"}onPickerYearClick(t){this.view="month",this.updateViewedMonth(new s.ql(t,this.month.month))}updateViewedMonth(t){this.month.monthSame(t)||(this.month=t,this.monthChange.emit(t))}updateHoveredDay(t){(0,l.J$)(this.hoveredItem,t,((t,e)=>t.daySame(e)))||(this.hoveredItem=t,this.hoveredItemChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-calendar"]],inputs:{month:"month",disabledItemHandler:"disabledItemHandler",min:"min",max:"max",minViewedMonth:"minViewedMonth",maxViewedMonth:"maxViewedMonth",hoveredItem:"hoveredItem",showAdjacent:"showAdjacent",markerHandler:"markerHandler",value:"value",initialView:"initialView"},outputs:{dayClick:"dayClick",monthChange:"monthChange",hoveredItemChange:"hoveredItemChange"},standalone:!0,features:[r.jDz],decls:3,vars:2,consts:[["automation-id","tui-calendar__scrollbar","class","t-scrollbar",4,"ngIf","ngIfElse"],["calendar",""],["automation-id","tui-calendar__scrollbar",1,"t-scrollbar"],["automation-id","tui-calendar__year",3,"initialItem","max","min","value","yearClick"],["automation-id","tui-calendar__pagination",1,"t-pagination",3,"max","min","value","valueChange","yearClick"],["automation-id","tui-calendar__calendar",3,"disabledItemHandler","hoveredItem","markerHandler","month","showAdjacent","value","dayClick","hoveredItemChange"]],template:function(t,e){if(1&t&&(r.YNc(0,p,2,4,"tui-scrollbar",0),r.YNc(1,f,3,14,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.isInYearView)("ngIfElse",t)}},dependencies:[i.O5,c.D1,d.u,h.z,u.R,a.c],styles:["[_nghost-%COMP%]{display:block;min-height:18.25rem;width:15.75rem;padding:1rem 1.125rem;box-sizing:content-box}.t-scrollbar[_ngcontent-%COMP%]{height:18.25rem;width:16.875rem}.t-pagination[_ngcontent-%COMP%]{margin-bottom:1rem}"],changeDetection:0}),e})()},31447:(t,e,n)=>{n.d(e,{XU:()=>i.X,u8:()=>r.u});var i=n(23650),r=(n(7443),n(94840),n(62571))},52614:(t,e,n)=>{n.d(e,{l:()=>b,q:()=>_});var i,r=n(84911),o=n(76733),s=n(20755),a=n(11892),l=n(65026),c=n(55181),u=n(52674),h=n(73740),d=n(41589),p=n(25690),f=n(92425),g=n(46501),m=n(96240);function v(t,e){if(1&t&&(s.ynx(0),s._uU(1),s.BQk()),2&t){const t=e.polymorpheusOutlet;s.xp6(1),s.hij(" ",t," ")}}function y(t,e){if(1&t&&(s.TgZ(0,"div",1),s.YNc(1,v,2,1,"ng-container",2),s.ALo(2,"async"),s.qZA()),2&t){const t=s.oxw();s.xp6(1),s.Q6J("polymorpheusOutlet",t.emptyContent||s.lcZ(2,1,t.defaultEmptyContent$))}}function b(){const t=(0,s.f3M)(g.N1,{optional:!0})?.size;return t&&["s","m","l"].includes(t)?t:"l"}class _{constructor(){this.options=a.Mm,this.el=(0,c.AG)(),this.defaultEmptyContent$=(0,s.f3M)(d.PH),this.size=b()}onKeyDownArrow(t,e){const{elements:n}=this;(0,u.VR)(n.indexOf(t),n,e)}handleFocusLossIfNecessary(t=this.el){(0,u.zb)(t)&&this.origin?.focus({preventScroll:!0})}getOptions(t=!1){return this.options.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(h.Pc)}get empty$(){return(0,l.ll)(this.options).pipe((0,f.U)((({length:t})=>!t)))}onFocusIn(t,e){e.contains(t)||this.origin||(this.origin=t)}noop(){}get elements(){return Array.from(this.el.querySelectorAll("a[tuiOption],button[tuiOption],input"))}}(i=_).ɵfac=function(t){return new(t||i)},i.ɵcmp=s.Xpm({type:i,selectors:[["tui-data-list"]],contentQueries:function(t,e,n){if(1&t&&s.Suo(n,m.b,5),2&t){let t;s.iGM(t=s.CRH())&&(e.options=t)}},hostAttrs:["role","listbox"],hostVars:1,hostBindings:function(t,e){1&t&&s.NdJ("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)}))("keydown.tab",(function(){return e.handleFocusLossIfNecessary()}))("keydown.shift.tab",(function(){return e.handleFocusLossIfNecessary()}))("focusin",(function(t){return e.onFocusIn(t.relatedTarget,t.currentTarget)}))("mousedown.prevent",(function(){return e.noop()})),2&t&&s.uIk("data-size",e.size)},inputs:{emptyContent:"emptyContent",size:"size"},standalone:!0,features:[s._Bn([(0,g.RB)(i)]),s.jDz],ngContentSelectors:["*"],decls:3,vars:3,consts:[["class","t-empty",4,"ngIf"],[1,"t-empty"],[4,"polymorpheusOutlet"]],template:function(t,e){1&t&&(s.F$t(),s.Hsn(0),s.YNc(1,y,3,3,"div",0),s.ALo(2,"async")),2&t&&(s.xp6(1),s.Q6J("ngIf",s.lcZ(2,1,e.empty$)))},dependencies:[o.O5,o.Ov,p.s$],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-tertiary)}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-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-secondary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-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-border-normal)}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,tui-opt-group:not(:empty)~tui-opt-group:not([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,tui-opt-group:not([data-label]):before{padding:0;margin:0}[tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;justify-content:space-between;text-align:left;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}[tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}[tuiOption]:focus-within,[tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}[tuiOption]:after{font-size:1rem;margin:0 -.25rem 0 1rem}\n'],encapsulation:2,changeDetection:0}),(0,r.gn)([h.UM],_.prototype,"empty$",null)},19975:(t,e,n)=>{n.d(e,{g:()=>r}),n(73740);var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiDataList",""]],standalone:!0}),e})()},46501:(t,e,n)=>{n.d(e,{Cc:()=>a,IQ:()=>o,N1:()=>c,P7:()=>s,RB:()=>l,oE:()=>u});var i=n(20755),r=n(73740);const o=new i.OlP("[TUI_OPTION_CONTENT]");function s(t){return{provide:o,useValue:t}}const a=new i.OlP("[TUI_DATA_LIST_ACCESSOR]");function l(t){return(0,r.Q2)(a,t)}const c=new i.OlP("[TUI_DATA_LIST_HOST]");function u(t){return(0,r.Q2)(c,t)}},63098:(t,e,n)=>{n.d(e,{Cc:()=>l.Cc,N1:()=>l.N1,qi:()=>i.q,gX:()=>r.g,c4:()=>s,bH:()=>a.b,Pb:()=>h,RB:()=>l.RB,oE:()=>l.oE,P7:()=>l.P7,lt:()=>i.l});var i=n(52614),r=n(19975),o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["tui-opt-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(t,e){2&t&&o.uIk("data-label",e.label)},inputs:{label:"label"},standalone:!0}),e})();var a=n(96240);i.q,r.g,a.b;var l=n(46501),c=n(73740),u=n(71938);let h=(()=>{var t;class e{constructor(){this.dataList=(0,c.Vx)(u.td,"tuiDropdown",null)}set template(t){this.dataList.set(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["never"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,r.g,5,o.Rgc),2&t){let t;o.iGM(t=o.CRH())&&(e.template=t.first)}},standalone:!0}),e})()},96240:(t,e,n)=>{n.d(e,{b:()=>v});var i=n(20755),r=n(86253),o=n(55181),s=n(52674),a=n(71938),l=n(25690),c=n(52614),u=n(46501),h=n(98549);const d=["tuiOption",""];function p(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 f(t,e){1&t&&i.Hsn(0)}const g=function(t){return{$implicit:t}},m=["*"];let v=(()=>{var t;class e{constructor(){this.isMobile=(0,i.f3M)(r.fL),this.el=(0,o.AG)(),this.dataList=(0,i.f3M)((0,i.Gpc)((()=>c.q)),{optional:!0}),this.host=(0,i.f3M)(u.N1,{optional:!0}),this.content=(0,i.f3M)(u.IQ,{optional:!0}),this.dropdown=(0,i.f3M)(a.td,{self:!0,optional:!0}),this.disabled=!1}ngOnDestroy(){this.dataList?.handleFocusLossIfNecessary(this.el)}get active(){return!!this.dropdown&&!!this.dropdown.dropdownBoxRef}onClick(){this.host&&void 0!==this.value&&this.host.handleOption(this.value)}onMouseMove(){this.isMobile||(0,s.V8)(this.el)||this.el.focus({preventScroll:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["button","tuiOption",""],["a","tuiOption",""],["label","tuiOption",""]],hostAttrs:["type","button","role","option"],hostVars:3,hostBindings:function(t,e){1&t&&i.NdJ("click",(function(){return e.onClick()}))("mousemove.silent",(function(){return e.onMouseMove()})),2&t&&(i.uIk("disabled",e.disabled||null),i.ekj("_with-dropdown",e.active))},inputs:{disabled:"disabled",value:"value"},standalone:!0,features:[i.jDz,i.zW0([{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],attrs:d,ngContentSelectors:m,decls:3,vars:4,consts:[[4,"polymorpheusOutlet","polymorpheusOutletContext"],["t",""]],template:function(t,e){if(1&t&&(i.F$t(),i.YNc(0,p,2,1,"ng-container",0),i.YNc(1,f,1,0,"ng-template",null,1,i.W1O)),2&t){const t=i.MAs(2);i.Q6J("polymorpheusOutlet",e.content||t)("polymorpheusOutletContext",i.VKq(2,g,t))}},dependencies:[l.s$],encapsulation:2,changeDetection:0}),e})()},67587:(t,e,n)=>{n.d(e,{qY:()=>k,RO:()=>H,r4:()=>G});var i=n(76733),r=n(20755),o=n(62022),s=n(11892),a=n(30696),l=n(86253),c=n(34138),u=n(11679),h=n(41589),d=n(82510),p=n(25690),f=n(11070),g=n(71209),m=n(78748),v=n(45047),y=n(84787),b=n(92425),_=n(55333),w=n(73740),x=n(56424),C=n(30453);const k=(0,w.JN)(new x.X([])),O=(0,w.JN)(C.E),M=(0,w.JN)({appearance:"",size:"m",required:!1,closeable:!0,dismissible:!0,label:"",header:"",data:void 0});var S=n(42772),A=n(65026),P=n(55181),E=n(48132),T=n(21813);let I=(()=>{var t;class e extends E.y{constructor(){super((t=>(0,v.T)(this.esc$,this.mousedown$).subscribe(t))),this.win=(0,r.f3M)(S.m9),this.doc=(0,r.f3M)(i.K0),this.el=(0,P.AG)(),this.esc$=(0,A.mL)(this.doc,"keydown").pipe((0,_.h)((t=>{const e=(0,P.mA)(t);return"Escape"===t.key&&!t.defaultPrevented&&(this.el.contains(e)||this.isOutside(e))}))),this.mousedown$=(0,A.mL)(this.doc,"mousedown").pipe((0,_.h)((t=>(0,d.ic)(this.win)-t.clientX>17&&this.isOutside((0,P.mA)(t)))),(0,y.w)((()=>(0,A.mL)(this.doc,"mouseup").pipe((0,T.q)(1),(0,b.U)(P.mA),(0,_.h)((t=>this.isOutside(t)))))))}isOutside(t){return(0,P.ve)(t)&&(!(0,P.PP)(this.el,t)||t===this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})();function D(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 z(t,e){if(1&t&&(r.TgZ(0,"header",6),r.YNc(1,D,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 N(t,e){if(1&t){const t=r.EpF();r.ynx(0),r._UZ(1,"div",7),r.TgZ(2,"div",8)(3,"button",9),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.context.$implicit.complete())})),r._uU(4),r.qZA()(),r.BQk()}if(2&t){const t=e.polymorpheusOutlet,n=r.oxw();r.xp6(1),r.Q6J("innerHTML",t,r.oJD),r.xp6(3),r.hij(" ",(null==n.context.data?null:n.context.data.button)||"OK"," ")}}function F(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"div",10)(1,"button",11),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close$.next())}))("mousedown.prevent.silent",(function(){return 0})),r._uU(2),r.ALo(3,"async"),r.qZA()()}if(2&t){const t=r.oxw();r.xp6(1),r.Udp("border-radius",100,"%"),r.Q6J("appearance",t.fullscreen?"secondary":"")("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(3,5,t.closeWord$)," ")}}const L=new Error("Required dialog was dismissed");function R(t){return(0,f.b)(t)?t:(0,g.of)(t)}let B=(()=>{var t;class e{constructor(){this.speed=(0,r.f3M)(h.ZW),this.isMobile=(0,r.f3M)(l.fL),this.animation={value:"",params:{start:"40px",duration:(0,d.cZ)(this.speed)}},this.fullscreenAnimation={value:"",params:{start:"100vh",duration:(0,d.cZ)(this.speed)}},this.close$=new m.x,this.context=(0,r.f3M)(p.yf),this.closeWord$=(0,r.f3M)(h.U0),this.icons=(0,r.f3M)(h.Gs),(0,v.T)(this.close$.pipe((0,y.w)((()=>R(this.context.closeable)))),(0,r.f3M)(I).pipe((0,y.w)((()=>R(this.context.dismissible)))),(0,r.f3M)(O).pipe((0,b.U)(s.oN))).pipe((0,_.h)(Boolean),(0,o.sL)()).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(L):this.context.$implicit.complete()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialog"]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-appearance",e.context.appearance)("data-size",e.size),r.d8E("@tuiSlideInTop",e.slideInTop)("@tuiFadeIn",e.slideInTop),r.ekj("_centered",e.header))},standalone:!0,features:[r._Bn([I]),r.jDz],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"],["size","m","tuiAutoFocus","","tuiButton","","type","button",3,"click"],[1,"t-wrapper"],["automation-id","tui-dialog__close","size","s","tuiIconButton","","type","button",1,"t-close",3,"appearance","iconLeft","click","mousedown.prevent.silent"]],template:function(t,e){1&t&&(r.YNc(0,z,2,2,"header",0),r.TgZ(1,"div",1),r._UZ(2,"h2",2),r.TgZ(3,"section"),r.YNc(4,N,5,2,"ng-container",3),r.qZA()(),r._UZ(5,"div",4),r.YNc(6,F,4,7,"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))},dependencies:[i.O5,p.s$,a.bi,u.xG,i.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%;content:"";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-popup)}[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%]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-background-elevation-1);box-shadow:0 4rem var(--tui-background-elevation-1)}[data-size=fullscreen][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:3rem calc(50vw - 22.5rem)}[data-size=fullscreen][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%], [data-size=page][_nghost-%COMP%] .t-heading[_ngcontent-%COMP%]{margin-bottom:1rem}._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)}[data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%], tui-root._mobile [data-size=page][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0}.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-background-elevation-1)}.t-content[_ngcontent-%COMP%]:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper[_ngcontent-%COMP%]{position:sticky;top:0;z-index:1;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;display:none}.t-dialog:last-of-type[_nghost-%COMP%] .t-close[_ngcontent-%COMP%], .t-dialog:last-of-type [_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{display:inline-flex}[_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);color:var(--tui-background-base)}[_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[data-size][_ngcontent-%COMP%], tui-root._mobile [_nghost-%COMP%] .t-close[data-size][_ngcontent-%COMP%]{--tui-fade-end: .5;position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-primary);opacity:.5}.t-buttons[_ngcontent-%COMP%]{margin-top:1.25rem;text-align:right}'],data:{animation:[c.X9,c.QF]}}),e})();n(11320);var j=n(10676);let H=(()=>{var t;class e extends j.IS{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:function(){return new t(k,B,(0,r.f3M)(M))},providedIn:"root"}),e})();var V=n(69008),$=n(88543);function q(t,e){1&t&&r.GkF(0)}function Z(t,e){if(1&t&&(r.TgZ(0,"section",3),r.YNc(1,q,1,0,"ng-container",4),r._UZ(2,"tui-scroll-controls",5),r.qZA()),2&t){const t=e.$implicit,n=r.oxw().ngIf;r.ekj("t-dialog_closing",!n.length),r.Q6J("@tuiHost",void 0),r.uIk("aria-labelledby",t.id),r.xp6(1),r.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",t)}}function U(t,e){if(1&t&&(r.ynx(0),r.YNc(1,Z,3,6,"section",1),r._UZ(2,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngForOf",t),r.xp6(1),r.Udp("opacity",t.length)}}let G=(()=>{var t;class e{constructor(){this.el=(0,P.AG)(),this.dialogs$=(0,r.f3M)(k)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-dialogs"]],hostBindings:function(t,e){1&t&&r.NdJ("keydown.silent",(function(){return e.el.scrollTop=e.el.scrollHeight/2}))},standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","","class","t-dialog",3,"t-dialog_closing",4,"ngFor","ngForOf"],[1,"t-overlay"],["aria-modal","true","role","dialog","tuiFocusTrap","","tuiScrollRef","",1,"t-dialog"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-scrollbars"]],template:function(t,e){1&t&&(r.YNc(0,U,3,3,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.dialogs$))},dependencies:[i.ez,i.sg,i.O5,i.Ov,p.s$,V.m,$.bl,$.pS],styles:['[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;scrollbar-width:none;-ms-overflow-style:none;pointer-events:none;overflow:auto;overscroll-behavior:none}[_nghost-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}[_nghost-%COMP%]:has(section){pointer-events:auto}[_nghost-%COMP%]:before{content:"";display:block;height:1000%}.t-overlay[_ngcontent-%COMP%], .t-dialog[_ngcontent-%COMP%]{scrollbar-width:none;-ms-overflow-style:none;position:fixed;top:0;left:0;bottom:0;right:0;display:flex;height:100%;align-items:flex-start;outline:none;overflow:auto}.t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar, .t-overlay[_ngcontent-%COMP%]::-webkit-scrollbar-thumb, .t-dialog[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-overlay.ng-animating[_ngcontent-%COMP%], .t-dialog.ng-animating[_ngcontent-%COMP%]{overflow:clip}.t-dialog[_ngcontent-%COMP%]{position:sticky;pointer-events:auto;overscroll-behavior:none}.t-overlay[_ngcontent-%COMP%]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;background:rgba(0,0,0,.75);-webkit-backdrop-filter:var(--tui-backdrop, none);backdrop-filter:var(--tui-backdrop, none)}.t-dialog[_ngcontent-%COMP%]:last-of-type{z-index:1}.t-scrollbars[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;right:0;margin:0;color:#747474}'],data:{animation:[c.Hp]}}),e})()},93745:(t,e,n)=>{n.d(e,{SV:()=>f,d0:()=>c});var i=n(76733),r=n(20755),o=n(62022),s=n(34138),a=n(32097),l=n(1925);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiExpandContent",""]],standalone:!0}),e})();const u=["wrapper"];function h(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 d(t,e){if(1&t&&(r.ynx(0),r.Hsn(1),r.YNc(2,h,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 p=["*"];let f=(()=>{var t;class e{constructor(){this.cdr=(0,r.f3M)(r.sBO),this.destroyRef=(0,r.f3M)(r.ktI),this.state=0,this.content=null,this.expanded=null,this.async=!1}set expandedSetter(t){if(null!==this.expanded){if(0!==this.state)return this.expanded=t,void(this.state=3);this.expanded=t,this.retrigger(this.async&&t?1:3)}else this.expanded=t}get contentVisible(){return this.expanded||0!==this.state}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}onTransitionEnd({propertyName:t,pseudoElement:e}){"opacity"!==t||e||3!==this.state||(this.state=0)}onExpandLoaded(t){t.stopPropagation(),1===this.state&&this.retrigger(3)}retrigger(t){this.state=2,(0,l.H)(0).pipe((0,o.sL)(this.destroyRef)).subscribe((()=>{2===this.state&&(this.state=t,this.cdr.markForCheck())}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-expand"]],contentQueries:function(t,e,n){if(1&t&&r.Suo(n,c,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(u,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"]},standalone:!0,features:[r.jDz],ngContentSelectors:p,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,d,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))},dependencies:[a.A6,i.O5,i.tP],styles:['[_nghost-%COMP%]{transition-property:opacity,height,visibility;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;opacity:0;transition-delay:1ms}._overflow[_nghost-%COMP%]{overflow:hidden}._expanded[_nghost-%COMP%]{opacity:1;transform:translateZ(0)}._loading[_nghost-%COMP%]{opacity:.99}.t-wrapper[_ngcontent-%COMP%]:before, .t-wrapper[_ngcontent-%COMP%]:after{content:"";display:table}'],data:{animation:[s.B_]},changeDetection:0}),e})()},44501:(t,e,n)=>{n.d(e,{hM:()=>c,vJ:()=>a});var i=n(20755),r=n(73740);const o={size:"m",collapsed:!1,rounded:!0,orientation:"horizontal"},s=(0,r.JN)(o);function a(t){return(0,r.vK)(s,t,o)}let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-group-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:[".tui-group{position:relative;display:flex;isolation:isolate;--t-radius: var(--tui-radius-m)}.tui-group>*{flex:1 1 0;min-width:0}.tui-group>*:not(:last-child){margin-right:.125rem}.tui-group.tui-group>*:nth-child(n){border-radius:0}.tui-group_radius_large{--t-radius: var(--tui-radius-l)}.tui-group_collapsed>*{z-index:1}.tui-group_collapsed>*:not(:last-child){margin:0 -1px 0 0}.tui-group_collapsed>*._readonly,.tui-group_collapsed>*._disabled,.tui-group_collapsed>*._readonly:hover,.tui-group_collapsed>*._disabled:hover{z-index:0}.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>*:hover,.tui-group_collapsed>*._hovered,.tui-group_collapsed>*._pressed{z-index:3}.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>*:has([tuiBlock]:checked){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:0 0 -1px}.tui-group_rounded.tui-group_orientation_horizontal>*:first-child{border-top-left-radius:var(--t-radius);border-bottom-left-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_horizontal>*:last-child{border-top-right-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:first-child{border-top-left-radius:var(--t-radius);border-top-right-radius:var(--t-radius)}.tui-group_rounded.tui-group_orientation_vertical>*:last-child{border-bottom-left-radius:var(--t-radius);border-bottom-right-radius:var(--t-radius)}.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}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.orientation=this.options.orientation,this.collapsed=this.options.collapsed,this.rounded=this.options.rounded,this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiGroup","",5,"ng-container"]],hostAttrs:["role","group",1,"tui-group"],hostVars:10,hostBindings:function(t,e){2&t&&i.ekj("tui-group_orientation_horizontal","horizontal"===e.orientation)("tui-group_orientation_vertical","vertical"===e.orientation)("tui-group_radius_large","l"===e.size)("tui-group_collapsed",e.collapsed)("tui-group_rounded",e.rounded)},inputs:{orientation:"orientation",collapsed:"collapsed",rounded:"rounded",size:"size"},standalone:!0}),e})()},8355:(t,e,n)=>{n.d(e,{R:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.resolver=(0,r.Ps)(),this.icon=(0,i.f3M)(r.SX),this.background=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-icon"]],hostVars:6,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask","url("+e.resolver(e.icon)+")")("--t-mask-bg",e.background?"url("+e.resolver(e.background)+")":null),i.ekj("_duo",e.background))},inputs:{icon:"icon",background:"background"},standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{position:relative;display:inline-block;width:1em;height:1em;font-size:1.5rem;flex-shrink:0;vertical-align:middle;box-sizing:border-box}._duo[_nghost-%COMP%]{-webkit-mask:var(--t-mask-bg) no-repeat center / contain;mask:var(--t-mask-bg) no-repeat center / contain}[_nghost-%COMP%]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";-webkit-mask:var(--t-mask) no-repeat center / contain;mask:var(--t-mask) no-repeat center / contain;background:currentColor}'],changeDetection:0}),e})()},9368:(t,e,n)=>{n.d(e,{R:()=>i.R});var i=n(8355);n(41589)},57981:(t,e,n)=>{n.d(e,{T:()=>l});var i=n(20755),r=n(55181),o=n(73740),s=n(63098);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-label-styles"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiLabel]{display:flex;gap:.25rem;flex-direction:column;font:var(--tui-font-text-s);color:var(--tui-text-primary)}[tuiLabel]:not(._textfield){flex-direction:row;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-m)}[tuiLabel]:has(tui-primitive-textfield),[tuiLabel]:has(tui-textarea){flex-direction:column!important;width:auto!important;font:var(--tui-font-text-s)!important}[tuiLabel] input[type=checkbox],[tuiLabel] input[type=radio]{margin-inline-end:.5rem}[tuiLabel] input[type=checkbox][data-size=s],[tuiLabel] input[type=radio][data-size=s]{margin-inline-end:.25rem;margin-top:.125rem}[tuiLabel] small{font:var(--tui-font-text-s)}[tuiLabel] [tuiTitle]{margin-top:.125rem}[tuiLabel] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"],encapsulation:2,changeDetection:0}),e})(),l=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.nothing=(0,o.__)(a),this.parent=(0,i.f3M)((0,i.Gpc)((()=>s.N1)),{optional:!0})}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["label","tuiLabel",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,s.N1,5),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("for",e.el.htmlFor||(null==e.parent?null:e.parent.id)),i.ekj("_textfield",e.textfield))},standalone:!0}),e})()},16100:(t,e,n)=>{n.d(e,{S9:()=>r.S9,lI:()=>i.l});var i=n(87731),r=n(3828)},87731:(t,e,n)=>{n.d(e,{l:()=>c});var i=n(20755),r=n(73740),o=n(10426),s=n(3828),a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-link"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiLink]{--tui-text-tertiary: var(--tui-text-secondary);padding:0;background:transparent;border:none;text-decoration:none;cursor:pointer;font:inherit}[tuiLink]:hover{--tui-text-secondary: var(--tui-text-primary)}[tuiLink]:before{margin-inline-end:.25rem}[tuiLink]:after{margin-inline-start:.25rem}[tuiLink]._pseudo{-webkit-text-decoration:underline dashed currentColor;text-decoration:underline dashed currentColor;text-underline-offset:.2em;text-decoration-thickness:.7px;text-decoration-color:color-mix(in lch,currentColor,transparent)}[tuiLink][tuiIcons]._icon-left:before,[tuiLink][tuiIcons]._icon-right:after{content:"\\2060";padding:calc(var(--tui-icon-size, 1rem) / 2);vertical-align:super;font-size:0;line-height:0}[tuiLink]:focus-visible:not([data-focus=false]){outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}[tuiLink][data-focus=true]{outline:none;background:var(--tui-service-selected-text);background:color-mix(in lch,currentColor 12%,transparent)}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(l),this.pseudo=(0,i.f3M)(s.T2).pseudo}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiLink",""],["button","tuiLink",""]],hostAttrs:["tuiLink",""],hostVars:2,hostBindings:function(t,e){2&t&&i.ekj("_pseudo",e.pseudo)},inputs:{pseudo:"pseudo"},standalone:!0,features:[i._Bn([(0,o.mS)(s.T2)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},3828:(t,e,n)=>{n.d(e,{S9:()=>s,T2:()=>o});var i=n(73740);const r={appearance:"link",pseudo:!1},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},32097:(t,e,n)=>{n.d(e,{A6:()=>i.A});var i=n(64337);n(69816)},64337:(t,e,n)=>{n.d(e,{A:()=>g});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(52674),l=n(16931),c=n(25690),u=n(69816);function h(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 d(t,e){if(1&t&&(r.O4$(),r.kcU(),r.TgZ(0,"div",6),r.YNc(1,h,2,1,"ng-container",7),r.qZA()),2&t){const t=r.oxw(2);r.ekj("t-text_horizontal",t.isHorizontal),r.xp6(1),r.Q6J("polymorpheusOutlet",t.textContent)}}function p(t,e){if(1&t&&(r.TgZ(0,"div",2),r.O4$(),r.TgZ(1,"svg",3),r._UZ(2,"circle",4),r.qZA(),r.YNc(3,d,2,3,"div",5),r.qZA()),2&t){const t=r.oxw();r.ekj("t-loader_horizontal",t.isHorizontal)("t-loader_inherit-color",t.inheritColor),r.xp6(3),r.Q6J("ngIf",t.hasText)}}const f=["*"];let g=(()=>{var t;class e{constructor(){this.doc=(0,r.f3M)(i.K0),this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.options=(0,r.f3M)(u.vI),this.loading=!0,this.isApple=function({ownerDocument:t}){const e=t?.defaultView,n=void 0!==e.safari&&"[object SafariRemoteNotification]"===e.safari?.pushNotification?.toString(),i=!!e.navigator?.vendor?.includes("Apple")&&!e.navigator?.userAgent?.includes("CriOS")&&!e.navigator?.userAgent?.includes("FxiOS");return n||i}(this.el)||this.isIOS,this.size=this.options.size,this.inheritColor=this.options.inheritColor,this.overlay=this.options.overlay}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,l.R9)(this.size)}get focused(){return(0,a.zb)(this.el)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-loader"]],hostVars:3,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size),r.ekj("_loading",e.loading))},inputs:{size:"size",inheritColor:"inheritColor",overlay:"overlay",textContent:"textContent",showLoader:"showLoader"},standalone:!0,features:[r.jDz],ngContentSelectors:f,decls:3,vars:7,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","height","100%","width","100%",1,"t-icon"],["cx","50%","cy","50%",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&&(r.F$t(),r.TgZ(0,"fieldset",0),r.Hsn(1),r.qZA(),r.YNc(2,p,4,5,"div",1)),2&t&&(r.ekj("t-content_has-overlay",e.hasOverlay)("t-content_loading",e.loading),r.Q6J("disabled",e.loading&&!e.isApple),r.uIk("inert",e.loading||null),r.xp6(2),r.Q6J("ngIf",e.loading))},dependencies:[i.O5,c.s$],styles:["[_nghost-%COMP%]{position:relative;display:flex;min-width:1.5rem;--tui-thickness: calc(var(--t-diameter) / 12)}._loading[_nghost-%COMP%]{overflow:hidden}[data-size=xs][_nghost-%COMP%]{--t-diameter: .75em}[data-size=s][_nghost-%COMP%]{--t-diameter: 1em}[data-size=m][_nghost-%COMP%]{--t-diameter: 1.5em}[data-size=l][_nghost-%COMP%]{--t-diameter: 2.5em}[data-size=xl][_nghost-%COMP%]{--t-diameter: 3.5em}[data-size=xxl][_nghost-%COMP%]{--t-diameter: 5em}.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%;min-height:var(--t-diameter);flex-shrink:0;align-self:center;color:var(--tui-text-primary);stroke:var(--tui-background-accent-1);animation:tuiFadeIn var(--tui-duration);font-size:1rem}.t-loader.t-loader_horizontal[_ngcontent-%COMP%]{flex-direction:row}.t-loader.t-loader_inherit-color[_ngcontent-%COMP%]{color:inherit;stroke:currentColor}.t-text[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:var(--tui-font-text-s);margin-top:1rem;color:inherit;max-width:100%;text-align:center;stroke-width:0}.t-text_horizontal[_ngcontent-%COMP%]{margin:0 0 0 1rem}@keyframes _ngcontent-%COMP%_tuiLoaderRotate{0%{transform:rotate(-90deg)}50%{transform:rotate(-90deg) rotate(1turn)}to{transform:rotate(-90deg) rotate(3turn)}}.t-icon[_ngcontent-%COMP%]{display:block;width:var(--t-diameter);height:var(--t-diameter);margin:.25rem calc(var(--t-diameter) / -2);border-radius:100%;overflow:hidden;animation:_ngcontent-%COMP%_tuiLoaderRotate 4s linear infinite}@supports (-webkit-hyphens: none){.t-icon[_ngcontent-%COMP%]{overflow:visible}}@keyframes _ngcontent-%COMP%_tuiLoaderDashOffset{0%{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}50%{stroke-dashoffset:calc(.05 * calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness))))}to{stroke-dashoffset:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)))}}.t-circle[_ngcontent-%COMP%]{r:calc(var(--t-diameter) / 2 - var(--tui-thickness));stroke-dasharray:calc(2 * 3.14159265 * calc(var(--t-diameter) / 2 - var(--tui-thickness)));fill:none;stroke:inherit;stroke-width:max(var(--tui-thickness),1.5px);animation:_ngcontent-%COMP%_tuiLoaderDashOffset 4s linear infinite}"],changeDetection:0}),e})()},69816:(t,e,n)=>{n.d(e,{vI:()=>i});const i=(0,n(73740).JN)({size:"m",inheritColor:!1,overlay:!1})},94030:(t,e,n)=>{n.d(e,{Ln:()=>d,tK:()=>y});var i=n(76733),r=n(20755),o=n(11679),s=n(9368),a=n(41589),l=n(25690),c=n(73740);const u={info:"@tui.info",success:"@tui.circle-check",error:"@tui.circle-x",warning:"@tui.circle-alert",neutral:"@tui.info"},h={status:"info",icon:({$implicit:t})=>u[t],size:"m"},d=(0,c.JN)(h);function p(t,e){if(1&t&&r._UZ(0,"tui-icon",5),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t.toString())}}const f=function(t){return{$implicit:t}};function g(t,e){if(1&t&&(r.ynx(0),r.YNc(1,p,1,1,"tui-icon",4),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("polymorpheusOutlet",t.icon)("polymorpheusOutletContext",r.VKq(2,f,t.status))}}function m(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.close.emit())})),r._uU(1),r.ALo(2,"async"),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close),r.xp6(1),r.hij(" ",r.lcZ(2,2,t.closeWord$),"\n")}}const v=["*"];let y=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(d),this.closeWord$=(0,r.f3M)(a.U0),this.icons=(0,r.f3M)(a.Gs),this.icon=this.options.icon,this.status=this.options.status,this.size=this.options.size,this.hideClose=!1,this.close=new r.vpe}get hasClose(){return!this.hideClose&&this.close.observed}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-notification"],["a","tuiNotification",""],["button","tuiNotification",""]],hostVars:2,hostBindings:function(t,e){2&t&&r.uIk("data-status",e.status)("data-size",e.size)},inputs:{icon:"icon",status:"status",size:"size",hideClose:"hideClose"},outputs:{close:"close"},standalone:!0,features:[r.jDz],ngContentSelectors:v,decls:5,vars:3,consts:[[4,"ngIf"],[1,"t-content"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button","class","t-close",3,"iconLeft","click",4,"ngIf"],["automation-id","tui-notification__more",1,"t-more",3,"icon"],["automation-id","tui-notification__icon","class","t-icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["automation-id","tui-notification__icon",1,"t-icon",3,"icon"],["appearance","icon","automation-id","tui-notification__close","size","xs","tuiIconButton","","type","button",1,"t-close",3,"iconLeft","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,g,2,4,"ng-container",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA(),r.YNc(3,m,3,4,"button",2),r._UZ(4,"tui-icon",3)),2&t&&(r.Q6J("ngIf",e.icon),r.xp6(3),r.Q6J("ngIf",e.hasClose),r.xp6(1),r.Q6J("icon",e.icons.more))},dependencies:[o.xG,l.s$,i.O5,s.R,i.Ov],styles:['[_nghost-%COMP%]{position:relative;display:flex;font:var(--tui-font-text-s);color:var(--tui-text-primary);padding:.75rem 1rem;border-radius:var(--tui-radius-m);background:#fff;background:var(--tui-background-base);box-sizing:border-box;overflow:hidden;text-align:left}[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:none}button[_nghost-%COMP%], a[_nghost-%COMP%]{border:none;cursor:pointer}button[_nghost-%COMP%] .t-more[_ngcontent-%COMP%], a[_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{display:inline-flex;width:1rem;color:var(--tui-text-primary);opacity:.5}[data-size=s][_nghost-%COMP%]{padding:.375rem .625rem}[data-size=s][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1rem;height:1.25rem;margin:0 .375rem 0 -.125rem}[data-size=s][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem .75rem}[data-size=s][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=m][_nghost-%COMP%]{padding:.75rem}[data-size=m][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.25rem;height:1.25rem;margin-right:.5rem}[data-size=m][_nghost-%COMP%] .t-close[_ngcontent-%COMP%]{margin:-.125rem -.125rem -.125rem 1rem}[data-size=m][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin:-.125rem -.375rem -.125rem 0}[data-size=l][_nghost-%COMP%]{padding:1rem;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l)}[data-size=l][_nghost-%COMP%] .t-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;margin-right:.5rem}[data-size=l][_nghost-%COMP%] .t-more[_ngcontent-%COMP%]{margin-right:-.5rem}[data-status=info][_nghost-%COMP%]{color:var(--tui-status-info);background:linear-gradient(var(--tui-status-info-pale),var(--tui-status-info-pale)),var(--tui-background-base)}[data-status=success][_nghost-%COMP%]{color:var(--tui-status-positive);background:linear-gradient(var(--tui-status-positive-pale),var(--tui-status-positive-pale)),var(--tui-background-base)}[data-status=error][_nghost-%COMP%]{color:var(--tui-status-negative);background:linear-gradient(var(--tui-status-negative-pale),var(--tui-status-negative-pale)),var(--tui-background-base)}[data-status=warning][_nghost-%COMP%]{color:var(--tui-status-warning);background:linear-gradient(var(--tui-status-warning-pale),var(--tui-status-warning-pale)),var(--tui-background-base)}[data-status=neutral][_nghost-%COMP%]{color:var(--tui-status-neutral);background:linear-gradient(var(--tui-background-neutral-1),var(--tui-background-neutral-1)),var(--tui-background-base)}[tuiTheme="dark"][_nghost-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%]{--tui-background-base: #000}.t-content[_ngcontent-%COMP%]{flex:1;word-break:break-word;color:var(--tui-text-primary);text-align:inherit;align-self:center}'],changeDetection:0}),e})()},38525:(t,e,n)=>{n.d(e,{q:()=>C});var i=n(76733),r=n(20755),o=n(62022),s=n(65026),a=n(86253),l=n(75097),c=n(67587),u=n(88543),h=n(42690),d=n(75430),p=n(94457),f=n(41589),g=n(82510),m=n(92425),v=n(71209),y=n(20155),b=n(32423);function _(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const w=["*",[["tuiOverContent"]],[["tuiOverDialogs"]],[["tuiOverAlerts"]],[["tuiOverDropdowns"]],[["tuiOverHints"]]],x=["*","tuiOverContent","tuiOverDialogs","tuiOverAlerts","tuiOverDropdowns","tuiOverHints"];let C=(()=>{var t;class e{constructor(){this.reducedMotion=(0,r.f3M)(f.TK),this.duration=(0,g.cZ)((0,r.f3M)(f.ZW)),this.isMobileRes=(0,o.O4)((0,r.f3M)(p.zE).pipe((0,m.U)((t=>"mobile"===t)),(0,s.NA)((0,r.f3M)(r.sBO)))),this.scrollbars$=(0,r.f3M)(a.fL)?(0,v.of)(!1):(0,r.f3M)(c.qY).pipe((0,m.U)((({length:t})=>!t)),(0,y.b)(0)),(0,r.f3M)(i.K0).defaultView?.document.documentElement.setAttribute("data-tui-theme",(0,r.f3M)(f.r2).toLowerCase())}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-root"]],hostAttrs:["data-tui-version","4.0.0-rc.2"],hostVars:6,hostBindings:function(t,e){1&t&&r.NdJ("touchstart.passive.silent",(function(){return 0})),2&t&&(r.Udp("--tui-duration",e.duration,"ms"),r.ekj("_reduced-motion",e.reducedMotion)("_mobile",e.isMobileRes()))},standalone:!0,features:[r.jDz,r.zW0([b.c])],ngContentSelectors:x,decls:13,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(w),r.YNc(0,_,1,0,"tui-scroll-controls",0),r.ALo(1,"async"),r.TgZ(2,"tui-dropdowns")(3,"div",1),r.Hsn(4),r.qZA(),r.Hsn(5,1),r._UZ(6,"tui-dialogs"),r.Hsn(7,2),r._UZ(8,"tui-alerts"),r.Hsn(9,3),r.qZA(),r.Hsn(10,4),r._UZ(11,"tui-hints"),r.Hsn(12,5)),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.scrollbars$))},dependencies:[i.O5,i.Ov,h.JY,c.r4,l.Jp,d.Z0,u.bl],styles:['@keyframes tuiPresent{to{content:""}}@keyframes tuiSkeletonVibe{to{opacity:.5}}html[data-tui-theme],.tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}html[data-tui-theme]::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar,html[data-tui-theme]::-webkit-scrollbar-thumb,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body,input{margin:0}tui-root{position:relative;display:block;font:var(--tui-font-text-s);color:var(--tui-text-primary);flex:1;-webkit-tap-highlight-color:transparent}tui-root:before{position:fixed;top:0;left:0;width:100%;height:100%;content:"";background:var(--tui-background-base)}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{height:100%;isolation:isolate;transform:translateY(var(--t-root-top))}[tuiDropdownButton][tuiDropdownButton]{display:none}\n'],encapsulation:2}),e})()},88543:(t,e,n)=>{n.d(e,{bl:()=>i.b,_H:()=>r._,pS:()=>l,D1:()=>c.D1});var i=n(37201),r=n(46877),o=n(20755),s=n(73740),a=n(41589);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=o.lG2({type:t,selectors:[["","tuiScrollRef",""]],standalone:!0,features:[o._Bn([(0,s.Q2)(a.$_,o.SBq)])]}),e})();n(55181);var c=n(31807);n(28169),n(40942)},37201:(t,e,n)=>{n.d(e,{b:()=>y});var i=n(76733),r=n(20755),o=n(42772),s=n(65026),a=n(34138),l=n(41589),c=n(82510),u=n(38356),h=n(92425),d=n(73843),p=n(18004),f=n(28169);function g(t,e){if(1&t&&(r.TgZ(0,"div",3),r._UZ(1,"div",4),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-horizontal",t[1]),r.Q6J("@tuiFadeIn",e.options)}}function m(t,e){if(1&t&&(r.TgZ(0,"div",5),r._UZ(1,"div",6),r.qZA()),2&t){const t=r.oxw().ngIf,e=r.oxw();r.ekj("t-bar_has-vertical",t[0]),r.Q6J("@tuiFadeIn",e.options)}}function v(t,e){if(1&t&&(r.ynx(0),r.YNc(1,g,2,3,"div",1),r.YNc(2,m,2,3,"div",2),r.BQk()),2&t){const t=e.ngIf;r.xp6(1),r.Q6J("ngIf",t[0]),r.xp6(1),r.Q6J("ngIf",t[1])}}let y=(()=>{var t;class e{constructor(){this.scrollRef=(0,r.f3M)(l.$_).nativeElement,this.options=(0,c.qS)((0,r.f3M)(l.ZW)),this.refresh$=(0,r.f3M)(o.L1).pipe((0,u.p)(300),(0,h.U)((()=>this.scrollbars)),(0,d.O)([!1,!1]),(0,p.x)(((t,e)=>t[0]===e[0]&&t[1]===e[1])),(0,s.Yr)((0,r.f3M)(r.R0b)))}get scrollbars(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.scrollRef;return[Math.ceil(t/e*100)<100,Math.ceil(n/i*100)<100]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-scroll-controls"]],standalone:!0,features:[r.jDz],decls:2,vars:3,consts:[[4,"ngIf"],["class","t-bar t-bar_vertical",3,"t-bar_has-horizontal",4,"ngIf"],["class","t-bar t-bar_horizontal",3,"t-bar_has-vertical",4,"ngIf"],[1,"t-bar","t-bar_vertical"],["tuiScrollbar","vertical",1,"t-thumb"],[1,"t-bar","t-bar_horizontal"],["tuiScrollbar","horizontal",1,"t-thumb"]],template:function(t,e){1&t&&(r.YNc(0,v,3,2,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.refresh$))},dependencies:[i.O5,i.Ov,f.N],styles:["[_nghost-%COMP%]{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-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;-webkit-user-select:none;user-select:none;background:currentColor;background-clip:content-box;box-sizing:border-box;transition-property:width,height,opacity;opacity:.2}.t-thumb[_ngcontent-%COMP%]:hover{opacity:.24}.t-thumb[_ngcontent-%COMP%]:active{opacity:.48}.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:[a.QF]},changeDetection:0}),e})()},46877:(t,e,n)=>{n.d(e,{_:()=>l});var i=n(20755),r=n(62022),o=n(55181),s=n(1925),a=n(31807);let l=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.destroyRef=(0,i.f3M)(i.ktI)}set tuiScrollIntoView(t){t&&(0,s.H)(0).pipe((0,r.sL)(this.destroyRef)).subscribe((()=>{this.el.dispatchEvent(new CustomEvent(a.fe,{bubbles:!0,detail:this.el}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollIntoView",""]],inputs:{tuiScrollIntoView:"tuiScrollIntoView"},standalone:!0}),e})()},31807:(t,e,n)=>{n.d(e,{D1:()=>d,fe:()=>h});var i=n(76733),r=n(20755),o=n(86253),s=n(55181),a=n(41589),l=n(37201);function c(t,e){1&t&&r._UZ(0,"tui-scroll-controls",2)}const u=["*"],h="tui-scroll-into-view";let d=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.isIOS=(0,r.f3M)(o.FA),this.browserScrollRef=new r.SBq(this.el),this.hidden=!1}get delegated(){return this.browserScrollRef.nativeElement!==this.el}onScrollable(t){this.browserScrollRef.nativeElement=t}scrollIntoView(t){if(this.delegated)return;const{nativeElement:e}=this.browserScrollRef,{offsetTop:n,offsetLeft:i}=(0,s.YX)(e,t),{clientHeight:r,clientWidth:o}=e,{offsetHeight:a,offsetWidth:l}=t,c=n+a/2-r/2,u=i+l/2-o/2;e.scrollTo?.(u,c)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=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("_native-hidden",!e.isIOS||e.hidden)},inputs:{hidden:"hidden"},standalone:!0,features:[r._Bn([{provide:a.$_,useFactory:()=>(0,r.f3M)(t).browserScrollRef}]),r.jDz],ngContentSelectors:u,decls:3,vars:3,consts:[["class","t-bars",4,"ngIf"],[1,"t-content"],[1,"t-bars"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,c,1,0,"tui-scroll-controls",0),r.TgZ(1,"div",1),r.Hsn(2),r.qZA()),2&t&&(r.Q6J("ngIf",!e.hidden&&!e.isIOS),r.xp6(1),r.ekj("t-content_delegated",e.delegated))},dependencies:[l.b,i.O5],styles:["[_nghost-%COMP%]{position:relative;display:flex;isolation:isolate;overflow:auto}._native-hidden[_nghost-%COMP%]{scrollbar-width:none;-ms-overflow-style:none}._native-hidden[_nghost-%COMP%]::-webkit-scrollbar, ._native-hidden[_nghost-%COMP%]::-webkit-scrollbar-thumb{display:none}.t-content[_ngcontent-%COMP%]{isolation:isolate;flex:1;flex-basis:auto;width:100%;height:-webkit-max-content;height:max-content}.t-content_delegated[_ngcontent-%COMP%]{height:100%}.t-bars[_ngcontent-%COMP%]{color:var(--tui-text-primary)}"],changeDetection:0}),e})()},28169:(t,e,n)=>{n.d(e,{N:()=>d});var i=n(20755),r=n(62022),o=n(42772),s=n(65026),a=n(55181),l=n(41589),c=n(45047),u=n(38356),h=n(40942);let d=(()=>{var t;class e{constructor(){this.el=(0,i.f3M)(l.$_).nativeElement,this.style=(0,a.AG)().style,this.scrollSub=(0,i.f3M)(h.Q).pipe((0,r.sL)()).subscribe((([t,e])=>{this.el.style.scrollBehavior="auto",this.el.scrollTo({top:t,left:e}),this.el.style.scrollBehavior=""})),this.styleSub=(0,c.T)((0,i.f3M)(o.L1).pipe((0,u.p)(100)),(0,s.pt)(this.el)).pipe((0,s.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>{"vertical"===this.tuiScrollbar?(this.style.top=100*this.thumb+"%",this.style.height=100*this.view+"%"):(this.style.left=100*this.thumb+"%",this.style.width=100*this.view+"%")})),this.tuiScrollbar="vertical"}get scrolled(){const{scrollTop:t,scrollHeight:e,clientHeight:n,scrollLeft:i,scrollWidth:r,clientWidth:o}=this.el;return"vertical"===this.tuiScrollbar?t/(e-n):i/(r-o)}get compensation(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return t*t/e>24&&"vertical"===this.tuiScrollbar||n*n/i>24&&"horizontal"===this.tuiScrollbar?0:"vertical"===this.tuiScrollbar?24/t:24/n}get thumb(){const t=this.compensation||this.view;return this.scrolled*(1-t)}get view(){const{clientHeight:t,scrollHeight:e,clientWidth:n,scrollWidth:i}=this.el;return"vertical"===this.tuiScrollbar?Math.ceil(t/e*100)/100:Math.ceil(n/i*100)/100}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiScrollbar",""]],inputs:{tuiScrollbar:"tuiScrollbar"},standalone:!0,features:[i._Bn([h.Q])]}),e})()},40942:(t,e,n)=>{n.d(e,{Q:()=>d});var i=n(20755),r=n(65026),o=n(55181),s=n(41589),a=n(48132),l=n(45047),c=n(92425),u=n(84787),h=n(81749);let d=(()=>{var t;class e extends a.y{constructor(){super((t=>this.scroll$.subscribe(t))),this.el=(0,o.AG)(),this.element=(0,i.f3M)(s.$_).nativeElement,this.scroll$=(0,l.T)((0,r.mL)(this.el.parentElement,"mousedown").pipe((0,c.U)((t=>this.getScrolled(t,.5,.5)))),(0,r.mL)(this.el,"mousedown").pipe((0,r.fL)((0,i.f3M)(i.R0b)),(0,u.w)((t=>{const{ownerDocument:e}=this.el,n=this.el.getBoundingClientRect(),i=function({clientY:t},{top:e,height:n}){return(t-e)/n}(t,n),o=function({clientX:t},{left:e,width:n}){return(t-e)/n}(t,n);return(0,r.mL)(e,"mousemove").pipe((0,c.U)((t=>this.getScrolled(t,i,o))),(0,h.R)((0,r.mL)(e,"mouseup")))}))))}getScrolled({clientY:t,clientX:e},n,i){const{offsetHeight:r,offsetWidth:o}=this.el,{top:s,left:a,width:l,height:c}=this.el.parentElement.getBoundingClientRect();return[(this.element.scrollHeight-c)*((t-s-r*n)/(c-r)),(this.element.scrollWidth-l)*((e-a-o*i)/(l-o))]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})()},82509:(t,e,n)=>{n.d(e,{f:()=>c});var i=n(76733),r=n(20755),o=n(11679),s=n(41589);function a(t,e){if(1&t){const t=r.EpF();r.ynx(0),r.TgZ(1,"button",1),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onLeftClick())})),r._uU(2),r.qZA(),r.TgZ(3,"span",2),r.Hsn(4),r.qZA(),r.TgZ(5,"button",3),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.onRightClick())})),r._uU(6),r.qZA(),r.BQk()}if(2&t){const t=e.ngIf,n=r.oxw();r.xp6(1),r.ekj("t-hidden",n.leftComputedDisabled),r.Q6J("iconLeft",n.icons.decrement)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[0]," "),r.xp6(3),r.ekj("t-hidden",n.rightComputedDisabled),r.Q6J("iconLeft",n.icons.increment)("tabIndex",n.focusable?0:-1),r.xp6(1),r.hij(" ",t[1]," ")}}const l=["*"];let c=(()=>{var t;class e{constructor(){this.icons=(0,r.f3M)(s.oC),this.spinTexts$=(0,r.f3M)(s.U4),this.focusable=!0,this.disabled=!1,this.leftDisabled=!1,this.rightDisabled=!1,this.leftClick=new r.vpe,this.rightClick=new r.vpe}onLeftClick(){this.leftComputedDisabled||this.leftClick.emit()}onRightClick(){this.rightComputedDisabled||this.rightClick.emit()}get leftComputedDisabled(){return this.disabled||this.leftDisabled}get rightComputedDisabled(){return this.disabled||this.rightDisabled}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-spin-button"]],hostBindings:function(t,e){1&t&&r.NdJ("mousedown.silent.prevent",(function(){return 0}))("keydown.arrowLeft.prevent",(function(){return e.onLeftClick()}))("keydown.arrowRight.prevent",(function(){return e.onRightClick()}))},inputs:{focusable:"focusable",disabled:"disabled",leftDisabled:"leftDisabled",rightDisabled:"rightDisabled"},outputs:{leftClick:"leftClick",rightClick:"rightClick"},standalone:!0,features:[r.jDz],ngContentSelectors:l,decls:2,vars:3,consts:[[4,"ngIf"],["appearance","flat","automation-id","tui-spin-button__left","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"],[1,"t-content","t-calendar-title"],["appearance","flat","automation-id","tui-spin-button__right","size","xs","tuiIconButton","","type","button",3,"iconLeft","tabIndex","click"]],template:function(t,e){1&t&&(r.F$t(),r.YNc(0,a,7,10,"ng-container",0),r.ALo(1,"async")),2&t&&r.Q6J("ngIf",r.lcZ(1,1,e.spinTexts$))},dependencies:[o.xG,i.O5,i.Ov],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:space-between;font:var(--tui-font-text-l);text-align:center;font-weight:700}.t-hidden[_ngcontent-%COMP%]{visibility:hidden}.t-content[_ngcontent-%COMP%]{padding:0 .5rem}"],changeDetection:0}),e})()},2239:(t,e,n)=>{n.d(e,{z1:()=>b,MB:()=>E,bf:()=>T,qm:()=>_}),n(8239);var i=n(76733),r=n(20755),o=n(43226),s=(n(42772),n(73740)),a=n(10676),l=n(55181),c=n(10426),u=n(34749),h=n(52674),d=n(11679),p=n(63098),f=n(57981),g=n(71938),m=n(41589),v=n(25690),y=n(94267);const b=(0,s.JN)({appearance:"textfield",size:"l",cleaner:!0});let _=(()=>{var t;class e extends y.QJ{constructor(){super(...arguments),this.options=(0,r.f3M)(b,{skipSelf:!0}),this.appearance=this.options.appearance,this.size=this.options.size,this.cleaner=this.options.cleaner}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""],["","tuiTextfieldSize",""],["","tuiTextfieldCleaner",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"],size:["tuiTextfieldSize","size"],cleaner:["tuiTextfieldCleaner","cleaner"]},standalone:!0,features:[r._Bn([(0,s.Q2)(b,t)]),r.qOj]}),e})();var w=n(82527),x=n(98549);function C(t,e){1&t&&r.GkF(0)}function k(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",6),r.NdJ("click",(function(){r.CHM(t);const e=r.oxw();return r.KtG(null==e.directive?null:e.directive.setValue(""))}))("pointerdown.silent.prevent",(function(){r.CHM(t);const e=r.oxw();return r.KtG(e.input.focus())})),r.qZA()}if(2&t){const t=r.oxw();r.Q6J("iconLeft",t.icons.close)}}function O(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 M(t,e){if(1&t&&r._UZ(0,"input",7),2&t){const t=r.oxw();r.Q6J("value",t.computedFiller)}}const S=[[["input"]],[["select"]],[["label"]],"*",[["","tuiTooltip",""]]],A=function(t,e){return{$implicit:t,active:e}},P=["input","select","label","*","[tuiTooltip]"];let E=(()=>{var t;class e{constructor(){this.dropdown=(0,r.f3M)(g.Bb,{optional:!0,self:!0}),this.side=0,this.change$=(0,r.f3M)(_,{optional:!0})?.change$,this.options=(0,r.f3M)(b),this.icons=(0,r.f3M)(m.Gs),this.control=(0,r.f3M)(o.a5,{optional:!0}),this.filler="",this.stringify=String}get input(){if(!this.el)throw new Error("[tuiTextfield] component is required");return this.el.nativeElement}get id(){return this.el?.nativeElement.id||""}get focused(){return!!this.dropdown?.dropdown||(0,h.V8)(this.el?.nativeElement)}handleOption(t){this.directive?.setValue(this.stringify(t)),this.dropdown?.toggle(!1)}get computedFiller(){const t=this.input.value||"",e=t+this.filler.slice(t.length);return e.length>t.length?e:""}get showFiller(){return this.focused&&!!this.computedFiller&&(!!this.input.value||!this.input.placeholder)}get hasLabel(){return Boolean(this.label?.nativeElement?.childNodes.length)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-textfield"]],contentQueries:function(t,e,n){if(1&t&&(r.Suo(n,T,5,r.SBq),r.Suo(n,T,5),r.Suo(n,f.T,5,r.SBq)),2&t){let t;r.iGM(t=r.CRH())&&(e.el=t.first),r.iGM(t=r.CRH())&&(e.directive=t.first),r.iGM(t=r.CRH())&&(e.label=t.first)}},hostVars:7,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.options.size),r.Udp("--t-side",e.side,"px"),r.ekj("_with-label",e.hasLabel)("_disabled",e.input.disabled))},inputs:{filler:"filler",stringify:"stringify",content:"content"},standalone:!0,features:[r._Bn([(0,p.oE)(t),(0,c.mS)(b),(0,g.fx)({limitWidth:"fixed"})]),r.jDz,r.zW0([w.k,g.td,p.Pb,{directive:g.Bb,inputs:["tuiDropdownOpen","open"],outputs:["tuiDropdownOpenChange","openChange"]},{directive:x.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])],ngContentSelectors:P,decls:12,vars:10,consts:[[4,"ngIf"],[1,"t-content",3,"waResizeObserver"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","","class","t-clear",3,"iconLeft","click","pointerdown.silent.prevent",4,"ngIf"],[1,"t-template"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],["aria-hidden","true","disabled","","class","t-filler",3,"value",4,"ngIf"],["appearance","icon","size","xs","tabindex","-1","tuiIconButton","",1,"t-clear",3,"iconLeft","click","pointerdown.silent.prevent"],["aria-hidden","true","disabled","",1,"t-filler",3,"value"]],template:function(t,e){1&t&&(r.F$t(S),r.YNc(0,C,1,0,"ng-container",0),r.ALo(1,"async"),r.Hsn(2),r.Hsn(3,1),r.Hsn(4,2),r.TgZ(5,"span",1),r.NdJ("waResizeObserver",(function(t){return e.side=t[0].contentRect.width})),r.Hsn(6,3),r.YNc(7,k,1,1,"button",2),r.Hsn(8,4),r.qZA(),r.TgZ(9,"span",3),r.YNc(10,O,2,1,"ng-container",4),r.qZA(),r.YNc(11,M,1,1,"input",5)),2&t&&(r.Q6J("ngIf",r.lcZ(1,5,e.change$)),r.xp6(7),r.Q6J("ngIf",e.options.cleaner),r.xp6(3),r.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",r.WLB(7,A,null==e.control?null:e.control.value,e.focused)),r.xp6(1),r.Q6J("ngIf",e.showFiller))},dependencies:[i.O5,i.Ov,u.P,d.xG,v.s$],styles:["[_nghost-%COMP%]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--t-left: 0rem;--t-right: 0rem;position:relative;display:flex;align-items:center;pointer-events:none;cursor:pointer;height:var(--t-height);color:var(--tui-text-tertiary)}[data-size=s][_nghost-%COMP%]{--t-height: var(--tui-height-s);padding:0 var(--tui-padding-s);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=s]._icon-left[_nghost-%COMP%]{--t-left: 1.25rem}[data-size=s]._icon-right[_nghost-%COMP%]{--t-right: 1.25rem}[data-size=s][_nghost-%COMP%]:before{margin-inline-start:-.25rem;margin-inline-end:.5rem;font-size:1rem}[data-size=s][_nghost-%COMP%]:after{margin-inline-end:-.175rem;margin-inline-start:.25rem;font-size:1rem}[data-size=s][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=s][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{gap:0}[data-size=m][_nghost-%COMP%]{--t-height: var(--tui-height-m);padding:0 var(--tui-padding-m);border-radius:var(--tui-radius-m);font:var(--tui-font-text-s)}[data-size=m]._icon-left[_nghost-%COMP%]{--t-left: 1.75rem}[data-size=m]._icon-right[_nghost-%COMP%]{--t-right: 1.75rem}[data-size=m][_nghost-%COMP%]:before{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=m][_nghost-%COMP%]:after{margin-inline-start:.375rem;margin-inline-end:-.125rem}[data-size=m][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-s)}[data-size=l][_nghost-%COMP%]{--t-height: var(--tui-height-l);padding:0 var(--tui-padding-l);border-radius:var(--tui-radius-l);font:var(--tui-font-text-m)}[data-size=l]._icon-left[_nghost-%COMP%]{--t-left: 2.25rem}[data-size=l]._icon-right[_nghost-%COMP%]{--t-right: 2.25rem}[data-size=l][_nghost-%COMP%]:before{margin-inline-end:.75rem}[data-size=l][_nghost-%COMP%]:after{margin-inline-start:.25rem}[data-size=l][_nghost-%COMP%] [tuiTextfield]{font:var(--tui-font-text-m)}[_nghost-%COMP%]:hover{color:var(--tui-text-secondary)}[_nghost-%COMP%]:before{z-index:1}._disabled[_nghost-%COMP%]:before, ._disabled[_nghost-%COMP%]:after, ._disabled[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]{opacity:var(--tui-disabled-opacity)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]{padding-top:calc(var(--t-height) / 3)}._with-label[_nghost-%COMP%] .t-template[_ngcontent-%COMP%]::placeholder, ._with-label[_nghost-%COMP%] [tuiTextfield]::placeholder, ._with-label[_nghost-%COMP%] .t-template._empty[_ngcontent-%COMP%], ._with-label[_nghost-%COMP%] [tuiTextfield]._empty{color:transparent}[_nghost-%COMP%] .t-template[_ngcontent-%COMP%], [_nghost-%COMP%] [tuiTextfield]{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-appearance:none;appearance:none;box-sizing:border-box;border:none;border-inline-start:var(--t-left) solid transparent;border-inline-end:calc(var(--t-right) + var(--t-side)) solid transparent;border-radius:inherit;padding:inherit}[_nghost-%COMP%] [tuiTextfield]{pointer-events:auto;background:transparent no-repeat center right 1rem / 2rem;background-clip:border-box,padding-box}[_nghost-%COMP%] [tuiTextfield]:read-only~.t-filler{display:none}[_nghost-%COMP%] [tuiTextfield]:disabled~label, [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content{opacity:var(--tui-disabled-opacity)}[_nghost-%COMP%] [tuiTextfield]:disabled~label [tuiTooltip], [_nghost-%COMP%] [tuiTextfield]:disabled~.t-content [tuiTooltip]{display:none}[_nghost-%COMP%] [tuiTextfield]:not(._empty)~label{font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled)[data-mode=invalid]~label, [_nghost-%COMP%] [tuiTextfield]:not(._empty):invalid:not(:disabled):not([data-mode])~label{color:var(--tui-status-negative)}[_nghost-%COMP%] [tuiTextfield]:not(._empty):not(:disabled):not([data-mode=readonly])~.t-content .t-clear{display:flex}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly]):focus-visible:not([data-focus=false])~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]::placeholder, [_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]._empty{color:var(--tui-text-tertiary)}[_nghost-%COMP%] [tuiTextfield]:not([data-mode=readonly])[data-focus=true]~label{color:var(--tui-text-primary)!important;font-size:.83em;transform:translateY(-.7em)}[_nghost-%COMP%] label{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:relative;display:block;flex:1;font-size:inherit}[_nghost-%COMP%] label, [_nghost-%COMP%] input::placeholder, [_nghost-%COMP%] select._empty{color:var(--tui-text-secondary)}[_nghost-%COMP%] select:not([data-mode=readonly]){cursor:pointer}@supports (-webkit-touch-callout: none){[_nghost-%COMP%] [tuiTextfield]:active{font-size:1rem}[_nghost-%COMP%] [tuiTextfield]._ios-fix{position:fixed;left:1000rem}}.t-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.25rem;margin-inline-start:auto}.t-clear[_ngcontent-%COMP%]{display:none;pointer-events:auto}.t-filler[_ngcontent-%COMP%]{pointer-events:none;background:none;color:var(--tui-text-tertiary);opacity:1}"],changeDetection:0}),e})(),T=(()=>{var t;class e{constructor(){this.appearance=(0,r.f3M)(c.Nm),this.options=(0,r.f3M)(b),this.textfield=(0,r.f3M)(E),this.id=(0,r.f3M)(a.ll).generate(),this.el=(0,l.AG)(),this.readOnly=!1,this.invalid=null,this.focused=null,this.state=null}get mode(){return this.readOnly?"readonly":!1===this.invalid?"valid":this.invalid?"invalid":null}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance,this.appearance.tuiAppearanceFocus=this.focused??this.textfield.focused,this.appearance.tuiAppearanceState=this.state}setValue(t){this.el.value=t,this.el.dispatchEvent(new Event("input"))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["input","tuiTextfield",""]],hostVars:5,hostBindings:function(t,e){1&t&&r.NdJ("input",(function(){return 0}))("focusin",(function(){return 0}))("focusout",(function(){return 0})),2&t&&(r.Ikx("id",e.el.id||e.id)("readOnly",e.readOnly),r.uIk("data-mode",e.mode),r.ekj("_empty",""===e.el.value))},inputs:{readOnly:"readOnly",invalid:"invalid",focused:"focused",state:"state"},standalone:!0,features:[r.zW0([w.k,c.Nm])]}),e})();f.T},93714:(t,e,n)=>{n.d(e,{N:()=>o});var i=n(20755),r=n(99488);let o=(()=>{var t;class e{constructor(){this.tuiAppearance=(0,i.f3M)(r.WR).appearance,this.tuiAppearanceState=null,this.tuiAppearanceFocus=null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAppearance",""]],hostAttrs:["tuiAppearance",""],hostVars:3,hostBindings:function(t,e){2&t&&i.uIk("data-appearance",e.tuiAppearance)("data-state",e.tuiAppearanceState)("data-focus",e.tuiAppearanceFocus)},inputs:{tuiAppearance:"tuiAppearance",tuiAppearanceState:"tuiAppearanceState",tuiAppearanceFocus:"tuiAppearanceFocus"},standalone:!0}),e})()},99488:(t,e,n)=>{n.d(e,{WR:()=>r,mS:()=>o});var i=n(73740);const r=(0,i.JN)({appearance:""});function o(t){return(0,i.Q2)(r,t)}},10426:(t,e,n)=>{n.d(e,{Nm:()=>i.N,mS:()=>r.mS});var i=n(93714),r=n(99488)},1:(t,e,n)=>{n.d(e,{B:()=>x});var i,r=n(84911),o=n(20755),s=n(62022),a=n(95079),l=n(42833),c=n(65026),u=n(55181),h=n(52674),d=n(52540),p=n(16931),f=n(25797),g=n(45047),m=n(55333),v=n(10409),y=n(92425),b=n(10938),_=n(72526);const w=["tuiDropdownHost"];class x{constructor(){this.directive=(0,o.f3M)(b.t,{optional:!0}),this.el=(0,u.AG)(),this.obscured=(0,o.f3M)(l.Q),this.sub=(0,g.T)(this.obscured.tuiObscured.pipe((0,m.h)(Boolean)),(0,o.f3M)(a.d).tuiActiveZoneChange.pipe((0,m.h)((t=>!t))),(0,v.R)(this.el,"focusin").pipe((0,y.U)(u.mA),(0,m.h)((t=>!this.host.contains(t)||!this.directive?.dropdownBoxRef)))).pipe((0,c.NA)((0,o.f3M)(o.sBO)),(0,s.sL)()).subscribe((()=>this.toggle(!1))),this.tuiDropdownEnabled=!0,this.tuiDropdownOpen=!1,this.tuiDropdownOpenChange=new o.vpe,this.driver=(0,o.f3M)(_.v)}get dropdown(){return this.directive?.dropdownBoxRef?.location.nativeElement}get focused(){return(0,h.zb)(this.host)||(0,h.zb)(this.dropdown)}ngOnChanges(){this.drive()}toggle(t){this.focused&&!t&&this.host.focus({preventScroll:!0}),this.update(t)}onClick(t){!this.editable&&this.host.contains(t)&&this.update(!this.tuiDropdownOpen)}onArrow(t,e){(0,u.ve)(t.target)&&this.host.contains(t.target)&&(t.preventDefault(),this.focusDropdown(e))}onEsc(t){t.preventDefault(),this.toggle(!1)}onKeydown({key:t,target:e,defaultPrevented:n}){!n&&(0,p.kL)(t)&&this.editable&&this.focused&&(0,u.dW)(e)&&(!(0,u.Hn)(e)||e===this.host)&&(this.update(!0),this.host.focus({preventScroll:!0}))}get host(){const t=this.dropdownHost?.nativeElement||this.el,e=(0,h.dT)(t)?t:(0,h.BW)({initial:t,root:this.el});return this.dropdownHost?.nativeElement||e||this.el}get editable(){return(0,u.Hn)(this.host)}update(t){t&&!this.tuiDropdownEnabled||(this.tuiDropdownOpen=t,this.tuiDropdownOpenChange.emit(t),this.drive())}drive(t=this.tuiDropdownOpen&&this.tuiDropdownEnabled){this.obscured.tuiObscuredEnabled=!!t,this.driver.next(!!t)}focusDropdown(t){if(!this.dropdown)return void this.update(!0);const e=this.el.ownerDocument,n=this.dropdown.appendChild(e.createElement("div")),i=t?n:this.dropdown,r=(0,h.BW)({initial:i,previous:t,root:this.dropdown});n.remove(),r?.focus()}}(i=x).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdownOpen",""],["","tuiDropdownOpenChange",""]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,w,5,o.SBq),2&t){let t;o.iGM(t=o.CRH())&&(e.dropdownHost=t.first)}},hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}))("keydown.arrowDown",(function(t){return e.onArrow(t,!1)}))("keydown.arrowUp",(function(t){return e.onArrow(t,!0)}))("keydown.silent.capture",(function(t){return e.onEsc(t)}),!1,o.evT)("keydown.silent",(function(t){return e.onKeydown(t)}),!1,o.evT)},inputs:{tuiDropdownEnabled:"tuiDropdownEnabled",tuiDropdownOpen:"tuiDropdownOpen"},outputs:{tuiDropdownOpenChange:"tuiDropdownOpenChange"},standalone:!0,features:[o._Bn([_.v,(0,d.UK)(_.v)]),o.TTD,o.zW0([l.Q,{directive:a.d,inputs:["tuiActiveZoneParent","tuiActiveZoneParent"],outputs:["tuiActiveZoneChange","tuiActiveZoneChange"]}])]}),(0,r.gn)([(0,f.uX)((function(t){return"key"in t&&"escape"===t.key.toLowerCase()&&this.tuiDropdownEnabled&&!!this.tuiDropdownOpen&&!this.dropdown?.nextElementSibling}))],x.prototype,"onEsc",null)},60598:(t,e,n)=>{n.d(e,{Ek:()=>c,fx:()=>l,vY:()=>a});var i=n(20755),r=n(73740),o=n(82510);const s={align:"left",direction:null,limitWidth:"auto",maxHeight:400,minHeight:80,offset:4,appearance:""},a=(0,r.JN)(s),l=t=>({provide:a,deps:[[new i.FiY,c],[new i.FiY,new i.tp0,a]],useFactory:(0,o.lp)(t,s)});let c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(a,{skipSelf:!0}),this.align=this.options.align,this.appearance=this.options.appearance,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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownAlign",""],["","tuiDropdownAppearance",""],["","tuiDropdownDirection",""],["","tuiDropdownLimitWidth",""],["","tuiDropdownMinHeight",""],["","tuiDropdownMaxHeight",""],["","tuiDropdownOffset",""]],inputs:{align:["tuiDropdownAlign","align"],appearance:["tuiDropdownAppearance","appearance"],direction:["tuiDropdownDirection","direction"],limitWidth:["tuiDropdownLimitWidth","limitWidth"],minHeight:["tuiDropdownMinHeight","minHeight"],maxHeight:["tuiDropdownMaxHeight","maxHeight"],offset:["tuiDropdownOffset","offset"]},standalone:!0,features:[i._Bn([(0,r.Q2)(a,t)])]}),e})()},92013:(t,e,n)=>{n.d(e,{B:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(10938),l=n(60598);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.options=(0,i.f3M)(l.vY),this.viewport=(0,i.f3M)(s.EO),this.type="dropdown",this.accessor=(0,o.Zy)("dropdown")((0,i.f3M)(o.O4),(0,i.f3M)(a.t))}getPosition({width:t,height:e}){t||e||(this.previous=void 0);const n=this.accessor?.getClientRect()??r.Jy,i=this.viewport.getClientRect(),{minHeight:o,align:s,direction:a,offset:l,limitWidth:c}=this.options,u={top:i.top-l,bottom:i.bottom+l,right:i.right-l,left:i.left+l},h=this.previous||a||"bottom",d={top:n.top-2*l-u.top,bottom:u.bottom-n.bottom-2*l},p="fixed"===c?n.width:t,f=Math.max(n.right-p,l),g=n.left+td.bottom?"top":"bottom";return d[h]>o&&a||d[h]>e?[m[h],m[s]]:(this.previous=v,[m[v],m[s]])}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownPosition",""]],standalone:!0,features:[i.qOj]}),e})()},83033:(t,e,n)=>{n.d(e,{n:()=>C});var i=n(20755),r=n(62022),o=n(42772),s=n(55181),a=n(73740),l=n(34138),c=n(52540),u=n(88543),h=n(94457),d=n(41589),p=n(82510),f=n(25690),g=n(92425),m=n(10938),v=n(79405),y=n(60598),b=n(92013),_=n(95079);function w(t,e){if(1&t&&(i.TgZ(0,"div",2),i._uU(1),i.qZA()),2&t){const t=e.polymorpheusOutlet;i.xp6(1),i.hij(" ",t," ")}}const x=function(t){return{$implicit:t}};let C=(()=>{var t;class e{constructor(){this.el=(0,s.AG)(),this.accessor=(0,i.f3M)(c.O4),this.win=(0,i.f3M)(o.m9),this.vvs=(0,i.f3M)(h.Lp),this.animation=(0,p.qS)((0,i.f3M)(d.ZW)),this.options=(0,i.f3M)(y.vY),this.directive=(0,i.f3M)(m.t),this.context=(0,i.f3M)(v.V,{optional:!0}),this.theme=this.directive.el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.sub=(0,i.f3M)(h.KG).pipe((0,g.U)((t=>"fixed"===this.directive.position?this.vvs.correct(t):t)),(0,r.sL)()).subscribe((([t,e])=>{this.directive.el.isConnected?this.update(t,e):this.close()})),this.close=()=>this.directive.toggle(!1)}ngOnInit(){this.updateWidth(this.accessor.getClientRect().width)}update(t,e){const{style:n}=this.el,{right:i}=this.el.getBoundingClientRect(),{maxHeight:r,minHeight:o,offset:s}=this.options,{innerHeight:l}=this.win,c=this.el.offsetParent?.getBoundingClientRect(),{position:u}=this.directive,h=this.accessor.getClientRect(),d="fixed"===u?0:-(c?.left||0),p="fixed"===u?0:-(c?.top||0);t+=p;const f=(e+=d)h.left&&t=h.right;n.position=u,n.top=(0,a.O9)(Math.max(t,p+s)),n.left=(0,a.O9)(e),n.maxHeight=g?`${r}px`:(0,a.O9)(Math.min(r,Math.max(f,o))),n.width="",n.minWidth="",this.updateWidth(h.width)}updateWidth(t){const{style:e}=this.el;switch(this.options.limitWidth){case"min":e.minWidth=(0,a.O9)(t);break;case"fixed":e.width=(0,a.O9)(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-dropdown"]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.options.appearance)("tuiTheme",e.theme),i.d8E("@tuiDropdownAnimation",e.animation))},standalone:!0,features:[i._Bn([h.KG,(0,c.ei)("dropdown",b.B),(0,c.Wk)("dropdown",m.t)]),i.jDz,i.zW0([_.d])],decls:2,vars:4,consts:[[1,"t-scroll"],["class","t-primitive",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive"]],template:function(t,e){1&t&&(i.TgZ(0,"tui-scrollbar",0),i.YNc(1,w,2,1,"div",1),i.qZA()),2&t&&(i.xp6(1),i.Q6J("polymorpheusOutlet",e.directive.content)("polymorpheusOutletContext",i.VKq(2,x,e.close)))},dependencies:[f.s$,u.D1],styles:["[_nghost-%COMP%]{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);background:var(--tui-background-elevation-2);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}.ng-animating[_nghost-%COMP%]{pointer-events:none}[_nghost-%COMP%]:not([style*=top]){visibility:hidden}.t-scroll[_ngcontent-%COMP%]{flex-grow:1;max-width:100%;overscroll-behavior:none}.t-primitive[_ngcontent-%COMP%]{padding:1rem}"],data:{animation:[l.i9]}}),e})()},10938:(t,e,n)=>{n.d(e,{t:()=>y});var i,r=n(84911),o=n(20755),s=n(62022),a=n(55181),l=n(73740),c=n(52540),u=n(82510),h=n(25690),d=n(78748),p=n(38356),f=n(79405),g=n(5648),m=n(72526),v=n(92013);class y{constructor(){this.refresh$=new d.x,this.service=(0,o.f3M)(g.U),this.cdr=(0,o.f3M)(o.sBO),this.sub=this.refresh$.pipe((0,p.p)(0),(0,s.sL)()).subscribe((()=>{this.dropdownBoxRef?.changeDetectorRef.detectChanges(),this.dropdownBoxRef?.changeDetectorRef.markForCheck()})),this.el=(0,a.AG)(),this.type="dropdown",this.component=new h.Al((0,o.f3M)(f.W),(0,o.f3M)(o.gxx)),this.dropdownBoxRef=null}set tuiDropdown(t){this.content=t instanceof o.Rgc?new h.GL(t,this.cdr):t}get position(){return(0,u.qK)(this.el)?"fixed":"absolute"}ngAfterViewChecked(){this.refresh$.next()}ngOnChanges(){this.content||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){if(t&&this.content&&!this.dropdownBoxRef)this.dropdownBoxRef=this.service.add(this.component);else if(!t&&this.dropdownBoxRef){const{dropdownBoxRef:t}=this;this.dropdownBoxRef=null,this.service.remove(t)}}}(i=y).ɵfac=function(t){return new(t||i)},i.ɵdir=o.lG2({type:i,selectors:[["","tuiDropdown","",5,"ng-container",5,"ng-template"]],inputs:{tuiDropdown:"tuiDropdown"},exportAs:["tuiDropdown"],standalone:!0,features:[o._Bn([(0,c.Ic)(i),(0,c.Fe)(i)]),o.TTD,o.zW0([m.V,v.B])]}),(0,r.gn)([l.UM],y.prototype,"position",null)},72526:(t,e,n)=>{n.d(e,{V:()=>a,v:()=>s});var i=n(52540),r=n(78748),o=n(20755);let s=(()=>{var t;class e extends r.x{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),a=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="dropdown"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiDropdownDriver",""]],standalone:!0,features:[o.qOj]}),e})()},79405:(t,e,n)=>{n.d(e,{V:()=>a,W:()=>s});var i=n(20755),r=n(73740),o=n(83033);const s=(0,r.N1)((()=>o.n)),a=new i.OlP("")},5648:(t,e,n)=>{n.d(e,{U:()=>o});var i=n(94267),r=n(20755);let o=(()=>{var t;class e extends i.Bb{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},71938:(t,e,n)=>{n.d(e,{WH:()=>_.W,td:()=>o.t,Bb:()=>g.B,Ek:()=>m.Ek,$Q:()=>y,UA:()=>v.U,JY:()=>C,fx:()=>m.fx});var i,r=n(83033),o=n(10938),s=n(72526),a=n(84911),l=n(20755),c=n(11892),u=n(95079),h=n(55181),d=n(52540),p=n(25797);class f extends d.O4{constructor(){super(...arguments),this.driver=(0,l.f3M)(s.v),this.currentRect=c.Jy,this.activeZone=(0,l.f3M)(u.d),this.type="dropdown"}getClientRect(){return this.currentRect}onContextMenu(t,e){this.currentRect=(0,h.dD)(t,e),this.driver.next(!0)}closeDropdown(){this.driver.next(!1)}}(i=f).ɵfac=function(){let t;return function(e){return(t||(t=l.n5z(i)))(e||i)}}(),i.ɵdir=l.lG2({type:i,selectors:[["","tuiDropdownContext",""]],hostBindings:function(t,e){1&t&&l.NdJ("contextmenu.prevent.stop",(function(t){return e.onContextMenu(t.clientX,t.clientY)}))("click.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("contextmenu.capture.silent",(function(t){return e.closeDropdown(t.target)}),!1,l.evT)("keydown.esc",(function(t){return e.closeDropdown(t.currentTarget)}),!1,l.evT)},standalone:!0,features:[l._Bn([u.d,s.v,(0,d.UK)(s.v),(0,d.Ic)(i)]),l.qOj]}),(0,a.gn)([(0,p.uX)((function(t){return!this.activeZone.contains(t)}))],f.prototype,"closeDropdown",null),n(76733),n(65026),n(45047),n(92425),n(18004),n(84787),n(71209),n(69286),n(31570),n(88557),(0,n(73740).JN)({showDelay:200,hideDelay:500});var g=n(1),m=n(60598),v=n(5648);let y=(()=>{var t;class e{constructor(){this.template=(0,l.f3M)(l.Rgc),this.service=(0,l.f3M)(v.U)}set tuiDropdown(t){this.viewRef?.destroy(),t&&(this.viewRef=this.service.addTemplate(this.template))}ngOnDestroy(){this.viewRef?.destroy()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["ng-template","tuiDropdown",""]],inputs:{tuiDropdown:"tuiDropdown"},standalone:!0}),e})();var b=n(92013);n(41589),n(86253),n(52674),n(82510),n(56424),n(38442),m.Ek,s.V,o.t,r.n,g.B,b.B;var _=n(79405),w=n(94267);const x=["*"];let C=(()=>{var t;class e extends w.oL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=l.n5z(t)))(n||t)}}(),t.ɵcmp=l.Xpm({type:t,selectors:[["tui-dropdowns"]],standalone:!0,features:[l._Bn([(0,w.ze)(v.U)]),l.qOj,l.jDz],ngContentSelectors:x,decls:3,vars:0,consts:[["viewContainer",""]],template:function(t,e){1&t&&(l.F$t(),l.Hsn(0),l.GkF(1,null,0))},styles:["[_nghost-%COMP%]{display:block;height:100%;isolation:isolate}"],changeDetection:0}),e})()},7183:(t,e,n)=>{n.d(e,{e:()=>C});var i,r=n(84911),o=n(76733),s=n(20755),a=n(65026),l=n(55181),c=n(52674),u=n(73740),h=n(52540),d=n(56424),p=n(18004),f=n(10409),g=n(84787),m=n(71209),v=n(45047),y=n(92425),b=n(24249),_=n(1925),w=n(73843),x=n(14776);class C extends h.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.doc=(0,s.f3M)(o.K0),this.el=(0,l.AG)(),this.id$=new d.X(""),this.stream$=this.id$.pipe((0,p.x)(),(0,a.Xd)((()=>(0,f.R)(this.doc,"keydown",{capture:!0})),u.Pc),(0,g.w)((()=>this.focused?(0,m.of)(!1):(0,v.T)((0,a.mL)(this.doc,"keyup"),(0,a.mL)(this.element,"blur")).pipe((0,y.U)((()=>this.focused))))),(0,b.D)((t=>t?(0,_.H)(1e3):(0,m.of)(null))),(0,w.O)(!1),(0,p.x)(),(0,x.T)(1),(0,a.Yr)((0,s.f3M)(s.R0b))),this.type="hint"}set tuiHintDescribe(t){this.id$.next(t||"")}get element(){return this.doc.getElementById(this.id$.value||"")||this.el}get focused(){return(0,c.V8)(this.element)}}(i=C).ɵfac=function(t){return new(t||i)},i.ɵdir=s.lG2({type:i,selectors:[["","tuiHintDescribe",""]],inputs:{tuiHintDescribe:"tuiHintDescribe"},standalone:!0,features:[s._Bn([(0,h.UK)(i)]),s.qOj]}),(0,r.gn)([u.UM],C.prototype,"element",null)},82897:(t,e,n)=>{n.d(e,{c:()=>o});var i=n(52540),r=n(20755);let o=(()=>{var t;class e extends i.qz{constructor(){super(...arguments),this.type="hint"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=r.n5z(t)))(n||t)}}(),t.ɵdir=r.lG2({type:t,selectors:[["never","tuiHint",""]],standalone:!0,features:[r.qOj]}),e})()},48272:(t,e,n)=>{n.d(e,{H:()=>b});var i=n(20755),r=n(7479),o=n(55181),s=n(52540),a=n(82510),l=n(78748),c=n(45047),u=n(84787),h=n(71209),d=n(69286),p=n(81749),f=n(74842),g=n(55333),m=n(92425),v=n(31570),y=n(40294);let b=(()=>{var t;class e extends s.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hovered$=(0,i.f3M)(r.gs),this.options=(0,i.f3M)(y.H3),this.visible=!1,this.toggle$=new l.x,this.stream$=(0,c.T)(this.toggle$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?0:this.tuiHintHideDelay)))),(0,p.R)(this.hovered$),(0,f.r)()),this.hovered$.pipe((0,u.w)((t=>(0,h.of)(t).pipe((0,d.g)(t?this.tuiHintShowDelay:this.tuiHintHideDelay)))),(0,p.R)(this.toggle$),(0,f.r)())).pipe((0,g.h)((()=>this.enabled)),(0,m.U)((t=>t&&(this.el.hasAttribute("tuiHintPointer")||!(0,a.mn)(this.el)))),(0,v.b)((t=>{this.visible=t}))),this.parent=(0,i.f3M)(e,{optional:!0,skipSelf:!0}),this.tuiHintShowDelay=this.options.showDelay,this.tuiHintHideDelay=this.options.hideDelay,this.type="hint",this.enabled=!0,this.el=(0,o.AG)()}toggle(t=!this.visible){this.toggle$.next(t),this.parent?.toggle(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiHint",""]],inputs:{tuiHintShowDelay:"tuiHintShowDelay",tuiHintHideDelay:"tuiHintHideDelay"},exportAs:["tuiHintHover"],standalone:!0,features:[i._Bn([(0,s.UK)(t),r.gs]),i.qOj]}),e})()},40294:(t,e,n)=>{n.d(e,{Fw:()=>s,H3:()=>a,bZ:()=>l});var i=n(20755),r=n(94267),o=n(73740);n(82510);const s=["bottom-left","bottom","bottom-right","top-left","top","top-right","left-top","left","left-bottom","right-top","right","right-bottom"],a=(0,o.JN)({direction:"bottom-left",showDelay:500,hideDelay:200,appearance:"",icon:"@tui.circle-help"});let l=(()=>{var t;class e extends r.QJ{constructor(){super(...arguments),this.options=(0,i.f3M)(a,{skipSelf:!0}),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=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["","tuiHintContent",""]],inputs:{content:["tuiHintContent","content"],direction:["tuiHintDirection","direction"],appearance:["tuiHintAppearance","appearance"],showDelay:["tuiHintShowDelay","showDelay"],hideDelay:["tuiHintHideDelay","hideDelay"]},standalone:!0,features:[i._Bn([(0,o.Q2)(a,t)]),i.qOj]}),e})()},12632:(t,e,n)=>{n.d(e,{y:()=>l});var i=n(11892),r=n(55181),o=n(52540),s=n(48272),a=n(20755);let l=(()=>{var t;class e extends s.H{constructor(){super(...arguments),this.currentRect=i.Jy}getClientRect(){return this.currentRect}onMove({clientX:t,clientY:e}){this.currentRect=(0,r.dD)(t,e)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=a.n5z(t)))(n||t)}}(),t.ɵdir=a.lG2({type:t,selectors:[["","tuiHint","","tuiHintPointer",""]],hostBindings:function(t,e){1&t&&a.NdJ("mousemove.silent",(function(t){return e.onMove(t)}))},standalone:!0,features:[a._Bn([(0,o.Ic)(t),(0,o.UK)(t)]),a.qOj]}),e})()},52065:(t,e,n)=>{n.d(e,{Z:()=>c});var i=n(20755),r=n(11892),o=n(52540),s=n(41589),a=n(25932),l=n(40294);let c=(()=>{var t;class e extends o.uG{constructor(){super(...arguments),this.viewport=(0,i.f3M)(s.EO),this.accessor=(0,o.Zy)("hint")((0,i.f3M)(o.O4),(0,i.f3M)(a.D)),this.points=l.Fw.reduce(((t,e)=>({...t,[e]:[0,0]})),{}),this.direction=(0,i.f3M)(l.H3).direction,this.type="hint"}getPosition({width:t,height:e}){const n=this.accessor.getClientRect()??r.Jy,i=n.left+n.width/2,o=n.top+n.height/2;if(this.points["top-left"][0]=n.top-e-8,this.points["top-left"][1]=i-t+22,this.points.top[0]=this.points["top-left"][0],this.points.top[1]=i-t/2,this.points["top-right"][0]=this.points["top-left"][0],this.points["top-right"][1]=i-22,this.points["bottom-left"][0]=n.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]=o-e+22,this.points["left-top"][1]=n.left-t-8,this.points.left[0]=o-e/2,this.points.left[1]=this.points["left-top"][1],this.points["left-bottom"][0]=o-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]=n.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 s=l.Fw.find((n=>this.checkPosition(this.points[n],t,e)));return this.points[s||this.fallback]}get fallback(){return this.points.top[0]>this.viewport.getClientRect().bottom-this.points.bottom[0]?"top":"bottom"}checkPosition([t,e],n,i){const r=this.viewport.getClientRect();return t>2&&e>2&&t+i{n.d(e,{j:()=>O});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11892),l=n(7479),c=n(55181),u=n(58373),h=n(73740),d=n(34138),p=n(52540),f=n(94457),g=n(41589),m=n(82510),v=n(25690),y=n(92425),b=n(25932),_=n(48272),w=n(12632),x=n(52065);function C(t,e){if(1&t&&o._UZ(0,"span",1),2&t){const t=e.polymorpheusOutlet;o.Q6J("innerHTML",t,o.oJD)}}const k=[f.KG,l.gs,(0,p.ei)("hint",x.Z),(0,p.Wk)("hint",b.D)];class O{constructor(){this.polymorpheus=(0,o.f3M)(v.yf),this.el=(0,c.AG)(),this.hover=(0,o.f3M)(_.H),this.vvs=(0,o.f3M)(f.Lp),this.viewport=(0,o.f3M)(g.EO),this.appearance=this.polymorpheus.$implicit.appearance||(0,o.f3M)(b.D).el.closest("[tuiTheme]")?.getAttribute("tuiTheme"),this.options=(0,m.qS)((0,o.f3M)(g.ZW)),this.pointer=(0,o.f3M)(w.y,{optional:!0}),this.accessor=(0,o.f3M)(p.O4),(0,o.f3M)(f.KG).pipe((0,y.U)((t=>this.vvs.correct(t))),(0,s.sL)()).subscribe((([t,e])=>{this.update(t,e)})),(0,o.f3M)(l.gs).pipe((0,s.sL)()).subscribe((t=>this.hover.toggle(t)))}get content(){return this.polymorpheus.$implicit.content}get context(){return this.polymorpheus.$implicit.context}onClick(t){(!t.closest("tui-hint")&&!this.hover.el.contains(t)||(0,m.mn)(this.hover.el))&&this.hover.toggle(!1)}update(t,e){if(!this.hover.el.isConnected)return void this.hover.toggle(!1);const{height:n,width:i}=this.el.getBoundingClientRect(),r=this.accessor.getClientRect(),o=this.viewport.getClientRect();if(r===a.Jy)return;const s=(0,u.K)(e,4,o.width-i-4),[l,c]=this.vvs.correct([r.top+r.height/2-t,r.left+r.width/2-s]);this.el.style.top=(0,h.O9)(t),this.el.style.left=(0,h.O9)(s),this.el.style.setProperty("--top",(0,h.O9)((0,u.K)(l,.5,n-1))),this.el.style.setProperty("--left",(0,h.O9)((0,u.K)(c,.5,i-1)))}}(i=O).ɵfac=function(t){return new(t||i)},i.ɵcmp=o.Xpm({type:i,selectors:[["tui-hint"]],hostVars:5,hostBindings:function(t,e){1&t&&o.NdJ("click",(function(t){return e.onClick(t.target)}),!1,o.evT),2&t&&(o.uIk("data-appearance",e.appearance)("tuiTheme",e.appearance),o.d8E("@tuiFadeIn",e.options),o.ekj("_untouchable",e.pointer))},standalone:!0,features:[o._Bn(k),o.jDz],ngContentSelectors:["*"],decls:2,vars:2,consts:[[3,"innerHTML",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"innerHTML"]],template:function(t,e){1&t&&(o.F$t(),o.Hsn(0),o.YNc(1,C,1,1,"span",0)),2&t&&(o.xp6(1),o.Q6J("polymorpheusOutlet",e.content)("polymorpheusOutletContext",e.context))},dependencies:[v.s$],styles:['[_nghost-%COMP%]{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-background-accent-1);border-radius:var(--tui-radius-l);color:var(--tui-text-primary-on-accent-1);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word;line-height:1.25rem}[_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-status-negative)}[data-appearance=dark][_nghost-%COMP%]{background:var(--tui-background-accent-opposite-hover);color:var(--tui-background-base);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:[d.QF]},changeDetection:0}),(0,r.gn)([h.UM],O.prototype,"update",null)},25932:(t,e,n)=>{n.d(e,{D:()=>f});var i=n(20755),r=n(95079),o=n(55181),s=n(52540),a=n(25690),l=n(65051),c=n(89440),u=n(40294),h=n(82897),d=n(48272),p=n(52065);let f=(()=>{var t;class e{constructor(){this.service=(0,i.f3M)(c.B),this.appearance=(0,i.f3M)(u.H3).appearance,this.component=(0,i.f3M)(a.Al),this.el=(0,o.AG)(),this.activeZone=(0,i.f3M)(r.d,{optional:!0}),this.type="hint"}set tuiHint(t){this.content=t,t||this.toggle(!1)}ngOnDestroy(){this.toggle(!1)}getClientRect(){return this.el.getBoundingClientRect()}toggle(t){t&&this.content?this.service.add(this):this.service.remove(this)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiHint","",5,"ng-container",5,"ng-template"]],inputs:{context:["tuiHintContext","context"],appearance:["tuiHintAppearance","appearance"],tuiHint:"tuiHint"},standalone:!0,features:[i._Bn([(0,s.Ic)(t),(0,s.Fe)(t),{provide:a.Al,deps:[l.y,i.gxx],useClass:a.Al}]),i.zW0([h.c,{directive:d.H,inputs:["tuiHintHideDelay","tuiHintHideDelay","tuiHintShowDelay","tuiHintShowDelay"]},{directive:p.Z,inputs:["tuiHintDirection","tuiHintDirection"]}])]}),e})()},65051:(t,e,n)=>{n.d(e,{y:()=>o});var i=n(73740),r=n(15433);const o=(0,i.N1)((()=>r.j))},89440:(t,e,n)=>{n.d(e,{B:()=>o});var i=n(56424),r=n(20755);let o=(()=>{var t;class e extends i.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=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},75430:(t,e,n)=>{n.d(e,{eW:()=>o.e,D:()=>r.D,Hr:()=>c.H,UI:()=>h,bZ:()=>d.bZ,Z0:()=>k});var i=n(15433),r=n(25932),o=n(7183),s=n(82897),a=(n(11892),n(52540)),l=n(20755),c=n(48272),u=n(56424);let h=(()=>{var t;class e extends a.kk{constructor(){super((t=>this.stream$.subscribe(t))),this.hover=(0,l.f3M)(c.H),this.stream$=new u.X(!1),this.tuiHintManual=!1,this.type="hint",this.hover.enabled=!1}ngOnChanges(){this.stream$.next(this.tuiHintManual)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiHint","","tuiHintManual",""]],inputs:{tuiHintManual:"tuiHintManual"},standalone:!0,features:[l._Bn([(0,a.UK)(t)]),l.qOj,l.TTD]}),e})();var d=n(40294),p=n(12632),f=n(52065),g=n(34138),m=n(25690);i.j,r.D,d.bZ,s.c,f.Z,c.H,o.e,p.y,n(65051);var v=n(76733),y=n(62022),b=n(95079),_=n(89440);function w(t,e){1&t&&l.GkF(0)}const x=function(t){return{$implicit:t}};function C(t,e){if(1&t&&(l.TgZ(0,"div",1),l.YNc(1,w,1,0,"ng-container",2),l.qZA()),2&t){const t=e.$implicit;l.Q6J("@tuiParentAnimation",void 0)("tuiActiveZoneParent",t.activeZone||null),l.xp6(1),l.Q6J("polymorpheusOutlet",t.component)("polymorpheusOutletContext",l.VKq(4,x,t))}}let k=(()=>{var t;class e{constructor(){this.hints$=(0,l.f3M)(_.B),this.destroyRef=(0,l.f3M)(l.ktI),this.cdr=(0,l.f3M)(l.sBO),this.hints=[]}ngOnInit(){this.hints$.pipe((0,y.sL)(this.destroyRef)).subscribe((t=>{this.hints=t,this.cdr.detectChanges()}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["tui-hints"]],hostAttrs:["aria-live","polite"],standalone:!0,features:[l.jDz],decls:1,vars:1,consts:[["role","tooltip",3,"tuiActiveZoneParent",4,"ngFor","ngForOf"],["role","tooltip",3,"tuiActiveZoneParent"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&l.YNc(0,C,2,6,"div",0),2&t&&l.Q6J("ngForOf",e.hints)},dependencies:[v.sg,b.d,m.s$],styles:["[_nghost-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;height:0}"],data:{animation:[g.B_]}}),e})()},98549:(t,e,n)=>{n.d(e,{p:()=>a});var i=n(20755),r=n(73740),o=n(41589);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-icons"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiIcons]:before,[tuiIcons]:after{font-size:1.5rem}[tuiIcons]._icon-left:before,[tuiIcons]._icon-right:after{content:"";width:1em;height:1em;flex-shrink:0;background:currentColor;-webkit-mask:var(--t-mask-left) no-repeat center / contain;mask:var(--t-mask-left) no-repeat center / contain}[tuiIcons]._icon-right:after{-webkit-mask:var(--t-mask-right) no-repeat center / contain;mask:var(--t-mask-right) no-repeat center / contain}\n'],encapsulation:2,changeDetection:0}),e})(),a=(()=>{var t;class e{constructor(){this.nothing=(0,r.__)(s),this.resolver=(0,o.Ps)(),this.iconLeft=(0,i.f3M)(o.SX),this.iconRight=""}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never","tuiIcons",""]],hostAttrs:["tuiIcons",""],hostVars:8,hostBindings:function(t,e){2&t&&(i.Udp("--t-mask-left","url("+e.resolver(e.iconLeft)+")")("--t-mask-right","url("+e.resolver(e.iconRight)+")"),i.ekj("_icon-left",e.iconLeft)("_icon-right",e.iconRight))},inputs:{iconLeft:"iconLeft",iconRight:"iconRight"},standalone:!0}),e})()},42690:(t,e,n)=>{n.d(e,{Nm:()=>i.Nm,td:()=>r.td,Bb:()=>r.Bb,Ek:()=>r.Ek,UA:()=>r.UA,JY:()=>r.JY,eW:()=>o.eW,D:()=>o.D,fx:()=>r.fx});var i=n(10426);n(73740),n(41589);var r=n(71938),o=n(75430);n(98549),n(66858),n(65026),n(86253),n(2239)},66858:(t,e,n)=>{n.d(e,{E:()=>u});var i=n(20755),r=n(73740),o=n(41589),s=n(48132),a=n(38442),l=n(92425),c=n(35484);let u=(()=>{var t;class e extends s.y{constructor(){super((t=>(0,a.a)([this.parent,this.settings]).pipe((0,l.U)((([t,e])=>({...t,...e})))).subscribe(t))),this.settings=new c.t(1),this.parent=(0,i.f3M)(o.HO,{skipSelf:!0})}set tuiNumberFormat(t){this.settings.next(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiNumberFormat",""]],inputs:{tuiNumberFormat:"tuiNumberFormat"},standalone:!0,features:[i._Bn([(0,r.Q2)(o.HO,t)]),i.qOj]}),e})()},68704:(t,e,n)=>{n.d(e,{GcO:()=>f.Gc,iSh:()=>p.iS,NmR:()=>A.Nm,xGO:()=>o.xG,qiE:()=>s.qi,ROA:()=>a.RO,kkl:()=>r.kk,tdC:()=>A.td,Bb2:()=>A.Bb,Ekv:()=>A.Ek,UAE:()=>A.UA,eRn:()=>_,hMP:()=>w.hM,eWJ:()=>A.eW,Dae:()=>A.D,RJr:()=>x.R,XCq:()=>P.XC,lI3:()=>C.lI,A61:()=>k.A6,tK9:()=>O.tK,c45:()=>s.c4,bHd:()=>s.bH,O4x:()=>r.O4,D1O:()=>M.D1,MBc:()=>S.MB,bfP:()=>S.bf,qmE:()=>S.qm,UKU:()=>r.UK,Ic9:()=>r.Ic,ckU:()=>p.ck,fxH:()=>A.fx,ic8:()=>f.ic,DII:()=>f.DI});var i=n(34138),r=n(52540),o=(n(75097),n(11679)),s=(n(31447),n(63098)),a=n(67587),l=n(76733),c=n(20755),u=n(94267),h=n(81929),d=n(73740),p=n(41589),f=n(82510),g=n(25690);function m(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}const v=function(){return{}};function y(t,e){if(1&t&&(c.TgZ(0,"div",2),c.YNc(1,m,2,1,"ng-container",3),c.qZA()),2&t){const t=c.oxw().tuiLet,e=c.oxw();c.Q6J("@tuiFadeIn",e.options)("@tuiHeightCollapse",e.options),c.xp6(1),c.Q6J("polymorpheusOutlet",e.error.message||t)("polymorpheusOutletContext",e.error.context||c.DdM(4,v))}}function b(t,e){if(1&t&&(c.ynx(0),c.YNc(1,y,2,5,"div",1),c.BQk()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",t.error&&t.visible)}}let _=(()=>{var t;class e{constructor(){this.options=(0,f.qS)((0,c.f3M)(p.ZW)),this.error=null,this.visible=!0,this.defaultErrorMessage$=(0,c.f3M)(p.PL)}set errorSetter(t){this.error=(0,d.Aj)(t)?new u.T8(t):t}onAnimation(t){this.visible=t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=c.Xpm({type:t,selectors:[["tui-error"]],hostBindings:function(t,e){1&t&&c.NdJ("animationcancel.self",(function(){return e.onAnimation(!1)}))("animationstart.self",(function(){return e.onAnimation(!0)}))},inputs:{errorSetter:["error","errorSetter"]},standalone:!0,features:[c.jDz],decls:2,vars:3,consts:[[4,"tuiLet"],["automation-id","tui-error__text","class","t-message-text",4,"ngIf"],["automation-id","tui-error__text",1,"t-message-text"],[4,"polymorpheusOutlet","polymorpheusOutletContext"]],template:function(t,e){1&t&&(c.YNc(0,b,2,1,"ng-container",0),c.ALo(1,"async")),2&t&&c.Q6J("tuiLet",c.lcZ(1,1,e.defaultErrorMessage$))},dependencies:[l.Ov,l.O5,g.s$,h.i],styles:["[_nghost-%COMP%]{display:block;font:var(--tui-font-text-s);color:var(--tui-status-negative);word-wrap:break-word;animation:tuiPresent 1s infinite}.t-message-text[_ngcontent-%COMP%]{margin-top:.25rem;white-space:pre-line}"],data:{animation:[i.eu,i.QF]},changeDetection:0}),e})();n(93745);var w=n(44501),x=n(9368),C=(n(57981),n(16100)),k=n(32097),O=n(94030),M=(n(38525),n(88543)),S=(n(82509),n(2239)),A=n(42690),P=n(88283);n(94457)},13027:(t,e,n)=>{n.d(e,{$:()=>o});var i=n(82510),r=n(20755);let o=(()=>{var t;class e{transform(t){return(0,i.sn)(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=r.Yjl({name:"tuiAutoColor",type:t,pure:!0,standalone:!0}),e})()},18639:(t,e,n)=>{n.d(e,{T:()=>o});var i=n(20755),r=n(41589);let o=(()=>{var t;class e{constructor(){this.staticPath=(0,i.f3M)(r.AW)}transform(t){return t?`${this.staticPath}/icons/flags/${t}.svg`:null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiFlag",type:t,pure:!0,standalone:!0}),e})()},64128:(t,e,n)=>{n(94457)},88283:(t,e,n)=>{n.d(e,{hp:()=>a,XC:()=>l,$7:()=>c.$,q2:()=>d}),n(13027);var i=n(20755),r=n(28351),o=n(41589);n(23880);const s=({month:t,rowIndex:e,colIndex:n,firstDayOfWeek:i})=>{let o=e*r.NA+n-((t,e)=>{const n=new Date(t.year,t.month,1).getDay();return n>=e?n-e:r.NA-(e-n)})(t,i)+1;return o>t.daysCount&&(o-=t.daysCount,t=t.append({month:1})),o<=0&&(o=(t=t.append({month:-1})).daysCount+o),new r.TU(t.year,t.month,o)};let a=(()=>{var t;class e{constructor(){this.firstDayOfWeek=(0,i.f3M)(o.Sy),this.currentMonth=null,this.currentSheet=[]}transform(t,e=!1){if(this.currentMonth?.monthSame(t))return this.currentSheet;const n=[];for(let i=0;i<6;i++){const o=[];for(let n=0;ne.yeare.year>n.year||e.month>n.month;if(!a(r)||e){if(l(r)&&!e)break;o.push(r)}}n.push(o)}return this.currentSheet=n.filter((t=>t.length)),this.currentMonth=t,this.currentSheet}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiCalendarSheet",type:t,pure:!0,standalone:!0}),e})();n(55181),n(18639),n(64128),n(80567);let l=(()=>{var t;class e{transform(t){return t.toUpperCase().split(" ").map((([t])=>t)).join("").slice(0,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiInitials",type:t,pure:!0,standalone:!0}),e})();var c=n(15625),u=n(92425);function h(t){const e=t.length-1;return[t[e],...t.slice(0,e)]}let d=(()=>{var t;class e{constructor(){this.firstDayOfWeekIndex=(0,i.f3M)(o.Sy)}transform(t){return t.pipe((0,u.U)(h),(0,u.U)((t=>[...t.slice(this.firstDayOfWeekIndex),...t.slice(0,this.firstDayOfWeekIndex)])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiOrderWeekDays",type:t,pure:!0,standalone:!0}),e})()},15625:(t,e,n)=>{n.d(e,{$:()=>s});var i=n(20755),r=n(41589),o=n(92425);let s=(()=>{var t;class e{constructor(){this.months$=(0,i.f3M)(r.$R)}transform({month:t}){return this.months$.pipe((0,o.U)((e=>e[t])))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"tuiMonth",type:t,pure:!0,standalone:!0}),e})()},94457:(t,e,n)=>{n.d(e,{zE:()=>h,KG:()=>v,Lp:()=>y});var i=n(20755),r=n(65026),o=n(86253),s=n(41589),a=n(48132),l=n(92425),c=n(18004),u=n(20530);let h=(()=>{var t;class e extends a.y{constructor(){super((t=>this.stream$.subscribe(t))),this.media=(0,i.f3M)(s.J_),this.sorted=Object.values(this.media).sort(((t,e)=>t-e)),this.invert=Object.keys(this.media).reduce(((t,e)=>({...t,[this.media[e]]:e})),{}),this.stream$=(0,i.f3M)(o.fM).pipe((0,l.U)((({width:t})=>this.sorted.find((e=>e>t)))),(0,l.U)((t=>this.invert[t||this.sorted[this.sorted.length-1]])),(0,c.x)(),(0,r.Yr)((0,i.f3M)(i.R0b)),(0,u.d)({bufferSize:1,refCount:!0}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var d=n(42772),p=n(11892),f=n(55181),g=n(52540),m=n(36293);let v=(()=>{var t;class e extends a.y{constructor(){const t=(0,i.f3M)(d.L1),e=(0,i.f3M)(i.R0b);super((n=>t.pipe((0,l.U)((()=>this.el.getBoundingClientRect())),(0,l.U)((t=>this.accessor.getPosition(t))),(0,r.fL)(e),(0,m.x)((()=>this.accessor.getPosition(p.Jy)))).subscribe(n))),this.el=(0,f.AG)(),this.accessor=(0,i.f3M)(g.uG)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})(),y=(()=>{var t;class e{constructor(){this.isWebkit=(0,i.f3M)(o.jF),this.win=(0,i.f3M)(d.m9)}correct(t){return this.isWebkit?[t[0]+(this.win.visualViewport?.offsetTop??0),t[1]+(this.win.visualViewport?.offsetLeft??0)]:t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})()},41589:(t,e,n)=>{n.d(e,{ZW:()=>a,AW:()=>l,U0:()=>y,Gs:()=>c,P_:()=>d,rJ:()=>p,ZD:()=>h,PL:()=>_,Jl:()=>A,Sy:()=>g,SX:()=>C,J_:()=>S,$R:()=>v,PH:()=>b,HO:()=>P,TK:()=>s,$_:()=>E,iS:()=>F,P:()=>x,oC:()=>L,U4:()=>w,r2:()=>R,EO:()=>j,ck:()=>H,Ps:()=>M});var i=n(20755),r=n(73740),o=n(76733);const s=(0,r.N1)((()=>(0,i.f3M)(o.K0).defaultView?.matchMedia?.("(prefers-reduced-motion: reduce)").matches??!1)),a=(0,r.N1)((()=>(0,i.f3M)(s)?0:1)),l=(0,r.JN)("assets/taiga-ui"),c=(0,r.JN)({check:"@tui.check",close:"@tui.x",error:"@tui.circle-alert",more:"@tui.chevron-right"});var u=n(71209);const h={mode:"DMY",separator:"."},d=(0,r.JN)((0,u.of)(h)),p=(0,r.JN)((t=>t.isWeekend?"weekend":"weekday"));var f=n(28351);const g=(0,r.JN)(f.Lr.Monday);var m=n(49335);const v=(0,r.N1)((0,m.v)("months")),y=(0,r.N1)((0,m.v)("close")),b=(0,r.N1)((0,m.v)("nothingFoundMessage")),_=(0,r.N1)((0,m.v)("defaultErrorMessage")),w=(0,r.N1)((0,m.v)("spinTexts")),x=(0,r.N1)((0,m.v)("shortWeekDays")),C=(0,r.JN)(""),k=(0,r.JN)({}),O=(0,r.N1)((()=>{const t=(0,i.f3M)(l);return e=>!e||e.includes("/")?e:`${t}/icons/${e.replace("@tui.","").split(".").join("/")}.svg`}));function M(){const t=(0,i.f3M)(k),e=(0,i.f3M)(O);return n=>t[n]||e(n)}const S=(0,r.JN)({mobile:768,desktopSmall:1024,desktopLarge:1280}),A={precision:NaN,decimalSeparator:",",thousandSeparator:n(11892).f$,rounding:"truncate",decimalMode:"pad"},P=(0,r.JN)((0,u.of)(A)),E=(0,r.N1)((()=>new i.SBq((0,i.f3M)(o.K0).documentElement)));var T=n(65026),I=n(45047),D=n(84787),z=n(81749),N=n(88557);const F=(0,r.N1)((()=>{const t=(0,i.f3M)(o.K0);return(0,I.T)((0,T.mL)(t,"selectionchange"),(0,T.mL)(t,"mouseup"),(0,T.mL)(t,"mousedown").pipe((0,D.w)((()=>(0,T.mL)(t,"mousemove").pipe((0,z.R)((0,T.mL)(t,"mouseup")))))),(0,T.mL)(t,"keydown"),(0,T.mL)(t,"keyup")).pipe((0,N.B)())})),L=(0,r.JN)({decrement:"@tui.chevron-left",increment:"@tui.chevron-right"}),R=(0,r.JN)("Taiga");var B=n(42772);const j=(0,r.N1)((()=>{const t=(0,i.f3M)(B.m9);return{type:"viewport",getClientRect(){const e={top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight,x:0,y:0};return{...e,toJSON:()=>JSON.stringify(e)}}}}));function H(t){return(0,r.Q2)(j,t)}},80567:(t,e,n)=>{n.d(e,{lx:()=>l,Lf:()=>a,sn:()=>c});var i=n(11892),r=n(72478),o=n(41589),s=n(73740);function a(t,e){const[,n=""]=function(t){const e=String(t),[n,i]=e.split("e-");let r=e;if(i){const[,e]=n.split("."),o=Number(i)+(e?.length||0);r=t.toFixed(o)}return r}(t).split(".");return(0,s.dt)(e)?n.slice(0,Math.max(0,e)):n}function l(t,e={}){const{precision:n,decimalSeparator:s,thousandSeparator:l,decimalMode:c,rounding:u}={...o.Jl,decimalMode:"always",precision:1/0,...e},h=Number.isFinite(n)?function({value:t,precision:e,method:n}){switch(n){case"round":return(0,r.FG)(t,e);case"ceil":return(0,r.Br)(t,e);case"floor":return(0,r.OT)(t,e);default:return(0,r.h4)(t,e)}}({value:t,precision:n,method:u}):t,d=String(Math.floor(Math.abs(h)));let p=a(h,n);const f=Number(p)>0;if(Number.isFinite(n))if("always"===c||f&&"pad"===c){const t=Math.max(n-p.length,0);p=`${p}${"0".repeat(t)}`}else p=p.replace(/0*$/,"");const g=d.length%3;let m=(t<0?i.fv:"")+d.charAt(0);for(let t=1;t3&&(m+=l),m+=d.charAt(t);return p?m+s+p:m}function c(t){if(""===t)return"";let e=0;for(let n=0;n{function i(t){return!!t&&(function(t){return"fixed"===t.ownerDocument.defaultView?.getComputedStyle(t).getPropertyValue("position")}(t)||i(t.parentElement))}function r({document:t,innerWidth:e}){return Math.max(t.documentElement.clientWidth||0,e||0)}n.d(e,{Gc:()=>l.Gc,qK:()=>i,cZ:()=>l.cZ,ic:()=>r,DI:()=>s,mn:()=>l.mn,lp:()=>l.lp,sn:()=>a.sn,qS:()=>l.qS});var o=n(11892);function s(t){const e=t.cloneRange(),{startContainer:n,startOffset:i,endContainer:r,endOffset:s}=e,{ownerDocument:a}=n;if(!a)return e;const l=a.createTreeWalker(a.body,NodeFilter.SHOW_TEXT,o.Lw);l.currentNode=n;do{const t=l.currentNode,r=t.textContent||"",s=t===n?r.slice(0,Math.max(0,i+1)):r,a=Math.max(s.lastIndexOf(" "),s.lastIndexOf(o.f$),s.lastIndexOf(o.tU))+1;if(e.setStart(t,0),a){e.setStart(t,a);break}}while(l.previousNode());l.currentNode=r;do{const t=l.currentNode,n=t.textContent||"",i=t===r?n.slice(s+1):n,a=[i.indexOf(" "),i.indexOf(o.f$),i.indexOf(o.tU)].reduce(((t,e)=>-1===t||-1===e?Math.max(t,e):Math.min(t,e)),-1);if(e.setEnd(t,n.length),-1!==a){e.setEnd(t,a+n.length-i.length);break}}while(l.nextNode());return e}var a=n(80567),l=n(16931)},16931:(t,e,n)=>{n.d(e,{Gc:()=>u,cZ:()=>d,kL:()=>r,mn:()=>s,lp:()=>a,R9:()=>c,qS:()=>h});const i=["Spacebar","Backspace","Delete","ArrowLeft","ArrowRight","Left","Right","End","Home"];function r(t=""){return 1===t.length||i.includes(t)}var o=n(55181);function s(t,e="tui-hints"){return!!(0,o.PU)(t)?.some((t=>!t.closest(e)))}function a(t,e){return(n,i)=>{const r=n||{...i||e};return Object.keys(t).forEach((e=>{r[e]=t[e]})),r}}const l={xxs:0,xs:1,s:2,m:3,l:4,xl:5,xxl:6};function c(t,e="s"){return l[t]>l[e]}const u=300;function h(t){return{value:"",params:{duration:d(t)}}}function d(t){return t&&u/t}},62057:(t,e,n)=>{n.d(e,{V6:()=>r,ZI:()=>i});const i={AD:"Andorra",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua & Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AR:"Argentina",AT:"Austria",AU:"Australia",AW:"Aruba",AZ:"Azerbaijan",BA:"Bosnia & Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"St. Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Caribbean Netherlands",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CD:"Congo - Kinshasa",CF:"Central African Republic",CG:"Congo - Brazzaville",CH:"Switzerland",CI:"Côte d’Ivoire",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curaçao",CY:"Cyprus",CZ:"Czechia",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Federated States of Micronesia",FR:"France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GT:"Guatemala",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IN:"India",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KM:"Comoros",KN:"St. Kitts & Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"St. Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"St. Martin",MG:"Madagascar",MK:"North Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"São Tomé & Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Turks & Caicos Islands",TD:"Chad",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Türkiye",TT:"Trinidad & Tobago",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",US:"United States",UY:"Uruguay",UZ:"Uzbekistan",VC:"St. Vincent & Grenadines",VE:"Venezuela",VG:"British Virgin Islands",VN:"Vietnam",VU:"Vanuatu",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"South Africa",ZM:"Zambia",ZW:"Zimbabwe",AC:"Ascension Island",AS:"American Samoa",AX:"Åland Islands",CC:"Cocos (Keeling) Islands",CK:"Cook Islands",CX:"Christmas Island",EH:"Western Sahara",FO:"Faroe Islands",GG:"Guernsey",GU:"Guam",IM:"Isle of Man",JE:"Jersey",IO:"British Indian Ocean Territory",KI:"Kiribati",MH:"Marshall Islands",MP:"Northern Mariana Islands",NF:"Norfolk Island",NR:"Nauru",NU:"Niue",PM:"Saint Pierre and Miquelon",PR:"Puerto Rico",PS:"Palestine",SJ:"Svalbard and Jan Mayen",SS:"South Sudan",TA:"Tristan da Cunha",TK:"Tokelau",TV:"Tuvalu",VA:"Holy See",VI:"Virgin Islands",WF:"Wallis and Futuna"},r={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,cancel:"Cancel",done:"Done",more:"More",otherDate:"Other date...",showAll:"Show all",hide:"Hide",mobileCalendarTexts:["Choose day","Choose range","Choose days"],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","KiB","MiB"],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 it here",defaultLabelMultiple:"or drop them here",defaultLinkSingle:"Choose a file",defaultLinkMultiple:"Choose files",maxSizeRejectionReason:"File is larger than ",formatRejectionReason:"Wrong file type",drop:"Drop file here",dropMultiple:"Drop files here"},multiSelectTexts:{all:"Select all",none:"Select none"},confirm:{yes:"Yes",no:"No"},previewTexts:{rotate:"Rotate"},zoomTexts:{zoomOut:"Zoom out",zoomIn:"Zoom in",reset:"Reset"},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"}}},3667:(t,e,n)=>{n(79815)},79815:(t,e,n)=>{n.d(e,{Co:()=>a});var i=n(20755),r=n(62057),o=n(71209);const s=new i.OlP("[TUI_DEFAULT_LANGUAGE]",{factory:()=>r.V6}),a=new i.OlP("[TUI_LANGUAGE]",{factory:()=>(0,o.of)((0,i.f3M)(s))});new i.OlP("[TUI_LANGUAGE_LOADER]"),new i.OlP("[TUI_LANGUAGE_STORAGE_KEY]",{factory:()=>"tuiLanguage"})},49335:(t,e,n)=>{n.d(e,{v:()=>c});var i=n(20755),r=n(79815),o=n(84787),s=n(11070),a=n(71209),l=n(92425);function c(t){return()=>(0,i.f3M)(r.Co).pipe((0,o.w)((t=>(0,s.b)(t)?t:(0,a.of)(t))),(0,l.U)((e=>e[t])))}},24149:(t,e,n)=>{n.d(e,{tR:()=>E,z0:()=>P,Z0:()=>b});var i=n(20755),r=n(62022),o=n(11892),s=n(65026),a=n(73740),l=n(44501),c=n(74114),u=n(92425),h=n(55333),d=n(45047),p=n(84787),f=n(69401),g=n(76733),m=n(9368),v=n(95173),y=n(25690);let b=(()=>{var t;class e extends y.GL{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["ng-template","tuiAccordionItemContent",""]],standalone:!0,features:[i.qOj]}),e})(),_=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiAccordionItemContent","",5,"ng-template"]],standalone:!0}),e})();var w=n(93745);function x(t,e){if(1&t&&(i.ynx(0),i._UZ(1,"tui-icon",7),i.BQk()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("tuiChevron",t.open)}}function C(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 k(t,e){if(1&t&&(i.TgZ(0,"div",9),i.YNc(1,C,2,1,"ng-container",10),i.qZA()),2&t){const t=i.oxw(2);i.xp6(1),i.Q6J("polymorpheusOutlet",t.lazyContent)}}function O(t,e){if(1&t&&i.YNc(0,k,2,1,"div",8),2&t){const t=i.oxw();i.Q6J("ngIf",t.lazyContent)}}function M(t,e){1&t&&(i.TgZ(0,"div",11),i.Hsn(1,1),i.qZA())}const S=["*",[["","tuiAccordionItemContent",""]]],A=["*","[tuiAccordionItemContent]"];let P=(()=>{var t;class e{constructor(){this.cdr=(0,i.f3M)(i.sBO),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 i.vpe}close(){this.updateOpen(!1),this.cdr.markForCheck()}onRowToggle(){this.disabled||this.updateOpen(!this.open)}onItemKeyDownEsc(t){this.open&&(t.stopPropagation(),this.updateOpen(!1))}updateOpen(t){this.open!==t&&(this.open=t,this.openChange.emit(t))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-accordion-item"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,_,5),i.Suo(n,b,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.eagerContent=t.first),i.iGM(t=i.CRH())&&(e.lazyContent=t.first)}},hostVars:8,hostBindings:function(t,e){2&t&&(i.uIk("data-borders",e.borders)("data-size",e.size),i.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"},standalone:!0,features:[i.jDz],ngContentSelectors:A,decls:8,vars:9,consts:[["automation-id","tui-accordion__item-wrapper",1,"t-wrapper"],["automation-id","tui-accordion__item-header","type","button",1,"t-header",3,"disabled","click","keydown.esc"],["automation-id","tui-accordion__item-title",1,"t-title"],[4,"ngIf"],[3,"async","expanded"],["tuiExpandContent",""],["class","t-content",4,"ngIf"],[1,"t-icon",3,"tuiChevron"],["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&&(i.F$t(S),i.TgZ(0,"div",0)(1,"button",1),i.NdJ("click",(function(){return e.onRowToggle()}))("keydown.esc",(function(t){return e.onItemKeyDownEsc(t)})),i.TgZ(2,"span",2),i.Hsn(3),i.qZA(),i.YNc(4,x,2,1,"ng-container",3),i.qZA(),i.TgZ(5,"tui-expand",4),i.YNc(6,O,1,1,"ng-template",5),i.YNc(7,M,2,0,"div",6),i.qZA()()),2&t&&(i.xp6(1),i.ekj("t-header_hoverable",!e.disableHover)("t-header_open",e.open),i.Q6J("disabled",e.disabled),i.xp6(3),i.Q6J("ngIf",e.showArrow),i.xp6(1),i.Q6J("async",e.async)("expanded",e.open),i.xp6(2),i.Q6J("ngIf",e.eagerContent))},dependencies:[g.O5,y.s$,m.R,v.HT,w.SV,w.d0],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} tui-accordion{width:100%}.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-border-normal);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}.t-header[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;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-border-normal);min-height:var(--tui-height-l);padding:.75rem 1.25rem;color:var(--tui-text-primary);cursor:pointer;text-align:left;outline:none}.t-header[_ngcontent-%COMP%]:focus-visible{box-shadow:inset 0 0 0 2px var(--tui-border-focus)}[_nghost-%COMP%]:not([data-borders]) .t-header[_ngcontent-%COMP%]{border-bottom-width:0}._has-arrow[_nghost-%COMP%] .t-header[_ngcontent-%COMP%]{padding-right:.75rem}[tuiTheme="dark"][_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%], [tuiTheme="dark"] [_nghost-%COMP%] .t-header_open[_ngcontent-%COMP%]{background:var(--tui-background-neutral-1)}[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}.t-wrapper[_ngcontent-%COMP%]:hover > .t-header_hoverable[_ngcontent-%COMP%]{background:var(--tui-background-base-alt)}.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:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-left:auto;color:var(--tui-text-tertiary)}[_nghost-%COMP%]:hover .t-icon[_ngcontent-%COMP%]{color:var(--tui-text-secondary)}.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}),e})(),E=(()=>{var t;class e{constructor(){this.destroyRef=(0,i.f3M)(i.ktI),this.accordionItems=o.Mm,this.closeOthers=!0}ngAfterContentInit(){const{accordionItems:t}=this,e=(0,s.ll)(t),n=e.pipe((0,c.G)(),(0,u.U)((([t,e])=>e.find((e=>!t.includes(e)&&e.open)))),(0,h.h)(a.Pc));(0,d.T)(e.pipe((0,p.w)((t=>(0,d.T)(...t.map((t=>t.openChange.pipe((0,h.h)(f.y),(0,u.U)((()=>t))))))))),n).pipe((0,h.h)((()=>this.closeOthers)),(0,r.sL)(this.destroyRef)).subscribe((e=>{t.forEach((t=>{e!==t&&t.close()}))}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-accordion"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,P,4),2&t){let t;i.iGM(t=i.CRH())&&(e.accordionItems=t)}},inputs:{closeOthers:"closeOthers"},standalone:!0,features:[i._Bn([(0,l.vJ)({orientation:"vertical",size:"l",collapsed:!0})]),i.zW0([{directive:l.hM,inputs:["rounded","rounded"]}])]}),e})()},75391:(t,e,n)=>{n.d(e,{nV:()=>m,ug:()=>u});var i=n(76733),r=n(20755),o=n(73740),s=n(9368),a=n(10426);const l={appearance:"",round:!0,size:"l"},c=(0,o.JN)(l);function u(t){return(0,o.vK)(c,t,l)}function h(t,e){if(1&t&&r._UZ(0,"img",5),2&t){const t=r.oxw();r.Q6J("src",t.value,r.LSH)}}function d(t,e){if(1&t&&r._UZ(0,"tui-icon",6),2&t){const t=r.oxw();r.Q6J("icon",t.value.toString())}}function p(t,e){if(1&t&&(r.ynx(0),r._uU(1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Oqu(t.value)}}function f(t,e){1&t&&(r.ynx(0),r.Hsn(1),r.BQk())}const g=["*"];let m=(()=>{var t;class e{constructor(){this.options=(0,r.f3M)(c),this.size=this.options.size,this.round=this.options.round}get safeSrc(){return this.src?.toString()??""}get value(){return this.src||""}get svg(){return(0,o.Aj)(this.value)&&this.value.endsWith(".svg")}get type(){return this.value&&!(0,o.Aj)(this.value)?"img":this.value.startsWith("@tui.")?"icon":this.value.length>0&&this.value.length<3?"text":this.value.length?"img":"content"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-avatar"],["button","tuiAvatar",""],["a","tuiAvatar",""]],hostVars:6,hostBindings:function(t,e){2&t&&(r.uIk("data-size",e.size)("data-type",e.type),r.ekj("_round",e.round)("_svg",e.svg))},inputs:{size:"size",round:"round",src:"src"},standalone:!0,features:[r._Bn([(0,a.mS)(c)]),r.jDz,r.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]}])],ngContentSelectors:g,decls:5,vars:4,consts:[[3,"ngSwitch"],["alt","","loading","lazy",3,"src",4,"ngSwitchCase"],[3,"icon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["alt","","loading","lazy",3,"src"],[3,"icon"]],template:function(t,e){1&t&&(r.F$t(),r.ynx(0,0),r.YNc(1,h,1,1,"img",1),r.YNc(2,d,1,1,"tui-icon",2),r.YNc(3,p,2,1,"ng-container",3),r.YNc(4,f,2,0,"ng-container",4),r.BQk()),2&t&&(r.Q6J("ngSwitch",e.type),r.xp6(1),r.Q6J("ngSwitchCase","img"),r.xp6(1),r.Q6J("ngSwitchCase","icon"),r.xp6(1),r.Q6J("ngSwitchCase","text"))},dependencies:[i.RF,i.n9,i.ED,s.R],styles:['[_nghost-%COMP%]{--t-size: 3.5rem;--t-radius: .75rem;position:relative;display:inline-flex;flex-shrink:0;width:var(--t-size);height:var(--t-size);align-items:center;justify-content:center;overflow:hidden;white-space:nowrap;border-radius:var(--t-radius);border:none;background:var(--tui-background-neutral-1);color:var(--tui-text-secondary);vertical-align:middle;box-sizing:border-box;padding:.25rem;opacity:.999}[data-size=xs][_nghost-%COMP%]{--t-size: var(--tui-height-xs);--t-radius: .5rem;font:var(--tui-font-text-xs);font-weight:700}[data-size=xs][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-size:.5625rem}[data-size=s][_nghost-%COMP%]{--t-size: var(--tui-height-s);--t-radius: .5rem;font:var(--tui-font-text-s);font-weight:700}[data-size=s][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-xs);font-weight:700}[data-size=m][_nghost-%COMP%]{--t-size: calc(var(--tui-height-m) - .25rem);--t-radius: .75rem;font:var(--tui-font-text-l);font-weight:700}[data-size=m][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-m);font-weight:700}[data-size=l][_nghost-%COMP%]{--t-size: var(--tui-height-l);--t-radius: .75rem;font:var(--tui-font-heading-5)}[data-size=l][data-type=content][_nghost-%COMP%]{font:var(--tui-font-text-l);font-weight:700}[data-size=xl][_nghost-%COMP%]{--t-size: 5rem;--t-radius: .75rem;font:var(--tui-font-heading-3)}[data-size=xl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-4)}[data-size=xxl][_nghost-%COMP%]{--t-size: 6rem;--t-radius: 1rem;font:var(--tui-font-heading-3)}[data-size=xxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-size=xxxl][_nghost-%COMP%]{--t-size: 8rem;--t-radius: 1.25rem;font:var(--tui-font-heading-2)}[data-size=xxxl][data-type=content][_nghost-%COMP%]{font:var(--tui-font-heading-3)}[data-type=img][_nghost-%COMP%]:not(._svg){background:transparent}[data-type=icon][_nghost-%COMP%]:before{content:""}._round[_nghost-%COMP%]{--t-radius: calc(var(--t-size) / 2)}._svg[_nghost-%COMP%] img[_ngcontent-%COMP%]{padding:20%}[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60%;height:60%}[_nghost-%COMP%] img, [_nghost-%COMP%] picture, [_nghost-%COMP%] video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;box-sizing:border-box}'],changeDetection:0}),e})();var v,y=n(84911),b=n(95173);function _(t,e){if(1&t&&(r.TgZ(0,"span",2),r._uU(1),r.qZA()),2&t){const t=e.$implicit;r.xp6(1),r.hij(" ",t," ")}}function w(t,e){if(1&t&&(r.ynx(0),r.YNc(1,_,2,1,"span",1),r.BQk()),2&t){const t=r.oxw();r.xp6(1),r.Q6J("ngForOf",t.split(t.label))}}class x{constructor(){this.label=""}split(t){return t.split(" ")}}(v=x).ɵfac=function(t){return new(t||v)},v.ɵcmp=r.Xpm({type:v,selectors:[["tui-avatar-labeled"]],hostVars:1,hostBindings:function(t,e){2&t&&r.uIk("title",e.label)},inputs:{label:"label"},standalone:!0,features:[r.jDz],ngContentSelectors:["*"],decls:2,vars:1,consts:[[4,"ngIf"],["tuiFade","",4,"ngFor","ngForOf"],["tuiFade",""]],template:function(t,e){1&t&&(r.F$t(),r.Hsn(0),r.YNc(1,w,2,1,"ng-container",0)),2&t&&(r.xp6(1),r.Q6J("ngIf",e.label.length))},dependencies:[i.sg,i.O5,b.Uo],styles:["tui-avatar-labeled{display:flex;width:3.5rem;box-sizing:content-box;flex-direction:column;text-align:center;align-items:center;line-height:.895rem;font-size:.75rem;padding:0 .5rem;white-space:nowrap}tui-avatar-labeled tui-avatar{margin-bottom:.375rem}tui-avatar-labeled [tuiFade]{width:calc(100% + 1rem)}\n"],encapsulation:2,changeDetection:0}),(0,y.gn)([o.UM],x.prototype,"split",null)},44713:(t,e,n)=>{n.d(e,{Cb:()=>c});var i=n(20755),r=n(73740),o=n(10426);const s=(0,r.JN)({appearance:"",size:"l",dot:!1});var a=n(98549);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-badge"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['tui-badge,[tuiBadge]{--t-gap: 0rem;--t-dot: currentColor;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));border-radius:6rem;background:#959595;color:var(--tui-background-base);padding:var(--t-padding);height:var(--t-size);min-width:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font:var(--tui-font-text-s)}tui-badge>img,[tuiBadge]>img,tui-badge>tui-svg,[tuiBadge]>tui-svg,tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge>tui-avatar,[tuiBadge]>tui-avatar,tui-badge>tui-badge,[tuiBadge]>tui-badge,tui-badge>[tuiBadge],[tuiBadge]>[tuiBadge],tui-badge>[tuiRadio],[tuiBadge]>[tuiRadio],tui-badge>[tuiSwitch],[tuiBadge]>[tuiSwitch],tui-badge>[tuiCheckbox],[tuiBadge]>[tuiCheckbox],tui-badge._icon-left:before,[tuiBadge]._icon-left:before,tui-badge._icon-right:after,[tuiBadge]._icon-right:after{margin:var(--t-margin)}tui-badge._dot:before,[tuiBadge]._dot:before{content:"";display:block;width:.375rem;height:.375rem;background:var(--t-dot);border-radius:100%}tui-badge>tui-icon,[tuiBadge]>tui-icon,tui-badge[tuiIcons]:before,[tuiBadge][tuiIcons]:before,tui-badge[tuiIcons]:after,[tuiBadge][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-badge[data-appearance=error],[tuiBadge][data-appearance=error]{--t-dot: var(--tui-status-negative)}tui-badge[data-appearance=success],[tuiBadge][data-appearance=success]{--t-dot: var(--tui-status-positive)}tui-badge[data-appearance=warning],[tuiBadge][data-appearance=warning]{--t-dot: var(--tui-status-warning)}tui-badge[data-appearance=info],[tuiBadge][data-appearance=info]{--t-dot: var(--tui-status-info)}tui-badge[data-appearance=neutral],[tuiBadge][data-appearance=neutral]{--t-dot: var(--tui-status-neutral)}tui-badge[data-size=s],[tuiBadge][data-size=s]{--t-padding: 0 .3125rem;--t-size: 1rem;--t-icon-size: .625rem;--t-margin: -.125rem}tui-badge[data-size=s]._dot:before,[tuiBadge][data-size=s]._dot:before{width:.25rem;height:.25rem;margin-inline-end:-.125rem}tui-badge[data-size=m],[tuiBadge][data-size=m]{--t-padding: 0 .375rem;--t-size: 1.25rem;--t-icon-size: .75rem;--t-margin: -.125rem}tui-badge[data-size=l],[tuiBadge][data-size=l]{--t-padding: 0 .5rem;--t-size: var(--tui-height-xs);--t-margin: -.25rem}tui-badge[data-size=l]._dot:before,[tuiBadge][data-size=l]._dot:before{margin-inline-end:-.25rem}tui-badge[data-size=xl],[tuiBadge][data-size=xl]{--t-margin: -.25rem;--t-padding: 0 .75rem;--t-size: var(--tui-height-s);font:var(--tui-font-text-m)}tui-badge[data-size=xl]._dot:before,[tuiBadge][data-size=xl]._dot:before{width:.5rem;height:.5rem;margin-inline-end:-.125rem}tui-badge[tuiAppearance][data-appearance=error],[tuiBadge][tuiAppearance][data-appearance=error],tui-badge[tuiAppearance][data-appearance=success],[tuiBadge][tuiAppearance][data-appearance=success],tui-badge[tuiAppearance][data-appearance=warning],[tuiBadge][tuiAppearance][data-appearance=warning],tui-badge[tuiAppearance][data-appearance=info],[tuiBadge][tuiAppearance][data-appearance=info],tui-badge[tuiAppearance][data-appearance=neutral],[tuiBadge][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}img[tuiBadge]{padding:0}tui-icon[tuiBadge]{--t-margin: 0 !important;-webkit-mask:none;mask:none;height:var(--t-size);width:var(--t-size)}tui-icon[tuiBadge][data-size=s]:after{-webkit-mask-size:.625rem;mask-size:.625rem}tui-icon[tuiBadge][data-size=m]:after{-webkit-mask-size:.75rem;mask-size:.75rem}tui-icon[tuiBadge][data-size=l]:after,tui-icon[tuiBadge][data-size=xl]:after{-webkit-mask-size:1rem;mask-size:1rem}\n'],encapsulation:2,changeDetection:0}),e})(),c=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(s),this.nothing=(0,r.__)(l),this.size=this.options.size,this.dot=this.options.dot}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-badge"],["","tuiBadge",""]],hostVars:3,hostBindings:function(t,e){2&t&&(i.uIk("data-size",e.size),i.ekj("_dot",e.dot))},inputs:{size:"size",dot:"dot"},standalone:!0,features:[i._Bn([(0,o.mS)(s)]),i.zW0([{directive:o.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:a.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},62427:(t,e,n)=>{n.d(e,{u:()=>f});var i=n(20755),r=n(62022),o=n(43226),s=n(65026),a=n(55181),l=n(73740),c=n(10426),u=n(41589),h=n(64418),d=n(82527);const p=["type","checkbox","tuiCheckbox",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(c.Nm),this.options=(0,i.f3M)(h.Y2),this.resolver=(0,u.Ps)(),this.destroyRef=(0,i.f3M)(i.ktI),this.el=(0,a.AG)(),this.size=this.options.size,this.control=(0,i.f3M)(o.a5,{optional:!0,self:!0})}ngOnInit(){this.control?.valueChanges&&(0,s.EK)(this.control).pipe((0,r.sL)(this.destroyRef)).subscribe((t=>{const e=this.control instanceof o.On?this.control.model:t;this.el.indeterminate=null===e}))}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}getIcon(t){const e=this.options.icons[t],n=(0,l.Aj)(e)?e:e(this.size);return`url(${this.resolver(n)})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiCheckbox",""]],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-checked",e.getIcon("checked"))("--t-indeterminate",e.getIcon("indeterminate")),i.ekj("_readonly",!e.control))},inputs:{size:"size"},standalone:!0,features:[i.jDz,i.zW0([{directive:c.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{--t-size: 1.5rem;--t-radius: var(--tui-radius-s);width:var(--t-size);height:var(--t-size);border-radius:var(--t-radius);cursor:pointer;margin:0;flex-shrink:0}[_nghost-%COMP%]:before{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background:currentColor;-webkit-mask:url(\'data:image/svg+xml,\') center / 100%;mask:url(\'data:image/svg+xml,\') center / 100%;transform:scale(0);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s var(--tui-duration) ease-in-out,-webkit-mask 0s var(--tui-duration) ease-in-out}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:checked:before, [_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-checked);mask-image:var(--t-checked);transform:scale(1);transition:transform var(--tui-duration) ease-in-out,-webkit-mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out;transition:transform var(--tui-duration) ease-in-out,mask 0s ease-in-out,-webkit-mask 0s ease-in-out}[_nghost-%COMP%]:indeterminate:before{-webkit-mask-image:var(--t-indeterminate);mask-image:var(--t-indeterminate)}[data-size=s][_nghost-%COMP%]{--t-size: 1rem;--t-radius: var(--tui-radius-xs)}'],changeDetection:0}),e})()},64418:(t,e,n)=>{n.d(e,{Y2:()=>o,im:()=>s});var i=n(73740);const r={size:"m",appearance:t=>t.checked||t.indeterminate?"primary":"whiteblock",icons:{checked:()=>"@tui.check",indeterminate:()=>"@tui.minus"}},o=(0,i.JN)(r);function s(t){return(0,i.vK)(o,t,r)}},4216:(t,e,n)=>{n.d(e,{im:()=>i.im}),n(62427);var i=n(64418)},73378:(t,e,n)=>{n.d(e,{Xt:()=>p});var i=n(20755),r=n(73740),o=n(11679),s=n(10426),a=n(75391),l=n(4216),c=n(92840);const u=(0,r.JN)({appearance:"neutral",size:"s"});var h=n(98549);let d=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chip"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["tui-chip,[tuiChip]{--t-gap: .125rem;--t-margin: -.125rem;--t-icon-size: 1rem;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:inline-flex;align-items:center;flex-shrink:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;vertical-align:middle;max-width:100%;gap:calc(var(--t-gap) - 2 * var(--t-margin));font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);padding:var(--t-padding);height:var(--t-size);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}tui-chip>img,[tuiChip]>img,tui-chip>tui-svg,[tuiChip]>tui-svg,tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip>tui-avatar,[tuiChip]>tui-avatar,tui-chip>tui-badge,[tuiChip]>tui-badge,tui-chip>[tuiBadge],[tuiChip]>[tuiBadge],tui-chip>[tuiRadio],[tuiChip]>[tuiRadio],tui-chip>[tuiSwitch],[tuiChip]>[tuiSwitch],tui-chip>[tuiCheckbox],[tuiChip]>[tuiCheckbox],tui-chip._icon-left:before,[tuiChip]._icon-left:before,tui-chip._icon-right:after,[tuiChip]._icon-right:after{margin:var(--t-margin)}tui-chip:-webkit-any(a,button,select,textarea,input,label),[tuiChip]:-webkit-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip:-moz-any(a,button,select,textarea,input,label),[tuiChip]:-moz-any(a,button,select,textarea,input,label){cursor:pointer}tui-chip>tui-icon,[tuiChip]>tui-icon,tui-chip[tuiIcons]:before,[tuiChip][tuiIcons]:before,tui-chip[tuiIcons]:after,[tuiChip][tuiIcons]:after{font-size:var(--t-icon-size)!important}tui-chip[data-size=xxs],[tuiChip][data-size=xxs]{--t-gap: 0rem;--t-padding: 0 .25rem;--t-size: 1rem;--t-icon-size: .75rem;font:var(--tui-font-text-xs);border-radius:var(--tui-radius-xs)}tui-chip[data-size=xxs]>[tuiIconButton],[tuiChip][data-size=xxs]>[tuiIconButton]{margin:-.5rem;transform:scale(.75)}tui-chip[data-size=xs],[tuiChip][data-size=xs]{--t-padding: 0 .375rem;--t-size: 1.25rem;border-radius:var(--tui-radius-xs)}tui-chip[data-size=xs]>[tuiIconButton],[tuiChip][data-size=xs]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s],[tuiChip][data-size=s]{--t-padding: 0 .625rem;--t-size: var(--tui-height-s)}tui-chip[data-size=s]>[tuiIconButton],[tuiChip][data-size=s]>[tuiIconButton]{margin:-.375rem}tui-chip[data-size=s]>img,[tuiChip][data-size=s]>img,tui-chip[data-size=s] tui-avatar,[tuiChip][data-size=s] tui-avatar{margin-inline-start:-.375rem}tui-chip[data-size=m],[tuiChip][data-size=m]{--t-margin: -.375rem;--t-icon-size: 1.5rem;--t-padding: 0 1rem;--t-size: var(--tui-height-m);font:var(--tui-font-text-m)}tui-chip[data-size=m]>[tuiIconButton],[tuiChip][data-size=m]>[tuiIconButton]{margin:-.75rem}tui-chip>img,[tuiChip]>img{width:1.5rem}tui-chip>input[tuiChip],[tuiChip]>input[tuiChip]{position:absolute;top:0;left:0;width:100%;height:100%;margin:0}tui-chip[tuiAppearance][data-appearance=error],[tuiChip][tuiAppearance][data-appearance=error],tui-chip[tuiAppearance][data-appearance=success],[tuiChip][tuiAppearance][data-appearance=success],tui-chip[tuiAppearance][data-appearance=warning],[tuiChip][tuiAppearance][data-appearance=warning],tui-chip[tuiAppearance][data-appearance=info],[tuiChip][tuiAppearance][data-appearance=info],tui-chip[tuiAppearance][data-appearance=neutral],[tuiChip][tuiAppearance][data-appearance=neutral]{color:var(--tui-text-primary)}\n"],encapsulation:2,changeDetection:0}),e})(),p=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(u),this.nothing=(0,r.__)(d),this.size=this.options.size}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["tui-chip"],["","tuiChip",""]],hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{size:"size"},standalone:!0,features:[i._Bn([(0,s.mS)(u),(0,c.wt)({size:"s"}),(0,l.im)({size:"s"}),(0,a.ug)({size:"xs"}),(0,o.O0)({size:"xs",appearance:"icon"})]),i.zW0([{directive:s.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},{directive:h.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})()},61819:(t,e,n)=>{n.d(e,{Q:()=>m});var i=n(76733),r=n(49148),o=n(63098),s=n(32097),a=n(25690),l=n(67917),c=n(20755);const u=["labels",""];function h(t,e){if(1&t&&(c.ynx(0),c._uU(1),c.BQk()),2&t){const t=e.polymorpheusOutlet;c.xp6(1),c.hij(" ",t," ")}}function d(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",6,7),c.NdJ("click",(function(){const e=c.CHM(t).$implicit,n=c.oxw(3);return c.KtG(n.itemClick.emit(e))})),c.YNc(2,h,2,1,"ng-container",8),c.qZA()}if(2&t){const t=e.$implicit,n=c.MAs(1),i=c.oxw(3);c.Q6J("disabled",i.disabledItemHandler(t))("value",t),c.xp6(2),c.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function p(t,e){if(1&t&&(c.TgZ(0,"tui-opt-group",4),c.YNc(1,d,3,4,"button",5),c.qZA()),2&t){const t=e.$implicit,n=e.index,i=c.oxw(2);c.Q6J("label",i.labels[n]),c.xp6(1),c.Q6J("ngForOf",t)}}function f(t,e){if(1&t&&(c.TgZ(0,"tui-data-list",2),c.YNc(1,p,2,2,"tui-opt-group",3),c.qZA()),2&t){const t=c.oxw();c.Q6J("emptyContent",t.emptyContent)("size",t.size),c.xp6(1),c.Q6J("ngForOf",t.items)}}function g(t,e){1&t&&c._UZ(0,"tui-loader",9)}let m=(()=>{var t;class e extends l.e{constructor(){super(...arguments),this.items=[],this.labels=[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=c.n5z(t)))(n||t)}}(),t.ɵcmp=c.Xpm({type:t,selectors:[["tui-data-list-wrapper","labels",""]],inputs:{items:"items",labels:"labels"},standalone:!0,features:[c._Bn([(0,o.RB)(t)]),c.qOj,c.jDz],attrs:u,decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],[3,"label",4,"ngFor","ngForOf"],[3,"label"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["elementRef","elementRef"],[4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-loader"]],template:function(t,e){if(1&t&&(c.YNc(0,f,2,3,"tui-data-list",0),c.YNc(1,g,1,0,"ng-template",null,1,c.W1O)),2&t){const t=c.MAs(2);c.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[o.qi,o.bH,o.c4,i.O5,i.sg,r.v,a.s$,s.A6],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},67917:(t,e,n)=>{n.d(e,{e:()=>v});var i=n(76733),r=n(20755),o=n(11892),s=n(49148),a=n(52674),l=n(73740),c=n(63098),u=n(32097),h=n(11637),d=n(25690);function p(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 f(t,e){if(1&t){const t=r.EpF();r.TgZ(0,"button",4,5),r.NdJ("click",(function(){const e=r.CHM(t).$implicit,n=r.oxw(2);return r.KtG(n.itemClick.emit(e))})),r.TgZ(2,"span",6),r.YNc(3,p,2,1,"ng-container",7),r.qZA()()}if(2&t){const t=e.$implicit,n=r.MAs(1),i=r.oxw(2);r.Q6J("disabled",i.disabledItemHandler(t))("value",t),r.xp6(3),r.Q6J("polymorpheusOutlet",i.itemContent)("polymorpheusOutletContext",i.getContext(t,n))}}function g(t,e){if(1&t&&(r.TgZ(0,"tui-data-list",2),r.YNc(1,f,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 m(t,e){1&t&&r._UZ(0,"tui-loader",8)}let v=(()=>{var t;class e{constructor(){this.itemsHandlers=(0,r.f3M)(h.Ys),this.optionsQuery=o.Mm,this.items=[],this.disabledItemHandler=this.itemsHandlers.disabledItemHandler,this.size=(0,c.lt)(),this.itemClick=new r.vpe,this.itemContent=({$implicit:t})=>this.itemsHandlers.stringify(t)}getContext(t,{nativeElement:e}){return{$implicit:t,active:(0,a.V8)(e)}}getOptions(t=!1){return this.optionsQuery.filter((({disabled:e})=>t||!e)).map((({value:t})=>t)).filter(l.Pc)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-data-list-wrapper",3,"labels",""]],viewQuery:function(t,e){if(1&t&&r.Gf(c.bH,5),2&t){let t;r.iGM(t=r.CRH())&&(e.optionsQuery=t)}},inputs:{items:"items",disabledItemHandler:"disabledItemHandler",emptyContent:"emptyContent",size:"size",itemContent:"itemContent"},outputs:{itemClick:"itemClick"},standalone:!0,features:[r._Bn([(0,c.RB)(t)]),r.jDz],decls:3,vars:2,consts:[[3,"emptyContent","size",4,"ngIf","ngIfElse"],["loading",""],[3,"emptyContent","size"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click",4,"ngFor","ngForOf"],["automation-id","tui-data-list-wrapper__option","tuiElement","","tuiOption","",3,"disabled","value","click"],["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,g,2,3,"tui-data-list",0),r.YNc(1,m,1,0,"ng-template",null,1,r.W1O)),2&t){const t=r.MAs(2);r.Q6J("ngIf",e.items)("ngIfElse",t)}},dependencies:[c.qi,c.bH,i.O5,i.sg,s.v,u.A6,d.s$],styles:["[_nghost-%COMP%]{display:block}.t-content[_ngcontent-%COMP%]{flex:1}.t-loader[_ngcontent-%COMP%]{margin:.75rem 0}"],changeDetection:0}),e})()},94187:(t,e,n)=>{var i=n(61819),r=n(67917),o=n(63098);r.e,i.Q,o.gX},92840:(t,e,n)=>{n.d(e,{AE:()=>f,wt:()=>h});var i=n(20755),r=n(43226),o=n(55181),s=n(73740),a=n(10426),l=n(41589);const c={showIcons:!0,size:"m",icon:"@tui.check",appearance:t=>t.checked?"primary":"secondary"},u=(0,s.JN)(c);function h(t){return(0,s.vK)(u,t,c)}var d=n(82527);const p=["type","checkbox","tuiSwitch",""];let f=(()=>{var t;class e{constructor(){this.appearance=(0,i.f3M)(a.Nm),this.resolver=(0,l.Ps)(),this.options=(0,i.f3M)(u),this.el=(0,o.AG)(),this.control=(0,i.f3M)(r.a5,{optional:!0,self:!0}),this.size=this.options.size,this.showIcons=this.options.showIcons}ngDoCheck(){this.appearance.tuiAppearance=this.options.appearance(this.el)}get icon(){const{options:t,resolver:e,size:n}=this;return`url(${e((0,s.Aj)(t.icon)?t.icon:t.icon(n))})`}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","type","checkbox","tuiSwitch",""]],hostAttrs:["role","switch"],hostVars:8,hostBindings:function(t,e){2&t&&(i.Ikx("disabled",!e.control||e.control.disabled),i.uIk("data-size",e.size),i.Udp("--t-mask",e.icon),i.ekj("_readonly",!e.control)("_icons",e.showIcons))},inputs:{size:"size",showIcons:"showIcons"},standalone:!0,features:[i.jDz,i.zW0([{directive:a.Nm,inputs:["tuiAppearance","appearance","tuiAppearanceState","tuiAppearanceState","tuiAppearanceFocus","tuiAppearanceFocus"]},d.k])],attrs:p,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:3rem;height:1.5rem;border-radius:2rem;overflow:hidden;cursor:pointer;margin:0}[data-appearance=secondary][_nghost-%COMP%], [data-appearance=secondary][_nghost-%COMP%]:invalid{color:#fff}[data-size=s][_nghost-%COMP%]{height:1rem;width:2rem}[data-size=s][_nghost-%COMP%]:before{width:1rem;transform:translate(-1rem);-webkit-mask-size:.75rem;mask-size:.75rem}[data-size=s][_nghost-%COMP%]:after{width:1rem;box-shadow:-2rem 0 0 .25rem currentColor}[data-size=s][_nghost-%COMP%]:checked:after{transform:scale(.5) translate(2rem)}[_nghost-%COMP%]:checked:before{transform:none}[_nghost-%COMP%]:checked:after{transform:scale(.5) translate(3rem)}[_nghost-%COMP%]:disabled._readonly{opacity:1}[_nghost-%COMP%]:before, [_nghost-%COMP%]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:"";position:absolute;height:100%;width:1.5rem}[_nghost-%COMP%]:before{display:none;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center;mask:var(--t-mask) no-repeat center;-webkit-mask-size:1rem;mask-size:1rem;transform:translate(-1.5rem)}[_nghost-%COMP%]:after{right:0;border-radius:100%;transform:scale(.5);box-shadow:-3rem 0 0 .25rem currentColor}._icons[_nghost-%COMP%]:before{display:block}._icons[_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .25rem var(--tui-background-neutral-2-pressed),-3rem 0 0 .25rem currentColor}._icons[data-size=s][_nghost-%COMP%]:after{box-shadow:inset 0 0 0 .125rem var(--tui-background-neutral-2-pressed),-2rem 0 0 .25rem currentColor}'],changeDetection:0}),e})()},2115:(t,e,n)=>{n.d(e,{Yh:()=>f,Pk:()=>G});var i=n(20755),r=n(62022),o=n(99222),s=n(81695),a=n(65026),l=n(55181),c=n(52674),u=n(55333),h=n(45047),d=n(30453),p=n(98549);let f=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.rla=(0,i.f3M)(o.Od,{optional:!0}),this.observer=this.rla&&(0,i.f3M)(s.IM,{optional:!0})?.pipe((0,u.h)((()=>!!this.rla?.isActive))),this.sub=(0,h.T)(this.observer||d.E,this.rla?.isActiveChange.pipe((0,u.h)(Boolean))||d.E,this.el.matches("button")?(0,a.mL)(this.el,"click"):d.E).pipe((0,r.sL)()).subscribe((()=>this.el.dispatchEvent(new CustomEvent("tui-tab-activate",{bubbles:!0}))))}ngOnDestroy(){(0,c.V8)(this.el)&&this.el.blur()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["a","tuiTab","",3,"routerLink",""],["a","tuiTab","","routerLink","","routerLinkActive",""],["button","tuiTab",""]],hostAttrs:["type","button"],standalone:!0,features:[i.zW0([{directive:p.p,inputs:["iconLeft","iconLeft","iconRight","iconRight"]}])]}),e})();var g=n(62417),m=n(73740);const v=(0,m.JN)({underline:!0,exposeActive:!0,itemsLimit:1/0,minMoreWidth:0,size:"l"});let y=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-tabs"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:['[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-left:24px}tui-tabs[data-size=m]+[tuiTab],tui-tabs[data-size=m] [tuiTab],[tuiTabs][data-size=m] [tuiTab]{margin-left:16px;font:var(--tui-font-text-s)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:2px solid var(--tui-border-focus);outline-offset:-2px}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -2px var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-left:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-left:var(--tui-tab-margin, 1.5rem)}[tuiTab]._icon-left:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab]._icon-right:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){height:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){height:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;height:2px;width:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:""}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-height:2.75rem;height:auto;white-space:normal;margin:0;text-align:left;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]: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-background-accent-1);transform:scaleX(0);transform-origin:right}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -2px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-height:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:right;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset 2px 0 var(--tui-border-normal)}\n'],encapsulation:2,changeDetection:0}),e})(),b=(()=>{var t;class e{constructor(){this.el=(0,l.AG)(),this.injector=(0,i.f3M)(i.gxx),this.nothing=(0,m.__)(y),this.size=(0,i.f3M)(v).size,this.activeItemIndex=0,this.activeItemIndexChange=new i.vpe}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){return this.tabs[this.activeItemIndex]||null}moveFocus(t,e){const{tabs:n}=this;(0,c.VR)(n.indexOf(t),n,e)}ngAfterViewChecked(){(0,i.T8G)((()=>{this.markTabAsActive()}),{injector:this.injector})}onActivate(t,e){const n=this.tabs.findIndex((t=>t===e));t.stopPropagation(),n!==this.activeItemIndex&&(this.activeItemIndexChange.emit(n),this.activeItemIndex=n)}markTabAsActive(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["never"]],hostVars:1,hostBindings:function(t,e){1&t&&i.NdJ("tui-tab-activate",(function(t){return e.onActivate(t,t.target)})),2&t&&i.uIk("data-size",e.size)},inputs:{size:"size",activeItemIndex:"activeItemIndex"},outputs:{activeItemIndexChange:"activeItemIndexChange"},standalone:!0}),e})();var _,w=n(84911),x=n(11892);class C{constructor(){this.el=(0,l.AG)(),this.options=(0,i.f3M)(v),this.tabs=(0,i.f3M)(b),this.children=x.Mm,this.sub=(0,i.f3M)(s.IM).pipe((0,a.fL)((0,i.f3M)(i.R0b)),(0,r.sL)()).subscribe((()=>this.refresh())),this.underline=this.options.underline}ngAfterViewChecked(){this.scrollTo(this.tabs.activeItemIndex),this.refresh()}onKeyDownArrow(t,e){this.tabs.moveFocus(t,e)}refresh(){const{activeElement:t}=this.tabs;if(t&&!t.isConnected)return;const{offsetLeft:e=0,offsetWidth:n=0}=t||{};this.el.style.setProperty("--t-left",(0,m.O9)(e)),this.el.style.setProperty("--t-width",(0,m.O9)(n))}scrollTo(t){const e=this.tabs.tabs[t];if(!e)return;const{offsetLeft:n,offsetWidth:i}=e;nthis.el.scrollLeft+this.el.offsetWidth&&(this.el.scrollLeft=n+i-this.el.offsetWidth)}}(_=C).ɵfac=function(t){return new(t||_)},_.ɵdir=i.lG2({type:_,selectors:[["tui-tabs",3,"vertical",""],["nav","tuiTabs","",3,"vertical",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,f,4),2&t){let t;i.iGM(t=i.CRH())&&(e.children=t)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("keydown.arrowRight.prevent",(function(t){return e.onKeyDownArrow(t.target,1)}))("keydown.arrowLeft.prevent",(function(t){return e.onKeyDownArrow(t.target,-1)}))("animationend",(function(){return e.refresh()})),2&t&&(i.Udp("--t-color",!0===e.underline?"var(--tui-background-accent-1)":e.underline),i.ekj("_underline",e.underline))},inputs:{underline:"underline"},standalone:!0,features:[i._Bn([s.IM,{provide:s.k2,useValue:{childList:!0,characterData:!0,subtree:!0}}]),i.zW0([{directive:b,inputs:["activeItemIndex","activeItemIndex","size","size"],outputs:["activeItemIndexChange","activeItemIndexChange"]}])]}),(0,w.gn)([m.UM],C.prototype,"scrollTo",null);var k=n(76733),O=n(58373),M=n(95173),S=n(11637),A=n(25690),P=n(92425),E=n(31570),T=n(34749),I=n(71938),D=n(20155),z=n(73843);const N=new i.OlP("[TUI_TABS_REFRESH]"),F=[T.ax,s.IM,(0,I.fx)({align:"right"}),{provide:s.k2,useValue:{childList:!0,subtree:!0,characterData:!0}},{provide:N,deps:[T.ax,s.IM,k.K0,i.SBq,i.sBO],useFactory:(t,e,{body:n},{nativeElement:i},o)=>(0,h.T)(t,e.pipe((0,E.b)((()=>o.detectChanges())))).pipe((0,u.h)((()=>n.contains(i))),(0,D.b)(0),(0,z.O)(null),(0,r.sL)())}];function L(t,e){1&t&&i.GkF(0)}function R(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function B(t,e){if(1&t&&(i.TgZ(0,"div",9),i.GkF(1,8),i.qZA()),2&t){const t=i.oxw(),e=t.index,n=t.$implicit,r=i.oxw();i.ekj("t-overflown",r.isOverflown(e)),i.xp6(1),i.Q6J("ngTemplateOutlet",n)}}function j(t,e){if(1&t&&(i.ynx(0),i.YNc(1,R,1,1,"ng-container",6),i.YNc(2,B,2,3,"ng-template",null,7,i.W1O),i.BQk()),2&t){const t=e.index,n=i.MAs(3),r=i.oxw();i.xp6(1),i.Q6J("ngIf",t<=r.lastVisibleIndex)("ngIfElse",n)}}function H(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 V(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",10),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i.YNc(1,H,2,1,"ng-container",11),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.Q6J("polymorpheusOutlet",t.moreContent)}}function $(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"button",12),i.NdJ("tuiDropdownOpenChange",(function(e){i.CHM(t);const n=i.oxw();return i.KtG(n.open=e)}))("keydown.arrowLeft.prevent",(function(){i.CHM(t);const e=i.oxw();return i.KtG(e.onArrowLeft())})),i._uU(1),i.ALo(2,"async"),i.qZA()}if(2&t){const t=i.oxw(),e=i.MAs(8);i.ekj("_active",t.isMoreActive)("t-no-margin",t.isMoreAlone)("t-overflown",!t.isMoreVisible),i.Q6J("tabIndex",t.isMoreFocusable?0:-1)("tuiDropdown",t.dropdownContent||e)("tuiDropdownOpen",t.open),i.xp6(1),i.hij(" ",i.lcZ(2,10,t.moreWord$)," ")}}function q(t,e){if(1&t&&i.GkF(0,8),2&t){const t=i.oxw().$implicit;i.Q6J("ngTemplateOutlet",t)}}function Z(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",16),i.NdJ("tui-tab-activate",(function(){const e=i.CHM(t).index,n=i.oxw(2);return i.KtG(n.onClick(e))})),i.YNc(1,q,1,1,"ng-container",17),i.qZA()}if(2&t){const t=e.index,n=i.oxw(2);i.xp6(1),i.Q6J("ngIf",n.shouldShow(t))}}function U(t,e){if(1&t){const t=i.EpF();i.TgZ(0,"div",13,14),i.NdJ("keydown.arrowDown.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!1))}))("keydown.arrowUp.prevent",(function(e){i.CHM(t);const n=i.MAs(1),r=i.oxw();return i.KtG(r.onWrapperArrow(e,n,!0))})),i.YNc(2,Z,2,1,"div",15),i.qZA()}if(2&t){const t=i.oxw();i.uIk("data-size",t.size),i.xp6(2),i.Q6J("ngForOf",t.items)}}let G=(()=>{var t;class e{constructor(){this.options=(0,i.f3M)(v),this.refresh$=(0,i.f3M)(N),this.el=(0,l.AG)(),this.cdr=(0,i.f3M)(i.sBO),this.maxIndex=1/0,this.items=x.Mm,this.moreWord$=(0,i.f3M)(S.ue),this.open=!1,this.size=this.options.size,this.underline=this.options.underline,this.itemsLimit=this.options.itemsLimit,this.activeItemIndexChange=new i.vpe,this.activeItemIndex=0}set itemIndex(t){this.activeItemIndex=t,this.maxIndex=this.getMaxIndex()}get lastVisibleIndex(){if(this.itemsLimit+1>=this.items.length)return this.maxIndex;const t=this.itemsLimit-1>this.activeItemIndex||!this.options.exposeActive?1:2;return Math.min(this.itemsLimit-t,this.maxIndex)}ngAfterViewInit(){this.refresh$.pipe((0,P.U)((()=>this.getMaxIndex())),(0,E.b)((()=>this.refresh())),(0,u.h)((t=>this.maxIndex!==t))).subscribe((t=>{this.maxIndex=t,this.cdr.detectChanges()}))}ngAfterViewChecked(){this.refresh()}get tabs(){return Array.from(this.el.querySelectorAll("[tuiTab]"))}get activeElement(){const{tabs:t}=this,e=(0,O.K)(this.activeItemIndex||0,0,t.length-2);return this.options.exposeActive||this.lastVisibleIndex>=e?t[e]||null:this.moreButton?.nativeElement||null}get isMoreAlone(){return this.lastVisibleIndex<0&&!this.options.exposeActive}get isMoreVisible(){return this.lastVisibleIndex=0;){if(t[e].focus(),(0,c.V8)(t[e]))return;e--}}onWrapperArrow(t,e,n){const i=t.target,r=(0,c.BW)({initial:i,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)}get margin(){return"l"===this.size?24:16}focusMore(){this.moreButton&&this.moreButton.nativeElement.focus()}getMaxIndex(){const{tabs:t,activeItemIndex:e,margin:n}=this;if(t.length<2)return 0;const{exposeActive:i,minMoreWidth:r}=this.options,{clientWidth:o}=this.el,s=t[e]?t[e].scrollWidth:0,a=Math.max(t[t.length-1].scrollWidth,r);let l=t.length-2,c=t.reduce(((t,{scrollWidth:e})=>t+e),0)+l*n-t[t.length-1].scrollWidth;if(Number.isNaN(c)||c<=o)return 1/0;for(;l;)if(c-=t[l].scrollWidth+n,l--,c+(i&&e>l?s+n:0)+a+n+(this.maxIndex===l-1?1:0){n.d(e,{H:()=>h});var i=n(20755),r=n(55181),o=n(73740),s=n(9368),a=n(71938),l=n(98549);let c=(()=>{var t;class e{getHandler(t){return()=>"@tui.chevron-down"}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),u=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-chevron"],standalone:!0,features:[i.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiChevron][tuiIcons]:after,tui-icon[tuiChevron]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:inline-block;cursor:pointer}[tuiChevron][tuiIcons]._chevron-rotated:after,tui-icon[tuiChevron]._chevron-rotated:after{transform:rotate(180deg)}\n"],encapsulation:2,changeDetection:0}),e})(),h=(()=>{var t;class e{constructor(){this.el=(0,r.AG)(),this.dropdown=(0,i.f3M)(a.td,{optional:!0}),this.icons=(0,i.f3M)(l.p,{optional:!0}),this.icon=(0,i.f3M)(s.R,{optional:!0}),this.handler=(0,i.f3M)(c).getHandler((0,i.f3M)(i.gxx)),this.nothing=(0,o.__)(u),this.tuiChevron=""}ngDoCheck(){this.set(this.handler()),this.el.classList.toggle("_chevron-rotated",!!this.dropdown?.dropdownBoxRef||!0===this.tuiChevron)}set(t){this.icon&&(this.icon.icon=t),this.icons&&(this.icons.iconRight=t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiChevron",""]],hostAttrs:["tuiChevron",""],inputs:{tuiChevron:"tuiChevron"},standalone:!0}),e})()},95173:(t,e,n)=>{n.d(e,{HT:()=>s.H,Uo:()=>P}),n(11679);var i=n(41589),r=n(73740);(0,r.JN)("@tui.x");var o,s=n(3223),a=n(84911),l=n(20755),c=n(62022),u=n(11892),h=n(65026),d=n(52674),p=n(71938),f=n(45047),g=n(84787),m=n(30453),v=n(21813),y=n(55333),b=n(31570),_=n(92425),w=n(20530),x=n(20155);class C{constructor(){this.dropdowns=u.Mm,this.els=u.Mm,this.destroyRef=(0,l.f3M)(l.ktI)}ngAfterViewInit(){this.right$.pipe((0,c.sL)(this.destroyRef)).subscribe((t=>{this.tryToFocus(t)})),(0,f.T)(this.immediate$,this.debounce$).pipe((0,g.w)((t=>{this.dropdowns.forEach(((e,n)=>{e.toggle(n===t)}));const e=this.els.get(t),n=this.dropdowns.get(t);if(!e||!n?.dropdownBoxRef)return m.E;const{nativeElement:i}=n.dropdownBoxRef.location,r=(0,h.mL)(i,"mouseenter").pipe((0,v.q)(1)),o=(0,f.T)((0,h.mL)(e.nativeElement,"keydown"),(0,h.mL)(i,"keydown")).pipe((0,y.h)((({key:t})=>"Escape"===t)));return(0,f.T)(r,o).pipe((0,b.b)((t=>{n.dropdownBoxRef&&t.stopPropagation(),e.nativeElement.focus(),n.toggle("offsetX"in t)})))})),(0,c.sL)(this.destroyRef)).subscribe()}get elements$(){return(0,h.ll)(this.els).pipe((0,_.U)((t=>t.map((({nativeElement:t})=>t)))),(0,w.d)({bufferSize:1,refCount:!0}))}get right$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"keydown").pipe((0,y.h)((({key:t})=>"ArrowRight"===t)),(0,h.mp)(),(0,_.U)((()=>e)))))))))}get immediate$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,h.mL)(t,"click").pipe((0,_.U)((()=>e)))))))))}get debounce$(){return this.elements$.pipe((0,g.w)((t=>(0,f.T)(...t.map(((t,e)=>(0,f.T)((0,h.mL)(t,"focus"),(0,h.mL)(t,"blur")).pipe((0,y.h)((({relatedTarget:t})=>this.notInDropdown(t,e))),(0,_.U)((({type:t})=>"focus"===t?e:NaN)))))))),(0,x.b)(300))}notInDropdown(t,e){return!this.dropdowns.get(e)?.dropdownBoxRef?.location.nativeElement.contains(t)}tryToFocus(t){const e=this.dropdowns.get(t)?.dropdownBoxRef?.location.nativeElement;if(!e)return;const n=(0,d.BW)({initial:e,root:e}),i=(0,d.BW)({initial:n||e,root:e});i&&i.focus()}}(o=C).ɵfac=function(t){return new(t||o)},o.ɵdir=l.lG2({type:o,selectors:[["tui-data-list","tuiDataListDropdownManager",""]],contentQueries:function(t,e,n){if(1&t&&(l.Suo(n,p.td,5),l.Suo(n,p.td,5,l.SBq)),2&t){let t;l.iGM(t=l.CRH())&&(e.dropdowns=t),l.iGM(t=l.CRH())&&(e.els=t)}},standalone:!0}),(0,a.gn)([r.UM],C.prototype,"elements$",null),(0,a.gn)([r.UM],C.prototype,"right$",null),(0,a.gn)([r.UM],C.prototype,"immediate$",null),(0,a.gn)([r.UM],C.prototype,"debounce$",null);var k=n(81695),O=n(34749),M=n(55181),S=n(10409);let A=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-fade-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["[tuiFade]{scrollbar-width:none;-ms-overflow-style:none;transition-property:-webkit-mask-position;transition-property:mask-position;transition-property:mask-position,-webkit-mask-position;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;overflow:auto;text-overflow:unset!important;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}[tuiFade]::-webkit-scrollbar,[tuiFade]::-webkit-scrollbar-thumb{display:none}[tuiFade]:not([data-orientation=vertical]){overflow-y:hidden;-webkit-mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);mask-image:linear-gradient(to right,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to left,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(#000,#000);-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;-webkit-mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%));mask-size:calc(51% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),calc(50% + var(--fade-size) + var(--fade-offset)) var(--line-height, 100%),100% calc(100% - var(--line-height, 100%))}[tuiFade]:not([data-orientation=vertical])._start{-webkit-mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top;mask-position:left bottom,calc(100% + var(--fade-size) + var(--fade-offset)) bottom,top}[tuiFade]:not([data-orientation=vertical])._end{-webkit-mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top;mask-position:calc(-1 * var(--fade-size) - var(--fade-offset)) bottom,right bottom,top}[tuiFade]:not([data-orientation=vertical])._start._end{-webkit-mask-position:left bottom,right bottom,top;mask-position:left bottom,right bottom,top}[tuiFade][data-orientation=vertical]{overflow-x:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));mask-image:linear-gradient(to bottom,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset))),linear-gradient(to top,transparent var(--fade-offset),#000 calc(var(--fade-size) + var(--fade-offset)));-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left calc(100% + var(--fade-size) + var(--fade-offset));-webkit-mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset));mask-size:100% calc(51% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._start{-webkit-mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset));mask-position:left top,left calc(100% + var(--fade-size) + var(--fade-offset))}[tuiFade][data-orientation=vertical]._end{-webkit-mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom;mask-position:left calc(-1 * var(--fade-size) - var(--fade-offset)),left bottom}[tuiFade][data-orientation=vertical]._start._end{-webkit-mask-position:left top,left bottom;mask-position:left top,left bottom}\n"],encapsulation:2,changeDetection:0}),e})(),P=(()=>{var t;class e{constructor(){this.lineHeight=null,this.size="1.5em",this.offset="0em",this.orientation="horizontal";const t=(0,M.AG)();(0,r.__)(A),(0,f.T)((0,l.f3M)(O.ax),(0,l.f3M)(k.IM),(0,S.R)(t,"scroll")).pipe((0,h.fL)((0,l.f3M)(l.R0b)),(0,c.sL)()).subscribe((()=>{t.classList.toggle("_start",!!t.scrollLeft||!!t.scrollTop),t.classList.toggle("_end",this.isEnd(t))}))}isEnd(t){return"vertical"===this.orientation?Math.round(t.scrollTop)t.clientHeight+4}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=l.lG2({type:t,selectors:[["","tuiFade",""]],hostVars:9,hostBindings:function(t,e){2&t&&(l.uIk("data-orientation",e.orientation),l.Udp("line-height",e.lineHeight)("--line-height",e.lineHeight)("--fade-size",e.size)("--fade-offset",e.offset))},inputs:{lineHeight:["tuiFadeHeight","lineHeight"],size:["tuiFadeSize","size"],offset:["tuiFadeOffset","offset"],orientation:["tuiFade","orientation"]},standalone:!0,features:[l._Bn([O.ax,k.IM,{provide:k.k2,useValue:{characterData:!0,subtree:!0}}])]}),e})();var E,T=n(16931);const I=[{opacity:.06},{opacity:1}];let D=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=l.Xpm({type:t,selectors:[["ng-component"]],hostAttrs:[1,"tui-skeleton-styles"],standalone:!0,features:[l.jDz],decls:0,vars:0,template:function(t,e){},styles:["@keyframes tuiSkeleton{0%{opacity:.03}to{opacity:.06}}[tuiSkeleton]._skeleton{color:transparent;background:var(--tui-background-base)!important;box-shadow:none!important;filter:contrast(0) brightness(0);animation:tuiSkeleton ease-in-out 1s infinite alternate}[tuiSkeleton]._skeleton[data-tui-skeleton]{background:transparent!important}[tuiSkeleton]._skeleton[data-tui-skeleton]:before{content:attr(data-tui-skeleton);background:var(--tui-background-base);font-size:smaller;-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.25rem}[tuiTheme=dark] [tuiSkeleton]._skeleton,[tuiTheme=dark][tuiSkeleton]._skeleton{filter:contrast(0) brightness(0) invert(1)}\n"],encapsulation:2,changeDetection:0}),e})();class z{constructor(){this.el=(0,M.AG)(),this.duration=(0,l.f3M)(i.ZW)*T.Gc*2,this.nothing=(0,r.__)(D),this.tuiSkeleton=!1}ngOnChanges({tuiSkeleton:t}){this.animation?.cancel(),t.currentValue||t.firstChange||(this.animation=this.el.animate(I,this.duration))}getPlaceholder(t){switch(typeof t){case"number":return Array.from({length:t}).map((()=>u.f$.repeat(Math.floor(11*Math.random())+5))).join(" ");case"string":return t;default:return null}}}(E=z).ɵfac=function(t){return new(t||E)},E.ɵdir=l.lG2({type:E,selectors:[["","tuiSkeleton",""]],hostAttrs:["tuiSkeleton",""],hostVars:3,hostBindings:function(t,e){2&t&&(l.uIk("data-tui-skeleton",e.getPlaceholder(e.tuiSkeleton)),l.ekj("_skeleton",e.tuiSkeleton))},inputs:{tuiSkeleton:"tuiSkeleton"},standalone:!0,features:[l.TTD]}),(0,a.gn)([r.UM],z.prototype,"getPlaceholder",null),n(94267),n(7618)},11637:(t,e,n)=>{n.d(e,{s3:()=>l,qE:()=>O,Fu:()=>m,UV:()=>k,Hw:()=>E,LD:()=>d,zf:()=>x,Mu:()=>p,HF:()=>h,rV:()=>C,qk:()=>M,vy:()=>y,WB:()=>N,BV:()=>A,Ys:()=>R,vk:()=>H,xC:()=>V,ue:()=>v,E6:()=>P,q5:()=>_,yI:()=>S,v3:()=>$,tp:()=>T,xP:()=>I,jV:()=>b,Yq:()=>w,Z4:()=>q,_V:()=>c});var i=n(20755),r=n(43226),o=n(65026),s=n(92425),a=n(71209);const l=new i.OlP("[TUI_CALENDAR_DATE_STREAM]");function c(t){return{provide:l,deps:[[new i.FiY,new i.PiD,r.a5],[new i.FiY,t]],useFactory:u}}function u(t,e){return t?(0,o.EK)(t).pipe((0,s.U)((t=>e?e?.fromControlValue(t):t))):(0,a.of)(null)}const h=new i.OlP("[TUI_DATE_VALUE_TRANSFORMER]"),d=new i.OlP("[TUI_DATE_RANGE_VALUE_TRANSFORMER]"),p=new i.OlP("[TUI_DATE_TIME_VALUE_TRANSFORMER]");var f=n(73740),g=n(49335);const m=(0,f.N1)((0,g.v)("confirm")),v=((0,f.N1)((0,g.v)("cancel")),(0,f.N1)((0,g.v)("done")),(0,f.N1)((0,g.v)("more"))),y=(0,f.N1)((0,g.v)("hide")),b=(0,f.N1)((0,g.v)("showAll")),_=(0,f.N1)((0,g.v)("otherDate")),w=((0,f.N1)((0,g.v)("mobileCalendarTexts")),(0,f.N1)((0,g.v)("range")),(0,f.N1)((0,g.v)("countTexts")),(0,f.N1)((0,g.v)("time"))),x=(0,f.N1)((0,g.v)("dateTexts")),C=(0,f.N1)((0,g.v)("digitalInformationUnits")),k=(0,f.N1)((0,g.v)("copyTexts")),O=((0,f.N1)((0,g.v)("passwordTexts")),(0,f.N1)((0,g.v)("shortCalendarMonths"))),M=(0,f.N1)((0,g.v)("fileTexts")),S=(0,f.N1)((0,g.v)("pagination")),A=(0,f.N1)((0,g.v)("inputFileTexts")),P=(0,f.N1)((0,g.v)("multiSelectTexts")),E=(0,f.N1)((0,g.v)("countries")),T=(0,f.N1)((0,g.v)("previewTexts")),I=(0,f.N1)((0,g.v)("zoomTexts"));var D=n(28351);const z={icon:()=>"@tui.calendar",min:D.K1,max:D.Oy,nativePicker:!1},N=(0,f.JN)(z);var F=n(11892);const L={stringify:String,identityMatcher:F.bg,disabledItemHandler:F.tD},R=(0,f.JN)(L);var B=n(86253),j=n(71938);const H=new i.OlP("[TUI_MOBILE_CALENDAR]"),V={provide:j.WH,useFactory:()=>(0,i.f3M)(B.fL)&&(0,i.f3M)(H,{optional:!0})||(0,i.f3M)(j.WH,{skipSelf:!0})},$=(0,f.JN)({rotate:"@tui.rotate-ccw-square",prev:"@tui.arrow-left",next:"@tui.arrow-right",zoomIn:"@tui.plus",zoomOut:"@tui.minus",zoomReset:"@tui.minimize"}),q=(0,f.JN)({})},11978:(t,e,n)=>{n.d(e,{M$:()=>C,Xn:()=>x,m6:()=>S,sC:()=>O,F9:()=>A,D1:()=>M,rE:()=>P,wB:()=>k});var i=n(20755),r=n(10676),o=n(55181),s=n(63098),a=n(11637),l=n(83140),c=n(62022),u=n(43226),h=n(94267),d=n(11892),p=n(73740),f=n(78748),g=n(69286),m=n(73843),v=n(92425),y=n(55333),b=n(18004),_=n(84787),w=n(45047);let x=(()=>{var t;class e{constructor(){this.focusVisible=!1,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.autoIdString=`tui_interactive_${e.autoId++}${Date.now()}`}get computedDisabled(){return this.disabled}get computedFocused(){return!this.computedDisabled&&(this.pseudoFocus??this.focused)}get computedFocusVisible(){return!this.computedDisabled&&(this.pseudoFocus??this.focusVisible)}get computedFocusable(){return!this.computedDisabled&&(this.focusable||this.focused)}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=e).autoId=0,t.ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,hostVars:7,hostBindings:function(t,e){2&t&&(i.uIk("data-focused",e.pseudoFocus),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"}}),e})(),C=(()=>{var t;class e extends x{constructor(){super(),this.ngControl=(0,i.f3M)(u.a5,{optional:!0}),this.refresh$=new f.x,this.onTouched=d.iD,this.onChange=d.iD,this.fallbackValue=this.getFallbackValue(),this.destroyRef=(0,i.f3M)(i.ktI),this.cdr=(0,i.f3M)(i.sBO),this.valueTransformer=(0,i.f3M)(h.R4,{optional:!0}),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(){return this.previousInternalValue??this.fallbackValue}set value(t){this.updateValue(t)}get safeCurrentValue(){return this.rawValue??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(){return this.controlName?.toString()??null}get controlName(){return this.ngControl?.name?.toString()??null}ngOnInit(){this.refresh$.pipe((0,g.g)(0),(0,m.O)(null),(0,v.U)((()=>this.ngControl?.control)),(0,y.h)(p.Pc),(0,b.x)(),(0,_.w)((t=>(0,w.T)(t.valueChanges,t.statusChanges))),(0,c.sL)(this.destroyRef)).subscribe((()=>{this.refreshLocalValue(this.safeCurrentValue)}))}checkControlUpdate(){this.cdr.markForCheck()}registerOnChange(t){this.onChange=e=>{t(this.toControlValue(e))},this.refresh$.next()}registerOnTouched(t){this.onTouched=t}setDisabledState(){this.checkControlUpdate()}writeValue(t){const e=this.ngControl instanceof u.On&&void 0===this.previousInternalValue?this.ngControl.model:t;this.refreshLocalValue(this.fromControlValue(e))}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}get rawValue(){const{ngControl:t}=this;if(null===t)return;const e=t instanceof u.On&&void 0===this.previousInternalValue?t.viewModel:t.value;return this.fromControlValue(e)}safeNgControlData(t,e){return(this.ngControl&&t(this.ngControl))??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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=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]}),e})();function k(t){return(0,p.Q2)(C,t)}let O=(()=>{var t;class e{constructor(){this.idService=(0,i.f3M)(r.ll),this.datalist=null,this.el=(0,o.AG)(),this.host=(0,i.f3M)(l.S0),this.control=(0,i.f3M)(C),this.itemsHandlers=(0,i.f3M)(a.Ys),this.disabledItemHandler=null}get id(){return this.el.id||this.idService.generate()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,viewQuery:function(t,e){if(1&t&&i.Gf(s.gX,7,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.Ikx("id",e.id)},inputs:{disabledItemHandler:"disabledItemHandler"}}),e})(),M=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(C,{optional:!0})}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(){return this.host.value?.toString()||""}process(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t}),e})(),S=(()=>{var t;class e extends C{clear(){this.value=[]}getFallbackValue(){return[]}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})(),A=(()=>{var t;class e extends C{getFallbackValue(){return null}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();class P{constructor(t,e){this.item=t,this.stringify=e}toString(){return this.stringify(this.item)}}},83239:(t,e,n)=>{n.d(e,{SX:()=>m,Ii:()=>y});var i=n(76733),r=n(20755),o=n(9368),s=n(71938),a=n(16931),l=n(11978),c=n(55466),u=n(25690),h=n(73740);const d=(0,h.JN)({iconSmall:"@tui.chevron-down",iconLarge:"@tui.chevron-down"});function p(t,e){if(1&t&&r._UZ(0,"tui-icon",2),2&t){const t=e.polymorpheusOutlet;r.Q6J("icon",t)}}function f(t,e){1&t&&r.GkF(0)}let g=(()=>{var t;class e{constructor(){this.control=(0,r.f3M)(l.M$,{optional:!0}),this.textfieldSize=(0,r.f3M)(c.kI),this.options=(0,r.f3M)(d),this.directive=(0,r.f3M)(s.Bb,{optional:!0})}get rotated(){return this.directive?.tuiDropdownOpen||!!this.control.pseudoOpen||!1}get small(){return!(0,a.R9)(this.textfieldSize.size)}get arrowIcon(){return this.small?this.options.iconSmall:this.options.iconLarge}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=r.Xpm({type:t,selectors:[["tui-arrow"]],hostVars:4,hostBindings:function(t,e){2&t&&r.ekj("_rotated",e.rotated)("_small",e.small)},standalone:!0,features:[r.jDz],decls:3,vars:4,consts:[[3,"icon",4,"polymorpheusOutlet"],[4,"ngIf"],[3,"icon"]],template:function(t,e){1&t&&(r.YNc(0,p,1,1,"tui-icon",0),r.YNc(1,f,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,null==e.directive?null:e.directive.tuiDropdownOpenChange)))},dependencies:[u.s$,i.O5,i.Ov,o.R],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)}._small[_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})();const m=new u.Al(g),v={interactive:m,disabled:m},y=(0,h.JN)(v)},59679:(t,e,n)=>{n.d(e,{qS:()=>i.q,_H:()=>l});var i=n(98015),r=(n(16737),n(76733)),o=n(90621),s=n(55466),a=n(20755);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[r.ez,o.KW,s.cn,s.SC]}),e})();n(58025)},98015:(t,e,n)=>{n.d(e,{q:()=>F});var i,r=n(84911),o=n(20755),s=n(62022),a=n(11262),l=n(11892),c=n(65026),u=n(86253),h=n(58373),d=n(73740),p=n(41589),f=n(80567),g=n(11978),m=n(90621),v=n(55466),y=n(83140),b=n(25690),_=n(58025),w=n(76733),x=n(28858),C=n(9997),k=n(38001),O=n(2365),M=n(36344),S=n(77430),A=n(14863);function P(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 E(t,e){if(1&t&&(o.TgZ(0,"div",6),o.YNc(1,P,2,1,"ng-container",7),o.qZA()),2&t){o.oxw();const t=o.MAs(9);o.xp6(1),o.Q6J("polymorpheusOutlet",t)}}function T(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"section",8)(1,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(2," + "),o.qZA(),o.TgZ(3,"button",9),o.NdJ("click.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.onArrow(-e.step))}))("mousedown.prevent",(function(){o.CHM(t);const e=o.oxw();return o.KtG(null==e.nativeFocusableElement?null:e.nativeFocusableElement.focus())})),o._uU(4," - "),o.qZA()()}if(2&t){const t=o.oxw(),e=o.MAs(1);o.xp6(1),o.Q6J("appearance",e.appearance)("disabled",!t.canIncrement)("iconLeft",t.icons.up),o.xp6(2),o.Q6J("appearance",e.appearance)("disabled",!t.canDecrement)("iconLeft",t.icons.down)}}function I(t,e){1&t&&o.GkF(0)}function D(t,e){1&t&&o.Hsn(0,2)}const z=["*",[["input"]],[["tuiContent"]]],N=new o.OlP("");class F extends g.F9{constructor(){super(...arguments),this.isIOS=(0,o.f3M)(u.FA),this.textfieldSize=(0,o.f3M)(v.kI),this.options=(0,o.f3M)(_.vy),this.unfinishedValue="",this.polymorpheusValueContent=l.Mm,this.valueTransformer=(0,o.f3M)(N,{optional:!0}),this.numberFormat=p.Jl,this.controller=(0,o.f3M)(v.Cs),this.numberFormat$=(0,o.f3M)(p.HO).pipe((0,c.NA)(this.cdr),(0,s.sL)()).subscribe((t=>{this.numberFormat=t})),this.min=this.options.min,this.max=this.options.max,this.step=this.options.step}get nativeFocusableElement(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement}get focused(){return!!this.textfield?.focused}get inputMode(){return this.isIOS&&this.isNegativeAllowed?"text":this.precision?"decimal":"numeric"}get calculatedMaxLength(){return 18+(this.precision&&this.nativeValue.includes(this.numberFormat.decimalSeparator)?Math.min(this.precision+1,20):0)+this.numberFormat.thousandSeparator.repeat(5).length}get computedValue(){return this.focused?this.nativeValue:this.formattedValue}onValueChange(t){const e=(0,a.vZ)(t,this.numberFormat.decimalSeparator);if(this.unfinishedValue=null,!Number.isNaN(e))return this.isNativeValueNotFinished?(this.unfinishedValue=t,void this.cdr.markForCheck()):void(ethis.computedMax||(this.value=e));this.value=null}writeValue(t){super.writeValue(t),this.nativeValue=this.formattedValue}get size(){return this.textfieldSize.size}get icons(){return this.options.icons}get computedMin(){return this.computeMin(this.min,this.max)}get computedMax(){return this.computeMax(this.min,this.max)}get isNegativeAllowed(){return this.computedMin<0}get formattedValue(){return null!==this.value?this.getFormattedValue(this.value||0):""}get canDecrement(){return this.interactive&&(this.value||0)>this.computedMin}get canIncrement(){return this.interactive&&(this.value||0)this.computedMax:t[s.length,t.length-l.length]))]}}}(i=F).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-input-number"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,b.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.polymorpheusValueContent=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(m.yc,5),2&t){let t;o.iGM(t=o.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){1&t&&o.NdJ("keydown.arrowDown",(function(){return e.onArrow(-e.step)}))("keydown.arrowUp",(function(){return e.onArrow(e.step)})),2&t&&o.uIk("data-size",e.size)},inputs:{min:"min",max:"max",step:"step"},features:[o._Bn([(0,y.FT)(i),(0,g.wB)(i),v.Y0]),o.qOj],ngContentSelectors:["*","input","tuiContent"],decls:10,vars:14,consts:[["tuiTextfieldPostfix","","tuiTextfieldPrefix","","tuiValueAccessor","",1,"t-textfield",3,"disabled","focusable","invalid","maskito","pseudoActive","pseudoFocus","pseudoHover","readOnly","value","focusedChange","valueChange"],["textfield",""],["ngProjectAs","tuiContent","class","t-value-content",5,["tuiContent"],4,"ngIf"],["class","t-buttons",4,"ngIf"],[4,"ngIf"],["valueContent",""],["ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value-content"],[4,"polymorpheusOutlet"],[1,"t-buttons"],["size","s","tabindex","-1","tuiIconButton","","type","button",1,"t-button",3,"appearance","disabled","iconLeft","click.prevent","mousedown.prevent"]],template:function(t,e){1&t&&(o.F$t(z),o.TgZ(0,"tui-primitive-textfield",0,1),o.NdJ("focusedChange",(function(t){return e.onFocused(t)}))("valueChange",(function(t){return e.onValueChange(t)})),o.Hsn(2),o.Hsn(3,1,["ngProjectAs","input",5,["input"]]),o.YNc(4,E,2,1,"div",2),o.qZA(),o.YNc(5,T,5,6,"section",3),o.YNc(6,I,1,0,"ng-container",4),o.ALo(7,"async"),o.YNc(8,D,1,0,"ng-template",null,5,o.W1O)),2&t&&(o.Q6J("disabled",e.computedDisabled)("focusable",e.focusable)("invalid",e.computedInvalid)("maskito",e.mask)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.computedValue),o.xp6(4),o.Q6J("ngIf",e.polymorpheusValueContent.length),o.xp6(1),o.Q6J("ngIf",e.step),o.xp6(1),o.Q6J("ngIf",o.lcZ(7,12,e.polymorpheusValueContent.changes)))},dependencies:[w.O5,x.ro,C.y,k.B,O.A,M.T,b.s$,S.n,A.x,w.Ov],styles:["[_nghost-%COMP%]{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield[_ngcontent-%COMP%]{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield[_ngcontent-%COMP%]:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content[_ngcontent-%COMP%]{width:100%}.t-buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem;border-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%]{flex-direction:row-reverse}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin:0 0 0 .125rem;border-top-right-radius:inherit;border-bottom-right-radius:inherit}[data-size=s][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-radius:0}[data-size=m][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-m) * .75)}[data-size=l][_ngcontent-%COMP%] + .t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{width:calc(var(--tui-height-l) * .75)}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]{display:flex;flex:1;height:auto;align-items:center;justify-content:center;border-radius:0}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:first-child{margin-bottom:.125rem;border-top-right-radius:inherit}.t-buttons[_ngcontent-%COMP%] .t-button[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:inherit}"],changeDetection:0}),(0,r.gn)([d.UM],F.prototype,"computeMin",null),(0,r.gn)([d.UM],F.prototype,"computeMax",null),(0,r.gn)([d.UM],F.prototype,"calculateMask",null)},16737:(t,e,n)=>{n.d(e,{g:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get value(){return this.host.computedValue}onValueChange(t){this.host.onValueChange(t)}ngDoCheck(){this.host.nativeFocusableElement&&(this.host.nativeFocusableElement.inputMode=this.host.inputMode,this.host.nativeFocusableElement.maxLength=this.host.nativeFocusableElement.maxLength>0?this.host.nativeFocusableElement.maxLength:this.host.calculatedMaxLength)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input-number"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},58025:(t,e,n)=>{n.d(e,{vy:()=>o});var i=n(73740);const r={icons:{up:"@tui.plus",down:"@tui.minus"},min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,step:0},o=(0,i.JN)(r)},71918:(t,e,n)=>{n.d(e,{Qf:()=>s}),n(14814),n(5583);var i=n(76733),r=n(90621),o=n(20755);n(71938);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({imports:[i.ez,r.KW]}),e})()},14814:(t,e,n)=>{n.d(e,{K:()=>y});var i=n(20755),r=n(52674),o=n(63098),s=n(71938),a=n(11978),l=n(90621),c=n(55466),u=n(83140),h=n(82673),d=n(9997),p=n(38001),f=n(10938),g=n(1);const m=["*",[["input"]]],v=["*","input"];let y=(()=>{var t;class e extends a.M${constructor(){super(...arguments),this.textfieldSize=(0,i.f3M)(c.kI),this.open=!1}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement}get focused(){return(0,r.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}handleOption(t){this.setNativeValue(String(t)),this.focusInput(),this.value=String(t),this.open=!1}onValueChange(t){this.value=t,this.open=!0}get canOpen(){return this.interactive&&!!this.datalist}onActiveZone(t){this.updateFocused(t)}getFallbackValue(){return""}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}setNativeValue(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-input"]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,o.gX,5,i.Rgc),2&t){let t;i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(s.Bb,5),i.Gf(l.yc,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.dropdown=t.first),i.iGM(t=i.CRH())&&(e.textfield=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},features:[i._Bn([c.E2,(0,u.FT)(t),(0,o.oE)(t),(0,a.wB)(t)],[h.yn]),i.qOj],ngContentSelectors:v,decls:4,vars:11,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-input__textfield",1,"t-textfield",3,"disabled","focusable","invalid","nativeId","pseudoFocus","pseudoHover","readOnly","value","valueChange"]],template:function(t,e){1&t&&(i.F$t(m),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.qZA()()),2&t&&(i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.canOpen)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("value",e.value))},dependencies:[d.y,p.B,f.t,g.B],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}),e})()},5583:(t,e,n)=>{n.d(e,{w:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-input"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},90621:(t,e,n)=>{n.d(e,{iQ:()=>i.i,yc:()=>i.y,KW:()=>c,MB:()=>u.M});var i=n(9997),r=(n(38001),n(76733)),o=n(43226),s=n(61573),a=n(44806),l=n(20755);let c=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=l.oAB({type:t}),t.ɵinj=l.cJS({imports:[r.ez,o.u5,a.W,s.R]}),e})();n(55466);var u=n(20633);n(21842)},9997:(t,e,n)=>{n.d(e,{i:()=>H,y:()=>V});var i,r=n(84911),o=n(20755),s=n(55181),a=n(52674),l=n(73740),c=n(2239),u=n(75430),h=n(11978),d=n(55466),p=n(83140),f=n(82673),g=n(25690),m=n(10409),v=n(92425),y=n(76733),b=n(43226),_=n(5362),w=n(70380),x=n(8355),C=n(93714),k=n(21842);const O=["focusableElement"];function M(t,e){1&t&&o.GkF(0)}function S(t,e){1&t&&o.GkF(0)}function A(t,e){1&t&&(o.TgZ(0,"div",17),o.Hsn(1,2),o.qZA())}function P(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}const E=function(t){return{$implicit:t}};function T(t,e){if(1&t&&(o.TgZ(0,"div",18),o.YNc(1,P,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconLeftContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function I(t,e){if(1&t&&(o.TgZ(0,"label",21),o.Hsn(1,3),o.qZA()),2&t){const t=o.oxw();o.ekj("t-placeholder_raised",t.placeholderRaised),o.Q6J("for",t.computedId)}}function D(t,e){if(1&t&&o._UZ(0,"tui-icon",24),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t)}}function z(t,e){if(1&t&&(o.TgZ(0,"div",22),o.YNc(1,D,1,1,"tui-icon",23),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.controller.customContent)}}function N(t,e){if(1&t&&o._UZ(0,"tui-icon",27),2&t){const t=e.polymorpheusOutlet;o.Udp("border","0.25rem solid transparent"),o.Q6J("icon",t.toString())}}function F(t,e){if(1&t){const t=o.EpF();o.TgZ(0,"span",25),o.NdJ("click.stop",(function(){o.CHM(t);const e=o.oxw();return o.KtG(e.clear())})),o.YNc(1,N,1,3,"tui-icon",26),o.qZA()}if(2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconCleaner||t.controller.options.iconCleaner)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}function L(t,e){if(1&t&&o._UZ(0,"tui-tooltip",28),2&t){const t=o.oxw();o.Q6J("content",null==t.hintOptions?null:t.hintOptions.content)("describeId",t.computedId)}}function R(t,e){if(1&t&&o._UZ(0,"tui-icon",20),2&t){const t=e.polymorpheusOutlet;o.Q6J("icon",t.toString())}}function B(t,e){if(1&t&&(o.TgZ(0,"div",29),o.YNc(1,R,1,1,"tui-icon",19),o.qZA()),2&t){const t=o.oxw();o.xp6(1),o.Q6J("polymorpheusOutlet",t.iconContent)("polymorpheusOutletContext",o.VKq(2,E,t.size))}}const j=[[["input"]],[["select"]],[["tuiContent"]],"*"],H={s:1.25,m:1.75,l:2.25};class V extends h.Xn{constructor(){super(...arguments),this.legacyOptions=(0,o.f3M)(d.z1),this.el=(0,s.AG)(),this.options=(0,o.f3M)(c.z1),this.controller=(0,o.f3M)(d.Cs),this.hintOptions=(0,o.f3M)(u.bZ,{optional:!0}),this.autofilled=!1,this.editable=!0,this.iconCleaner=this.legacyOptions.iconCleaner,this.readOnly=!1,this.invalid=!1,this.disabled=!1,this.value="",this.valueChange=new o.vpe}get prefix(){return this.controller.prefix}get postfix(){return this.controller.postfix}get filler(){return 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,a.zb)(this.el)}get appearance(){return"table"===this.options.appearance?"table":this.controller.appearance}onModelChange(t){this.updateValue(t)}get size(){return this.controller.size}get computedInvalid(){return!this.readOnly&&!this.disabled&&this.invalid}get inputHidden(){return!!this.content?.length}get borderStart(){return this.iconLeftContent?this.iconPaddingLeft:0}get borderEnd(){return(0,f._X)(!!this.iconContent,this.hasCleaner,this.hasTooltip,this.hasCustomContent,this.size)}get hasValue(){return!!this.value}get hasCleaner(){return this.controller.cleaner&&this.hasValue&&!this.computedDisabled&&!this.readOnly}get hasTooltip(){return!!this.hintOptions?.content&&!this.computedDisabled}get hasCustomContent(){return!!this.controller.customContent}get placeholderVisible(){const t=(this.nativeFocusableElement?.placeholder||this.prefix||this.postfix||this.filler)&&!this.readOnly&&this.computedFocused;return!this.hasValue&&!t}get hasPlaceholder(){return this.placeholderRaisable||this.placeholderVisible}get placeholderRaised(){return this.placeholderRaisable&&(this.computedFocused&&!this.readOnly||this.hasValue||this.autofilled)}get iconContent(){return this.controller.icon}get iconLeftContent(){return this.controller.iconLeft}get showHint(){return!!this.hintOptions?.content&&(this.legacyOptions.hintOnDisabled||!this.computedDisabled)}get name(){return"cc-exp"===this.nativeFocusableElement?.autocomplete?"ccexpiryyear":null}get computedId(){return this.nativeFocusableElement?.id||""}onFocused(t){this.updateFocused(t)}getIndent$(t){return(0,m.R)(t,"scroll").pipe((0,v.U)((()=>-1*Math.max(t.scrollLeft,0))))}clear(){this.nativeFocusableElement&&(this.nativeFocusableElement.value=""),this.updateValue("")}onMouseDown(t){const{nativeFocusableElement:e}=this;e&&t.target!==e&&(t.preventDefault(),e.focus())}onAutofilled(t){this.updateAutofilled(t)}detectRetargetFromLabel(t){(0,s.UP)(t)&&t.stopImmediatePropagation()}get iconPaddingLeft(){return H[this.size]}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)}}(i=V).ɵfac=function(){let t;return function(e){return(t||(t=o.n5z(i)))(e||i)}}(),i.ɵcmp=o.Xpm({type:i,selectors:[["tui-primitive-textfield"]],contentQueries:function(t,e,n){if(1&t&&o.Suo(n,g.s$,5),2&t){let t;o.iGM(t=o.CRH())&&(e.content=t)}},viewQuery:function(t,e){if(1&t&&o.Gf(O,5),2&t){let t;o.iGM(t=o.CRH())&&(e.focusableElement=t.first)}},hostVars:15,hostBindings:function(t,e){1&t&&o.NdJ("focusin",(function(){return e.onFocused(!0)}))("focusout",(function(){return e.onFocused(!1)})),2&t&&(o.uIk("data-size",e.size),o.Udp("--border-start",e.borderStart,"rem")("--border-end",e.borderEnd,"rem"),o.ekj("_autofilled",e.autofilled)("_label-outside","table"===e.options.appearance||e.controller.labelOutside)("_readonly",e.readOnly)("_invalid",e.computedInvalid)("_hidden",e.inputHidden))},inputs:{editable:"editable",iconCleaner:"iconCleaner",readOnly:"readOnly",invalid:"invalid",disabled:"disabled",value:"value"},outputs:{valueChange:"valueChange"},features:[o._Bn([(0,p.FT)(i),d.Y0]),o.qOj],ngContentSelectors:["input","select","tuiContent","*"],decls:24,vars:37,consts:[[4,"ngIf"],["automation-id","tui-primitive-textfield__wrapper","tuiWrapper","",3,"active","appearance","disabled","focus","hover","invalid","readOnly","click.prevent.silent","mousedown"],["automation-id","tui-primitive-textfield__native-input",1,"t-input",3,"disabled","id","ngModel","readOnly","tabIndex","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"],["aria-hidden","true","automation-id","tui-primitive-textfield__value-decoration",1,"t-value-decoration"],["decor",""],[1,"t-icons"],["automation-id","tui-primitive-textfield__custom-content","class","t-custom-content",4,"ngIf"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","","class","t-cleaner",3,"click.stop",4,"ngIf"],["automation-id","tui-primitive-textfield__tooltip","class","t-tooltip",3,"content","describeId",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"],["tuiAppearance","icon",3,"icon",4,"polymorpheusOutlet","polymorpheusOutletContext"],["tuiAppearance","icon",3,"icon"],["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,"icon",4,"polymorpheusOutlet"],[1,"t-custom-icon",3,"icon"],["appearance","icon","automation-id","tui-primitive-textfield__cleaner","tuiWrapper","",1,"t-cleaner",3,"click.stop"],[3,"icon","border",4,"polymorpheusOutlet","polymorpheusOutletContext"],[3,"icon"],["automation-id","tui-primitive-textfield__tooltip",1,"t-tooltip",3,"content","describeId"],[1,"t-icon","t-textfield-icon"]],template:function(t,e){if(1&t&&(o.F$t(j),o.YNc(0,M,1,0,"ng-container",0),o.ALo(1,"async"),o.YNc(2,S,1,0,"ng-container",0),o.ALo(3,"async"),o.TgZ(4,"div",1),o.NdJ("click.prevent.silent",(function(t){return e.detectRetargetFromLabel(t)}))("mousedown",(function(t){return e.onMouseDown(t)})),o.ALo(5,"async"),o.Hsn(6),o.Hsn(7,1),o.TgZ(8,"input",2,3),o.NdJ("ngModelChange",(function(t){return e.onModelChange(t)})),o.qZA(),o.YNc(10,A,2,0,"div",4),o.TgZ(11,"div",5),o.YNc(12,T,2,4,"div",6),o.TgZ(13,"div",7),o.YNc(14,I,2,3,"label",8),o.TgZ(15,"div",9)(16,"tui-value-decoration",10,11),o.ALo(18,"async"),o.qZA()()(),o.TgZ(19,"div",12),o.YNc(20,z,2,1,"div",13),o.YNc(21,F,2,4,"span",14),o.YNc(22,L,1,2,"tui-tooltip",15),o.YNc(23,B,2,4,"div",16),o.qZA()()()),2&t){const t=o.MAs(9),n=o.MAs(17);o.Q6J("ngIf",o.lcZ(1,29,null==e.content?null:e.content.changes)),o.xp6(2),o.Q6J("ngIf",o.lcZ(3,31,null==e.hintOptions?null:e.hintOptions.change$)),o.xp6(2),o.Udp("--text-indent",o.lcZ(5,33,n.pre$),"px"),o.Q6J("active",e.pseudoActive)("appearance",e.appearance)("disabled",e.disabled)("focus",e.computedFocused)("hover",e.pseudoHover)("invalid",e.computedInvalid)("readOnly",e.readOnly),o.xp6(4),o.Q6J("disabled",e.computedDisabled)("id",e.id)("ngModel",e.value)("readOnly",e.readOnly||!e.editable)("tabIndex",e.computedFocusable?0:-1),o.uIk("aria-invalid",e.computedInvalid)("name",e.name),o.xp6(2),o.Q6J("ngIf",e.inputHidden),o.xp6(2),o.Q6J("ngIf",e.iconLeftContent),o.xp6(2),o.Q6J("ngIf",e.hasPlaceholder),o.xp6(2),o.Udp("text-indent",o.lcZ(18,35,e.getIndent$(t)),"px"),o.ekj("t-has-value",e.value),o.xp6(4),o.Q6J("ngIf",e.hasCustomContent),o.xp6(1),o.Q6J("ngIf",e.hasCleaner),o.xp6(1),o.Q6J("ngIf",e.showHint),o.xp6(1),o.Q6J("ngIf",e.iconContent)}},dependencies:[y.O5,b.Fj,b.JJ,b.On,g.s$,_.o,w.w,x.R,C.N,k.Z,y.Ov],styles:['[_nghost-%COMP%]{position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}[data-size=s][_nghost-%COMP%]{--tui-height: var(--tui-height-s)}[data-size=m][_nghost-%COMP%]{--tui-height: var(--tui-height-m)}[data-size=l][_nghost-%COMP%]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input[_ngcontent-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){.t-input[_ngcontent-%COMP%]:active{font-size:1rem}}.t-input[inputMode=none][_ngcontent-%COMP%]{caret-color:transparent}.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-input[_ngcontent-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly)[_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%] .t-input[_ngcontent-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), .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=m][_nghost-%COMP%] .t-input[_ngcontent-%COMP%], .t-input tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), .t-input tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), .t-input tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), .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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]{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%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) .t-input[_ngcontent-%COMP%]:-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%;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=m][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-m)}[data-size=l][_nghost-%COMP%] .t-content[_ngcontent-%COMP%]{padding:0 var(--tui-padding-l)}.t-wrapper[_ngcontent-%COMP%]{flex:1;min-width:0;padding-inline-end:.25rem}.t-placeholder[_ngcontent-%COMP%]{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder[_ngcontent-%COMP%]{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised[_ngcontent-%COMP%]{transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%] .t-placeholder_raised[_ngcontent-%COMP%]{font:var(--tui-font-text-xs);line-height:1.25rem;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-status-negative)}._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-tertiary)}[data-size=l][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font:var(--tui-font-text-m);line-height:1.25rem}[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-primary)}.t-cleaner[_ngcontent-%COMP%]{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto;border:.25rem solid transparent}._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;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}[data-size=s][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.375rem}[data-size=m][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-start:-.125rem;margin-inline-end:.375rem}[data-size=l][_nghost-%COMP%] .t-icon_left[_ngcontent-%COMP%]{margin-inline-end:.75rem}.t-icons[_ngcontent-%COMP%]{display:flex;align-items:center}[data-size=m][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.125rem}[data-size=s][_nghost-%COMP%] .t-icons[_ngcontent-%COMP%]{margin-inline-end:-.375rem}[_nghost-%COMP%]:not([data-size=s]) .t-icons[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:first-child){margin-inline-start:.25rem}._autofilled[data-size=s][_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled._label-outside[_nghost-%COMP%] .t-placeholder[_ngcontent-%COMP%], ._autofilled[_nghost-%COMP%] .t-value-decoration[_ngcontent-%COMP%]:not(.t-has-value){visibility:hidden}[data-size=s][_nghost-%COMP%] tui-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}.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-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;padding-inline-end:0}.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)([l.UM],V.prototype,"getIndent$",null)},38001:(t,e,n)=>{n.d(e,{B:()=>a});var i=n(20755),r=n(11978),o=n(83140),s=n(9997);let a=(()=>{var t;class e extends r.D1{constructor(){super(...arguments),this.host=(0,i.f3M)(s.y)}get readOnly(){return this.host.readOnly||!this.host.editable}onValueChange(t){this.host.onModelChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["tui-primitive-textfield"]],features:[i._Bn([(0,o.cp)(t)]),i.qOj]}),e})()},20633:(t,e,n)=>{n.d(e,{M:()=>c});var i=n(20755),r=n(10676),o=n(55181),s=n(55466),a=n(83140);const l=["tuiTextfieldLegacy",""];let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.idService=(0,i.f3M)(r.ll),this.controller=(0,i.f3M)(s.Cs),this.host=(0,i.f3M)(a.S0),this.host.process(this.el)}get id(){return this.el.id||this.idService.generate()}get inputMode(){return this.el.inputMode||this.host.inputMode}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["input","tuiTextfieldLegacy",""],["textarea","tuiTextfieldLegacy",""]],hostAttrs:["type","text"],hostVars:7,hostBindings:function(t,e){1&t&&i.NdJ("input",(function(t){return 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([s.Y0])],attrs:l,decls:0,vars:0,template:function(t,e){},styles:['[_nghost-%COMP%]{padding:0;margin:0;border-width: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;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);color:var(--tui-text-primary);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-text-primary);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}@supports (-webkit-touch-callout: none){[_nghost-%COMP%]:active{font-size:1rem}}[inputMode=none][_nghost-%COMP%]{caret-color:transparent}[_nghost-%COMP%]:-webkit-autofill, [_nghost-%COMP%]:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}[_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}[_nghost-%COMP%]::placeholder{color:var(--tui-text-tertiary);opacity:0}._focused[_nghost-%COMP%]:not(._readonly) [_ngcontent-%COMP%]::placeholder, tui-primitive-textfield._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-textarea._focused:not(._readonly) [_nghost-%COMP%]::placeholder, tui-text-area._focused:not(._readonly) [_nghost-%COMP%]::placeholder{opacity:1}[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-textarea[data-size="s"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="s"] [_nghost-%COMP%]:not(tui-textarea), [_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=m][_nghost-%COMP%] -shadowcsshost, [_nghost-%COMP%] tui-primitive-textfield[data-size="m"][_nghost-%COMP%]:not(tui-primitive-textfield), tui-primitive-textfield[data-size="m"] [_nghost-%COMP%]:not(tui-primitive-textfield), [_nghost-%COMP%] tui-textarea[data-size="m"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="m"] [_nghost-%COMP%]:not(tui-textarea), [_nghost-%COMP%] tui-text-area[data-size="m"][_nghost-%COMP%]:not(tui-text-area), tui-text-area[data-size="m"] [_nghost-%COMP%]:not(tui-text-area){padding:0 var(--tui-padding-m)}[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-textarea[data-size="l"][_nghost-%COMP%]:not(tui-textarea), tui-textarea[data-size="l"] [_nghost-%COMP%]:not(tui-textarea), [_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-textarea._disabled[_nghost-%COMP%], tui-textarea._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=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:1rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) -shadowcsshost{padding-top:1.25rem}[data-size=l][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-webkit-autofill + .t-content[_ngcontent-%COMP%] .t-placeholder[_ngcontent-%COMP%]{font-size:.8156rem;transform:translateY(-.625rem)}[data-size=m][_nghost-%COMP%]:not(._label-outside) [_ngcontent-%COMP%]:-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}textarea[_nghost-%COMP%]{white-space:pre-wrap}textarea[_nghost-%COMP%] tui-textarea._ios[_nghost-%COMP%], tui-textarea._ios [_nghost-%COMP%], textarea[_nghost-%COMP%] tui-text-area._ios[_nghost-%COMP%], tui-text-area._ios [_nghost-%COMP%]{padding-left:.8125rem}'],changeDetection:0}),e})()},21842:(t,e,n)=>{n.d(e,{Z:()=>d});var i=n(20755),r=n(83140),o=n(56424),s=n(45047),a=n(69286),l=n(55333),c=n(92425),u=n(18004);const h=["pre"];let d=(()=>{var t;class e{constructor(){this.textfield=(0,i.f3M)(r.KZ),this.fontsReady$=(0,i.f3M)(r.tS),this.prefix$=new o.X(""),this.pre$=(0,s.T)(this.fontsReady$,this.prefix$).pipe((0,a.g)(0),(0,l.h)((()=>!!this.pre?.nativeElement.isConnected)),(0,c.U)((()=>this.pre?.nativeElement.offsetWidth||0)),(0,u.x)())}ngDoCheck(){this.prefix$.next(this.prefix)}get isContextTable(){return"table"===this.textfield.appearance}get filler(){const{focused:t,placeholder:e,exampleText:n,value:i,textfield:r}=this;return e&&n?"":t?n||r.filler.slice(i.length):""}get value(){return this.textfield.value}get prefix(){return this.decorationsVisible?this.textfield.prefix:""}get postfix(){return this.decorationsVisible?this.computedPostfix:""}get placeholder(){return this.textfield.nativeFocusableElement?.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=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-value-decoration"]],viewQuery:function(t,e){if(1&t&&i.Gf(h,7,i.SBq),2&t){let t;i.iGM(t=i.CRH())&&(e.pre=t.first)}},hostVars:4,hostBindings:function(t,e){1&t&&i.NdJ("animationstart",(function(){return e.ngDoCheck()})),2&t&&i.ekj("_table",e.isContextTable)("_filler",e.filler)},decls:5,vars:4,consts:[[1,"t-prefix",3,"textContent"],["pre",""],[1,"t-ghost",3,"textContent"],[1,"t-filler",3,"textContent"],[1,"t-postfix",3,"textContent"]],template:function(t,e){1&t&&i._UZ(0,"span",0,1)(2,"span",2)(3,"span",3)(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;width:100%;line-height:var(--tui-height);margin-top:calc(var(--tui-height) / -2);box-sizing:content-box;color:var(--tui-text-tertiary);animation:tuiPresent 1s;white-space:nowrap}._table[_nghost-%COMP%]{position:static;margin-top:0}._filler[_nghost-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}tui-primitive-textfield[data-size="m"]:not(._label-outside) [_nghost-%COMP%]{line-height:calc(var(--tui-height) - .25rem)}.t-ghost[_ngcontent-%COMP%]{visibility:hidden;white-space:pre;text-overflow:clip}.t-prefix[_ngcontent-%COMP%], .t-postfix[_ngcontent-%COMP%]{white-space:pre;color:var(--tui-text-primary)}.t-filler[_ngcontent-%COMP%]{max-width:100%;white-space:nowrap}']}),e})()},76459:(t,e,n)=>{n.d(e,{Q4:()=>O,TA:()=>k,Ig:()=>M});var i=n(20755),r=n(43226),o=n(11892),s=n(65026),a=n(55181),l=n(73740),c=n(63098),u=n(41589),h=n(11978),d=n(25690),p=n(78748),f=n(45047),g=n(30453),m=n(73843),v=n(92425),y=n(18004),b=n(76733),_=n(46877),w=n(8355);function x(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=i.oxw();i.Q6J("icon",t.icons.check)("tuiScrollIntoView",!0)}}function C(t,e){1&t&&i._UZ(0,"span",4)}let k=(()=>{var t;class e{constructor(){this.host=(0,i.f3M)(c.N1),this.el=(0,a.AG)(),this.changeDetection$=new p.x,this.abstractControl=(0,i.f3M)(h.M$,{optional:!0}),this.control=(0,i.f3M)(r.a5),this.option=(0,i.f3M)(c.bH),this.dataList=(0,i.f3M)(c.qi,{optional:!0}),this.icons=(0,i.f3M)(u.Gs),this.context=(0,i.f3M)(d.yf),this.selected$=(0,f.T)(this.changeDetection$,this.control.valueChanges||g.E,(0,s.mL)(this.el,"animationstart")).pipe((0,m.O)(null),(0,v.U)((()=>this.selected)),(0,y.x)())}ngOnInit(){Promise.resolve().then((()=>{(0,l.Pc)(this.option.value)&&!this.option.disabled&&this.host.checkOption?.(this.option.value)}))}ngDoCheck(){this.changeDetection$.next()}get value(){return this.abstractControl?.value??this.control.value}get matcher(){return this.host.identityMatcher||o.bg}get selected(){return(0,l.Pc)(this.option.value)&&(0,l.Pc)(this.value)&&this.matcher(this.value,this.option.value)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select-option"]],decls:5,vars:5,consts:[[3,"ngTemplateOutlet"],["automation-id","tui-select-option__checkmark","class","t-checkmark",3,"icon","tuiScrollIntoView",4,"ngIf","ngIfElse"],["dummy",""],["automation-id","tui-select-option__checkmark",1,"t-checkmark",3,"icon","tuiScrollIntoView"],[1,"t-dummy"]],template:function(t,e){if(1&t&&(i.GkF(0,0),i.YNc(1,x,1,2,"tui-icon",1),i.ALo(2,"async"),i.YNc(3,C,1,0,"ng-template",null,2,i.W1O)),2&t){const t=i.MAs(4);i.Q6J("ngTemplateOutlet",e.context.$implicit),i.xp6(1),i.Q6J("ngIf",i.lcZ(2,3,e.selected$))("ngIfElse",t)}},dependencies:[b.O5,b.tP,_._,w.R,b.Ov],styles:['@keyframes _ngcontent-%COMP%_retrigger{0%{left:1px}to{left:2px}}[_nghost-%COMP%]{display:flex;flex:1;align-items:center;max-width:100%;animation:_ngcontent-%COMP%_retrigger 1s}.t-checkmark[_ngcontent-%COMP%]{margin-inline-start:auto;width:1.75rem;border:.25rem solid transparent;border-inline-start-width:.5rem}tui-data-list[data-size="s"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="s"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.375rem}tui-data-list[data-size="m"][_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%], tui-data-list[data-size="m"] [_nghost-%COMP%] .t-checkmark[_ngcontent-%COMP%]{margin-inline-end:-.125rem}.t-dummy[_ngcontent-%COMP%]{width:1.75rem}'],changeDetection:0}),e})();const O=new d.Al(k);let M=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[b.ez]}),e})()},83368:(t,e,n)=>{n.d(e,{Jy:()=>l}),n(73740),n(63098),n(11978),n(19975),n(67917),n(61819),n(26505),n(61122);var i=n(76733),r=n(90621),o=n(76459),s=n(55466),a=n(20755);n(71938),n(94187);let l=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=a.oAB({type:t}),t.ɵinj=a.cJS({imports:[i.ez,r.KW,o.Ig,s.WU,s.cn]}),e})();n(46914)},26505:(t,e,n)=>{n.d(e,{u:()=>F});var i=n(20755),r=n(86253),o=n(52674),s=n(63098),a=n(71938),l=n(11637),c=n(11978),u=n(83239),h=n(90621),d=n(76459),p=n(55466),f=n(83140),g=n(82673),m=n(46914),v=n(76733),y=n(25690),b=n(9997),_=n(38001),w=n(5362),x=n(20857),C=n(60732),k=n(10938),O=n(1);function M(t,e){1&t&&i.Hsn(0,2,["*ngIf","isMobile"])}function S(t,e){if(1&t&&i.YNc(0,M,1,0,"ng-content",6),2&t){const t=i.oxw();i.Q6J("ngIf",t.isMobile)}}function A(t,e){1&t&&i.GkF(0,7)}function P(t,e){if(1&t&&i._UZ(0,"div",10),2&t){const t=e.polymorpheusOutlet;i.Q6J("textContent",t)}}const E=function(t,e){return{$implicit:t,active:e}};function T(t,e){if(1&t&&(i.TgZ(0,"div",8),i.YNc(1,P,1,1,"div",9),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.computedContent)("polymorpheusOutletContext",i.WLB(2,E,t.value,t.computedFocused))}}function I(t,e){1&t&&i.GkF(0)}function D(t,e){if(1&t&&(i.TgZ(0,"div",11),i.YNc(1,I,1,0,"ng-container",12),i.qZA()),2&t){const t=i.oxw();i.xp6(1),i.Q6J("polymorpheusOutlet",t.arrow)}}const z=["*",[["input"]],[["select"]]],N=["*","input","select"];let F=(()=>{var t;class e extends c.F9{constructor(){super(...arguments),this.itemsHandlers=(0,i.f3M)(l.Ys),this.textfieldCleaner=(0,i.f3M)(p.Ym),this.textfieldSize=(0,i.f3M)(p.kI),this.arrowMode=(0,i.f3M)(u.Ii),this.options=(0,i.f3M)(m.l),this.isMobile=(0,i.f3M)(r.fL),this.open=!1,this.stringify=this.itemsHandlers.stringify,this.identityMatcher=this.itemsHandlers.identityMatcher,this.valueContent=this.options.valueContent}get size(){return this.textfieldSize.size}get nativeFocusableElement(){return this.textfield?.nativeFocusableElement??null}get focused(){return(0,o.V8)(this.nativeFocusableElement)||!!this.dropdown?.focused}get computedValue(){return null===this.value?"":this.stringify(this.value)||" "}onValueChange(t){this.value=t||null}handleOption(t){this.focusInput(),this.value=t,this.open=!1}get arrow(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled}get nativeDropdownMode(){return!!this.nativeSelect&&this.isMobile}get computedContent(){return this.valueContent||this.computedValue}onActiveZone(t){this.updateFocused(t)}onKeyDownDelete(){this.textfieldCleaner.cleaner&&(this.value=null)}focusInput(t=!1){this.nativeFocusableElement&&this.nativeFocusableElement.focus({preventScroll:t})}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-select"]],contentQueries:function(t,e,n){if(1&t&&(i.Suo(n,c.sC,7),i.Suo(n,s.gX,5,i.Rgc)),2&t){let t;i.iGM(t=i.CRH())&&(e.nativeSelect=t.first),i.iGM(t=i.CRH())&&(e.datalist=t.first)}},viewQuery:function(t,e){if(1&t&&(i.Gf(h.yc,5),i.Gf(a.Bb,5)),2&t){let t;i.iGM(t=i.CRH())&&(e.textfield=t.first),i.iGM(t=i.CRH())&&(e.dropdown=t.first)}},hostVars:1,hostBindings:function(t,e){2&t&&i.uIk("data-size",e.size)},inputs:{stringify:"stringify",identityMatcher:"identityMatcher",valueContent:"valueContent"},features:[i._Bn([(0,f.FT)(t),(0,c.wB)(t),(0,s.oE)(t),(0,s.P7)(d.Q4)],[g.yn]),i.qOj],ngContentSelectors:N,decls:10,vars:16,consts:[["tuiDropdownOpenMonitor","",1,"t-hosted",3,"tuiDropdown","tuiDropdownEnabled","tuiDropdownOpen","tuiDropdownOpenChange","tuiActiveZoneChange"],["automation-id","tui-select__textfield",1,"t-textfield",3,"disabled","editable","focusable","invalid","nativeId","pseudoActive","pseudoFocus","pseudoHover","readOnly","tuiTextfieldIcon","value","keydown.backspace.prevent","keydown.delete.prevent","valueChange"],["select",""],["ngProjectAs","select",5,["select"],4,"ngTemplateOutlet"],["automation-id","tui-select__value","ngProjectAs","tuiContent","class","t-value",5,["tuiContent"],4,"ngIf"],["icon",""],[4,"ngIf"],["ngProjectAs","select",5,["select"]],["automation-id","tui-select__value","ngProjectAs","tuiContent",5,["tuiContent"],1,"t-value"],["class","t-primitive-value",3,"textContent",4,"polymorpheusOutlet","polymorpheusOutletContext"],[1,"t-primitive-value",3,"textContent"],["appearance","icon","tuiWrapper","",1,"t-icon"],[4,"polymorpheusOutlet"]],template:function(t,e){if(1&t&&(i.F$t(z),i.TgZ(0,"div",0),i.NdJ("tuiDropdownOpenChange",(function(t){return e.open=t}))("tuiActiveZoneChange",(function(t){return e.onActiveZone(t)})),i.TgZ(1,"tui-primitive-textfield",1),i.NdJ("keydown.backspace.prevent",(function(){return e.onKeyDownDelete()}))("keydown.delete.prevent",(function(){return e.onKeyDownDelete()}))("valueChange",(function(t){return e.onValueChange(t)})),i.Hsn(2),i.Hsn(3,1,["ngProjectAs","input",5,["input"]]),i.YNc(4,S,1,1,"ng-template",null,2,i.W1O),i.YNc(6,A,1,0,"ng-container",3),i.YNc(7,T,2,5,"div",4),i.qZA(),i.YNc(8,D,2,1,"ng-template",null,5,i.W1O),i.qZA()),2&t){const t=i.MAs(5),n=i.MAs(9);i.Q6J("tuiDropdown",e.datalist||"")("tuiDropdownEnabled",e.interactive&&!e.nativeDropdownMode)("tuiDropdownOpen",e.open),i.xp6(1),i.Q6J("disabled",e.computedDisabled)("editable",!1)("focusable",e.computedFocusable)("invalid",e.computedInvalid)("nativeId",e.nativeId)("pseudoActive",e.pseudoActive)("pseudoFocus",e.computedFocused)("pseudoHover",e.pseudoHover)("readOnly",e.readOnly)("tuiTextfieldIcon",e.arrow?n:"")("value",e.computedValue),i.xp6(5),i.Q6J("ngTemplateOutlet",t),i.xp6(1),i.Q6J("ngIf",null!==e.value)}},dependencies:[v.O5,v.tP,y.s$,b.y,_.B,w.o,x.A,C.C,k.t,O.B],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}),e})()},61122:(t,e,n)=>{n.d(e,{O:()=>s});var i=n(11978),r=n(83140),o=n(20755);let s=(()=>{var t;class e extends i.D1{get readOnly(){return!0}get value(){return this.host.computedValue}get stringify(){return this.host.stringify}onValueChange(t){this.host.onValueChange(t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["tui-select"]],features:[o._Bn([(0,r.cp)(t)]),o.qOj]}),e})()},46914:(t,e,n)=>{n.d(e,{l:()=>i});const i=(0,n(73740).JN)({valueContent:""})},61573:(t,e,n)=>{n.d(e,{R:()=>o}),n(70380);var i=n(76733),r=n(20755);n(75430);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=r.oAB({type:t}),t.ɵinj=r.cJS({imports:[i.ez]}),e})()},70380:(t,e,n)=>{n.d(e,{w:()=>p});var i=n(20755),r=n(86253),o=n(75430),s=n(8355),a=n(25690),l=n(93714),c=n(25932),u=n(7183),h=n(76733);function d(t,e){if(1&t&&i._UZ(0,"tui-icon",3),2&t){const t=e.polymorpheusOutlet;i.Q6J("icon",t)}}let p=(()=>{var t;class e extends o.bZ{constructor(){super(...arguments),this.isMobile=(0,i.f3M)(r.fL),this.describeId=""}get computedAppearance(){return this.appearance||""}stopOnMobile(t){this.isMobile&&(t.preventDefault(),t.stopPropagation()),this.driver$?.toggle()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵcmp=i.Xpm({type:t,selectors:[["tui-tooltip"]],viewQuery:function(t,e){if(1&t&&i.Gf(o.Hr,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",context:"context"},features:[i.qOj],decls:4,vars:11,consts:[["automation-id","tui-tooltip__icon","tuiAppearance","icon",1,"t-tooltip-icon",3,"tuiAppearanceState","tuiHint","tuiHintAppearance","tuiHintContext","tuiHintDescribe","tuiHintDirection","tuiHintHideDelay","tuiHintShowDelay"],["driver","tuiHintHover"],["class","t-icon",3,"icon",4,"polymorpheusOutlet"],[1,"t-icon",3,"icon"]],template:function(t,e){if(1&t&&(i.TgZ(0,"span",0,1),i.ALo(2,"async"),i.YNc(3,d,1,1,"tui-icon",2),i.qZA()),2&t){const t=i.MAs(1);i.Q6J("tuiAppearanceState",i.lcZ(2,9,t)?"hover":null)("tuiHint",e.content)("tuiHintAppearance",e.computedAppearance)("tuiHintContext",e.context)("tuiHintDescribe",e.describeId)("tuiHintDirection",e.direction)("tuiHintHideDelay",e.hideDelay)("tuiHintShowDelay",e.showDelay),i.xp6(3),i.Q6J("polymorpheusOutlet",e.icon)}},dependencies:[s.R,a.s$,l.N,c.D,u.e,h.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;pointer-events:auto;cursor:pointer;color:var(--tui-text-primary)}[data-appearance=error][_nghost-%COMP%]{color:var(--tui-status-negative)}.t-tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:100%;height:100%}.t-icon[_ngcontent-%COMP%]{border:.25rem solid transparent}"],changeDetection:0}),e})()},55466:(t,e,n)=>{n.d(e,{Y0:()=>r.Y0,Ym:()=>r.Ym,z1:()=>r.z1,kI:()=>r.kI,Cs:()=>r.Cs,E2:()=>a.E,Cd:()=>i.C,cn:()=>r.cn,SC:()=>s,WU:()=>l.W});var i=n(60732),r=n(71641);n(94267),n(55181),n(73740),n(83140),n(77430);var o=n(20755);let s=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=o.oAB({type:t}),t.ɵinj=o.cJS({}),e})();var a=n(33490),l=n(44806)},60732:(t,e,n)=>{n.d(e,{C:()=>c});var i=n(20755),r=n(62022),o=n(55181),s=n(52674),a=n(71938),l=n(55333);let c=(()=>{var t;class e{constructor(){this.el=(0,o.AG)(),this.host=(0,i.f3M)(a.Bb,{self:!0}),this.external=(0,i.f3M)(a.Bb,{skipSelf:!0,optional:!0}),this.external?.driver.pipe((0,l.h)((()=>this.host.dropdown===this.external?.dropdown&&!this.host.focused)),(0,r.sL)()).subscribe((t=>{t&&(0,s.BW)({initial:this.el,root:this.el})?.focus(),this.host.toggle(t)}))}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiDropdownOpenMonitor",""]],standalone:!0}),e})()},71641:(t,e,n)=>{n.d(e,{Y0:()=>C,Ym:()=>o.Y,z1:()=>i,kI:()=>w.k,Cs:()=>x,cn:()=>a});const i=(0,n(73740).JN)({iconCleaner:"@tui.x",hintOnDisabled:!1});var r=n(75086),o=n(70388),s=n(20755);let a=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=s.oAB({type:t}),t.ɵinj=s.cJS({}),e})();var l=n(62022),c=n(65026),u=n(83140),h=n(45047),d=n(14553);class p{constructor(t,e,n,i,r,o,s,a,l,c,u,h,d){this.change$=t,this.options=e,this.legacyAppearance=n,this.appearanceDirective=i,this.cleanerDirective=r,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}}var f=n(54447),g=n(23127),m=n(20857),v=n(28021),y=n(97017),b=n(36344),_=n(2365),w=n(62515);const x=new s.OlP("[TUI_TEXTFIELD_WATCHED_CONTROLLER]"),C=[{provide:x,deps:[s.sBO,i,u.jt,r.x,o.Y,f.U,m.Z,v.G,y.r,w.k,_.x,b.f,g.s],useFactory:(t,e,n,...i)=>{const r=(0,h.T)(...i.map((({change$:t})=>t||d.C))).pipe((0,c.NA)(t),(0,l.sL)());return r.subscribe(),new p(r,e,n,...i)}}]},75086:(t,e,n)=>{n.d(e,{q:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.appearance=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldAppearance",""]],inputs:{appearance:["tuiTextfieldAppearance","appearance"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},70388:(t,e,n)=>{n.d(e,{Y:()=>s,b:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.cleaner=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCleaner",""]],inputs:{cleaner:["tuiTextfieldCleaner","cleaner"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},54447:(t,e,n)=>{n.d(e,{B:()=>a,U:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldCustomContent",""]],inputs:{customContent:["tuiTextfieldCustomContent","customContent"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},23127:(t,e,n)=>{n.d(e,{k:()=>a,s:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.filler=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldFiller",""]],inputs:{filler:["tuiTextfieldFiller","filler"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},28021:(t,e,n)=>{n.d(e,{G:()=>s,a:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIconLeft",""]],inputs:{iconLeft:["tuiTextfieldIconLeft","iconLeft"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},20857:(t,e,n)=>{n.d(e,{A:()=>a,Z:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldIcon",""]],inputs:{icon:["tuiTextfieldIcon","icon"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},97017:(t,e,n)=>{n.d(e,{r:()=>s,x:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.labelOutside=!1}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldLabelOutside",""]],inputs:{labelOutside:["tuiTextfieldLabelOutside","labelOutside"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},36344:(t,e,n)=>{n.d(e,{T:()=>a,f:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.postfix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPostfix",""]],inputs:{postfix:["tuiTextfieldPostfix","postfix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},2365:(t,e,n)=>{n.d(e,{A:()=>a,x:()=>s});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.prefix=""}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldPrefix",""]],inputs:{prefix:["tuiTextfieldPrefix","prefix"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},62515:(t,e,n)=>{n.d(e,{k:()=>s,s:()=>a});var i=n(94267),r=n(73740),o=n(20755);const s=(0,r.N1)((()=>new a));let a=(()=>{var t;class e extends i.QJ{constructor(){super(...arguments),this.size="l"}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵdir=o.lG2({type:t,selectors:[["","tuiTextfieldSize",""]],inputs:{size:["tuiTextfieldSize","size"]},features:[o._Bn([(0,r.Q2)(s,t)]),o.qOj]}),e})()},77430:(t,e,n)=>{n.d(e,{n:()=>o});var i=n(33490),r=n(20755);let o=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","tuiValueAccessor",""]],features:[r._Bn([i.E])]}),e})()},33490:(t,e,n)=>{n.d(e,{E:()=>a});var i=n(20755),r=n(43226),o=n(83140),s=n(69401);const a={provide:o.sE,deps:[[new i.FiY,new i.PiD,r.JU]],useFactory:s.y}},5362:(t,e,n)=>{n.d(e,{o:()=>r});var i=n(20755);let r=(()=>{var t;class e{constructor(){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=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","tuiWrapper",""]],hostVars:10,hostBindings:function(t,e){2&t&&(i.uIk("data-appearance",e.appearance)("data-state",e.interactiveState),i.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"}}),e})()},44806:(t,e,n)=>{n.d(e,{W:()=>r});var i=n(20755);let r=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})()},83140:(t,e,n)=>{n.d(e,{iN:()=>r,KZ:()=>s,tS:()=>d,It:()=>p,hm:()=>v,jt:()=>y,S0:()=>b,sE:()=>w,FT:()=>a,cp:()=>_});var i=n(73740);const r=(0,i.JN)({AD:"+376###-###",AE:"+971-##-###-####",AF:"+93##-###-####",AG:"+1(268) ###-####",AI:"+1(264) ###-####",AL:"+355(###) ###-###",AM:"+374##-###-###",AO:"+244(###) ###-###",AR:"+54(###) ####-####",AT:"+43(###) ###-####",AU:"+61#-####-####",AW:"+297###-####",AZ:"+994##-###-##-##",BA:"+387 ###-####-##",BB:"+1(246) ###-####",BD:"+880##-###-###",BE:"+32(###) ###-###",BF:"+226##-##-####",BG:"+359(###) ###-###",BH:"+973####-####",BI:"+257##-##-####",BJ:"+229##-##-####",BL:"+590 ## ## ## ## ##",BM:"+1(441) ###-####",BN:"+673###-####",BO:"+591#-###-####",BQ:"+599-###-####",BR:"+55(##) ####-####",BS:"+1(242) ###-####",BT:"+975#-###-###",BW:"+267##-###-###",BY:"+375(##) ###-##-##",BZ:"+501###-####",CA:"+1(###) ###-####",CD:"+243(###) ###-###",CF:"+236-##-##-####",CG:"+242##-###-####",CH:"+41##-###-####",CI:"+225##-##-###-###",CL:"+56#-####-####",CM:"+237#####-####",CN:"+86(###) ####-####",CO:"+57(###) ###-####",CR:"+506####-####",CU:"+53#-###-####",CV:"+238(###) ##-##",CW:"+5999-###-####",CY:"+357##-###-###",CZ:"+420(###) ###-###",DE:"+49(###) ###-###-##",DJ:"+253##-##-##-##",DK:"+45##-##-##-##",DM:"+1(767) ###-####",DO:"+1(###) ###-####",DZ:"+213##-###-####",EC:"+593##-###-####",EE:"+372####-####",EG:"+20(###) ###-####",ER:"+291#-###-###",ES:"+34(###) ###-###",ET:"+251##-###-####",FI:"+358(###) ###-##-##",FJ:"+679##-#####",FK:"+500#####",FM:"+691###-####",FR:"+33 ## ## ## ## ##",GA:"+241##-##-##-##",GB:"+44##-####-####",GD:"+1(473) ###-####",GE:"+995(###) ###-###",GF:"+594 ## ## ## ## ##",GH:"+233(###) ###-###",GI:"+350###-#####",GL:"+299##-##-##",GM:"+220(###) ##-##",GN:"+224##-###-###",GP:"+590 ## ## ## ## ##",GQ:"+240##-###-####",GR:"+30(###) ###-####",GT:"+502#-###-####",GW:"+245#-######",GY:"+592###-####",HK:"+852####-####",HN:"+504####-####",HR:"+385##-###-####",HT:"+509##-##-####",HU:"+36(###) ###-###",ID:"+62(###) ###-##-###",IE:"+353(###) ###-###",IL:"+972##-###-####",IN:"+91(####) ###-###",IQ:"+964(###) ###-####",IR:"+98(###) ###-####",IS:"+354###-####",IT:"+39(###) ####-###",JM:"+1(876) ###-####",JO:"+962#-####-####",JP:"+81-##-####-####",KE:"+254###-######",KG:"+996(###) ###-###",KH:"+855##-###-###",KM:"+269##-#####",KN:"+1(869) ###-####",KP:"+850####-#############",KR:"+82##-###-####",KW:"+965####-####",KY:"+1(345) ###-####",KZ:"+7(###) ###-##-##",LA:"+856##-##-###-###",LB:"+961##-###-###",LC:"+1(758) ###-####",LI:"+423(###) ###-####",LK:"+94##-###-####",LR:"+231##-###-###",LS:"+266#-###-####",LT:"+370(###) ##-###",LU:"+352(###) ###-###",LV:"+371##-###-###",LY:"+218##-###-####",MA:"+212##-####-###",MC:"+377###-###-###",MD:"+373####-####",ME:"+382##-###-###",MF:"+590 ## ## ## ## ##",MG:"+261##-##-#####",MK:"+389##-###-###",ML:"+223##-##-####",MM:"+95##-###-###",MN:"+976##-##-####",MO:"+853####-####",MQ:"+596 ## ## ## ## ##",MR:"+222##-##-####",MS:"+1(664) ###-####",MT:"+356####-####",MU:"+230####-####",MV:"+960###-####",MW:"+265#-####-####",MX:"+52(###) ###-####",MY:"+60(###) ###-###",MZ:"+258##-###-###",NA:"+264##-###-####",NC:"+687 ### ###",NE:"+227##-##-####",NG:"+234(###) ###-####",NI:"+505####-####",NL:"+31##-###-####",NO:"+47(###) ##-###",NP:"+977##-###-###",NZ:"+64(###) ###-####",OM:"+968##-###-###",PA:"+507###-####",PE:"+51(###) ###-###",PF:"+689 ## ## ## ##",PG:"+675(###) ##-###",PH:"+63(###) ###-####",PK:"+92(###) ###-####",PL:"+48(###) ###-###",PT:"+351##-###-####",PW:"+680###-####",PY:"+595(###) ###-###",QA:"+974####-####",RE:"+262 ## ## ## ## ##",RO:"+40##-###-####",RS:"+381##-###-####",RU:"+7### ###-##-##",RW:"+250(###) ###-###",SA:"+966#-####-####",SB:"+677###-####",SC:"+248#-###-###",SD:"+249##-###-####",SE:"+46##-###-####",SG:"+65####-####",SH:"+290####",SI:"+386##-###-###",SK:"+421(###) ###-###",SL:"+232##-######",SM:"+378####-######",SN:"+221##-###-####",SO:"+252##-###-###",SR:"+597###-####",ST:"+239##-#####",SV:"+503##-##-####",SX:"+1(721) ###-####",SY:"+963##-####-###",SZ:"+268##-##-####",TC:"+1(649) ###-####",TD:"+235##-##-##-##",TG:"+228##-###-###",TH:"+66##-###-####",TJ:"+992##-###-####",TL:"+670###-#####",TM:"+993#-###-####",TN:"+216##-###-###",TO:"+676#####",TR:"+90(###) ###-####",TT:"+1(868) ###-####",TW:"+886#-####-####",TZ:"+255##-###-####",UA:"+380(##) ###-##-##",UG:"+256(###) ###-###",US:"+1(###) ###-####",UY:"+598#-###-##-##",UZ:"+998##-###-####",VC:"+1(784) ###-####",VE:"+58(###) ###-####",VG:"+1(284)###-####",VN:"+84(###) ####-###",VU:"+678##-#####",WS:"+685##-####",XK:"+383##-###-###",YE:"+967###-###-###",YT:"+262 ## ## ## ## ##",ZA:"+27##-###-####",ZM:"+260##-###-####",ZW:"+263#-######",VA:"+39 #### ###-####",WF:"+681 ## ##-##",VI:"+1(340) ###-####",JE:"+44(####) ######",AC:"+247###-####",TV:"+686###-####",TK:"+690###-####",TA:"+290###-####",SS:"+211### ###-###",SJ:"+47 ## ##-##-##",PS:"+970 #### ###-###",PR:"+1(###) ###-####",PM:"+508 ### ##-##-##",NU:"+683 ###-####",NR:"+674 ###-####",NF:"+672##-####",MP:"+1(670) ###-####",MH:"+692 ###-####",KI:"+686 ####-####",IO:"+246 ### ####",IM:"+44(####) ######",GU:"+1(###) ###-###",GG:"+44(###) ###-####",FO:"+298 ######",EH:"+212 #### #####",CX:"+61 # ####-####",CK:"+682 ## ###",CC:"+61 # ####-####",AX:"+358 ## ###-####",AS:"+1(###) ###-####"});var o=n(20755);const s=new o.OlP("[TUI_FOCUSABLE_ITEM_ACCESSOR]");function a(t){return(0,i.Q2)(s,t)}var l=n(76733),c=n(3489),u=n(30453),h=n(20530);const d=new o.OlP("[TUI_FONTS_READY]",{factory:()=>(0,c.D)((0,o.f3M)(l.K0).fonts?.ready||u.E).pipe((0,h.d)({bufferSize:1,refCount:!1}))}),p=(0,i.JN)({});var f=n(42772),g=n(82673);(0,i.N1)((()=>(0,g.lx)((0,o.f3M)(f.s5)))),(0,i.N1)((()=>!!(0,o.f3M)(f.m9).chrome)),(0,i.N1)((()=>void 0!==(0,o.f3M)(f.m9)?.mozCancelFullScreen)),(0,i.N1)((()=>(0,o.f3M)(f.m9).location.host.endsWith("stackblitz.io")));var m=n(15625);n(92425),n(71209),new o.OlP("[TUI_MONTH_FORMATTER]"),m.$;const v=new o.OlP("[TUI_SANITIZER]"),y=(0,i.JN)("textfield"),b=new o.OlP("[TUI_TEXTFIELD_HOST]");function _(t){return(0,i.Q2)(b,t)}(0,i.N1)((()=>(0,o.f3M)(f.m9).matchMedia("(any-pointer: coarse)").matches));const w=new o.OlP("[TUI_VALUE_ACCESSOR]")},82673:(t,e,n)=>{n.d(e,{yn:()=>C,uJ:()=>c,ux:()=>i,_X:()=>a,fn:()=>l,ht:()=>h,lx:()=>f,jL:()=>g,zm:()=>v,u7:()=>y,NK:()=>x});const i={DMY:"dd/mm/yyyy",MDY:"mm/dd/yyyy",YMD:"yyyy/mm/dd"};var r=n(11892);const o=1.5,s=2.5;function a(t,e=!1,n=!1,i=!1,r="m"){const a="s"===r?0:.25;let l=0;return t&&(l+=o+a),e&&(l+=o+a),n&&(l+=o+a),i&&(l+=s+a),l}function l(t,e){return t[e].replaceAll(/[()\- ]/g,"").length}const c=`?v=${r.Ml}`,u=t=>t.includes(".svg#")?t:`#${t}`;function h(t){const e=t.endsWith("/")?t:`${t}/`;return t=>t.startsWith("tuiIcon")?`${e}${t}.svg${c}#${t}`:u(t)}var d=n(21247);const p=/^((?!chrome|android).)*safari/i;function f(t){return(0,d.i)(t)||p.test(t.userAgent.toLowerCase())}function g(t){const e=t.trim();return e.startsWith("<")&&e.endsWith(">")}const m=/\([#]+\)|[#\- ]/g;function v(t,e){return t[e].replaceAll(m,"")}function y(t){const e=Number(t.slice(1,4));return e<600||e>799}const b='width="',_='height="',w="")));if(!i?.includes(b)||!i.includes(_))return`${n.replace(w,``;const r=i.indexOf(b),o=i.indexOf(_),s=r+b.length,a=o+_.length,l=i.slice(s,i.indexOf('"',s)),c=i.slice(a,i.indexOf('"',a));if(!c||!l||l.includes("%")||c.includes("%")||l.includes("em")||c.includes("em"))return n.replace(w,`${n}`}const C=(0,n(71938).fx)({limitWidth:"fixed",align:"right"})},12405:(t,e,n)=>{n.d(e,{EY:()=>p,IO:()=>d,LC:()=>r,X$:()=>s,ZE:()=>g,ZN:()=>f,_j:()=>i,eR:()=>u,jt:()=>a,k1:()=>m,l3:()=>o,oB:()=>c,pV:()=>h,vP:()=>l});class i{}class r{}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}}class f{constructor(t=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach((t=>t())),this._onDoneFns=[])}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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(){queueMicrotask((()=>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,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}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 g{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,i=0;const r=this.players.length;0==r?queueMicrotask((()=>this._onFinish())):this.players.forEach((t=>{t.onDone((()=>{++e==r&&this._onFinish()})),t.onDestroy((()=>{++n==r&&this._onDestroy()})),t.onStart((()=>{++i==r&&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 m="!"},80396:(t,e,n)=>{n.d(e,{Ar:()=>mt,DT:()=>Wt,NH:()=>ft,Th:()=>Gt,Vi:()=>_,nV:()=>b});var i=n(12405),r=n(20755);function o(t){return new r.vHH(3e3,!1)}function s(t){switch(t.length){case 0:return new i.ZN;case 1:return t[0];default:return new i.ZE(t)}}function a(t,e,n=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(e.forEach((e=>{const r=e.get("offset"),u=r==l,h=u&&c||new Map;e.forEach(((e,r)=>{let a=r,l=e;if("offset"!==r)switch(a=t.normalizePropertyName(a,s),l){case i.k1:l=n.get(r);break;case i.l3:l=o.get(r);break;default:l=t.normalizeStyleValue(r,a,l,s)}h.set(a,l)})),u||a.push(h),c=h,l=r})),s.length)throw new r.vHH(3502,!1);return a}function l(t,e,n,i){switch(e){case"start":t.onStart((()=>i(n&&c(n,"start",t))));break;case"done":t.onDone((()=>i(n&&c(n,"done",t))));break;case"destroy":t.onDestroy((()=>i(n&&c(n,"destroy",t))))}}function c(t,e,n){const i=n.totalTime,r=!!n.disabled,o=u(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,r),s=t._data;return null!=s&&(o._data=s),o}function u(t,e,n,i,r="",o=0,s){return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function h(t,e,n){let i=t.get(e);return i||t.set(e,i=n),i}function d(t){const e=t.indexOf(":");return[t.substring(1,e),t.slice(e+1)]}const p=(()=>"undefined"==typeof document?null:document.documentElement)();function f(t){const e=t.parentNode||t.host||null;return e===p?null:e}let g=null,m=!1;function v(t,e){for(;e;){if(e===t)return!0;e=f(e)}return!1}function y(t,e,n){if(n)return Array.from(t.querySelectorAll(e));const i=t.querySelector(e);return i?[i]:[]}let b=(()=>{var t;class e{validateStyleProperty(t){return function(t){g||(g=("undefined"!=typeof document?document.body:null)||{},m=!!g.style&&"WebkitAppearance"in g.style);let e=!0;return g.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&(e=t in g.style,!e&&m)&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in g.style),e}(t)}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return n||""}animate(t,e,n,r,o,s=[],a){return new i.ZN(n,r)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=r.Yz7({token:t,factory:t.ɵfac}),e})(),_=(()=>{class t{}return t.NOOP=new b,t})();const w=1e3,x="ng-enter",C="ng-leave",k="ng-trigger",O=".ng-trigger",M="ng-animating",S=".ng-animating";function A(t){if("number"==typeof t)return t;const e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:P(parseFloat(e[1]),e[2])}function P(t,e){return"s"===e?t*w:t}function E(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){const i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;let s,a=0,l="";if("string"==typeof t){const n=t.match(i);if(null===n)return e.push(o()),{duration:0,delay:0,easing:""};s=P(parseFloat(n[1]),n[2]);const r=n[3];null!=r&&(a=P(parseFloat(r),n[4]));const c=n[5];c&&(l=c)}else s=t;if(!n){let t=!1,n=e.length;s<0&&(e.push(new r.vHH(3100,!1)),t=!0),a<0&&(e.push(new r.vHH(3101,!1)),t=!0),t&&e.splice(n,0,o())}return{duration:s,delay:a,easing:l}}(t,e,n)}function T(t,e={}){return Object.keys(t).forEach((n=>{e[n]=t[n]})),e}function I(t){const e=new Map;return Object.keys(t).forEach((n=>{const i=t[n];e.set(n,i)})),e}function D(t,e=new Map,n){if(n)for(let[t,i]of n)e.set(t,i);for(let[n,i]of t)e.set(n,i);return e}function z(t,e,n){e.forEach(((e,i)=>{const r=V(i);n&&!n.has(i)&&n.set(i,t.style[r]),t.style[r]=e}))}function N(t,e){e.forEach(((e,n)=>{const i=V(n);t.style[i]=""}))}function F(t){return Array.isArray(t)?1==t.length?t[0]:(0,i.vP)(t):t}const L=new RegExp("{{\\s*(.+?)\\s*}}","g");function R(t){let e=[];if("string"==typeof t){let n;for(;n=L.exec(t);)e.push(n[1]);L.lastIndex=0}return e}function B(t,e,n){const i=t.toString(),o=i.replace(L,((t,i)=>{let o=e[i];return null==o&&(n.push(new r.vHH(3003,!1)),o=""),o.toString()}));return o==i?t:o}function j(t){const e=[];let n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}const H=/-+([a-z0-9])/g;function V(t){return t.replace(H,((...t)=>t[1].toUpperCase()))}function $(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw e.type,new r.vHH(3004,!1)}}function q(t,e){return window.getComputedStyle(t)[e]}const Z="*";function U(t,e){const n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach((t=>function(t,e,n){if(":"==t[0]){const i=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 i)return void e.push(i);t=i}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push(new r.vHH(3015,!1)),e;const o=i[1],s=i[2],a=i[3];e.push(J(o,a));const l=o==Z&&a==Z;"<"!=s[0]||l||e.push(J(a,o))}(t,n,e))):n.push(t),n}const G=new Set(["true","1"]),Q=new Set(["false","0"]);function J(t,e){const n=G.has(t)||Q.has(t),i=G.has(e)||Q.has(e);return(r,o)=>{let s=t==Z||t==r,a=e==Z||e==o;return!s&&n&&"boolean"==typeof r&&(s=r?G.has(t):Q.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?G.has(e):Q.has(e)),s&&a}}const Y=":self",W=new RegExp(`s*${Y}s*,?`,"g");function K(t,e,n,i){return new X(t).build(e,n,i)}class X{constructor(t){this._driver=t}build(t,e,n){const i=new tt(e);return this._resetContextStyleTimingState(i),$(this,F(t),i)}_resetContextStyleTimingState(t){t.currentQuerySelector="",t.collectedStyles=new Map,t.collectedStyles.set("",new Map),t.currentTime=0}visitTrigger(t,e){let n=e.queryCount=0,i=e.depCount=0;const o=[],s=[];return"@"==t.name.charAt(0)&&e.errors.push(new r.vHH(3006,!1)),t.definitions.forEach((t=>{if(this._resetContextStyleTimingState(e),0==t.type){const n=t,i=n.name;i.toString().split(/\s*,\s*/).forEach((t=>{n.name=t,o.push(this.visitState(n,e))})),n.name=i}else if(1==t.type){const r=this.visitTransition(t,e);n+=r.queryCount,i+=r.depCount,s.push(r)}else e.errors.push(new r.vHH(3007,!1))})),{type:7,name:t.name,states:o,transitions:s,queryCount:n,depCount:i,options:null}}visitState(t,e){const n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){const o=new Set,s=i||{};n.styles.forEach((t=>{t instanceof Map&&t.forEach((t=>{R(t).forEach((t=>{s.hasOwnProperty(t)||o.add(t)}))}))})),o.size&&(j(o.values()),e.errors.push((t.name,new r.vHH(3008,!1))))}return{type:0,name:t.name,style:n,options:i?{params:i}:null}}visitTransition(t,e){e.queryCount=0,e.depCount=0;const n=$(this,F(t.animation),e);return{type:1,matchers:U(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:et(t.options)}}visitSequence(t,e){return{type:2,steps:t.steps.map((t=>$(this,t,e))),options:et(t.options)}}visitGroup(t,e){const n=e.currentTime;let i=0;const r=t.steps.map((t=>{e.currentTime=n;const r=$(this,t,e);return i=Math.max(i,e.currentTime),r}));return e.currentTime=i,{type:3,steps:r,options:et(t.options)}}visitAnimate(t,e){const n=function(t,e){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return nt(E(t,e).duration,0,"");const n=t;if(n.split(/\s+/).some((t=>"{"==t.charAt(0)&&"{"==t.charAt(1)))){const t=nt(0,0,"");return t.dynamic=!0,t.strValue=n,t}const i=E(n,e);return nt(i.duration,i.delay,i.easing)}(t.timings,e.errors);let r;e.currentAnimateTimings=n;let o=t.styles?t.styles:(0,i.oB)({});if(5==o.type)r=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,i.oB)(t)}e.currentTime+=n.duration+n.delay;const a=this.visitStyle(o,e);a.isEmptyStep=s,r=a}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}}visitStyle(t,e){const n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}_makeStyleAst(t,e){const n=[],o=Array.isArray(t.styles)?t.styles:[t.styles];for(let t of o)"string"==typeof t?t===i.l3?n.push(t):e.errors.push(new r.vHH(3002,!1)):n.push(I(t));let s=!1,a=null;return n.forEach((t=>{if(t instanceof Map&&(t.has("easing")&&(a=t.get("easing"),t.delete("easing")),!s))for(let e of t.values())if(e.toString().indexOf("{{")>=0){s=!0;break}})),{type:6,styles:n,easing:a,offset:t.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(t,e){const n=e.currentAnimateTimings;let i=e.currentTime,o=e.currentTime;n&&o>0&&(o-=n.duration+n.delay),t.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,n)=>{const s=e.collectedStyles.get(e.currentQuerySelector),a=s.get(n);let l=!0;a&&(o!=i&&o>=a.startTime&&i<=a.endTime&&(e.errors.push((a.startTime,a.endTime,new r.vHH(3010,!1))),l=!1),o=a.startTime),l&&s.set(n,{startTime:o,endTime:i}),e.options&&function(t,e,n){const i=e.params||{},o=R(t);o.length&&o.forEach((t=>{i.hasOwnProperty(t)||n.push(new r.vHH(3001,!1))}))}(t,e.options,e.errors)}))}))}visitKeyframes(t,e){const n={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(new r.vHH(3011,!1)),n;let i=0;const o=[];let s=!1,a=!1,l=0;const c=t.steps.map((t=>{const n=this._makeStyleAst(t,e);let r=null!=n.offset?n.offset:function(t){if("string"==typeof t)return null;let e=null;if(Array.isArray(t))t.forEach((t=>{if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}}));else if(t instanceof Map&&t.has("offset")){const n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}(n.styles),c=0;return null!=r&&(i++,c=n.offset=r),a=a||c<0||c>1,s=s||c0&&i{const r=h>0?i==d?1:h*i:o[i],s=r*g;e.currentTime=p+f.delay+s,f.duration=s,this._validateStyleAst(t,e),t.offset=r,n.styles.push(t)})),n}visitReference(t,e){return{type:8,animation:$(this,F(t.animation),e),options:et(t.options)}}visitAnimateChild(t,e){return e.depCount++,{type:9,options:et(t.options)}}visitAnimateRef(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:et(t.options)}}visitQuery(t,e){const n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;const[r,o]=function(t){const e=!!t.split(/\s*,\s*/).find((t=>t==Y));return e&&(t=t.replace(W,"")),[t=t.replace(/@\*/g,O).replace(/@\w+/g,(t=>O+"-"+t.slice(1))).replace(/:animating/g,S),e]}(t.selector);e.currentQuerySelector=n.length?n+" "+r:r,h(e.collectedStyles,e.currentQuerySelector,new Map);const s=$(this,F(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:r,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:et(t.options)}}visitStagger(t,e){e.currentQuery||e.errors.push(new r.vHH(3013,!1));const n="full"===t.timings?{duration:0,delay:0,easing:"full"}:E(t.timings,e.errors,!0);return{type:12,animation:$(this,F(t.animation),e),timings:n,options:null}}}class tt{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=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function et(t){var e;return t?(t=T(t)).params&&(t.params=(e=t.params)?T(e):null):t={},t}function nt(t,e,n){return{duration:t,delay:e,easing:n}}function it(t,e,n,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class rt{constructor(){this._map=new Map}get(t){return this._map.get(t)||[]}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 ot=new RegExp(":enter","g"),st=new RegExp(":leave","g");function at(t,e,n,i,r,o=new Map,s=new Map,a,l,c=[]){return(new lt).buildKeyframes(t,e,n,i,r,o,s,a,l,c)}class lt{buildKeyframes(t,e,n,i,r,o,s,a,l,c=[]){l=l||new rt;const u=new ut(t,e,l,i,r,c,[]);u.options=a;const h=a.delay?A(a.delay):0;u.currentTimeline.delayNextStep(h),u.currentTimeline.setStyles([o],null,u.errors,a),$(this,n,u);const d=u.timelines.filter((t=>t.containsAnimation()));if(d.length&&s.size){let t;for(let n=d.length-1;n>=0;n--){const i=d[n];if(i.element===e){t=i;break}}t&&!t.allowOnlyTimelineStyles()&&t.setStyles([s],null,u.errors,a)}return d.length?d.map((t=>t.buildKeyframes())):[it(e,[],[],[],0,h,"",!1)]}visitTrigger(t,e){}visitState(t,e){}visitTransition(t,e){}visitAnimateChild(t,e){const n=e.subInstructions.get(e.element);if(n){const i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t}visitAnimateRef(t,e){const n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([t.options,t.animation.options],e,n),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}_applyAnimationRefDelays(t,e,n){for(const i of t){const t=i?.delay;if(t){const r="number"==typeof t?t:A(B(t,i?.params??{},e.errors));n.delayNextStep(r)}}}_visitSubInstructions(t,e,n){let i=e.currentTimeline.currentTime;const r=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==r&&t.forEach((t=>{const n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)})),i}visitReference(t,e){e.updateOptions(t.options,!0),$(this,t.animation,e),e.previousNode=t}visitSequence(t,e){const n=e.subContextCount;let i=e;const r=t.options;if(r&&(r.params||r.delay)&&(i=e.createSubContext(r),i.transformIntoNewTimeline(),null!=r.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ct);const t=A(r.delay);i.delayNextStep(t)}t.steps.length&&(t.steps.forEach((t=>$(this,t,i))),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),e.previousNode=t}visitGroup(t,e){const n=[];let i=e.currentTimeline.currentTime;const r=t.options&&t.options.delay?A(t.options.delay):0;t.steps.forEach((o=>{const s=e.createSubContext(t.options);r&&s.delayNextStep(r),$(this,o,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)})),n.forEach((t=>e.currentTimeline.mergeTimelineCollectedStyles(t))),e.transformIntoNewTimeline(i),e.previousNode=t}_visitTiming(t,e){if(t.dynamic){const n=t.strValue;return E(e.params?B(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),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());const r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}visitStyle(t,e){const n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();const r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}visitKeyframes(t,e){const n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach((t=>{const n=t.offset||0;o.forwardTime(n*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t}visitQuery(t,e){const n=e.currentTimeline.currentTime,i=t.options||{},r=i.delay?A(i.delay):0;r&&(6===e.previousNode.type||0==n&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=ct);let o=n;const s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=s.length;let a=null;s.forEach(((n,i)=>{e.currentQueryIndex=i;const s=e.createSubContext(t.options,n);r&&s.delayNextStep(r),n===e.element&&(a=s.currentTimeline),$(this,t.animation,s),s.currentTimeline.applyStylesToKeyframe();const l=s.currentTimeline.currentTime;o=Math.max(o,l)})),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,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),s=o*(e.currentQueryTotal-1);let a=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}const l=e.currentTimeline;a&&l.delayNextStep(a);const c=l.currentTime;$(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}const ct={};class ut{constructor(t,e,n,i,r,o,s,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ct,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new ht(this._driver,e,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,e){if(!t)return;const n=t;let i=this.options;null!=n.duration&&(i.duration=A(n.duration)),null!=n.delay&&(i.delay=A(n.delay));const r=n.params;if(r){let t=i.params;t||(t=this.options.params={}),Object.keys(r).forEach((n=>{e&&t.hasOwnProperty(n)||(t[n]=B(r[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 i=e||this.element,r=new ut(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ct,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,e,n){const i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new dt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,e,n,i,o,s){let a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(ot,"."+this._enterClassName)).replace(st,"."+this._leaveClassName);const e=1!=n;let i=this._driver.query(this.element,t,e);0!==n&&(i=n<0?i.slice(i.length+n,i.length):i.slice(0,n)),a.push(...i)}return o||0!=a.length||s.push(new r.vHH(3014,!1)),a}}class ht{constructor(t,e,n,i){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(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.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,e){return this.applyStylesToKeyframe(),new ht(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=new Map,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.set(t,e),this._globalTimelineStyles.set(t,e),this._styleSummary.set(t,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[t,e]of this._globalTimelineStyles)this._backFill.set(t,e||i.l3),this._currentKeyframe.set(t,i.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,e,n,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function(t,e){const n=new Map;let r;return t.forEach((t=>{if("*"===t){r=r||e.keys();for(let t of r)n.set(t,i.l3)}else D(t,n)})),n}(t,this._globalTimelineStyles);for(let[t,e]of s){const r=B(e,o,n);this._pendingStyles.set(t,r),this._localTimelineStyles.has(t)||this._backFill.set(t,this._globalTimelineStyles.get(t)??i.l3),this._updateStyle(t,r)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(((t,e)=>{this._currentKeyframe.set(e,t)})),this._pendingStyles.clear(),this._localTimelineStyles.forEach(((t,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,t)})))}snapshotCurrentStyles(){for(let[t,e]of this._localTimelineStyles)this._pendingStyles.set(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){t._styleSummary.forEach(((t,e)=>{const n=this._styleSummary.get(e);(!n||t.time>n.time)&&this._updateStyle(e,t.value)}))}buildKeyframes(){this.applyStylesToKeyframe();const t=new Set,e=new Set,n=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach(((o,s)=>{const a=D(o,new Map,this._backFill);a.forEach(((n,r)=>{n===i.k1?t.add(r):n===i.l3&&e.add(r)})),n||a.set("offset",s/this.duration),r.push(a)}));const o=t.size?j(t.values()):[],s=e.size?j(e.values()):[];if(n){const t=r[0],e=new Map(t);t.set("offset",0),e.set("offset",1),r=[t,e]}return it(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class dt extends ht{constructor(t,e,n,i,r,o,s=!1){super(t,e,o.delay),this.keyframes=n,this.preStyleProps=i,this.postStyleProps=r,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:i}=this.timings;if(this._stretchStartingKeyframe&&e){const r=[],o=n+e,s=e/o,a=D(t[0]);a.set("offset",0),r.push(a);const l=D(t[0]);l.set("offset",pt(s)),r.push(l);const c=t.length-1;for(let i=1;i<=c;i++){let s=D(t[i]);const a=e+s.get("offset")*n;s.set("offset",pt(a/o)),r.push(s)}n=o,e=0,i="",t=r}return it(this.element,t,this.preStyleProps,this.postStyleProps,n,e,i,!0)}}function pt(t,e=3){const n=Math.pow(10,e-1);return Math.round(t*n)/n}class ft{}const gt=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class mt extends ft{normalizePropertyName(t,e){return V(t)}normalizeStyleValue(t,e,n,i){let o="";const s=n.toString().trim();if(gt.has(e)&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&i.push(new r.vHH(3005,!1))}return s+o}}function vt(t,e,n,i,r,o,s,a,l,c,u,h,d){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:u,totalTime:h,errors:d}}const yt={};class bt{constructor(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}match(t,e,n,i){return function(t,e,n,i,r){return t.some((t=>t(e,n,i,r)))}(this.ast.matchers,t,e,n,i)}buildStyles(t,e,n){let i=this._stateStyles.get("*");return void 0!==t&&(i=this._stateStyles.get(t?.toString())||i),i?i.buildStyles(e,n):new Map}build(t,e,n,i,r,o,s,a,l,c){const u=[],d=this.ast.options&&this.ast.options.params||yt,p=s&&s.params||yt,f=this.buildStyles(n,p,u),g=a&&a.params||yt,m=this.buildStyles(i,g,u),v=new Set,y=new Map,b=new Map,_="void"===i,w={params:_t(g,d),delay:this.ast.options?.delay},x=c?[]:at(t,e,this.ast.animation,r,o,f,m,w,l,u);let C=0;if(x.forEach((t=>{C=Math.max(t.duration+t.delay,C)})),u.length)return vt(e,this._triggerName,n,i,_,f,m,[],[],y,b,C,u);x.forEach((t=>{const n=t.element,i=h(y,n,new Set);t.preStyleProps.forEach((t=>i.add(t)));const r=h(b,n,new Set);t.postStyleProps.forEach((t=>r.add(t))),n!==e&&v.add(n)}));const k=j(v.values());return vt(e,this._triggerName,n,i,_,f,m,x,k,y,b,C)}}function _t(t,e){const n=T(e);for(const e in t)t.hasOwnProperty(e)&&null!=t[e]&&(n[e]=t[e]);return n}class wt{constructor(t,e,n){this.styles=t,this.defaultParams=e,this.normalizer=n}buildStyles(t,e){const n=new Map,i=T(this.defaultParams);return Object.keys(t).forEach((e=>{const n=t[e];null!==n&&(i[e]=n)})),this.styles.styles.forEach((t=>{"string"!=typeof t&&t.forEach(((t,r)=>{t&&(t=B(t,i,e));const o=this.normalizer.normalizePropertyName(r,e);t=this.normalizer.normalizeStyleValue(r,o,t,e),n.set(r,t)}))})),n}}class xt{constructor(t,e,n){var i,r;this.name=t,this.ast=e,this._normalizer=n,this.transitionFactories=[],this.states=new Map,e.states.forEach((t=>{const e=t.options&&t.options.params||{};this.states.set(t.name,new wt(t.style,e,n))})),Ct(this.states,"true","1"),Ct(this.states,"false","0"),e.transitions.forEach((e=>{this.transitionFactories.push(new bt(t,e,this.states))})),this.fallbackTransition=(i=t,r=this.states,this._normalizer,new bt(i,{type:1,animation:{type:2,steps:[],options:null},matchers:[(t,e)=>!0],options:null,queryCount:0,depCount:0},r))}get containsQueries(){return this.ast.queryCount>0}matchTransition(t,e,n,i){return this.transitionFactories.find((r=>r.match(t,e,n,i)))||null}matchStyles(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}}function Ct(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}const kt=new rt;class Ot{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations=new Map,this._playersById=new Map,this.players=[]}register(t,e){const n=[],i=K(this._driver,e,n,[]);if(n.length)throw new r.vHH(3503,!1);this._animations.set(t,i)}_buildPlayer(t,e,n){const i=t.element,r=a(this._normalizer,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}create(t,e,n={}){const o=[],a=this._animations.get(t);let l;const c=new Map;if(a?(l=at(this._driver,e,a,x,C,new Map,new Map,n,kt,o),l.forEach((t=>{const e=h(c,t.element,new Map);t.postStyleProps.forEach((t=>e.set(t,null)))}))):(o.push(new r.vHH(3300,!1)),l=[]),o.length)throw new r.vHH(3504,!1);c.forEach(((t,e)=>{t.forEach(((n,r)=>{t.set(r,this._driver.computeStyle(e,r,i.l3))}))}));const u=s(l.map((t=>{const e=c.get(t.element);return this._buildPlayer(t,new Map,e)})));return this._playersById.set(t,u),u.onDestroy((()=>this.destroy(t))),this.players.push(u),u}destroy(t){const e=this._getPlayer(t);e.destroy(),this._playersById.delete(t);const n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}_getPlayer(t){const e=this._playersById.get(t);if(!e)throw new r.vHH(3301,!1);return e}listen(t,e,n,i){const r=u(e,"","","");return l(this._getPlayer(t),n,r,i),()=>{}}command(t,e,n,i){if("register"==n)return void this.register(t,i[0]);if("create"==n){const n=i[0]||{};return void this.create(t,e,n)}const r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}}const Mt="ng-animate-queued",St="ng-animate-disabled",At=[],Pt={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Et={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Tt="__ng_removed";class It{get params(){return this.options.params}constructor(t,e=""){this.namespaceId=e;const n=t&&t.hasOwnProperty("value"),i=n?t.value:t;if(this.value=function(t){return null!=t?t:null}(i),n){const e=T(t);delete e.value,this.options=e}else this.options={};this.options.params||(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 Dt="void",zt=new It(Dt);class Nt{constructor(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Vt(e,this._hostClassName)}listen(t,e,n,i){if(!this._triggers.has(e))throw new r.vHH(3302,!1);if(null==n||0==n.length)throw new r.vHH(3303,!1);if("start"!=(o=n)&&"done"!=o)throw new r.vHH(3400,!1);var o;const s=h(this._elementListeners,t,[]),a={name:e,phase:n,callback:i};s.push(a);const l=h(this._engine.statesByElement,t,new Map);return l.has(e)||(Vt(t,k),Vt(t,k+"-"+e),l.set(e,zt)),()=>{this._engine.afterFlush((()=>{const t=s.indexOf(a);t>=0&&s.splice(t,1),this._triggers.has(e)||l.delete(e)}))}}register(t,e){return!this._triggers.has(t)&&(this._triggers.set(t,e),!0)}_getTrigger(t){const e=this._triggers.get(t);if(!e)throw new r.vHH(3401,!1);return e}trigger(t,e,n,i=!0){const r=this._getTrigger(e),o=new Lt(this.id,e,t);let s=this._engine.statesByElement.get(t);s||(Vt(t,k),Vt(t,k+"-"+e),this._engine.statesByElement.set(t,s=new Map));let a=s.get(e);const l=new It(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&l.absorbOptions(a.options),s.set(e,l),a||(a=zt),l.value!==Dt&&a.value===l.value){if(!function(t,e){const n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(let i=0;i{N(t,n),z(t,i)}))}return}const c=h(this._engine.playersByElement,t,[]);c.forEach((t=>{t.namespaceId==this.id&&t.triggerName==e&&t.queued&&t.destroy()}));let u=r.matchTransition(a.value,l.value,t,l.params),d=!1;if(!u){if(!i)return;u=r.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:u,fromState:a,toState:l,player:o,isFallbackTransition:d}),d||(Vt(t,Mt),o.onStart((()=>{$t(t,Mt)}))),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){this._triggers.delete(t),this._engine.statesByElement.forEach((e=>e.delete(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,O,!0);n.forEach((t=>{if(t[Tt])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,i){const r=this._engine.statesByElement.get(t),o=new Map;if(r){const a=[];if(r.forEach(((e,n)=>{if(o.set(n,e.value),this._triggers.has(n)){const e=this.trigger(t,n,Dt,i);e&&a.push(e)}})),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e,o),n&&s(a).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 i=new Set;e.forEach((e=>{const r=e.name;if(i.has(r))return;i.add(r);const o=this._triggers.get(r).fallbackTransition,s=n.get(r)||zt,a=new It(Dt),l=new Lt(this.id,r,t);this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:r,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 i=!1;if(n.totalAnimations){const e=n.players.length?n.playersByQueriedElement.get(t):[];if(e&&e.length)i=!0;else{let e=t;for(;e=e.parentNode;)if(n.statesByElement.get(e)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(t),i)n.markElementAsRemoved(this.id,t,!1,e);else{const i=t[Tt];i&&i!==Pt||(n.afterFlush((()=>this.clearElementCache(t))),n.destroyInnerAnimations(t),n._onRemovalComplete(t,e))}}insertNode(t,e){Vt(t,this._hostClassName)}drainQueuedTransitions(t){const e=[];return this._queue.forEach((n=>{const i=n.player;if(i.destroyed)return;const r=n.element,o=this._elementListeners.get(r);o&&o.forEach((e=>{if(e.name==n.triggerName){const i=u(r,n.triggerName,n.fromState.value,n.toState.value);i._data=t,l(n.player,e.phase,i,e.callback)}})),i.markedForDestroy?this._engine.afterFlush((()=>{i.destroy()})):e.push(n)})),this._queue=[],e.sort(((t,e)=>{const n=t.transition.ast.depCount,i=e.transition.ast.depCount;return 0==n||0==i?n-i:this._engine.driver.containsElement(t.element,e.element)?1:-1}))}destroy(t){this.players.forEach((t=>t.destroy())),this._signalRemovalForInnerTriggers(this.hostElement,t)}}class Ft{_onRemovalComplete(t,e){this.onRemovalComplete(t,e)}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)=>{}}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 Nt(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,i=this.namespacesByHostElement;if(n.length-1>=0){let r=!1,o=this.driver.getParentElement(e);for(;o;){const e=i.get(o);if(e){const i=n.indexOf(e);n.splice(i+1,0,t),r=!0;break}o=this.driver.getParentElement(o)}r||n.unshift(t)}else n.push(t);return i.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 i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}destroy(t,e){t&&(this.afterFlush((()=>{})),this.afterFlushAnimationsDone((()=>{const n=this._fetchNamespace(t);this.namespacesByHostElement.delete(n.hostElement);const i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(e),delete this._namespaceLookup[t]})))}_fetchNamespace(t){return this._namespaceLookup[t]}fetchNamespacesByElement(t){const e=new Set,n=this.statesByElement.get(t);if(n)for(let t of n.values())if(t.namespaceId){const n=this._fetchNamespace(t.namespaceId);n&&e.add(n)}return e}trigger(t,e,n,i){if(Rt(e)){const r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1}insertNode(t,e,n,i){if(!Rt(e))return;const r=e[Tt];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const t=this.collectedLeaveElements.indexOf(e);t>=0&&this.collectedLeaveElements.splice(t,1)}if(t){const i=this._fetchNamespace(t);i&&i.insertNode(e,n)}i&&this.collectEnterElement(e)}collectEnterElement(t){this.collectedEnterElements.push(t)}markElementAsDisabled(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Vt(t,St)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),$t(t,St))}removeNode(t,e,n){if(Rt(e)){const i=t?this._fetchNamespace(t):null;i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n);const r=this.namespacesByHostElement.get(e);r&&r.id!==t&&r.removeNode(e,n)}else this._onRemovalComplete(e,n)}markElementAsRemoved(t,e,n,i,r){this.collectedLeaveElements.push(e),e[Tt]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:r}}listen(t,e,n,i,r){return Rt(e)?this._fetchNamespace(t).listen(e,n,i,r):()=>{}}_buildInstruction(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}destroyInnerAnimations(t){let e=this.driver.query(t,O,!0);e.forEach((t=>this.destroyActiveAnimationsForElement(t))),0!=this.playersByQueriedElement.size&&(e=this.driver.query(t,S,!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 s(this.players).onDone((()=>t()));t()}))}processLeaveNode(t){const e=t[Tt];if(e&&e.setForRemoval){if(t[Tt]=Pt,e.namespaceId){this.destroyInnerAnimations(t);const n=this._fetchNamespace(e.namespaceId);n&&n.clearElementCache(t)}this._onRemovalComplete(t,e.setForRemoval)}t.classList?.contains(St)&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!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 t=0;tt())),this._flushFns=[],this._whenQuietFns.length){const t=this._whenQuietFns;this._whenQuietFns=[],e.length?s(e).onDone((()=>{t.forEach((t=>t()))})):t.forEach((t=>t()))}}reportError(t){throw new r.vHH(3402,!1)}_flushAnimations(t,e){const n=new rt,o=[],a=new Map,l=[],c=new Map,u=new Map,d=new Map,p=new Set;this.disabledNodes.forEach((t=>{p.add(t);const e=this.driver.query(t,".ng-animate-queued",!0);for(let t=0;t{const n=x+y++;v.set(e,n),t.forEach((t=>Vt(t,n)))}));const b=[],_=new Set,w=new Set;for(let t=0;t_.add(t))):w.add(e))}const k=new Map,O=Ht(g,Array.from(_));O.forEach(((t,e)=>{const n=C+y++;k.set(e,n),t.forEach((t=>Vt(t,n)))})),t.push((()=>{m.forEach(((t,e)=>{const n=v.get(e);t.forEach((t=>$t(t,n)))})),O.forEach(((t,e)=>{const n=k.get(e);t.forEach((t=>$t(t,n)))})),b.forEach((t=>{this.processLeaveNode(t)}))}));const M=[],A=[];for(let t=this._namespaceList.length-1;t>=0;t--)this._namespaceList[t].drainQueuedTransitions(e).forEach((t=>{const e=t.player,i=t.element;if(M.push(e),this.collectedEnterElements.length){const n=i[Tt];if(n&&n.setForMove){if(n.previousTriggersValues&&n.previousTriggersValues.has(t.triggerName)){const e=n.previousTriggersValues.get(t.triggerName),i=this.statesByElement.get(t.element);if(i&&i.has(t.triggerName)){const n=i.get(t.triggerName);n.value=e,i.set(t.triggerName,n)}}return void e.destroy()}}const r=!f||!this.driver.containsElement(f,i),s=k.get(i),a=v.get(i),p=this._buildInstruction(t,n,a,s,r);if(p.errors&&p.errors.length)return void A.push(p);if(r)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);if(t.isFallbackTransition)return e.onStart((()=>N(i,p.fromStyles))),e.onDestroy((()=>z(i,p.toStyles))),void o.push(e);const g=[];p.timelines.forEach((t=>{t.stretchStartingKeyframe=!0,this.disabledNodes.has(t.element)||g.push(t)})),p.timelines=g,n.append(i,p.timelines);const m={instruction:p,player:e,element:i};l.push(m),p.queriedElements.forEach((t=>h(c,t,[]).push(e))),p.preStyleProps.forEach(((t,e)=>{if(t.size){let n=u.get(e);n||u.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}})),p.postStyleProps.forEach(((t,e)=>{let n=d.get(e);n||d.set(e,n=new Set),t.forEach(((t,e)=>n.add(e)))}))}));if(A.length){const t=[];A.forEach((e=>{t.push((e.triggerName,e.errors,new r.vHH(3505,!1)))})),M.forEach((t=>t.destroy())),this.reportError(t)}const P=new Map,E=new Map;l.forEach((t=>{const e=t.element;n.has(e)&&(E.set(e,e),this._beforeAnimationBuild(t.player.namespaceId,t.instruction,P))})),o.forEach((t=>{const e=t.element;this._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((t=>{h(P,e,[]).push(t),t.destroy()}))}));const T=b.filter((t=>Ut(t,u,d))),I=new Map;jt(I,this.driver,w,d,i.l3).forEach((t=>{Ut(t,u,d)&&T.push(t)}));const D=new Map;m.forEach(((t,e)=>{jt(D,this.driver,new Set(t),u,i.k1)})),T.forEach((t=>{const e=I.get(t),n=D.get(t);I.set(t,new Map([...e?.entries()??[],...n?.entries()??[]]))}));const F=[],L=[],R={};l.forEach((t=>{const{element:e,player:i,instruction:r}=t;if(n.has(e)){if(p.has(e))return i.onDestroy((()=>z(e,r.toStyles))),i.disabled=!0,i.overrideTotalTime(r.totalTime),void o.push(i);let t=R;if(E.size>1){let n=e;const i=[];for(;n=n.parentNode;){const e=E.get(n);if(e){t=e;break}i.push(n)}i.forEach((e=>E.set(e,t)))}const n=this._buildAnimation(i.namespaceId,r,P,a,D,I);if(i.setRealPlayer(n),t===R)F.push(i);else{const e=this.playersByElement.get(t);e&&e.length&&(i.parentPlayer=s(e)),o.push(i)}}else N(e,r.fromStyles),i.onDestroy((()=>z(e,r.toStyles))),L.push(i),p.has(e)&&o.push(i)})),L.forEach((t=>{const e=a.get(t.element);if(e&&e.length){const n=s(e);t.setRealPlayer(n)}})),o.forEach((t=>{t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(let t=0;t!t.destroyed));r.length?qt(this,e,r):this.processLeaveNode(e)}return b.length=0,F.forEach((t=>{this.players.push(t),t.onDone((()=>{t.destroy();const e=this.players.indexOf(t);this.players.splice(e,1)})),t.play()})),F}afterFlush(t){this._flushFns.push(t)}afterFlushAnimationsDone(t){this._whenQuietFns.push(t)}_getPreviousPlayers(t,e,n,i,r){let o=[];if(e){const e=this.playersByQueriedElement.get(t);e&&(o=e)}else{const e=this.playersByElement.get(t);if(e){const t=!r||r==Dt;e.forEach((e=>{e.queued||(t||e.triggerName==i)&&o.push(e)}))}}return(n||i)&&(o=o.filter((t=>!(n&&n!=t.namespaceId||i&&i!=t.triggerName)))),o}_beforeAnimationBuild(t,e,n){const i=e.triggerName,r=e.element,o=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:i;for(const t of e.timelines){const i=t.element,a=i!==r,l=h(n,i,[]);this._getPreviousPlayers(i,a,o,s,e.toState).forEach((t=>{const e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)}))}N(r,e.fromStyles)}_buildAnimation(t,e,n,r,o,l){const c=e.triggerName,u=e.element,d=[],p=new Set,f=new Set,g=e.timelines.map((e=>{const s=e.element;p.add(s);const h=s[Tt];if(h&&h.removedBeforeQueried)return new i.ZN(e.duration,e.delay);const g=s!==u,m=function(t){const e=[];return Zt(t,e),e}((n.get(s)||At).map((t=>t.getRealPlayer()))).filter((t=>{const e=t;return!!e.element&&e.element===s})),v=o.get(s),y=l.get(s),b=a(this._normalizer,e.keyframes,v,y),_=this._buildPlayer(e,b,m);if(e.subTimeline&&r&&f.add(s),g){const e=new Lt(t,c,s);e.setRealPlayer(_),d.push(e)}return _}));d.forEach((t=>{h(this.playersByQueriedElement,t.element,[]).push(t),t.onDone((()=>function(t,e,n){let i=t.get(e);if(i){if(i.length){const t=i.indexOf(n);i.splice(t,1)}0==i.length&&t.delete(e)}return i}(this.playersByQueriedElement,t.element,t)))})),p.forEach((t=>Vt(t,M)));const m=s(g);return m.onDestroy((()=>{p.forEach((t=>$t(t,M))),z(u,e.toStyles)})),f.forEach((t=>{h(r,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 i.ZN(t.duration,t.delay)}}class Lt{constructor(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new i.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(t){this._containsRealPlayer||(this._player=t,this._queuedCallbacks.forEach(((e,n)=>{e.forEach((e=>l(t,n,void 0,e)))})),this._queuedCallbacks.clear(),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){h(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 Rt(t){return t&&1===t.nodeType}function Bt(t,e){const n=t.style.display;return t.style.display=null!=e?e:"none",n}function jt(t,e,n,i,r){const o=[];n.forEach((t=>o.push(Bt(t))));const s=[];i.forEach(((n,i)=>{const o=new Map;n.forEach((t=>{const n=e.computeStyle(i,t,r);o.set(t,n),n&&0!=n.length||(i[Tt]=Et,s.push(i))})),t.set(i,o)}));let a=0;return n.forEach((t=>Bt(t,o[a++]))),s}function Ht(t,e){const n=new Map;if(t.forEach((t=>n.set(t,[]))),0==e.length)return n;const i=new Set(e),r=new Map;function o(t){if(!t)return 1;let e=r.get(t);if(e)return e;const s=t.parentNode;return e=n.has(s)?s:i.has(s)?1:o(s),r.set(t,e),e}return e.forEach((t=>{const e=o(t);1!==e&&n.get(e).push(t)})),n}function Vt(t,e){t.classList?.add(e)}function $t(t,e){t.classList?.remove(e)}function qt(t,e,n){s(n).onDone((()=>t.processLeaveNode(e)))}function Zt(t,e){for(let n=0;nr.add(t))):e.set(t,i),n.delete(t),!0}class Gt{constructor(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._triggerCache={},this.onRemovalComplete=(t,e)=>{},this._transitionEngine=new Ft(t,e,n),this._timelineEngine=new Ot(t,e,n),this._transitionEngine.onRemovalComplete=(t,e)=>this.onRemovalComplete(t,e)}registerTrigger(t,e,n,i,o){const s=t+"-"+i;let a=this._triggerCache[s];if(!a){const t=[],e=[],n=K(this._driver,o,t,e);if(t.length)throw new r.vHH(3404,!1);e.length,a=function(t,e,n){return new xt(t,e,n)}(i,n,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,i,a)}register(t,e){this._transitionEngine.register(t,e)}destroy(t,e){this._transitionEngine.destroy(t,e)}onInsert(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)}onRemove(t,e,n){this._transitionEngine.removeNode(t,e,n)}disableAnimations(t,e){this._transitionEngine.markElementAsDisabled(t,e)}process(t,e,n,i){if("@"==n.charAt(0)){const[t,r]=d(n),o=i;this._timelineEngine.command(t,e,r,o)}else this._transitionEngine.trigger(t,e,n,i)}listen(t,e,n,i,r){if("@"==n.charAt(0)){const[t,i]=d(n);return this._timelineEngine.listen(t,e,i,r)}return this._transitionEngine.listen(t,e,n,i,r)}flush(t=-1){this._transitionEngine.flush(t)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(t){this._transitionEngine.afterFlushAnimationsDone(t)}}let Qt=(()=>{class t{constructor(e,n,i){this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;let r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&z(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(z(this._element,this._initialStyles),this._endStyles&&(z(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),z(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Jt(t){let e=null;return t.forEach(((t,n)=>{(function(t){return"display"===t||"position"===t})(n)&&(e=e||new Map,e.set(n,t))})),e}class Yt{constructor(t,e,n,i){this.element=t,this.keyframes=e,this.options=n,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=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]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy((()=>{this.domPlayer.removeEventListener("finish",e)}))}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(t){const e=[];return t.forEach((t=>{e.push(Object.fromEntries(t))})),e}_triggerWebAnimation(t,e,n){return t.animate(this._convertKeyframesToObject(e),n)}onStart(t){this._originalOnStartFns.push(t),this._onStartFns.push(t)}onDone(t){this._originalOnDoneFns.push(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,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((t=>t())),this._onDestroyFns=[])}setPosition(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const t=new Map;this.hasStarted()&&this._finalKeyframe.forEach(((e,n)=>{"offset"!==n&&t.set(n,this._finished?e:q(this.element,n))})),this.currentSnapshot=t}triggerCallback(t){const e="start"===t?this._onStartFns:this._onDoneFns;e.forEach((t=>t())),e.length=0}}class Wt{validateStyleProperty(t){return!0}validateAnimatableStyleProperty(t){return!0}matchesElement(t,e){return!1}containsElement(t,e){return v(t,e)}getParentElement(t){return f(t)}query(t,e,n){return y(t,e,n)}computeStyle(t,e,n){return window.getComputedStyle(t)[e]}animate(t,e,n,i,r,o=[]){const s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);const a=new Map,l=o.filter((t=>t instanceof Yt));(function(t,e){return 0===t||0===e})(n,i)&&l.forEach((t=>{t.currentSnapshot.forEach(((t,e)=>a.set(e,t)))}));let c=function(t){return t.length?t[0]instanceof Map?t:t.map((t=>I(t))):[]}(e).map((t=>D(t)));c=function(t,e,n){if(n.size&&e.length){let i=e[0],r=[];if(n.forEach(((t,e)=>{i.has(e)||r.push(e),i.set(e,t)})),r.length)for(let n=1;ni.set(e,q(t,e))))}}return e}(t,c,a);const u=function(t,e){let n=null,i=null;return Array.isArray(e)&&e.length?(n=Jt(e[0]),e.length>1&&(i=Jt(e[e.length-1]))):e instanceof Map&&(n=Jt(e)),n||i?new Qt(t,n,i):null}(t,c);return new Yt(t,c,s,u)}}},62561:(t,e,n)=>{function i(t){return null!=t&&"false"!=`${t}`}function r(t){return Array.isArray(t)?t:[t]}n.d(e,{Eq:()=>r,Ig:()=>i})},76733:(t,e,n)=>{n.d(e,{$G:()=>N,ED:()=>U,EM:()=>pt,Gx:()=>it,HT:()=>s,JF:()=>gt,K0:()=>l,Mx:()=>T,NF:()=>ht,Nd:()=>ot,O5:()=>j,Ov:()=>tt,PC:()=>G,PM:()=>dt,RF:()=>q,S$:()=>f,Ts:()=>rt,Ye:()=>v,Zx:()=>at,b0:()=>m,bD:()=>ct,ez:()=>lt,i8:()=>et,mk:()=>z,n9:()=>Z,q:()=>o,sg:()=>R,tP:()=>Q,w_:()=>a});var i=n(20755);let r=null;function o(){return r}function s(t){r||(r=t)}class a{}const l=new i.OlP("DocumentToken");let c=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(u)},providedIn:"platform"}),e})(),u=(()=>{var t;class e extends c{constructor(){super(),this._doc=(0,i.f3M)(l),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){this._history.pushState(t,e,n)}replaceState(t,e,n){this._history.replaceState(t,e,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new t},providedIn:"platform"}),e})();function h(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 d(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length,i=n-("/"===t[n-1]?1:0);return t.slice(0,i)+t.slice(n)}function p(t){return t&&"?"!==t[0]?"?"+t:t}let f=(()=>{var t;class e{historyGo(t){throw new Error("Not implemented")}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(m)},providedIn:"root"}),e})();const g=new i.OlP("appBaseHref");let m=(()=>{var t;class e extends f{constructor(t,e){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=e??this._platformLocation.getBaseHrefFromDOM()??(0,i.f3M)(l).location?.origin??""}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 h(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+p(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.pushState(t,e,r)}replaceState(t,e,n,i){const r=this.prepareExternalUrl(n+p(i));this._platformLocation.replaceState(t,e,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(c),i.LFG(g,8))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),v=(()=>{var t;class e{constructor(t){this._subject=new i.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const e=this._locationStrategy.getBaseHref();this._basePath=function(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(d(b(e))),this._locationStrategy.onPopState((t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})}))}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+p(e))}normalize(t){return e.stripTrailingSlash(function(t,e){if(!t||!e.startsWith(t))return e;const n=e.substring(t.length);return""===n||["/",";","?","#"].includes(n[0])?n:e}(this._basePath,b(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._locationStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}replaceState(t,e="",n=null){this._locationStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+p(e)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((t=>{this._notifyUrlChangeListeners(t.url,t.state)}))),()=>{const e=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(e,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_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=e).normalizeQueryParams=p,t.joinWithSlash=h,t.stripTrailingSlash=d,t.ɵfac=function(e){return new(e||t)(i.LFG(f))},t.ɵprov=i.Yz7({token:t,factory:function(){return y()},providedIn:"root"}),e})();function y(){return new v((0,i.LFG)(f))}function b(t){return t.replace(/\/index.html$/,"")}var _=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(_||{}),w=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}(w||{}),x=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(x||{});function C(t,e){const n=(0,i.cg1)(t),r=n[i.wAp.NumberSymbols][e];if(void 0===r){if(e===x.CurrencyDecimal)return n[i.wAp.NumberSymbols][x.Decimal];if(e===x.CurrencyGroup)return n[i.wAp.NumberSymbols][x.Group]}return r}const k=i.kL8,O=/^(\d+)?\.((\d+)(-(\d+))?)?$/,M=".",S="0";function A(t){const e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}let P=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;var n;return t?e=new t:(n=i.LFG(i.soG),e=new E(n)),e},providedIn:"root"}),e})(),E=(()=>{var t;class e extends P{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(k(e||this.locale)(t)){case w.Zero:return"zero";case w.One:return"one";case w.Two:return"two";case w.Few:return"few";case w.Many:return"many";default:return"other"}}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(i.soG))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function T(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[i,r]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(i.trim()===e)return decodeURIComponent(r)}return null}const I=/\s+/,D=[];let z=(()=>{var t;class e{constructor(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this.initialClasses=D,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(I):D}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(I):t}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const e of t)this._updateState(e,!0);else if(null!=t)for(const e of Object.keys(t))this._updateState(e,Boolean(t[e]));this._applyStateDiff()}_updateState(t,e){const n=this.stateMap.get(t);void 0!==n?(n.enabled!==e&&(n.changed=!0,n.enabled=e),n.touched=!0):this.stateMap.set(t,{enabled:e,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const e=t[0],n=t[1];n.changed?(this._toggleClass(e,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(e,!1),this.stateMap.delete(e)),n.touched=!1}}_toggleClass(t,e){(t=t.trim()).length>0&&t.split(I).forEach((t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)}))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.ZZ4),i.Y36(i.aQg),i.Y36(i.SBq),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})(),N=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(t){return void 0!==t.ngComponentOutletNgModule||void 0!==t.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(t){return void 0!==t.ngComponentOutlet||void 0!==t.ngComponentOutletContent||void 0!==t.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(t)}ngOnChanges(t){if(this._needToReCreateComponentInstance(t)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(t)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=(0,i.Lck)(this.ngComponentOutletNgModule,F(e)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(F(e)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:e,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const t of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(t,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(t){for(const[e,n]of this._inputsUsed)n?(t.setInput(e,this.ngComponentOutletInputs[e]),this._inputsUsed.set(e,!1)):(t.setInput(e,void 0),this._inputsUsed.delete(e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[i.TTD]}),e})();function F(t){return t.get(i.h0i).injector}class L{constructor(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}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 R=(()=>{var t;class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=this._viewContainer;t.forEachOperation(((t,n,i)=>{if(null==t.previousIndex)e.createEmbeddedView(this._template,new L(t.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)e.remove(null===n?void 0:n);else if(null!==n){const r=e.get(n);e.move(r,i),B(r,t)}}));for(let t=0,n=e.length;t{B(e.get(t.currentIndex),t)}))}static ngTemplateContextGuard(t,e){return!0}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(i.ZZ4))},t.ɵdir=i.lG2({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function B(t,e){t.context.$implicit=e.item}let j=(()=>{var t;class e{constructor(t,e){this._viewContainer=t,this._context=new H,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){V("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){V("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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc))},t.ɵdir=i.lG2({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class H{constructor(){this.$implicit=null,this.ngIf=null}}function V(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${(0,i.AaK)(e)}'.`)}class ${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 q=(()=>{var t;class e{constructor(){this._defaultViews=[],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.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.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(const e of this._defaultViews)e.enforceState(t)}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),e})(),Z=(()=>{var t;class e{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new $(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),e})(),U=(()=>{var t;class e{constructor(t,e,n){n._addDefault(new $(t,e))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b),i.Y36(i.Rgc),i.Y36(q,9))},t.ɵdir=i.lG2({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),e})(),G=(()=>{var t;class e{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split("."),o=-1===n.indexOf("-")?void 0:i.JOm.DashCase;null!=e?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${e}${r}`:e,o):this._renderer.removeStyle(this._ngEl.nativeElement,n,o)}_applyChanges(t){t.forEachRemovedItem((t=>this._setStyle(t.key,null))),t.forEachAddedItem((t=>this._setStyle(t.key,t.currentValue))),t.forEachChangedItem((t=>this._setStyle(t.key,t.currentValue)))}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.SBq),i.Y36(i.aQg),i.Y36(i.Qsj))},t.ɵdir=i.lG2({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),Q=(()=>{var t;class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){if(t.ngTemplateOutlet||t.ngTemplateOutletInjector){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:e,ngTemplateOutletContext:n,ngTemplateOutletInjector:i}=this;this._viewRef=t.createEmbeddedView(e,n,i?{injector:i}:void 0)}else this._viewRef=null}else this._viewRef&&t.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.s_b))},t.ɵdir=i.lG2({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[i.TTD]}),e})();function J(t,e){return new i.vHH(2100,!1)}class Y{createSubscription(t,e){return(0,i.rg0)((()=>t.subscribe({next:e,error:t=>{throw t}})))}dispose(t){(0,i.rg0)((()=>t.unsubscribe()))}}class W{createSubscription(t,e){return t.then(e,(t=>{throw t}))}dispose(t){}}const K=new W,X=new Y;let tt=(()=>{var t;class e{constructor(t){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=t}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}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(t){if((0,i.QGY)(t))return K;if((0,i.F4k)(t))return X;throw J()}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.sBO,16))},t.ɵpipe=i.Yjl({name:"async",type:t,pure:!1,standalone:!0}),e})(),et=(()=>{var t;class e{transform(t){if(null==t)return null;if("string"!=typeof t)throw J();return t.toLowerCase()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"lowercase",type:t,pure:!0,standalone:!0}),e})();const nt=/#/g;let it=(()=>{var t;class e{constructor(t){this._localization=t}transform(t,e,n){if(null==t)return"";if("object"!=typeof e||null===e)throw J();return e[function(t,e,n,i){let r=`=${t}`;if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${t}"`)}(t,Object.keys(e),this._localization,n)].replace(nt,t.toString())}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(P,16))},t.ɵpipe=i.Yjl({name:"i18nPlural",type:t,pure:!0,standalone:!0}),e})(),rt=(()=>{var t;class e{transform(t){return JSON.stringify(t,null,2)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵpipe=i.Yjl({name:"json",type:t,pure:!1,standalone:!0}),e})(),ot=(()=>{var t;class e{constructor(t){this.differs=t,this.keyValues=[],this.compareFn=st}transform(t,e=st){if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());const n=this.differ.diff(t),i=e!==this.compareFn;return n&&(this.keyValues=[],n.forEachItem((t=>{this.keyValues.push({key:t.key,value:t.currentValue})}))),(n||i)&&(this.keyValues.sort(e),this.compareFn=e),this.keyValues}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.aQg,16))},t.ɵpipe=i.Yjl({name:"keyvalue",type:t,pure:!1,standalone:!0}),e})();function st(t,e){const n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n{var t;class e{constructor(t){this._locale=t}transform(t,e,n){if(!function(t){return!(null==t||""===t||t!=t)}(t))return null;n=n||this._locale;try{return function(t,e,n){return function(t,e,n,i,r,o,s=!1){let a="",l=!1;if(isFinite(t)){let c=function(t){let e,n,i,r,o,s=Math.abs(t)+"",a=0;for((n=s.indexOf(M))>-1&&(s=s.replace(M,"")),(i=s.search(/e/i))>0?(n<0&&(n=i),n+=+s.slice(i+1),s=s.substring(0,i)):n<0&&(n=s.length),i=0;s.charAt(i)===S;i++);if(i===(o=s.length))e=[0],n=1;else{for(o--;s.charAt(o)===S;)o--;for(n-=i,e=[],r=0;i<=o;i++,r++)e[r]=Number(s.charAt(i))}return n>22&&(e=e.splice(0,21),a=n-1,n=1),{digits:e,exponent:a,integerLen:n}}(t);s&&(c=function(t){if(0===t.digits[0])return t;const e=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2),t}(c));let u=e.minInt,h=e.minFrac,d=e.maxFrac;if(o){const t=o.match(O);if(null===t)throw new Error(`${o} is not a valid digit info`);const e=t[1],n=t[3],i=t[5];null!=e&&(u=A(e)),null!=n&&(h=A(n)),null!=i?d=A(i):null!=n&&h>d&&(d=h)}!function(t,e,n){if(e>n)throw new Error(`The minimum number of digits after fraction (${e}) is higher than the maximum (${n}).`);let i=t.digits,r=i.length-t.integerLen;const o=Math.min(Math.max(e,r),n);let s=o+t.integerLen,a=i[s];if(s>0){i.splice(Math.max(t.integerLen,s));for(let t=s;t=5)if(s-1<0){for(let e=0;e>s;e--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[s-1]++;for(;r=c?i.pop():l=!1),e>=10?1:0}),0);u&&(i.unshift(u),t.integerLen++)}(c,h,d);let p=c.digits,f=c.integerLen;const g=c.exponent;let m=[];for(l=p.every((t=>!t));f0?m=p.splice(f,p.length):(m=p,p=[0]);const v=[];for(p.length>=e.lgSize&&v.unshift(p.splice(-e.lgSize,p.length).join(""));p.length>e.gSize;)v.unshift(p.splice(-e.gSize,p.length).join(""));p.length&&v.unshift(p.join("")),a=v.join(C(n,i)),m.length&&(a+=C(n,r)+m.join("")),g&&(a+=C(n,x.Exponential)+"+"+g)}else a=C(n,x.Infinity);return a=t<0&&!l?e.negPre+a+e.negSuf:e.posPre+a+e.posSuf,a}(t,function(t,e="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],o=i[1],s=-1!==r.indexOf(M)?r.split(M):[r.substring(0,r.lastIndexOf(S)+1),r.substring(r.lastIndexOf(S)+1)],a=s[0],l=s[1]||"";n.posPre=a.substring(0,a.indexOf("#"));for(let t=0;t{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})();const ct="browser",ut="server";function ht(t){return t===ct}function dt(t){return t===ut}let pt=(()=>{var t;class e{}return(t=e).ɵprov=(0,i.Yz7)({token:t,providedIn:"root",factory:()=>new ft((0,i.LFG)(l),window)}),e})();class ft{constructor(t,e){this.document=t,this.window=e,this.offset=()=>[0,0]}setOffset(t){Array.isArray(t)?this.offset=()=>t:this.offset=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&&"function"==typeof t.body.attachShadow){const n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const t=i.shadowRoot;if(t){const n=t.getElementById(e)||t.querySelector(`[name="${e}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,t);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(t){this.supportsScrolling()&&(this.window.history.scrollRestoration=t)}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class gt{}},20755:(t,e,n)=>{n.d(e,{$8M:()=>tr,$WT:()=>Bt,$Z:()=>Oa,$Zp:()=>Pe,AFp:()=>ms,ALo:()=>Pu,AaK:()=>f,AsE:()=>qc,BQk:()=>Xl,CHM:()=>jn,CRH:()=>ch,DdM:()=>bu,Dn7:()=>Iu,EJc:()=>bh,EiD:()=>Ro,EpF:()=>nc,F$t:()=>uc,F4k:()=>rc,FYo:()=>Is,FiY:()=>ur,Flj:()=>Je,G48:()=>Lh,G7q:()=>zu,Gf:()=>ah,GfV:()=>Ns,GkF:()=>tc,Gpc:()=>v,HDt:()=>_h,HTZ:()=>ku,Hsn:()=>hc,Ikx:()=>Zc,JOm:()=>fr,JVY:()=>fo,JZr:()=>w,Jf7:()=>oa,KtG:()=>Hn,L6k:()=>go,LAX:()=>vo,LFG:()=>Y,LMc:()=>ed,LSH:()=>Vo,Lbi:()=>bs,Lck:()=>du,MAs:()=>Zl,MMx:()=>mu,MR2:()=>Yo,NdJ:()=>oc,O4$:()=>di,Ojb:()=>ws,OlP:()=>H,Oqu:()=>Vc,P3R:()=>qo,PiD:()=>hr,Q6J:()=>Ul,QGY:()=>ic,QbO:()=>_s,Qsj:()=>Ds,R0b:()=>Ws,RDi:()=>to,Rgc:()=>Ru,SBq:()=>Es,Sil:()=>xh,Suo:()=>lh,T8G:()=>la,TTD:()=>gn,TgZ:()=>Ql,Tiy:()=>zs,Tol:()=>Ac,Udp:()=>Mc,VKq:()=>_u,VuI:()=>td,W1O:()=>ph,WLB:()=>wu,XFs:()=>N,Xpm:()=>Pt,Xq5:()=>Dl,Xts:()=>Uo,Y36:()=>ka,YKP:()=>hu,YNc:()=>$l,Yjl:()=>Nt,Yz7:()=>O,Z0I:()=>A,ZZ4:()=>Wh,_Bn:()=>cu,_UZ:()=>Yl,_Vd:()=>Ss,_uU:()=>jc,aQg:()=>Xh,c2e:()=>vh,cEC:()=>sl,cJS:()=>M,cg1:()=>Yc,d8E:()=>Uc,dDg:()=>Mh,dqk:()=>j,eBb:()=>mo,eJc:()=>fh,ekj:()=>Sc,eoX:()=>Sh,evT:()=>sa,f3M:()=>W,g9A:()=>ys,gHi:()=>Rs,gM2:()=>Du,gxx:()=>Go,h0i:()=>uu,hij:()=>$c,iGM:()=>sh,iPO:()=>Th,ifc:()=>it,jDz:()=>yu,kL8:()=>Wc,kcU:()=>pi,ktI:()=>qs,l5B:()=>xu,lG2:()=>zt,lcZ:()=>Eu,lqb:()=>us,lri:()=>Ch,mCW:()=>xo,n5z:()=>Wi,n_E:()=>Lu,oAB:()=>It,oJD:()=>Ho,oxw:()=>lc,pB0:()=>yo,q3G:()=>jo,qLn:()=>$s,qOj:()=>kl,qZA:()=>Jl,qbA:()=>Cu,qzn:()=>po,rWj:()=>kh,rg0:()=>hn,s9C:()=>dc,sBO:()=>Rh,s_b:()=>$u,soG:()=>yh,tb:()=>Eh,tdS:()=>rn,tp0:()=>dr,uIk:()=>Hl,uOi:()=>$o,vHH:()=>x,vpe:()=>Js,wAp:()=>Xc,xi3:()=>Tu,xp6:()=>xa,ynx:()=>Kl,z2F:()=>Ih,z3N:()=>ho,zSh:()=>os,zW0:()=>Pl,zs3:()=>Hs});var i=n(78748),r=n(902),o=n(48132),s=n(45047),a=n(56424),l=n(71209),c=n(88557),u=n(84787),h=n(18004);function d(t){for(let e in t)if(t[e]===d)return e;throw Error("Could not find renamed property on target object.")}function p(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function f(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(f).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 g(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const m=d({__forward_ref__:d});function v(t){return t.__forward_ref__=v,t.toString=function(){return f(this())},t}function y(t){return b(t)?t():t}function b(t){return"function"==typeof t&&t.hasOwnProperty(m)&&t.__forward_ref__===v}function _(t){return t&&!!t.ɵproviders}const w="https://g.co/ng/security#xss";class x extends Error{constructor(t,e){super(function(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}(t,e)),this.code=t}}function C(t){return"string"==typeof t?t:null==t?"":String(t)}function k(t,e){throw new x(-201,!1)}function O(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function M(t){return{providers:t.providers||[],imports:t.imports||[]}}function S(t){return P(t,T)||P(t,D)}function A(t){return null!==S(t)}function P(t,e){return t.hasOwnProperty(e)?t[e]:null}function E(t){return t&&(t.hasOwnProperty(I)||t.hasOwnProperty(z))?t[I]:null}const T=d({ɵprov:d}),I=d({ɵinj:d}),D=d({ngInjectableDef:d}),z=d({ngInjectorDef:d});var N=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(N||{});let F;function L(){return F}function R(t){const e=F;return F=t,e}function B(t,e,n){const i=S(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&N.Optional?null:void 0!==e?e:void k(f(t))}const j=globalThis;class H{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.ɵprov=O({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const V={},$="__NG_DI_FLAG__",q="ngTempTokenPath",Z=/\n/gm,U="__source";let G;function Q(t){const e=G;return G=t,e}function J(t,e=N.Default){if(void 0===G)throw new x(-203,!1);return null===G?B(t,void 0,e):G.get(t,e&N.Optional?null:void 0,e)}function Y(t,e=N.Default){return(L()||J)(y(t),e)}function W(t,e=N.Default){return Y(t,K(e))}function K(t){return void 0===t||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function X(t){const e=[];for(let n=0;ne){s=o-1;break}}}for(;oo?"":r[u+1].toLowerCase();const e=8&i?t:null;if(e&&-1!==pt(e,c,0)||2&i&&c!==t){if(Ct(i))return!1;s=!0}}}}else{if(!s&&!Ct(i)&&!Ct(l))return!1;if(s&&Ct(l))continue;s=!1,i=l|1&i}}return Ct(i)||s}function Ct(t){return!(1&t)}function kt(t,e,n,i){if(null===e)return-1;let r=0;if(i||!n){let n=!1;for(;r-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&i?r+="."+s:4&i&&(r+=" "+s);else""===r||Ct(s)||(e+=St(o,r),r=""),i=s,o=o||!Ct(i);n++}return""!==r&&(e+=St(o,r)),e}function Pt(t){return et((()=>{const e=Ht(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===nt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||it.Emulated,styles:t.styles||ot,_:null,schemas:t.schemas||null,tView:null,id:""};Vt(n);const i=t.dependencies;return n.directiveDefs=$t(i,!1),n.pipeDefs=$t(i,!0),n.id=function(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const t of n)e=Math.imul(31,e)+t.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n}))}function Et(t){return Ft(t)||Lt(t)}function Tt(t){return null!==t}function It(t){return et((()=>({type:t.type,bootstrap:t.bootstrap||ot,declarations:t.declarations||ot,imports:t.imports||ot,exports:t.exports||ot,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null})))}function Dt(t,e){if(null==t)return rt;const n={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),n[r]=i,e&&(e[r]=o)}return n}function zt(t){return et((()=>{const e=Ht(t);return Vt(e),e}))}function Nt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ft(t){return t[st]||null}function Lt(t){return t[at]||null}function Rt(t){return t[lt]||null}function Bt(t){const e=Ft(t)||Lt(t)||Rt(t);return null!==e&&e.standalone}function jt(t,e){const n=t[ct]||null;if(!n&&!0===e)throw new Error(`Type ${f(t)} does not have 'ɵmod' property.`);return n}function Ht(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||rt,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||ot,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Dt(t.inputs,e),outputs:Dt(t.outputs)}}function Vt(t){t.features?.forEach((e=>e(t)))}function $t(t,e){if(!t)return null;const n=e?Rt:Et;return()=>("function"==typeof t?t():t).map((t=>n(t))).filter(Tt)}const qt=0,Zt=1,Ut=2,Gt=3,Qt=4,Jt=5,Yt=6,Wt=7,Kt=8,Xt=9,te=10,ee=11,ne=12,ie=13,re=14,oe=15,se=16,ae=17,le=18,ce=19,ue=20,he=21,de=22,pe=23,fe=24,ge=25,me=1,ve=2,ye=7,be=9,_e=11;function we(t){return Array.isArray(t)&&"object"==typeof t[me]}function xe(t){return Array.isArray(t)&&!0===t[me]}function Ce(t){return!!(4&t.flags)}function ke(t){return t.componentOffset>-1}function Oe(t){return!(1&~t.flags)}function Me(t){return!!t.template}function Se(t,e){return t.hasOwnProperty(ut)?t[ut]:null}const Ae=Symbol("SIGNAL");function Pe(t){return"function"==typeof t&&void 0!==t[Ae]}function Ee(t,e){return(null===t||"object"!=typeof t)&&Object.is(t,e)}let Te=null,Ie=!1;function De(t){const e=Te;return Te=t,e}const ze={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Ne(t){if(Ie)throw new Error("");if(null===Te)return;const e=Te.nextProducerIndex++;Ge(Te),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Ve(t){Ge(t);for(let e=0;e0}function Ge(t){t.producerNode??(t.producerNode=[]),t.producerIndexOfThis??(t.producerIndexOfThis=[]),t.producerLastReadVersion??(t.producerLastReadVersion=[])}function Qe(t){t.liveConsumerNode??(t.liveConsumerNode=[]),t.liveConsumerIndexOfThis??(t.liveConsumerIndexOfThis=[])}function Je(t,e){const n=Object.create(Xe);n.computation=t,e?.equal&&(n.equal=e.equal);const i=()=>{if(Fe(n),Ne(n),n.value===Ke)throw n.error;return n.value};return i[Ae]=n,i}const Ye=Symbol("UNSET"),We=Symbol("COMPUTING"),Ke=Symbol("ERRORED"),Xe=(()=>({...ze,value:Ye,dirty:!0,error:null,equal:Ee,producerMustRecompute:t=>t.value===Ye||t.value===We,producerRecomputeValue(t){if(t.value===We)throw new Error("Detected cycle in computations.");const e=t.value;t.value=We;const n=je(t);let i;try{i=t.computation()}catch(e){i=Ke,t.error=e}finally{He(t,n)}e!==Ye&&e!==Ke&&i!==Ke&&t.equal(e,i)?t.value=e:(t.value=i,t.version++)}}))();let tn=function(){throw new Error};function en(){tn()}let nn=null;function rn(t,e){const n=Object.create(on);function i(){return Ne(n),n.value}return n.value=t,e?.equal&&(n.equal=e.equal),i.set=an,i.update=ln,i.mutate=cn,i.asReadonly=un,i[Ae]=n,i}const on=(()=>({...ze,equal:Ee,readonlyFn:void 0}))();function sn(t){t.version++,Le(t),nn?.()}function an(t){const e=this[Ae];Re()||en(),e.equal(e.value,t)||(e.value=t,sn(e))}function ln(t){Re()||en(),an.call(this,t(this[Ae].value))}function cn(t){const e=this[Ae];Re()||en(),t(e.value),sn(e)}function un(){const t=this[Ae];if(void 0===t.readonlyFn){const e=()=>this();e[Ae]=t,t.readonlyFn=e}return t.readonlyFn}function hn(t){const e=De(null);try{return t()}finally{De(e)}}const dn=()=>{},pn=(()=>({...ze,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:dn}))();class fn{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function gn(){return mn}function mn(t){return t.type.prototype.ngOnChanges&&(t.setInput=yn),vn}function vn(){const t=_n(this),e=t?.current;if(e){const n=t.previous;if(n===rt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}}function yn(t,e,n,i){const r=this.declaredInputs[n],o=_n(t)||function(t,e){return t[bn]=e}(t,{previous:rt,current:null}),s=o.current||(o.current={}),a=o.previous,l=a[r];s[r]=new fn(l&&l.currentValue,e,a===rt),t[i]=e}gn.ngInherit=!0;const bn="__ngSimpleChanges__";function _n(t){return t[bn]||null}const wn=function(t,e,n){},xn="svg";function Cn(t){for(;Array.isArray(t);)t=t[qt];return t}function kn(t,e){return Cn(e[t])}function On(t,e){return Cn(e[t.index])}function Mn(t,e){return t.data[e]}function Sn(t,e){return t[e]}function An(t,e){const n=e[t];return we(n)?n:n[qt]}function Pn(t,e){return null==e?null:t[e]}function En(t){t[ae]=0}function Tn(t){1024&t[Ut]||(t[Ut]|=1024,Dn(t,1))}function In(t){1024&t[Ut]&&(t[Ut]&=-1025,Dn(t,-1))}function Dn(t,e){let n=t[Gt];if(null===n)return;n[Jt]+=e;let i=n;for(n=n[Gt];null!==n&&(1===e&&1===i[Jt]||-1===e&&0===i[Jt]);)n[Jt]+=e,i=n,n=n[Gt]}function zn(t,e){if(!(256&~t[Ut]))throw new x(911,!1);null===t[he]&&(t[he]=[]),t[he].push(e)}const Nn={lFrame:oi(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fn(){return Nn.bindingsEnabled}function Ln(){return null!==Nn.skipHydrationRootTNode}function Rn(){return Nn.lFrame.lView}function Bn(){return Nn.lFrame.tView}function jn(t){return Nn.lFrame.contextLView=t,t[Kt]}function Hn(t){return Nn.lFrame.contextLView=null,t}function Vn(){let t=$n();for(;null!==t&&64===t.type;)t=t.parent;return t}function $n(){return Nn.lFrame.currentTNode}function qn(t,e){const n=Nn.lFrame;n.currentTNode=t,n.isParent=e}function Zn(){return Nn.lFrame.isParent}function Un(){Nn.lFrame.isParent=!1}function Gn(){const t=Nn.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Qn(){return Nn.lFrame.bindingIndex++}function Jn(t){const e=Nn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Yn(t,e){const n=Nn.lFrame;n.bindingIndex=n.bindingRootIndex=t,Wn(e)}function Wn(t){Nn.lFrame.currentDirectiveIndex=t}function Kn(t){const e=Nn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Xn(){return Nn.lFrame.currentQueryIndex}function ti(t){Nn.lFrame.currentQueryIndex=t}function ei(t){const e=t[Zt];return 2===e.type?e.declTNode:1===e.type?t[Yt]:null}function ni(t,e,n){if(n&N.SkipSelf){let i=e,r=t;for(;i=i.parent,!(null!==i||n&N.Host||(i=ei(r),null===i)||(r=r[re],10&i.type)););if(null===i)return!1;e=i,t=r}const i=Nn.lFrame=ri();return i.currentTNode=e,i.lView=t,!0}function ii(t){const e=ri(),n=t[Zt];Nn.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function ri(){const t=Nn.lFrame,e=null===t?null:t.child;return null===e?oi(t):e}function oi(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 si(){const t=Nn.lFrame;return Nn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ai=si;function li(){const t=si();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 ci(){return Nn.lFrame.selectedIndex}function ui(t){Nn.lFrame.selectedIndex=t}function hi(){const t=Nn.lFrame;return Mn(t.tView,t.selectedIndex)}function di(){Nn.lFrame.currentNamespace=xn}function pi(){Nn.lFrame.currentNamespace=null}let fi=!0;function gi(){return fi}function mi(t){fi=t}function vi(t,e){for(let n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[l]<0&&(t[ae]+=65536),(a>13>16&&(3&t[Ut])===e&&(t[Ut]+=8192,xi(s,o)):xi(s,o)}const ki=-1;class Oi{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function Mi(t){return t!==ki}function Si(t){return 32767&t}function Ai(t,e){let n=t>>16,i=e;for(;n>0;)i=i[re],n--;return i}let Pi=!0;function Ei(t){const e=Pi;return Pi=t,e}const Ti=255,Ii=5;let Di=0;const zi={};function Ni(t,e){const n=Li(t,e);if(-1!==n)return n;const i=e[Zt];i.firstCreatePass&&(t.injectorIndex=e.length,Fi(i.data,t),Fi(e,null),Fi(i.blueprint,null));const r=Ri(t,e),o=t.injectorIndex;if(Mi(r)){const t=Si(r),n=Ai(r,e),i=n[Zt].data;for(let r=0;r<8;r++)e[o+r]=n[t+r]|i[t+r]}return e[o+8]=r,o}function Fi(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Li(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Ri(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,i=null,r=e;for(;null!==r;){if(i=Xi(r),null===i)return ki;if(n++,r=r[re],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return ki}function Bi(t,e,n){!function(t,e,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ht)&&(i=n[ht]),null==i&&(i=n[ht]=Di++);const r=i&Ti,o=1<>Ii)]|=o}(t,e,n)}function ji(t,e,n){if(n&N.Optional||void 0!==t)return t;k()}function Hi(t,e,n,i){if(n&N.Optional&&void 0===i&&(i=null),!(n&(N.Self|N.Host))){const r=t[Xt],o=R(void 0);try{return r?r.get(e,i,n&N.Optional):B(e,i,n&N.Optional)}finally{R(o)}}return ji(i,0,n)}function Vi(t,e,n,i=N.Default,r){if(null!==t){if(2048&e[Ut]&&!(i&N.Self)){const r=function(t,e,n,i,r){let o=t,s=e;for(;null!==o&&null!==s&&2048&s[Ut]&&!(512&s[Ut]);){const t=$i(o,s,n,i|N.Self,zi);if(t!==zi)return t;let e=o.parent;if(!e){const t=s[ue];if(t){const e=t.get(n,zi,i);if(e!==zi)return e}e=Xi(s),s=s[re]}o=e}return r}(t,e,n,i,zi);if(r!==zi)return r}const r=$i(t,e,n,i,zi);if(r!==zi)return r}return Hi(e,n,i,r)}function $i(t,e,n,i,r){const o=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;const e=t.hasOwnProperty(ht)?t[ht]:void 0;return"number"==typeof e?e>=0?e&Ti:Yi:e}(n);if("function"==typeof o){if(!ni(e,t,i))return i&N.Host?ji(r,0,i):Hi(e,n,i,r);try{let t;if(t=o(i),null!=t||i&N.Optional)return t;k()}finally{ai()}}else if("number"==typeof o){let r=null,s=Li(t,e),a=ki,l=i&N.Host?e[oe][Yt]:null;for((-1===s||i&N.SkipSelf)&&(a=-1===s?Ri(t,e):e[s+8],a!==ki&&Qi(i,!1)?(r=e[Zt],s=Si(a),e=Ai(a,e)):s=-1);-1!==s;){const t=e[Zt];if(Gi(o,s,t.data)){const t=qi(s,e,n,r,i,l);if(t!==zi)return t}a=e[s+8],a!==ki&&Qi(i,e[Zt].data[s+8]===l)&&Gi(o,s,e)?(r=t,s=Si(a),e=Ai(a,e)):s=-1}}return r}function qi(t,e,n,i,r,o){const s=e[Zt],a=s.data[t+8],l=Zi(a,s,n,null==i?ke(a)&&Pi:i!=s&&!!(3&a.type),r&N.Host&&o===a);return null!==l?Ui(e,s,l,a):zi}function Zi(t,e,n,i,r){const o=t.providerIndexes,s=e.data,a=1048575&o,l=t.directiveStart,c=t.directiveEnd,u=o>>20,h=r?a+u:c;for(let t=i?a:a+u;t=l&&e.type===n)return t}if(r){const t=s[l];if(t&&Me(t)&&t.type===n)return l}return null}function Ui(t,e,n,i){let r=t[n];const o=e.data;if(r instanceof Oi){const s=r;s.resolving&&function(t,e){throw new x(-200,`Circular dependency in DI detected for ${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():C(t)}(o[n]));const a=Ei(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?R(s.injectImpl):null;ni(t,i,N.Default);try{r=t[n]=s.factory(void 0,o,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(i){const i=mn(e);(n.preOrderHooks??(n.preOrderHooks=[])).push(t,i),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,i)}r&&(n.preOrderHooks??(n.preOrderHooks=[])).push(0-t,r),o&&((n.preOrderHooks??(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks??(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{null!==l&&R(l),Ei(a),s.resolving=!1,ai()}}return r}function Gi(t,e,n){const i=1<>Ii)]&i)}function Qi(t,e){return!(t&N.Self||t&N.Host&&e)}class Ji{constructor(t,e){this._tNode=t,this._lView=e}get(t,e,n){return Vi(this._tNode,this._lView,t,K(n),e)}}function Yi(){return new Ji(Vn(),Rn())}function Wi(t){return et((()=>{const e=t.prototype.constructor,n=e[ut]||Ki(e),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const t=r[ut]||Ki(r);if(t&&t!==n)return t;r=Object.getPrototypeOf(r)}return t=>new t}))}function Ki(t){return b(t)?()=>{const e=Ki(y(t));return e&&e()}:Se(t)}function Xi(t){const e=t[Zt],n=e.type;return 2===n?e.declTNode:1===n?t[Yt]:null}function tr(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 i=0;for(;i{const i=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function r(...t){if(this instanceof r)return i.apply(this,t),this;const e=new r(...t);return n.annotation=e,n;function n(t,n,i){const r=t.hasOwnProperty(er)?t[er]:Object.defineProperty(t,er,{value:[]})[er];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(e),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}))}function ir(t,e){t.forEach((t=>Array.isArray(t)?ir(t,e):e(t)))}function rr(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function or(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function sr(t,e){const n=[];for(let i=0;i=0?t[1|i]=n:(i=~i,function(t,e,n,i){let r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;){const e=r-2;t[r]=t[e],r--}t[e]=n,t[e+1]=i}}(t,i,e,n)),i}function lr(t,e){const n=cr(t,e);if(n>=0)return t[1|n]}function cr(t,e){return function(t,e,n){let i=0,r=t.length>>1;for(;r!==i;){const n=i+(r-i>>1),o=t[n<<1];if(e===o)return n<<1;o>e?r=n:i=n+1}return~(r<<1)}(t,e)}const ur=tt(nr("Optional"),8),hr=tt(nr("Self"),2),dr=tt(nr("SkipSelf"),4);function pr(t){return!(128&~t.flags)}var fr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(fr||{});const gr=/^>|^->||--!>|)/g,vr=new Map;let yr=0;const br="__ngContext__";function _r(t,e){var n;we(e)?(t[br]=e[ce],n=e,vr.set(n[ce],n)):t[br]=e}let wr;function xr(t,e){return wr(t,e)}function Cr(t){const e=t[Gt];return xe(e)?e[Gt]:e}function kr(t){return Mr(t[ne])}function Or(t){return Mr(t[Qt])}function Mr(t){for(;null!==t&&!xe(t);)t=t[Qt];return t}function Sr(t,e,n,i,r){if(null!=i){let o,s=!1;xe(i)?o=i:we(i)&&(s=!0,i=i[qt]);const a=Cn(i);0===t&&null!==n?null==r?Nr(e,n,a):zr(e,n,a,r||null,!0):1===t&&null!==n?zr(e,n,a,r||null,!0):2===t?function(t,e,n){const i=Lr(t,e);i&&function(t,e,n,i){t.removeChild(e,n,i)}(t,i,e,n)}(e,a,s):3===t&&e.destroyNode(a),null!=o&&function(t,e,n,i,r){const o=n[ye];o!==Cn(n)&&Sr(e,t,i,o,r);for(let r=_e;r0&&(t[n-1][Qt]=i[Qt]);const s=or(t,_e+e);Jr(i[Zt],r=i,r[ee],2,null,null),r[qt]=null,r[Yt]=null;const a=s[le];null!==a&&a.detachView(s[Zt]),i[Gt]=null,i[Qt]=null,i[Ut]&=-129}var r;return i}function Tr(t,e){if(!(256&e[Ut])){const n=e[ee];e[pe]&&$e(e[pe]),e[fe]&&$e(e[fe]),n.destroyNode&&Jr(t,e,n,3,null,null),function(t){let e=t[ne];if(!e)return Ir(t[Zt],t);for(;e;){let n=null;if(we(e))n=e[ne];else{const t=e[_e];t&&(n=t)}if(!n){for(;e&&!e[Qt]&&e!==t;)we(e)&&Ir(e[Zt],e),e=e[Gt];null===e&&(e=t),we(e)&&Ir(e[Zt],e),n=e&&e[Qt]}e=n}}(e)}}function Ir(t,e){if(!(256&e[Ut])){e[Ut]&=-129,e[Ut]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let t=0;t=0?i[e]():i[-e].unsubscribe(),t+=2}else{const e=i[n[t+1]];n[t].call(e)}null!==i&&(e[Wt]=null);const r=e[he];if(null!==r){e[he]=null;for(let t=0;t-1){const{encapsulation:n}=t.data[i.directiveStart+e];if(n===it.None||n===it.Emulated)return null}return On(i,n)}}(t,e.parent,n)}function zr(t,e,n,i,r){t.insertBefore(e,n,i,r)}function Nr(t,e,n){t.appendChild(e,n)}function Fr(t,e,n,i,r){null!==i?zr(t,e,n,i,r):Nr(t,e,n)}function Lr(t,e){return t.parentNode(e)}function Rr(t,e,n){return $r(t,e,n)}let Br,jr,Hr,Vr,$r=function(t,e,n){return 40&t.type?On(t,n):null};function qr(t,e,n,i){const r=Dr(t,i,e),o=e[ee],s=Rr(i.parent||e[Yt],i,e);if(null!=r)if(Array.isArray(n))for(let t=0;tt,createScript:t=>t,createScriptURL:t=>t})}catch{}return jr}()?.createHTML(t)||t}function to(t){Hr=t}function eo(){if(void 0!==Hr)return Hr;if("undefined"!=typeof document)return document;throw new x(210,!1)}function no(){if(void 0===Vr&&(Vr=null,j.trustedTypes))try{Vr=j.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Vr}function io(t){return no()?.createHTML(t)||t}function ro(t){return no()?.createScriptURL(t)||t}class oo{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${w})`}}class so extends oo{getTypeName(){return"HTML"}}class ao extends oo{getTypeName(){return"Style"}}class lo extends oo{getTypeName(){return"Script"}}class co extends oo{getTypeName(){return"URL"}}class uo extends oo{getTypeName(){return"ResourceURL"}}function ho(t){return t instanceof oo?t.changingThisBreaksApplicationSecurity:t}function po(t,e){const n=function(t){return t instanceof oo&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${w})`)}return n===e}function fo(t){return new so(t)}function go(t){return new ao(t)}function mo(t){return new lo(t)}function vo(t){return new co(t)}function yo(t){return new uo(t)}class bo{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const e=(new window.DOMParser).parseFromString(Xr(t),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(t):(e.removeChild(e.firstChild),e)}catch{return null}}}class _o{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const e=this.inertDocument.createElement("template");return e.innerHTML=Xr(t),e}}const wo=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function xo(t){return(t=String(t)).match(wo)?t:"unsafe:"+t}function Co(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function ko(...t){const e={};for(const n of t)for(const t in n)n.hasOwnProperty(t)&&(e[t]=!0);return e}const Oo=Co("area,br,col,hr,img,wbr"),Mo=Co("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),So=Co("rp,rt"),Ao=ko(So,Mo),Po=ko(Oo,ko(Mo,Co("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),ko(So,Co("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ao),Eo=Co("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),To=ko(Eo,Co("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Co("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Io=Co("script,style,template");class Do{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let e=t.firstChild,n=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?n=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,n&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let t=this.checkClobberedElement(e,e.nextSibling);if(t){e=t;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(t){const e=t.nodeName.toLowerCase();if(!Po.hasOwnProperty(e))return this.sanitizedSomething=!0,!Io.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const n=t.attributes;for(let t=0;t"),!0}endElement(t){const e=t.nodeName.toLowerCase();Po.hasOwnProperty(e)&&!Oo.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(Fo(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 zo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,No=/([^\#-~ |!])/g;function Fo(t){return t.replace(/&/g,"&").replace(zo,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(No,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let Lo;function Ro(t,e){let n=null;try{Lo=Lo||function(t){const e=new _o(t);return function(){try{return!!(new window.DOMParser).parseFromString(Xr(""),"text/html")}catch{return!1}}()?new bo(e):e}(t);let i=e?String(e):"";n=Lo.getInertBodyElement(i);let r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=Lo.getInertBodyElement(i)}while(i!==o);return Xr((new Do).sanitizeChildren(Bo(n)||n))}finally{if(n){const t=Bo(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function Bo(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var jo=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(jo||{});function Ho(t){const e=Zo();return e?io(e.sanitize(jo.HTML,t)||""):po(t,"HTML")?io(ho(t)):Ro(eo(),C(t))}function Vo(t){const e=Zo();return e?e.sanitize(jo.URL,t)||"":po(t,"URL")?ho(t):xo(C(t))}function $o(t){const e=Zo();if(e)return ro(e.sanitize(jo.RESOURCE_URL,t)||"");if(po(t,"ResourceURL"))return ro(ho(t));throw new x(904,!1)}function qo(t,e,n){return function(t,e){return"src"===e&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===e&&("base"===t||"link"===t)?$o:Vo}(e,n)(t)}function Zo(){const t=Rn();return t&&t[te].sanitizer}const Uo=new H("ENVIRONMENT_INITIALIZER"),Go=new H("INJECTOR",-1),Qo=new H("INJECTOR_DEF_TYPES");class Jo{get(t,e=V){if(e===V){const e=new Error(`NullInjectorError: No provider for ${f(t)}!`);throw e.name="NullInjectorError",e}return e}}function Yo(t){return{ɵproviders:t}}function Wo(...t){return{ɵproviders:Ko(0,t),ɵfromNgModule:!0}}function Ko(t,...e){const n=[],i=new Set;let r;const o=t=>{n.push(t)};return ir(e,(t=>{const e=t;ts(e,o,[],i)&&(r||(r=[]),r.push(e))})),void 0!==r&&Xo(r,o),n}function Xo(t,e){for(let n=0;n{e(t,i)}))}}function ts(t,e,n,i){if(!(t=y(t)))return!1;let r=null,o=E(t);const s=!o&&Ft(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const e=t.ngModule;if(o=E(e),!o)return!1;r=e}const a=i.has(r);if(s){if(a)return!1;if(i.add(r),s.dependencies){const t="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const r of t)ts(r,e,n,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let t;i.add(r);try{ir(o.imports,(r=>{ts(r,e,n,i)&&(t||(t=[]),t.push(r))}))}finally{}void 0!==t&&Xo(t,e)}if(!a){const t=Se(r)||(()=>new r);e({provide:r,useFactory:t,deps:ot},r),e({provide:Qo,useValue:r,multi:!0},r),e({provide:Uo,useValue:()=>Y(r),multi:!0},r)}const s=o.providers;if(null!=s&&!a){const n=t;es(s,(t=>{e(t,n)}))}}}return r!==t&&void 0!==t.providers}function es(t,e){for(let n of t)_(n)&&(n=n.ɵproviders),Array.isArray(n)?es(n,e):e(n)}const ns=d({provide:String,useValue:d});function is(t){return null!==t&&"object"==typeof t&&ns in t}function rs(t){return"function"==typeof t}const os=new H("Set Injector scope."),ss={},as={};let ls;function cs(){return void 0===ls&&(ls=new Jo),ls}class us{}class hs extends us{get destroyed(){return this._destroyed}constructor(t,e,n,i){super(),this.parent=e,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,gs(t,(t=>this.processProvider(t))),this.records.set(Go,fs(void 0,this)),i.has("environment")&&this.records.set(us,fs(void 0,this));const r=this.records.get(os);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(Qo.multi,ot,N.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of t)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const e=Q(this),n=R(void 0);try{return t()}finally{Q(e),R(n)}}get(t,e=V,n=N.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(dt))return t[dt](this);n=K(n);const i=Q(this),r=R(void 0);try{if(!(n&N.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(o=t)||"object"==typeof o&&o instanceof H)&&S(t);e=n&&this.injectableDefInScope(n)?fs(ds(t),ss):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}const i=n&N.Self?cs():this.parent;return e=n&N.Optional&&e===V?null:e,i.get(t,e)}catch(e){if("NullInjectorError"===e.name){if((e[q]=e[q]||[]).unshift(f(t)),i)throw e;return function(t,e,n,i){const r=t[q];throw e[U]&&r.unshift(e[U]),t.message=function(t,e,n,i=null){t=t&&"\n"===t.charAt(0)&&"ɵ"==t.charAt(1)?t.slice(2):t;let r=f(e);if(Array.isArray(e))r=e.map(f).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let i=e[n];t.push(n+":"+("string"==typeof i?JSON.stringify(i):f(i)))}r=`{${t.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${t.replace(Z,"\n ")}`}("\n"+t.message,r,"R3InjectorError",i),t.ngTokenPath=r,t[q]=null,t}(e,t,0,this.source)}throw e}finally{R(r),Q(i)}var o}resolveInjectorInitializers(){const t=Q(this),e=R(void 0);try{const t=this.get(Uo.multi,ot,N.Self);for(const e of t)e()}finally{Q(t),R(e)}}toString(){const t=[],e=this.records;for(const n of e.keys())t.push(f(n));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new x(205,!1)}processProvider(t){let e=rs(t=y(t))?t:y(t&&t.provide);const n=function(t){return is(t)?fs(void 0,t.useValue):fs(ps(t),ss)}(t);if(rs(t)||!0!==t.multi)this.records.get(e);else{let n=this.records.get(e);n||(n=fs(void 0,ss,!0),n.factory=()=>X(n.multi),this.records.set(e,n)),e=t,n.multi.push(t)}this.records.set(e,n)}hydrate(t,e){var n;return e.value===ss&&(e.value=as,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(t){if(!t.providedIn)return!1;const e=y(t.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(t){const e=this._onDestroyHooks.indexOf(t);-1!==e&&this._onDestroyHooks.splice(e,1)}}function ds(t){const e=S(t),n=null!==e?e.factory:Se(t);if(null!==n)return n;if(t instanceof H)throw new x(204,!1);if(t instanceof Function)return function(t){const e=t.length;if(e>0)throw sr(e,"?"),new x(204,!1);const n=(i=t)&&(i[T]||i[D])||null;var i;return null!==n?()=>n.factory(t):()=>new t}(t);throw new x(204,!1)}function ps(t,e,n){let i;if(rs(t)){const e=y(t);return Se(e)||ds(e)}if(is(t))i=()=>y(t.useValue);else if((r=t)&&r.useFactory)i=()=>t.useFactory(...X(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))i=()=>Y(y(t.useExisting));else{const e=y(t&&(t.useClass||t.provide));if(!t.deps)return Se(e)||ds(e);i=()=>new e(...X(t.deps))}var r;return i}function fs(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function gs(t,e){for(const n of t)Array.isArray(n)?gs(n,e):n&&_(n)?gs(n.ɵproviders,e):e(n)}const ms=new H("AppId",{providedIn:"root",factory:()=>vs}),vs="ng",ys=new H("Platform Initializer"),bs=new H("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),_s=new H("AnimationModuleType"),ws=new H("CSP nonce",{providedIn:"root",factory:()=>eo().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let xs=(t,e,n)=>null;function Cs(t,e,n=!1){return xs(t,e,n)}class ks{}class Os{}class Ms{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${f(t)}.`);return e.ngComponent=t,e}(t)}}let Ss=(()=>{class t{}return t.NULL=new Ms,t})();function As(){return Ps(Vn(),Rn())}function Ps(t,e){return new Es(On(t,e))}let Es=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=As,t})();function Ts(t){return t instanceof Es?t.nativeElement:t}class Is{}let Ds=(()=>{class t{constructor(){this.destroyNode=null}}return t.__NG_ELEMENT_ID__=()=>function(){const t=Rn(),e=An(Vn().index,t);return(we(e)?e:t)[ee]}(),t})(),zs=(()=>{var t;class e{}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>null}),e})();class Ns{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Fs=new Ns("16.2.12"),Ls={};function Rs(t){if(!L()&&!G)throw new x(-203,!1)}function Bs(t,e=null,n=null,i){const r=js(t,e,n,i);return r.resolveInjectorInitializers(),r}function js(t,e=null,n=null,i,r=new Set){const o=[n||ot,Wo(t)];return i=i||("object"==typeof t?void 0:f(t)),new hs(o,e||cs(),i||null,r)}let Hs=(()=>{var t;class e{static create(t,e){if(Array.isArray(t))return Bs({name:""},e,t,"");{const e=t.name??"";return Bs({name:e},t.parent,t.providers,e)}}}return(t=e).THROW_IF_NOT_FOUND=V,t.NULL=new Jo,t.ɵprov=O({token:t,providedIn:"any",factory:()=>Y(Go)}),t.__NG_ELEMENT_ID__=-1,e})();function Vs(t){return t.ngOriginalError}class $s{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t);this._console.error("ERROR",t),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(t){let e=t&&Vs(t);for(;e&&Vs(e);)e=Vs(e);return e||null}}let qs=(()=>{var t;class e{}return(t=e).__NG_ELEMENT_ID__=Us,t.__NG_ENV_ID__=t=>t,e})();class Zs extends qs{constructor(t){super(),this._lView=t}onDestroy(t){return zn(this._lView,t),()=>function(t,e){if(null===t[he])return;const n=t[he].indexOf(e);-1!==n&&t[he].splice(n,1)}(this._lView,t)}}function Us(){return new Zs(Rn())}class Gs extends i.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let i=t,o=e||(()=>null),s=n;if(t&&"object"==typeof t){const e=t;i=e.next?.bind(e),o=e.error?.bind(e),s=e.complete?.bind(e)}this.__isAsync&&(o=Qs(o),i&&(i=Qs(i)),s&&(s=Qs(s)));const a=super.subscribe({next:i,error:o,complete:s});return t instanceof r.w0&&t.add(a),a}}function Qs(t){return e=>{setTimeout(t,void 0,e)}}const Js=Gs;function Ys(...t){}class Ws{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Js(!1),this.onMicrotaskEmpty=new Js(!1),this.onStable=new Js(!1),this.onError=new Js(!1),"undefined"==typeof Zone)throw new x(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&e,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){const t="function"==typeof j.requestAnimationFrame;let e=j[t?"requestAnimationFrame":"setTimeout"],n=j[t?"cancelAnimationFrame":"clearTimeout"];if("undefined"!=typeof Zone&&e&&n){const t=e[Zone.__symbol__("OriginalDelegate")];t&&(e=t);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function(t){const e=()=>{!function(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(j,(()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{t.lastRequestAnimationFrameId=-1,ta(t),t.isCheckStableRunning=!0,Xs(t),t.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),t.fakeTopEventTask.invoke()})),ta(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,o,s,a)=>{if(function(t){return!!Array.isArray(t)&&1===t.length&&!0===t[0].data?.__ignore_ng_zone__}(a))return n.invokeTask(r,o,s,a);try{return ea(t),n.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&e(),na(t)}},onInvoke:(n,i,r,o,s,a,l)=>{try{return ea(t),n.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),na(t)}},onHasTask:(e,n,i,r)=>{e.hasTask(i,r),n===i&&("microTask"==r.change?(t._hasPendingMicrotasks=r.microTask,ta(t),Xs(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,n,i,r)=>(e.handleError(i,r),t.runOutsideAngular((()=>t.onError.emit(r))),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ws.isInAngularZone())throw new x(909,!1)}static assertNotInAngularZone(){if(Ws.isInAngularZone())throw new x(909,!1)}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,i){const r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,Ks,Ys,Ys);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}const Ks={};function Xs(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 ta(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function ea(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function na(t){t._nesting--,Xs(t)}const ia=new H("",{providedIn:"root",factory:ra});function ra(){const t=W(Ws);let e=!0;const n=new o.y((n=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular((()=>{n.next(e),n.complete()}))})),i=new o.y((n=>{let i;t.runOutsideAngular((()=>{i=t.onStable.subscribe((()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{e||t.hasPendingMacrotasks||t.hasPendingMicrotasks||(e=!0,n.next(!0))}))}))}));const r=t.onUnstable.subscribe((()=>{Ws.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular((()=>{n.next(!1)})))}));return()=>{i.unsubscribe(),r.unsubscribe()}}));return(0,s.T)(n,i.pipe((0,c.B)()))}function oa(t){return t.ownerDocument.defaultView}function sa(t){return t.ownerDocument}function aa(t){return t instanceof Function?t():t}function la(t,e){!e&&Rs();const n=e?.injector??W(Hs);if(!function(t){return"browser"===(t??W(Hs)).get(bs)}(n))return{destroy(){}};let i;const r=n.get(qs).onDestroy((()=>i?.())),o=n.get(ha),s=o.handler??(o.handler=new ua),a=n.get(Ws),l=n.get($s,null,{optional:!0}),c=new ca(a,l,(()=>{i?.(),t()}));return i=()=>{s.unregister(c),r()},s.register(c),{destroy:i}}class ca{constructor(t,e,n){this.zone=t,this.errorHandler=e,this.callbackFn=n}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(t){this.errorHandler?.handleError(t)}}}class ua{constructor(){this.executingCallbacks=!1,this.callbacks=new Set,this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new x(102,!1)}register(t){(this.executingCallbacks?this.deferredCallbacks:this.callbacks).add(t)}unregister(t){this.callbacks.delete(t),this.deferredCallbacks.delete(t)}execute(){this.executingCallbacks=!0;for(const t of this.callbacks)t.invoke();this.executingCallbacks=!1;for(const t of this.deferredCallbacks)this.callbacks.add(t);this.deferredCallbacks.clear()}destroy(){this.callbacks.clear(),this.deferredCallbacks.clear()}}let ha=(()=>{var t;class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function da(t){for(;t;){t[Ut]|=64;const e=Cr(t);if(512&t[Ut]&&!e)return t;t=e}return null}const pa=!1,fa=new H("",{providedIn:"root",factory:()=>pa});let ga=null;function ma(t,e){return t[e]??_a()}function va(t,e){const n=_a();n.producerNode?.length&&(t[e]=ga,n.lView=t,ga=ba())}const ya={...ze,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{da(t.lView)},lView:null};function ba(){return Object.create(ya)}function _a(){return ga??(ga=ba()),ga}const wa={};function xa(t){Ca(Bn(),Rn(),ci()+t,!1)}function Ca(t,e,n,i){if(!i)if(3&~e[Ut]){const i=t.preOrderHooks;null!==i&&bi(e,i,0,n)}else{const i=t.preOrderCheckHooks;null!==i&&yi(e,i,n)}ui(n)}function ka(t,e=N.Default){const n=Rn();return null===n?Y(t,e):Vi(Vn(),n,y(t),e)}function Oa(){throw new Error("invalid")}function Ma(t,e,n,i,r,o,s,a,l,c,u){const h=e.blueprint.slice();return h[qt]=r,h[Ut]=140|i,(null!==c||t&&2048&t[Ut])&&(h[Ut]|=2048),En(h),h[Gt]=h[re]=t,h[Kt]=n,h[te]=s||t&&t[te],h[ee]=a||t&&t[ee],h[Xt]=l||t&&t[Xt]||null,h[Yt]=o,h[ce]=yr++,h[de]=u,h[ue]=c,h[oe]=2==e.type?t[oe]:h,h}function Sa(t,e,n,i,r){let o=t.data[e];if(null===o)o=function(t,e,n,i,r){const o=$n(),s=Zn(),a=s?o:o&&o.parent,l=t.data[e]=function(t,e,n,i,r,o){let s=e?e.injectorIndex:-1,a=0;return Ln()&&(a|=128),{type:n,index:i,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,a,n,e,i,r);return null===t.firstChild&&(t.firstChild=l),null!==o&&(s?null==o.child&&null!==l.parent&&(o.child=l):null===o.next&&(o.next=l,l.prev=o)),l}(t,e,n,i,r),Nn.lFrame.inI18n&&(o.flags|=32);else if(64&o.type){o.type=n,o.value=i,o.attrs=r;const t=function(){const t=Nn.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}();o.injectorIndex=null===t?-1:t.injectorIndex}return qn(o,!0),o}function Aa(t,e,n,i){if(0===n)return-1;const r=e.length;for(let r=0;rge&&Ca(t,e,ge,!1),wn(a?2:0,r);const s=a?o:null,l=je(s);try{null!==s&&(s.dirty=!1),n(i,r)}finally{He(s,l)}}finally{a&&null===e[pe]&&va(e,pe),ui(s),wn(a?3:1,r)}}function Ea(t,e,n){if(Ce(e)){const i=De(null);try{const i=e.directiveStart,r=e.directiveEnd;for(let e=i;e0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(r)!=s&&r.push(s),r.push(n,i,o)}}(t,e,i,Aa(t,n,r.hostVars,wa),r)}function Za(t,e,n,i,r,o){const s=o[e];if(null!==s)for(let t=0;t{var t;class e{constructor(){this.all=new Set,this.queue=new Map}create(t,e,n){const i="undefined"==typeof Zone?null:Zone.current,r=function(t,e,n){const i=Object.create(pn);n&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=e;const r=t=>{i.cleanupFn=t};return i.ref={notify:()=>Be(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Ve(i))return;i.hasRun=!0;const t=je(i);try{i.cleanupFn(),i.cleanupFn=dn,i.fn(r)}finally{He(i,t)}},cleanup:()=>i.cleanupFn()},i.ref}(t,(t=>{this.all.has(t)&&this.queue.set(t,i)}),n);let o;this.all.add(r),r.notify();const s=()=>{r.cleanup(),o?.(),this.all.delete(r),this.queue.delete(r)};return o=e?.onDestroy(s),{destroy:s}}flush(){if(0!==this.queue.size)for(const[t,e]of this.queue)this.queue.delete(t),e?e.run((()=>t.run())):t.run()}get isQueueEmpty(){return 0===this.queue.size}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:()=>new t}),e})();function sl(t,e){!e?.injector&&Rs();const n=e?.injector??W(Hs),i=n.get(ol),r=!0!==e?.manualCleanup?n.get(qs):null;return i.create(t,r,!!e?.allowSignalWrites)}function al(t,e,n){let i=n?t.styles:null,r=n?t.classes:null,o=0;if(null!==e)for(let t=0;t0){dl(t,1);const e=n.components;null!==e&&gl(t,e,1)}}function gl(t,e,n){for(let i=0;i-1&&(Er(t,n),or(e,n))}this._attachedToViewContainer=!1}Tr(this._lView[Zt],this._lView)}onDestroy(t){zn(this._lView,t)}markForCheck(){da(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ut]&=-129}reattach(){this._lView[Ut]|=128}detectChanges(){ul(this._lView[Zt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new x(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){var t;this._appRef=null,Jr(this._lView[Zt],t=this._lView,t[ee],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new x(902,!1);this._appRef=t}}class vl extends ml{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;ul(t[Zt],t,t[Kt],!1)}checkNoChanges(){}get context(){return null}}class yl extends Ss{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Ft(t);return new wl(e,this.ngModule)}}function bl(t){const e=[];for(let n in t)if(t.hasOwnProperty(n)){const i=t[n];e.push({propName:i,templateName:n})}return e}class _l{constructor(t,e){this.injector=t,this.parentInjector=e}get(t,e,n){n=K(n);const i=this.injector.get(t,Ls,n);return i!==Ls||e===Ls?i:this.parentInjector.get(t,e,n)}}class wl extends Os{get inputs(){const t=this.componentDef,e=t.inputTransforms,n=bl(t.inputs);if(null!==e)for(const t of n)e.hasOwnProperty(t.propName)&&(t.transform=e[t.propName]);return n}get outputs(){return bl(this.componentDef.outputs)}constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(At).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}create(t,e,n,i){let r=(i=i||this.ngModule)instanceof us?i:i?.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const o=r?new _l(t,r):t,s=o.get(Is,null);if(null===s)throw new x(407,!1);const a={rendererFactory:s,sanitizer:o.get(zs,null),effectManager:o.get(ol,null),afterRenderEventManager:o.get(ha,null)},l=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",u=n?function(t,e,n,i){const r=i.get(fa,pa)||n===it.ShadowDom,o=t.selectRootElement(e,r);return o}(l,n,this.componentDef.encapsulation,o):Ar(l,c,function(t){const e=t.toLowerCase();return"svg"===e?xn:"math"===e?"math":null}(c)),h=this.componentDef.onPush?576:528,d=this.componentDef.signals?4608:h;let p=null;null!==u&&(p=Cs(u,o,!0));const f=za(0,null,null,1,0,null,null,null,null,null,null),g=Ma(null,f,null,d,null,null,a,l,o,null,p);let m,v;ii(g);try{const t=this.componentDef;let i,r=null;t.findHostDirectiveDefs?(i=[],r=new Map,t.findHostDirectiveDefs(t,i,r),i.push(t)):i=[t];const o=function(t,e,n,i,r,o,s){const a=r[Zt];!function(t,e,n,i){for(const n of t)e.mergedAttrs=mt(e.mergedAttrs,n.hostAttrs);null!==e.mergedAttrs&&(al(e,e.mergedAttrs,!0),null!==n&&Kr(i,n,e))}(i,t,e,s);let l=null;null!==e&&(l=Cs(e,r[Xt]));const c=o.rendererFactory.createRenderer(e,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const h=Ma(r,Da(n),null,u,r[t.index],t,o,c,null,null,l);return a.firstCreatePass&&Va(a,t,i.length-1),Ya(r,h),r[t.index]=h}(function(t,e){const n=t[Zt],i=ge;return t[i]=e,Sa(n,i,2,"#host",null)}(g,u),u,t,i,g,a,l);v=Mn(f,ge),u&&function(t,e,n,i){if(i)ft(t,n,["ng-version",Fs.full]);else{const{attrs:i,classes:r}=function(t){const e=[],n=[];let i=1,r=2;for(;i0&&Wr(t,n,r.join(" "))}}(l,t,u,n),void 0!==e&&function(t,e,n){const i=t.projection=[];for(let t=0;t=0;i--){const r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=mt(r.hostAttrs,n=mt(n,r.hostAttrs))}}(r)}function Ol(t){return t===rt?{}:t===ot?[]:t}function Ml(t,e){const n=t.viewQuery;t.viewQuery=n?(t,i)=>{e(t,i),n(t,i)}:e}function Sl(t,e){const n=t.contentQueries;t.contentQueries=n?(t,i,r)=>{e(t,i,r),n(t,i,r)}:e}function Al(t,e){const n=t.hostBindings;t.hostBindings=n?(t,i)=>{e(t,i),n(t,i)}:e}function Pl(t){return e=>{e.findHostDirectiveDefs=El,e.hostDirectives=(Array.isArray(t)?t:t()).map((t=>"function"==typeof t?{directive:y(t),inputs:rt,outputs:rt}:{directive:y(t.directive),inputs:Tl(t.inputs),outputs:Tl(t.outputs)}))}}function El(t,e,n){if(null!==t.hostDirectives)for(const i of t.hostDirectives){const t=Lt(i.directive);Il(t.declaredInputs,i.inputs),El(t,e,n),n.set(t,i),e.push(t)}}function Tl(t){if(void 0===t||0===t.length)return rt;const e={};for(let n=0;n(mi(!0),Ar(i,r,Nn.lFrame.currentNamespace));function Kl(t,e,n){const i=Rn(),r=Bn(),o=t+ge,s=r.firstCreatePass?function(t,e,n,i,r){const o=e.consts,s=Pn(o,i),a=Sa(e,t,8,"ng-container",s);return null!==s&&al(a,s,!0),Ra(e,n,a,Pn(o,r)),null!==e.queries&&e.queries.elementStart(e,a),a}(o,r,i,e,n):r.data[o];qn(s,!0);const a=ec(r,i,s,t);return i[o]=a,gi()&&qr(r,i,a,s),_r(a,i),Oe(s)&&(Ta(r,i,s),Ea(r,s,i)),null!=n&&Ia(i,s),Kl}function Xl(){let t=Vn();const e=Bn();return Zn()?Un():(t=t.parent,qn(t,!1)),e.firstCreatePass&&(vi(e,t),Ce(t)&&e.queries.elementEnd(t)),Xl}function tc(t,e,n){return Kl(t,e,n),Xl(),tc}let ec=(t,e,n,i)=>{return mi(!0),r=e[ee],o="",r.createComment(function(t){return t.replace(gr,(t=>t.replace(mr,"​$1​")))}(o));var r,o};function nc(){return Rn()}function ic(t){return!!t&&"function"==typeof t.then}function rc(t){return!!t&&"function"==typeof t.subscribe}function oc(t,e,n,i){const r=Rn(),o=Bn(),s=Vn();return function(t,e,n,i,r,o,s){const a=Oe(i),l=t.firstCreatePass&&Xa(t),c=e[Kt],u=Ka(e);let h=!0;if(3&i.type||s){const d=On(i,e),p=s?s(d):d,f=u.length,g=s?t=>s(Cn(t[i.index])):i.index;let m=null;if(!s&&a&&(m=function(t,e,n,i){const r=t.cleanup;if(null!=r)for(let t=0;ti?n[i]:null}"string"==typeof o&&(t+=2)}return null}(t,e,r,i.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,h=!1;else{o=ac(i,e,c,o,!1);const t=n.listen(p,r,o);u.push(o,t),l&&l.push(r,g,f,f+1)}}else o=ac(i,e,c,o,!1);const d=i.outputs;let p;if(h&&null!==d&&(p=d[r])){const t=p.length;if(t)for(let n=0;n-1?An(t.index,e):e);let a=sc(e,n,i,s),l=o.__ngNextListenerFn__;for(;l;)a=sc(e,n,l,s)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&s.preventDefault(),a}}function lc(t=1){return function(t){return(Nn.lFrame.contextLView=function(t,e){for(;t>0;)e=e[re],t--;return e}(t,Nn.lFrame.contextLView))[Kt]}(t)}function cc(t,e){let n=null;const i=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(!(1&t))return e[t+1]}return null}(t);for(let r=0;r>17&32767}function mc(t){return 2|t}function vc(t){return(131068&t)>>2}function yc(t,e){return-131069&t|e<<2}function bc(t){return 1|t}function _c(t,e,n,i,r){const o=t[n+1],s=null===e;let a=i?gc(o):vc(o),l=!1;for(;0!==a&&(!1===l||s);){const n=t[a],r=t[a+1];wc(n,e)&&(l=!0,t[a+1]=i?bc(r):mc(r)),a=i?gc(r):vc(r)}l&&(t[n+1]=i?mc(o):bc(o))}function wc(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&cr(t,e)>=0}const xc={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Cc(t){return t.substring(xc.key,xc.keyEnd)}function kc(t,e){const n=xc.textEnd;return n===e?-1:(e=xc.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,xc.key=e,n),Oc(t,e,n))}function Oc(t,e,n){for(;e=0;n=kc(e,n))ar(t,Cc(e),!0)}function Ec(t,e,n,i){const r=Rn(),o=Bn(),s=Jn(2);o.firstUpdatePass&&Ic(o,t,s,i),e!==wa&&Rl(r,s,e)&&Fc(o,o.data[ci()],r,r[ee],t,r[s+1]=function(t,e){return null==t||""===t||("string"==typeof e?t+=e:"object"==typeof t&&(t=f(ho(t)))),t}(e,n),i,s)}function Tc(t,e){return e>=t.expandoStartIndex}function Ic(t,e,n,i){const r=t.data;if(null===r[n+1]){const o=r[ci()],s=Tc(t,n);Bc(o,i)&&null===e&&!s&&(e=!1),e=function(t,e,n,i){const r=Kn(t);let o=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=zc(n=Dc(null,t,e,n,i),e.attrs,i),o=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==r)if(n=Dc(r,t,e,n,i),null===o){let n=function(t,e,n){const i=n?e.classBindings:e.styleBindings;if(0!==vc(i))return t[gc(i)]}(t,e,i);void 0!==n&&Array.isArray(n)&&(n=Dc(null,t,e,n[1],i),n=zc(n,e.attrs,i),function(t,e,n,i){t[gc(n?e.classBindings:e.styleBindings)]=i}(t,e,i,n))}else o=function(t,e,n){let i;const r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(r)if(0!==l){const e=gc(t[a+1]);t[i+1]=fc(e,a),0!==e&&(t[e+1]=yc(t[e+1],i)),t[a+1]=131071&t[a+1]|i<<17}else t[i+1]=fc(a,0),0!==a&&(t[a+1]=yc(t[a+1],i)),a=i;else t[i+1]=fc(l,0),0===a?a=i:t[l+1]=yc(t[l+1],i),l=i;u&&(t[i+1]=mc(t[i+1])),_c(t,c,i,!0),_c(t,c,i,!1),function(t,e,n,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&cr(o,e)>=0&&(n[i+1]=bc(n[i+1]))}(e,c,t,i,o),s=fc(a,l),o?e.classBindings=s:e.styleBindings=s}(r,o,e,n,s,i)}}function Dc(t,e,n,i,r){let o=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const e=t[r],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[r+1];u===wa&&(u=c?ot:void 0);let h=c?lr(u,i):l===i?u:void 0;if(o&&!Rc(h)&&(h=lr(e,i)),Rc(h)&&(a=h,s))return a;const d=t[r+1];r=s?gc(d):vc(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(a=lr(t,i))}return a}function Rc(t){return void 0!==t}function Bc(t,e){return!!(t.flags&(e?8:16))}function jc(t,e=""){const n=Rn(),i=Bn(),r=t+ge,o=i.firstCreatePass?Sa(i,r,1,e,null):i.data[r],s=Hc(i,n,o,e,t);n[r]=s,gi()&&qr(i,n,s,o),qn(o,!1)}let Hc=(t,e,n,i,r)=>(mi(!0),function(t,e){return t.createText(e)}(e[ee],i));function Vc(t){return $c("",t,""),Vc}function $c(t,e,n){const i=Rn(),r=Vl(i,t,e,n);return r!==wa&&nl(i,ci(),r),$c}function qc(t,e,n,i,r){const o=Rn(),s=function(t,e,n,i,r,o){const s=Bl(t,Nn.lFrame.bindingIndex,n,r);return Jn(2),s?e+C(n)+i+C(r)+o:wa}(o,t,e,n,i,r);return s!==wa&&nl(o,ci(),s),qc}function Zc(t,e,n){const i=Rn();return Rl(i,Qn(),e)&&La(Bn(),hi(),i,t,e,i[ee],n,!0),Zc}function Uc(t,e,n){const i=Rn();if(Rl(i,Qn(),e)){const r=Bn(),o=hi();La(r,o,i,t,e,function(t,e,n){return(null===t||Me(t))&&(n=function(t){for(;Array.isArray(t);){if("object"==typeof t[me])return t;t=t[qt]}return null}(n[e.index])),n[ee]}(Kn(r.data),o,i),n,!0)}return Uc}const Gc=void 0;var Qc=["en",[["a","p"],["AM","PM"],Gc],[["AM","PM"],Gc,Gc],[["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"]],Gc,[["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"]],Gc,[["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}",Gc,"{1} 'at' {0}",Gc],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##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 Jc={};function Yc(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=Kc(e);if(n)return n;const i=e.split("-")[0];if(n=Kc(i),n)return n;if("en"===i)return Qc;throw new x(701,!1)}function Wc(t){return Yc(t)[Xc.PluralCase]}function Kc(t){return t in Jc||(Jc[t]=j.ng&&j.ng.common&&j.ng.common.locales&&j.ng.common.locales[t]),Jc[t]}var Xc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Xc||{});const tu="en-US";let eu=tu;function nu(t,e,n,i,r){if(t=y(t),Array.isArray(t))for(let o=0;o>20;if(rs(t)||!t.multi){const i=new Oi(c,r,ka),p=ou(l,e,r?u:u+d,h);-1===p?(Bi(Ni(a,s),o,l),iu(o,t,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(i),s.push(i)):(n[p]=i,s[p]=i)}else{const p=ou(l,e,u+d,h),f=ou(l,e,u,u+d),g=p>=0&&n[p],m=f>=0&&n[f];if(r&&!m||!r&&!g){Bi(Ni(a,s),o,l);const u=function(t,e,n,i,r){const o=new Oi(t,n,ka);return o.multi=[],o.index=e,o.componentProviders=0,ru(o,r,i&&!n),o}(r?au:su,n.length,r,i,c);!r&&m&&(n[f].providerFactory=u),iu(o,t,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(u),s.push(u)}else iu(o,t,p>-1?p:f,ru(n[r?f:p],c,!r&&i));!r&&i&&m&&n[f].componentProviders++}}}function iu(t,e,n,i){const r=rs(e),o=!!e.useClass;if(r||o){const s=(o?y(e.useClass):e).prototype.ngOnDestroy;if(s){const o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){const t=o.indexOf(n);-1===t?o.push(n,[i,s]):o[t+1].push(i,s)}else o.push(n,s)}}}function ru(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function ou(t,e,n,i){for(let r=n;r{n.providersResolver=(n,i)=>function(t,e,n){const i=Bn();if(i.firstCreatePass){const r=Me(t);nu(n,i.data,i.blueprint,r,!0),nu(e,i.data,i.blueprint,r,!1)}}(n,i?i(t):t,e)}}class uu{}class hu{}function du(t,e){return new pu(t,e??null,[])}class pu extends uu{constructor(t,e,n){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new yl(this);const i=jt(t);this._bootstrapComponents=aa(i.bootstrap),this._r3Injector=js(t,e,[{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver},...n],f(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((t=>t())),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class fu extends hu{constructor(t){super(),this.moduleType=t}create(t){return new pu(this.moduleType,t,[])}}class gu extends uu{constructor(t){super(),this.componentFactoryResolver=new yl(this),this.instance=null;const e=new hs([...t.providers,{provide:uu,useValue:this},{provide:Ss,useValue:this.componentFactoryResolver}],t.parent||cs(),t.debugName,new Set(["environment"]));this.injector=e,t.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function mu(t,e,n=null){return new gu({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}let vu=(()=>{var t;class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const e=Ko(0,t.type),n=e.length>0?mu([e],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,n)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}}return(t=e).ɵprov=O({token:t,providedIn:"environment",factory:()=>new t(Y(us))}),e})();function yu(t){t.getStandaloneInjector=e=>e.get(vu).getOrCreateStandaloneInjector(t)}function bu(t,e,n){const i=Gn()+t,r=Rn();return r[i]===wa?Fl(r,i,n?e.call(n):e()):Ll(r,i)}function _u(t,e,n,i){return Mu(Rn(),Gn(),t,e,n,i)}function wu(t,e,n,i,r){return Su(Rn(),Gn(),t,e,n,i,r)}function xu(t,e,n,i,r,o,s){return Au(Rn(),Gn(),t,e,n,i,r,o,s)}function Cu(t,e,n,i,r,o,s,a){const l=Gn()+t,c=Rn(),u=jl(c,l,n,i,r,o);return Rl(c,l+4,s)||u?Fl(c,l+5,a?e.call(a,n,i,r,o,s):e(n,i,r,o,s)):Ll(c,l+5)}function ku(t,e,n,i,r,o,s,a,l){const c=Gn()+t,u=Rn(),h=jl(u,c,n,i,r,o);return Bl(u,c+4,s,a)||h?Fl(u,c+6,l?e.call(l,n,i,r,o,s,a):e(n,i,r,o,s,a)):Ll(u,c+6)}function Ou(t,e){const n=t[e];return n===wa?void 0:n}function Mu(t,e,n,i,r,o){const s=e+n;return Rl(t,s,r)?Fl(t,s+1,o?i.call(o,r):i(r)):Ou(t,s+1)}function Su(t,e,n,i,r,o,s){const a=e+n;return Bl(t,a,r,o)?Fl(t,a+2,s?i.call(s,r,o):i(r,o)):Ou(t,a+2)}function Au(t,e,n,i,r,o,s,a,l){const c=e+n;return jl(t,c,r,o,s,a)?Fl(t,c+4,l?i.call(l,r,o,s,a):i(r,o,s,a)):Ou(t,c+4)}function Pu(t,e){const n=Bn();let i;const r=t+ge;n.firstCreatePass?(i=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const i=e[n];if(t===i.name)return i}}(e,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(n.destroyHooks??(n.destroyHooks=[])).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Se(i.type)),s=R(ka);try{const t=Ei(!1),e=o();return Ei(t),function(t,e,n,i){n>=t.data.length&&(t.data[n]=null,t.blueprint[n]=null),e[n]=i}(n,Rn(),r,e),e}finally{R(s)}}function Eu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?Mu(r,Gn(),e,o.transform,n,o):o.transform(n)}function Tu(t,e,n,i){const r=t+ge,o=Rn(),s=Sn(o,r);return Nu(o,r)?Su(o,Gn(),e,s.transform,n,i,s):s.transform(n,i)}function Iu(t,e,n,i,r){const o=t+ge,s=Rn(),a=Sn(s,o);return Nu(s,o)?function(t,e,n,i,r,o,s,a){const l=e+n;return function(t,e,n,i,r){const o=Bl(t,e,n,i);return Rl(t,e+2,r)||o}(t,l,r,o,s)?Fl(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):Ou(t,l+3)}(s,Gn(),e,a.transform,n,i,r,a):a.transform(n,i,r)}function Du(t,e,n,i,r,o){const s=t+ge,a=Rn(),l=Sn(a,s);return Nu(a,s)?Au(a,Gn(),e,l.transform,n,i,r,o,l):l.transform(n,i,r,o)}function zu(t,e,n){const i=t+ge,r=Rn(),o=Sn(r,i);return Nu(r,i)?function(t,e,n,i,r,o){let s=e+n,a=!1;for(let e=0;e{class t{}return t.__NG_ELEMENT_ID__=Hu,t})();const Bu=Ru,ju=class extends Bu{constructor(t,e,n){super(),this._declarationLView=t,this._declarationTContainer=e,this.elementRef=n}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,e){return this.createEmbeddedViewImpl(t,e)}createEmbeddedViewImpl(t,e,n){const i=function(t,e,n,i){const r=e.tView,o=Ma(t,r,n,4096&t[Ut]?4096:16,null,e,null,null,null,i?.injector??null,i?.hydrationInfo??null),s=t[e.index];o[se]=s;const a=t[le];return null!==a&&(o[le]=a.createEmbeddedView(r)),rl(r,o,n),o}(this._declarationLView,this._declarationTContainer,t,{injector:e,hydrationInfo:n});return new ml(i)}};function Hu(){return Vu(Vn(),Rn())}function Vu(t,e){return 4&t.type?new ju(e,t,Ps(t,e)):null}let $u=(()=>{class t{}return t.__NG_ELEMENT_ID__=qu,t})();function qu(){return Ju(Vn(),Rn())}const Zu=$u,Uu=class extends Zu{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostLView=n}get element(){return Ps(this._hostTNode,this._hostLView)}get injector(){return new Ji(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ri(this._hostTNode,this._hostLView);if(Mi(t)){const e=Ai(t,this._hostLView),n=Si(t),i=e[Zt].data[n+8];return new Ji(i,e)}return new Ji(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const e=Gu(this._lContainer);return null!==e&&e[t]||null}get length(){return this._lContainer.length-_e}createEmbeddedView(t,e,n){let i,r;"number"==typeof n?i=n:null!=n&&(i=n.index,r=n.injector);const o=(this._lContainer,t.ssrId,null),s=t.createEmbeddedViewImpl(e||{},r,o),a=!!o&&!pr(this._hostTNode);return this.insertImpl(s,i,a),s}createComponent(t,e,n,i,r){const o=t&&!("function"==typeof t);let s;if(o)s=e;else{const t=e||{};s=t.index,n=t.injector,i=t.projectableNodes,r=t.environmentInjector||t.ngModuleRef}const a=o?t:new wl(Ft(t)),l=n||this.parentInjector;if(!r&&null==a.ngModule){const t=(o?l:this.parentInjector).get(us,null);t&&(r=t)}Ft(a.componentType??{});const c=(this._lContainer,null),u=c?.firstChild??null,h=a.create(l,i,u,r),d=!!c&&!pr(this._hostTNode);return this.insertImpl(h.hostView,s,d),h}insert(t,e){return this.insertImpl(t,e,!1)}insertImpl(t,e,n){const i=t._lView;if(i[Zt],xe(i[Gt])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=i[Gt],n=new Uu(e,e[Yt],e[Gt]);n.detach(n.indexOf(t))}}const r=this._adjustIndex(e),o=this._lContainer;return function(t,e,n,i=!0){const r=e[Zt];if(function(t,e,n,i){const r=_e+i,o=n.length;i>0&&(n[r-1][Qt]=e),i0)i.push(s[t/2]);else{const r=o[t+1],s=e[-n];for(let t=_e;t{var t;class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise(((t,e)=>{this.resolve=t,this.reject=e})),this.appInits=W(gh,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const e of this.appInits){const n=e();if(ic(n))t.push(n);else if(rc(n)){const e=new Promise(((t,e)=>{n.subscribe({complete:t,error:e})}));t.push(e)}}const e=()=>{this.done=!0,this.resolve()};Promise.all(t).then((()=>{e()})).catch((t=>{this.reject(t)})),0===t.length&&e(),this.initialized=!0}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),vh=(()=>{var t;class e{log(t){console.log(t)}warn(t){console.warn(t)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})();const yh=new H("LocaleId",{providedIn:"root",factory:()=>W(yh,N.Optional|N.SkipSelf)||("undefined"!=typeof ngI18nClosureMode&&ngI18nClosureMode&&"undefined"!=typeof goog&&"en"!==goog.LOCALE?goog.LOCALE:"undefined"!=typeof $localize&&$localize.locale||tu)}),bh=new H("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let _h=(()=>{var t;class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new a.X(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class wh{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}let xh=(()=>{var t;class e{compileModuleSync(t){return new fu(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const e=this.compileModuleSync(t),n=aa(jt(t).declarations).reduce(((t,e)=>{const n=Ft(e);return n&&t.push(new wl(n)),t}),[]);return new wh(e,n)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const Ch=new H(""),kh=new H("");let Oh,Mh=(()=>{var t;class e{constructor(t,e,n){this._ngZone=t,this.registry=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Oh||(Oh=n,n.addToWindow(e)),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:()=>{Ws.assertNotInAngularZone(),queueMicrotask((()=>{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())queueMicrotask((()=>{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 i=-1;e&&e>0&&(i=setTimeout((()=>{this._callbacks=this._callbacks.filter((t=>t.timeoutId!==i)),t(this._didWork,this.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,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}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,e,n){return[]}}return(t=e).ɵfac=function(e){return new(e||t)(Y(Ws),Y(Sh),Y(kh))},t.ɵprov=O({token:t,factory:t.ɵfac}),e})(),Sh=(()=>{var t;class e{constructor(){this._applications=new Map}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 Oh?.findTestabilityInTree(this,t,e)??null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"platform"}),e})(),Ah=null;const Ph=new H("PlatformDestroyListeners"),Eh=new H("appBootstrapListener");function Th(t){try{const{rootComponent:n,appProviders:i,platformProviders:r}=t,o=function(t=[]){if(Ah)return Ah;const e=function(t=[],e){return Hs.create({name:e,providers:[{provide:os,useValue:"platform"},{provide:Ph,useValue:new Set([()=>Ah=null])},...t]})}(t);return Ah=e,tn=()=>{throw new x(600,!1)},function(t){const e=t.get(ys,null);e?.forEach((t=>t()))}(e),e}(r),s=[Yo([[],(e=()=>new Ws({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!1,shouldCoalesceRunChangeDetection:!1}),[{provide:Ws,useFactory:e},{provide:Uo,multi:!0,useFactory:()=>{const t=W(Fh,{optional:!0});return()=>t.initialize()}},{provide:zh,useFactory:Nh},{provide:ia,useFactory:ra}])]),...i||[]],a=new gu({providers:s,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=a.get(Ws);return l.run((()=>{a.resolveInjectorInitializers();const t=a.get($s,null);let e;l.runOutsideAngular((()=>{e=l.onError.subscribe({next:e=>{t.handleError(e)}})}));const i=()=>a.destroy(),r=o.get(Ph);return r.add(i),a.onDestroy((()=>{e.unsubscribe(),r.delete(i)})),function(t,e,i){try{const i=(()=>{const t=a.get(mh);return t.runInitializers(),t.donePromise.then((()=>{var t,e,i;e=t=a.get(yh,tu)||tu,i="Expected localeId to be defined",null==e&&function(t,e,n,i){throw new Error(`ASSERTION ERROR: ${t} [Expected=> null != ${e} <=Actual]`)}(i,e),"string"==typeof t&&(eu=t.toLowerCase().replace(/_/g,"-"));const r=a.get(Ih);return void 0!==n&&r.bootstrap(n),r}))})();return ic(i)?i.catch((n=>{throw e.runOutsideAngular((()=>t.handleError(n))),n})):i}catch(n){throw e.runOutsideAngular((()=>t.handleError(n))),n}}(t,l)}))}catch(t){return Promise.reject(t)}var e}let Ih=(()=>{var t;class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=W(zh),this.zoneIsStable=W(ia),this.componentTypes=[],this.components=[],this.isStable=W(_h).hasPendingTasks.pipe((0,u.w)((t=>t?(0,l.of)(!1):this.zoneIsStable)),(0,h.x)(),(0,c.B)()),this._injector=W(us)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,e){const n=t instanceof Os;if(!this._injector.get(mh).done)throw!n&&Bt(t),new x(405,!1);let i;i=n?t:this._injector.get(Ss).resolveComponentFactory(t),this.componentTypes.push(i.componentType);const r=i.isBoundToModule?void 0:this._injector.get(uu),o=e||i.selector,s=i.create(Hs.NULL,[],o,r),a=s.location.nativeElement,l=s.injector.get(Ch,null);return l?.registerApplication(a),s.onDestroy((()=>{this.detachView(s.hostView),Dh(this.components,s),l?.unregisterApplication(a)})),this._loadComponent(s),s}tick(){if(this._runningTick)throw new x(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;Dh(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const e=this._injector.get(Eh,[]);e.push(...this._bootstrapListeners),e.forEach((e=>e(t)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((t=>t())),this._views.slice().forEach((t=>t.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>Dh(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new x(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dh(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const zh=new H("",{providedIn:"root",factory:()=>W($s).handleError.bind(void 0)});function Nh(){const t=W(Ws),e=W($s);return n=>t.runOutsideAngular((()=>e.handleError(n)))}let Fh=(()=>{var t;class e{constructor(){this.zone=W(Ws),this.applicationRef=W(Ih)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=O({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Lh(){}let Rh=(()=>{class t{}return t.__NG_ELEMENT_ID__=Bh,t})();function Bh(t){return function(t,e,n){if(ke(t)&&!n){const n=An(t.index,e);return new ml(n,n)}if(47&t.type){const t=e[oe];return new ml(t,e)}return null}(Vn(),Rn(),!(16&~t))}class jh{constructor(){}supports(t){return zl(t)}create(t){return new Vh(t)}}const Hh=(t,e)=>e;class Vh{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||Hh}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,i=0,r=null;for(;e||n;){const o=!n||e&&e.currentIndex{i=this._trackByFn(e,t),null!==r&&Object.is(r.trackById,i)?(o&&(r=this._verifyReinsertion(r,t,i,e)),Object.is(r.item,t)||this._addIdentityChange(r,t)):(r=this._mismatch(r,t,i,e),o=!0),r=r._next,e++})),this.length=e;return this._truncate(r),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,i){let r;return null===t?r=this._itTail:(r=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,r,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):t=this._addAfter(new $h(e,n),r,i),t}_verifyReinsertion(t,e,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Zh),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||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Zh),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,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t}}class $h{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 qh{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 Zh{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new qh,this.map.set(e,n)),n.add(t)}get(t,e){const n=t,i=this.map.get(n);return i?i.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 Uh(t,e,n){const i=t.previousIndex;if(null===i)return i;let r=0;return n&&i{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const i=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,i)}})),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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Jh(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 Jh{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 Yh(){return new Wh([new jh])}let Wh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Yh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(null!=e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Yh}),e})();function Kh(){return new Xh([new Gh])}let Xh=(()=>{var t;class e{constructor(t){this.factories=t}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>e.create(t,n||Kh()),deps:[[e,new dr,new ur]]}}find(t){const e=this.factories.find((e=>e.supports(t)));if(e)return e;throw new x(901,!1)}}return(t=e).ɵprov=O({token:t,providedIn:"root",factory:Kh}),e})();function td(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function ed(t,e){const n=Ft(t),i=e.elementInjector||cs();return new wl(n).create(i,e.projectableNodes,e.hostElement,e.environmentInjector)}},62022:(t,e,n)=>{n.d(e,{O4:()=>u,sL:()=>s});var i=n(20755),r=n(48132),o=n(81749);function s(t){t||((0,i.gHi)(s),t=(0,i.f3M)(i.ktI));const e=new r.y((e=>t.onDestroy(e.next.bind(e))));return t=>t.pipe((0,o.R)(e))}class a extends Error{constructor(t,e){super(function(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(t,e)),this.code=t}}let l=null;function c(t){const e=l;return l=t,e}function u(t,e){const n=!e?.manualCleanup;n&&!e?.injector&&(0,i.gHi)(u);const r=n?e?.injector?.get(i.ktI)??(0,i.f3M)(i.ktI):null;let o;return o=e?.requireSync?(0,i.tdS)({kind:0}):(0,i.tdS)({kind:1,value:e?.initialValue}),function(e){const n=c(null);try{return(()=>{const e=t.subscribe({next:t=>o.set({kind:1,value:t}),error:t=>o.set({kind:2,error:t})});r?.onDestroy(e.unsubscribe.bind(e))})()}finally{c(n)}}(),(0,i.Flj)((()=>{const t=o();switch(t.kind){case 1:return t.value;case 2:throw t.error;case 0:throw new a(601,"`toSignal()` called with `requireSync` but `Observable` did not emit synchronously.")}}))}},43226:(t,e,n)=>{n.d(e,{Cf:()=>y,Fj:()=>g,JJ:()=>$,JL:()=>q,JU:()=>u,NI:()=>dt,On:()=>gt,UX:()=>Et,Wl:()=>d,_:()=>_t,_Y:()=>mt,a5:()=>H,cw:()=>X,eT:()=>xt,gN:()=>j,kI:()=>w,oH:()=>Ot,sg:()=>St,u5:()=>Pt});var i=n(20755),r=n(76733),o=n(3489),s=n(30319),a=n(92425);let l=(()=>{var t;class e{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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq))},t.ɵdir=i.lG2({type:t}),e})(),c=(()=>{var t;class e extends l{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,features:[i.qOj]}),e})();const u=new i.OlP("NgValueAccessor"),h={provide:u,useExisting:(0,i.Gpc)((()=>d)),multi:!0};let d=(()=>{var t;class e extends c{writeValue(t){this.setProperty("checked",t)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([h]),i.qOj]}),e})();const p={provide:u,useExisting:(0,i.Gpc)((()=>g)),multi:!0},f=new i.OlP("CompositionEventMode");let g=(()=>{var t;class e extends l{constructor(t,e,n){super(t,e),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=(0,r.q)()?(0,r.q)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){const e=null==t?"":t;this.setProperty("value",e)}_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=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(f,8))},t.ɵdir=i.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&&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)}))},features:[i._Bn([p]),i.qOj]}),e})();function m(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function v(t){return null!=t&&"number"==typeof t.length}const y=new i.OlP("NgValidators"),b=new i.OlP("NgAsyncValidators"),_=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class w{static min(t){return function(t){return e=>{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(m(e.value)||m(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(t)}static required(t){return function(t){return m(t.value)?{required:!0}:null}(t)}static requiredTrue(t){return function(t){return!0===t.value?null:{required:!0}}(t)}static email(t){return function(t){return m(t.value)||_.test(t.value)?null:{email:!0}}(t)}static minLength(t){return function(t){return e=>m(e.value)||!v(e.value)?null:e.value.lengthv(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}(t)}static pattern(t){return function(t){if(!t)return x;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(m(t.value))return null;const i=t.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}(t)}static nullValidator(t){return null}static compose(t){return A(t)}static composeAsync(t){return E(t)}}function x(t){return null}function C(t){return null!=t}function k(t){return(0,i.QGY)(t)?(0,o.D)(t):t}function O(t){let e={};return t.forEach((t=>{e=null!=t?{...e,...t}:e})),0===Object.keys(e).length?null:e}function M(t,e){return e.map((e=>e(t)))}function S(t){return t.map((t=>function(t){return!t.validate}(t)?t:e=>t.validate(e)))}function A(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){return O(M(t,e))}}function P(t){return null!=t?A(S(t)):null}function E(t){if(!t)return null;const e=t.filter(C);return 0==e.length?null:function(t){const n=M(t,e).map(k);return(0,s.D)(n).pipe((0,a.U)(O))}}function T(t){return null!=t?E(S(t)):null}function I(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function D(t){return t._rawValidators}function z(t){return t._rawAsyncValidators}function N(t){return t?Array.isArray(t)?t:[t]:[]}function F(t,e){return Array.isArray(t)?t.includes(e):t===e}function L(t,e){const n=N(e);return N(t).forEach((t=>{F(n,t)||n.push(t)})),n}function R(t,e){return N(e).filter((e=>!F(t,e)))}class B{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=P(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=T(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=void 0){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}}class j extends B{get formDirective(){return null}get path(){return null}}class H extends B{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class V{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let $=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(H,2))},t.ɵdir=i.lG2({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)},features:[i.qOj]}),e})(),q=(()=>{var t;class e extends V{constructor(t){super(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,10))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,e){2&t&&i.ekj("ng-untouched",e.isUntouched)("ng-touched",e.isTouched)("ng-pristine",e.isPristine)("ng-dirty",e.isDirty)("ng-valid",e.isValid)("ng-invalid",e.isInvalid)("ng-pending",e.isPending)("ng-submitted",e.isSubmitted)},features:[i.qOj]}),e})();const Z="VALID",U="INVALID",G="PENDING",Q="DISABLED";function J(t){return(W(t)?t.validators:t)||null}function Y(t,e){return(W(e)?e.asyncValidators:t)||null}function W(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class K{constructor(t,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(e)}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===Z}get invalid(){return this.status===U}get pending(){return this.status==G}get disabled(){return this.status===Q}get enabled(){return this.status!==Q}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._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(L(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(L(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(R(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(R(t,this._rawAsyncValidators))}hasValidator(t){return F(this._rawValidators,t)}hasAsyncValidator(t){return F(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=G,!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=Q,this.errors=null,this._forEachChild((e=>{e.disable({...t,onlySelf:!0})})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:e}),this._onDisabledChange.forEach((t=>t(!0)))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status=Z,this._forEachChild((e=>{e.enable({...t,onlySelf:!0})})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...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}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==Z&&this.status!==G||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()?Q:Z}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=G,this._hasOwnPendingAsyncValidator=!0;const e=k(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){let e=t;return null==e?null:(Array.isArray(e)||(e=e.split(".")),0===e.length?null:e.reduce(((t,e)=>t&&t._find(e)),this))}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 i.vpe,this.statusChanges=new i.vpe}_calculateStatus(){return this._allControlsDisabled()?Q:this.errors?U:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(G)?G:this._anyControlsHaveStatus(U)?U:Z}_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)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){W(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){const e=this._parent&&this._parent.dirty;return!t&&!!e&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){var e;this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=(e=this._rawValidators,Array.isArray(e)?P(e):e||null)}_assignAsyncValidators(t){var e;this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=(e=this._rawAsyncValidators,Array.isArray(e)?T(e):e||null)}}class X extends K{constructor(t,e,n){super(J(e),Y(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={}){(function(t,e,n){t._forEachChild(((t,e)=>{if(void 0===n[e])throw new i.vHH(1002,"")}))})(this,0,t),Object.keys(t).forEach((n=>{(function(t,e,n){const r=t.controls;if(!Object.keys(r).length)throw new i.vHH(1e3,"");if(!r[n])throw new i.vHH(1001,"")})(this,0,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=>{const i=this.controls[n];i&&i.patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})})),this.updateValueAndValidity(e))}reset(t={},e={}){this._forEachChild(((n,i)=>{n.reset(t?t[i]:null,{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},((t,e,n)=>(t[n]=e.getRawValue(),t)))}_syncPendingControls(){let t=this._reduceChildren(!1,((t,e)=>!!e._syncPendingControls()||t));return t&&this.updateValueAndValidity({onlySelf:!0}),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,n]of Object.entries(this.controls))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,i)=>{n=e(n,t,i)})),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}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const tt=new i.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>et}),et="always";function nt(t,e,n=et){ot(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===n)&&e.valueAccessor.setDisabledState?.(t.disabled),function(t,e){e.valueAccessor.registerOnChange((n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&at(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&&at(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 it(t,e,n=!0){const i=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(i),e.valueAccessor.registerOnTouched(i)),st(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange((()=>{})))}function rt(t,e){t.forEach((t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)}))}function ot(t,e){const n=D(t);null!==e.validator?t.setValidators(I(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const i=z(t);null!==e.asyncValidator?t.setAsyncValidators(I(i,e.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();rt(e._rawValidators,r),rt(e._rawAsyncValidators,r)}function st(t,e){let n=!1;if(null!==t){if(null!==e.validator){const i=D(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.validator));r.length!==i.length&&(n=!0,t.setValidators(r))}}if(null!==e.asyncValidator){const i=z(t);if(Array.isArray(i)&&i.length>0){const r=i.filter((t=>t!==e.asyncValidator));r.length!==i.length&&(n=!0,t.setAsyncValidators(r))}}}const i=()=>{};return rt(e._rawValidators,i),rt(e._rawAsyncValidators,i),n}function at(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function lt(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}function ct(t,e){if(!e)return null;let n,i,r;return Array.isArray(e),e.forEach((t=>{var e;t.constructor===g?n=t:(e=t,Object.getPrototypeOf(e.constructor)===c?i=t:r=t)})),r||i||n||null}function ut(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function ht(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const dt=class extends K{constructor(t=null,e,n){super(J(e),Y(n,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),W(e)&&(e.nonNullable||e.initialValueIsDefault)&&(ht(t)?this.defaultValue=t.value:this.defaultValue=t)}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=this.defaultValue,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){ut(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){ut(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){ht(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}},pt={provide:H,useExisting:(0,i.Gpc)((()=>gt))},ft=(()=>Promise.resolve())();let gt=(()=>{var t;class e extends H{constructor(t,e,n,r,o,s){super(),this._changeDetectorRef=o,this.callSetDisabledState=s,this.control=new dt,this._registered=!1,this.name="",this.update=new i.vpe,this._parent=t,this._setValidators(e),this._setAsyncValidators(n),this.valueAccessor=ct(0,r)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const e=t.name.previousValue;this.formDirective.removeControl({name:e,path:this._getPath(e)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),lt(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){nt(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){ft.then((()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()}))}_updateDisabled(t){const e=t.isDisabled.currentValue,n=0!==e&&(0,i.VuI)(e);ft.then((()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()}))}_getPath(t){return this._parent?(e=t,[...this._parent.path,e]):[t];var e}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(j,9),i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(i.sBO,8),i.Y36(tt,8))},t.ɵdir=i.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:[i._Bn([pt]),i.qOj,i.TTD]}),e})(),mt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})();const vt={provide:u,useExisting:(0,i.Gpc)((()=>_t)),multi:!0};let yt=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({}),e})(),bt=(()=>{var t;class e{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach((e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)}))}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:yt}),e})(),_t=(()=>{var t;class e extends c{constructor(t,e,n,r){super(t,e),this._registry=n,this._injector=r,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,i.f3M)(tt,{optional:!0})??et}ngOnInit(){this._control=this._injector.get(H),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this.setProperty("checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}setDisabledState(t){(this.setDisabledStateFired||t||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",t),this.setDisabledStateFired=!0}fireUncheck(t){this.writeValue(t)}_checkName(){this.name&&this.formControlName&&(this.name,this.formControlName),!this.name&&this.formControlName&&(this.name=this.formControlName)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(bt),i.Y36(i.zs3))},t.ɵdir=i.lG2({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[i._Bn([vt]),i.qOj]}),e})();const wt={provide:u,useExisting:(0,i.Gpc)((()=>xt)),multi:!0};let xt=(()=>{var t;class e extends c{writeValue(t){this.setProperty("value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵdir=i.lG2({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&i.NdJ("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[i._Bn([wt]),i.qOj]}),e})();const Ct=new i.OlP("NgModelWithFormControlWarning"),kt={provide:H,useExisting:(0,i.Gpc)((()=>Ot))};let Ot=(()=>{var t;class e extends H{set isDisabled(t){}constructor(t,e,n,r,o){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=o,this.update=new i.vpe,this._ngModelWarningSent=!1,this._setValidators(t),this._setAsyncValidators(e),this.valueAccessor=ct(0,n)}ngOnChanges(t){if(this._isControlChanged(t)){const e=t.form.previousValue;e&&it(e,this,!1),nt(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}lt(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&it(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=e)._ngModelWarningSentOnce=!1,t.ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(u,10),i.Y36(Ct,8),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[i._Bn([kt]),i.qOj,i.TTD]}),e})();const Mt={provide:j,useExisting:(0,i.Gpc)((()=>St))};let St=(()=>{var t;class e extends j{constructor(t,e,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new i.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&&(st(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 nt(e,t,this.callSetDisabledState),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){it(t.control||null,t,!1),function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,e=this.form,n=this.directives,e._syncPendingControls(),n.forEach((t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),"dialog"===t?.target?.method;var e,n}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach((t=>{const e=t.control,n=this.form.get(t.path);e!==n&&(it(e||null,t),n instanceof dt&&(nt(n,t,this.callSetDisabledState),t.control=n))})),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const e=this.form.get(t.path);(function(t,e){ot(t,e)})(e,t),e.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const e=this.form.get(t.path);if(e){const n=function(t,e){return st(t,e)}(e,t);n&&e.updateValueAndValidity({emitEvent:!1})}}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange((()=>{}))}_updateValidators(){ot(this.form,this),this._oldForm&&st(this._oldForm,this)}_checkFormPresent(){this.form}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(y,10),i.Y36(b,10),i.Y36(tt,8))},t.ɵdir=i.lG2({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&i.NdJ("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i._Bn([Mt]),i.qOj,i.TTD]}),e})(),At=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[yt]}),e})(),Pt=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})(),Et=(()=>{var t;class e{static withConfig(t){return{ngModule:e,providers:[{provide:Ct,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:tt,useValue:t.callSetDisabledState??et}]}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵmod=i.oAB({type:t}),t.ɵinj=i.cJS({imports:[At]}),e})()},43232:(t,e,n)=>{n.d(e,{Cg:()=>D,Dx:()=>R,H7:()=>B,s3:()=>u,se:()=>x});var i=n(20755),r=n(76733);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),()=>{t.removeEventListener(e,n)}}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,c=(()=>{var t;class e{build(){return new XMLHttpRequest}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const u=new i.OlP("EventManagerPlugins");let h=(()=>{var t;class e{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)}getZone(){return this._zone}_findPluginFor(t){let e=this._eventNameToPlugin.get(t);if(e)return e;if(e=this._plugins.find((e=>e.supports(t))),!e)throw new i.vHH(5101,!1);return this._eventNameToPlugin.set(t,e),e}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(u),i.LFG(i.R0b))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class d{constructor(t){this._doc=t}}const p="ng-app-id";let f=(()=>{var t;class e{constructor(t,e,n,i={}){this.doc=t,this.appId=e,this.nonce=n,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,r.PM)(i),this.resetHostNodes()}addStyles(t){for(const e of t)1===this.changeUsageCount(e,1)&&this.onStyleAdded(e)}removeStyles(t){for(const e of t)this.changeUsageCount(e,-1)<=0&&this.onStyleRemoved(e)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach((t=>t.remove())),t.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const e of this.getAllStyles())this.addStyleToHost(t,e)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const e of this.hostNodes)this.addStyleToHost(e,t)}onStyleRemoved(t){const e=this.styleRef;e.get(t)?.elements?.forEach((t=>t.remove())),e.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${p}="${this.appId}"]`);if(t?.length){const e=new Map;return t.forEach((t=>{null!=t.textContent&&e.set(t.textContent,t)})),e}return null}changeUsageCount(t,e){const n=this.styleRef;if(n.has(t)){const i=n.get(t);return i.usage+=e,i.usage}return n.set(t,{usage:e,elements:[]}),e}getStyleElement(t,e){const n=this.styleNodesInDOM,i=n?.get(e);if(i?.parentNode===t)return n.delete(e),i.removeAttribute(p),i;{const t=this.doc.createElement("style");return this.nonce&&t.setAttribute("nonce",this.nonce),t.textContent=e,this.platformIsServer&&t.setAttribute(p,this.appId),t}}addStyleToHost(t,e){const n=this.getStyleElement(t,e);t.appendChild(n);const i=this.styleRef,r=i.get(e)?.elements;r?r.push(n):i.set(e,{elements:[n],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0),i.LFG(i.AFp),i.LFG(i.Ojb,8),i.LFG(i.Lbi))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},m=/%COMP%/g,v="%COMP%",y=`_nghost-${v}`,b=`_ngcontent-${v}`,_=new i.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function w(t,e){return e.map((e=>e.replace(m,t)))}let x=(()=>{var t;class e{constructor(t,e,n,i,o,s,a,l=null){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.removeStylesOnCompDestroy=i,this.doc=o,this.platformId=s,this.ngZone=a,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=(0,r.PM)(s),this.defaultRenderer=new C(t,o,a,this.platformIsServer)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;this.platformIsServer&&e.encapsulation===i.ifc.ShadowDom&&(e={...e,encapsulation:i.ifc.Emulated});const n=this.getOrCreateRenderer(t,e);return n instanceof S?n.applyToHost(t):n instanceof M&&n.applyStyles(),n}getOrCreateRenderer(t,e){const n=this.rendererByCompId;let r=n.get(e.id);if(!r){const o=this.doc,s=this.ngZone,a=this.eventManager,l=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,u=this.platformIsServer;switch(e.encapsulation){case i.ifc.Emulated:r=new S(a,l,e,this.appId,c,o,s,u);break;case i.ifc.ShadowDom:return new O(a,l,t,e,o,s,this.nonce,u);default:r=new M(a,l,e,c,o,s,u)}n.set(e.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(h),i.LFG(f),i.LFG(i.AFp),i.LFG(_),i.LFG(r.K0),i.LFG(i.Lbi),i.LFG(i.R0b),i.LFG(i.Ojb))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();class C{constructor(t,e,n,i){this.eventManager=t,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,e){return e?this.doc.createElementNS(g[e]||e,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,e){(k(t)?t.content:t).appendChild(e)}insertBefore(t,e,n){t&&(k(t)?t.content:t).insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?this.doc.querySelector(t):t;if(!n)throw new i.vHH(-5104,!1);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,i){if(i){e=i+":"+e;const r=g[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const i=g[n];i?t.removeAttributeNS(i,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){if("string"==typeof t&&!(t=(0,r.q)().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${e}`);return this.eventManager.addEventListener(t,e,this.decoratePreventDefault(n))}decoratePreventDefault(t){return e=>{if("__ngUnwrap__"===e)return t;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>t(e))):t(e))&&e.preventDefault()}}}function k(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class O extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,a),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=w(i.id,i.styles);for(const t of l){const e=document.createElement("style");s&&e.setAttribute("nonce",s),e.textContent=t,this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,e){return super.appendChild(this.nodeOrShadowRoot(t),e)}insertBefore(t,e,n){return super.insertBefore(this.nodeOrShadowRoot(t),e,n)}removeChild(t,e){return super.removeChild(this.nodeOrShadowRoot(t),e)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class M extends C{constructor(t,e,n,i,r,o,s,a){super(t,r,o,s),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i,this.styles=a?w(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class S extends M{constructor(t,e,n,i,r,o,s,a){const l=i+"-"+n.id;var c;super(t,e,n,r,o,s,a,l),this.contentAttr=(c=l,b.replace(m,c)),this.hostAttr=function(t){return y.replace(m,t)}(l)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}let A=(()=>{var t;class e extends d{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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();const P=["alt","control","meta","shift"],E={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{var t;class e extends d{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,i){const o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>(0,r.q)().onAndCancel(t,o.domEventName,s)))}static parseEventName(t){const n=t.toLowerCase().split("."),i=n.shift();if(0===n.length||"keydown"!==i&&"keyup"!==i)return null;const r=e._normalizeKey(n.pop());let o="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),o="code."),P.forEach((t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")})),o+=r,0!=n.length||0===r.length)return null;const a={};return a.domEventName=i,a.fullKey=o,a}static matchEventFullKeyCode(t,e){let n=E[t.key]||t.key,i="";return e.indexOf("code.")>-1&&(n=t.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),P.forEach((e=>{e!==n&&(0,T[e])(t)&&(i+=e+".")})),i+=n,i===e)}static eventCallback(t,n,i){return r=>{e.matchEventFullKeyCode(r,t)&&i.runGuarded((()=>n(r)))}}static _normalizeKey(t){return"esc"===t?"escape":t}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function D(t,e){return(0,i.iPO)({rootComponent:t,...z(e)})}function z(t){return{appProviders:[...F,...t?.providers??[]],platformProviders:N}}const N=[{provide:i.Lbi,useValue:r.bD},{provide:i.g9A,useValue:function(){s.makeCurrent()},multi:!0},{provide:r.K0,useFactory:function(){return(0,i.RDi)(document),document},deps:[]}],F=(i.rWj,i.lri,i.dDg,i.R0b,i.eoX,i.rWj,i.dDg,i.dDg,i.R0b,i.eoX,i.rWj,[{provide:i.zSh,useValue:"root"},{provide:i.qLn,useFactory:function(){return new i.qLn},deps:[]},{provide:u,useClass:A,multi:!0,deps:[r.K0,i.R0b,i.Lbi]},{provide:u,useClass:I,multi:!0,deps:[r.K0]},x,f,h,{provide:i.FYo,useExisting:x},{provide:r.JF,useClass:c,deps:[]},[]]);function L(){return new R((0,i.LFG)(r.K0))}let R=(()=>{var t;class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:L(),e},providedIn:"root"}),e})();"undefined"!=typeof window&&window;let B=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(e){let n=null;return n=e?new(e||t):i.LFG(H),n},providedIn:"root"}),e})();function j(t){return new H(t.get(r.K0))}let H=(()=>{var t;class e extends B{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 i.vHH(5200,!1);case i.q3G.URL:return(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 i.vHH(5201,!1);default:throw new i.vHH(5202,!1)}}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=e).ɵfac=function(e){return new(e||t)(i.LFG(r.K0))},t.ɵprov=i.Yz7({token:t,factory:function(t){let e=null;return e=t?new t:j(i.LFG(i.zs3)),e},providedIn:"root"}),e})()},99222:(t,e,n)=>{n.d(e,{gz:()=>be,m2:()=>Ut,F0:()=>In,rH:()=>zn,Od:()=>Nn,lC:()=>Se,Xs:()=>ae,Hx:()=>ct,bU:()=>Rn,ZU:()=>jn});var i=n(20755),r=n(11070),o=n(3489),s=n(71209),a=n(56424);const l=(0,n(99046).d)((t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}));var c=n(38442),u=n(45623),h=n(83562),d=n(22222),p=n(51960),f=n(30453),g=n(48132),m=n(902),v=n(96142),y=n(70134);function b(){return(0,v.e)(((t,e)=>{let n=null;t._refCount++;const i=new y.Q(e,void 0,void 0,void 0,(()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(n=null);const i=t._connection,r=n;n=null,!i||r&&i!==r||i.unsubscribe(),e.unsubscribe()}));t.subscribe(i),i.closed||(n=t.connect())}))}class _ extends g.y{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,(0,v.A)(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,null==t||t.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new m.w0;const e=this.getSubject();t.add(this.source.subscribe(new y.Q(e,void 0,(()=>{this._teardown(),e.complete()}),(t=>{this._teardown(),e.error(t)}),(()=>this._teardown())))),t.closed&&(this._connection=null,t=m.w0.EMPTY)}return t}refCount(){return b()(this)}}var w=n(78748),x=n(76733),C=n(92425),k=n(84787),O=n(21813),M=n(73843),S=n(55333),A=n(45130),P=n(80407);function E(t=T){return(0,v.e)(((e,n)=>{let i=!1;e.subscribe(new y.Q(n,(t=>{i=!0,n.next(t)}),(()=>i?n.complete():n.error(t()))))}))}function T(){return new l}var I=n(69401);function D(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,(0,O.q)(1),n?(0,P.d)(e):E((()=>new l)))}var z=n(70109),N=n(31570),F=n(17560),L=n(27795);function R(t){return t<=0?()=>f.E:(0,v.e)(((e,n)=>{let i=[];e.subscribe(new y.Q(n,(e=>{i.push(e),t{for(const t of i)n.next(t);n.complete()}),void 0,(()=>{i=null})))}))}var B=n(97376),j=n(36293),H=n(81749),V=n(42605),$=n(43232);const q="primary",Z=Symbol("RouteTitle");class U{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function G(t){return new U(t)}function Q(t,e,n){const i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.lengthi[e]===t))}return t===e}function W(t){return t.length>0?t[t.length-1]:null}function K(t){return(0,r.b)(t)?t:(0,i.QGY)(t)?(0,o.D)(Promise.resolve(t)):(0,s.of)(t)}const X={exact:function t(e,n,i){if(!lt(e.segments,n.segments))return!1;if(!rt(e.segments,n.segments,i))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r],i))return!1}return!0},subset:nt},tt={exact:function(t,e){return J(t,e)},subset:function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((n=>Y(t[n],e[n])))},ignored:()=>!0};function et(t,e,n){return X[n.paths](t.root,e.root,n.matrixParams)&&tt[n.queryParams](t.queryParams,e.queryParams)&&!("exact"===n.fragment&&t.fragment!==e.fragment)}function nt(t,e,n){return it(t,e,e.segments,n)}function it(t,e,n,i){if(t.segments.length>n.length){const r=t.segments.slice(0,n.length);return!!lt(r,n)&&!e.hasChildren()&&!!rt(r,n,i)}if(t.segments.length===n.length){if(!lt(t.segments,n))return!1;if(!rt(t.segments,n,i))return!1;for(const n in e.children){if(!t.children[n])return!1;if(!nt(t.children[n],e.children[n],i))return!1}return!0}{const r=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!!lt(t.segments,r)&&!!rt(t.segments,r,i)&&!!t.children[q]&&it(t.children[q],e,o,i)}}function rt(t,e,n){return e.every(((e,i)=>tt[n](t[i].parameters,e.parameters)))}class ot{constructor(t=new st([],{}),e={},n=null){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return ht.serialize(this)}}class st{constructor(t,e){this.segments=t,this.children=e,this.parent=null,Object.values(e).forEach((t=>t.parent=this))}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return dt(this)}}class at{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=G(this.parameters)),this._parameterMap}toString(){return bt(this)}}function lt(t,e){return t.length===e.length&&t.every(((t,n)=>t.path===e[n].path))}let ct=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return new ut},providedIn:"root"}),e})();class ut{parse(t){const e=new Ot(t);return new ot(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){const e=`/${pt(t.root,!0)}`,n=function(t){const e=Object.keys(t).map((e=>{const n=t[e];return Array.isArray(n)?n.map((t=>`${gt(e)}=${gt(t)}`)).join("&"):`${gt(e)}=${gt(n)}`})).filter((t=>!!t));return e.length?`?${e.join("&")}`:""}(t.queryParams);var i;return`${e}${n}${"string"==typeof t.fragment?`#${i=t.fragment,encodeURI(i)}`:""}`}}const ht=new ut;function dt(t){return t.segments.map((t=>bt(t))).join("/")}function pt(t,e){if(!t.hasChildren())return dt(t);if(e){const e=t.children[q]?pt(t.children[q],!1):"",n=[];return Object.entries(t.children).forEach((([t,e])=>{t!==q&&n.push(`${t}:${pt(e,!1)}`)})),n.length>0?`${e}(${n.join("//")})`:e}{const e=function(t,e){let n=[];return Object.entries(t.children).forEach((([t,i])=>{t===q&&(n=n.concat(e(i,t)))})),Object.entries(t.children).forEach((([t,i])=>{t!==q&&(n=n.concat(e(i,t)))})),n}(t,((e,n)=>n===q?[pt(t.children[q],!1)]:[`${n}:${pt(e,!1)}`]));return 1===Object.keys(t.children).length&&null!=t.children[q]?`${dt(t)}/${e[0]}`:`${dt(t)}/(${e.join("//")})`}}function ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function gt(t){return ft(t).replace(/%3B/gi,";")}function mt(t){return ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function vt(t){return decodeURIComponent(t)}function yt(t){return vt(t.replace(/\+/g,"%20"))}function bt(t){return`${mt(t.path)}${e=t.parameters,Object.keys(e).map((t=>`;${mt(t)}=${mt(e[t])}`)).join("")}`;var e}const _t=/^[^\/()?;#]+/;function wt(t){const e=t.match(_t);return e?e[0]:""}const xt=/^[^\/()?;=#]+/,Ct=/^[^=?&#]+/,kt=/^[^&#]+/;class Ot{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new st([],{}):new st([],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[q]=new st(t,e)),n}parseSegment(){const t=wt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new i.vHH(4009,!1);return this.capture(t),new at(vt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=function(t){const e=t.match(xt);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=wt(this.remaining);t&&(n=t,this.capture(n))}t[vt(e)]=vt(n)}parseQueryParam(t){const e=function(t){const e=t.match(Ct);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(kt);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const i=yt(e),r=yt(n);if(t.hasOwnProperty(i)){let e=t[i];Array.isArray(e)||(e=[e],t[i]=e),e.push(r)}else t[i]=r}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=wt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new i.vHH(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):t&&(o=q);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[q]:new st([],s),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 i.vHH(4011,!1)}}function Mt(t){return t.segments.length>0?new st([],{[q]:t}):t}function St(t){const e={};for(const n of Object.keys(t.children)){const i=St(t.children[n]);if(n===q&&0===i.segments.length&&i.hasChildren())for(const[t,n]of Object.entries(i.children))e[t]=n;else(i.segments.length>0||i.hasChildren())&&(e[n]=i)}return function(t){if(1===t.numberOfChildren&&t.children[q]){const e=t.children[q];return new st(t.segments.concat(e.segments),e.children)}return t}(new st(t.segments,e))}function At(t){return t instanceof ot}function Pt(t){let e;const n=Mt(function n(i){const r={};for(const t of i.children){const e=n(t);r[t.outlet]=e}const o=new st(i.url,r);return i===t&&(e=o),o}(t.root));return e??n}function Et(t,e,n,r){let o=t;for(;o.parent;)o=o.parent;if(0===e.length)return Dt(o,o,o,n,r);const s=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Nt(!0,0,t);let e=0,n=!1;const i=t.reduce(((t,i,r)=>{if("object"==typeof i&&null!=i){if(i.outlets){const e={};return Object.entries(i.outlets).forEach((([t,n])=>{e[t]="string"==typeof n?n.split("/"):n})),[...t,{outlets:e}]}if(i.segmentPath)return[...t,i.segmentPath]}return"string"!=typeof i?[...t,i]:0===r?(i.split("/").forEach(((i,r)=>{0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))})),t):[...t,i]}),[]);return new Nt(n,e,i)}(e);if(s.toRoot())return Dt(o,o,new st([],{}),n,r);const a=function(t,e,n){if(t.isAbsolute)return new Ft(e,!0,0);if(!n)return new Ft(e,!1,NaN);if(null===n.parent)return new Ft(n,!0,0);const r=Tt(t.commands[0])?0:1;return function(t,e,n){let r=t,o=e,s=n;for(;s>o;){if(s-=o,r=r.parent,!r)throw new i.vHH(4005,!1);o=r.segments.length}return new Ft(r,!1,o-s)}(n,n.segments.length-1+r,t.numberOfDoubleDots)}(s,o,t),l=a.processChildren?Rt(a.segmentGroup,a.index,s.commands):Lt(a.segmentGroup,a.index,s.commands);return Dt(o,a.segmentGroup,l,n,r)}function Tt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function It(t){return"object"==typeof t&&null!=t&&t.outlets}function Dt(t,e,n,i,r){let o,s={};i&&Object.entries(i).forEach((([t,e])=>{s[t]=Array.isArray(e)?e.map((t=>`${t}`)):`${e}`})),o=t===e?n:zt(t,e,n);const a=Mt(St(o));return new ot(a,s,r)}function zt(t,e,n){const i={};return Object.entries(t.children).forEach((([t,r])=>{i[t]=r===e?n:zt(r,e,n)})),new st(t.segments,i)}class Nt{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Tt(n[0]))throw new i.vHH(4003,!1);const r=n.find(It);if(r&&r!==W(n))throw new i.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ft{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Lt(t,e,n){if(t||(t=new st([],{})),0===t.segments.length&&t.hasChildren())return Rt(t,e,n);const i=function(t,e,n){let i=0,r=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=n.length)return o;const e=t.segments[r],s=n[i];if(It(s))break;const a=`${s}`,l=i0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!Vt(a,l,e))return o;i+=2}else{if(!Vt(a,{},e))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndext!==q))&&t.children[q]&&1===t.numberOfChildren&&0===t.children[q].segments.length){const i=Rt(t.children[q],e,n);return new st(t.segments,i.children)}return Object.entries(i).forEach((([n,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(r[n]=Lt(t.children[n],e,i))})),Object.entries(t.children).forEach((([t,e])=>{void 0===i[t]&&(r[t]=e)})),new st(t.segments,r)}}function Bt(t,e,n){const i=t.segments.slice(0,e);let r=0;for(;r{"string"==typeof n&&(n=[n]),null!==n&&(e[t]=Bt(new st([],{}),0,n))})),e}function Ht(t){const e={};return Object.entries(t).forEach((([t,n])=>e[t]=`${n}`)),e}function Vt(t,e,n){return t==n.path&&J(e,n.parameters)}const $t="imperative";class qt{constructor(t,e){this.id=t,this.url=e}}class Zt extends qt{constructor(t,e,n="imperative",i=null){super(t,e),this.type=0,this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ut extends qt{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Gt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Qt extends qt{constructor(t,e,n,i){super(t,e),this.reason=n,this.code=i,this.type=16}}class Jt extends qt{constructor(t,e,n,i){super(t,e),this.error=n,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Yt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Kt extends qt{constructor(t,e,n,i,r){super(t,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Xt extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class te extends qt{constructor(t,e,n,i){super(t,e),this.urlAfterRedirects=n,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ee{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class ne{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class ie{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class re{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oe{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class se{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ae{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n,this.type=15}toString(){const t=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${t}')`}}class le{}class ce{constructor(t){this.url=t}}class ue{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new he,this.attachRef=null}}let he=(()=>{var t;class e{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 ue,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();class de{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=pe(t,this._root);return e?e.children.map((t=>t.value)):[]}firstChild(t){const e=pe(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=fe(t,this._root);return e.length<2?[]:e[e.length-2].children.map((t=>t.value)).filter((e=>e!==t))}pathFromRoot(t){return fe(t,this._root).map((t=>t.value))}}function pe(t,e){if(t===e.value)return e;for(const n of e.children){const e=pe(t,n);if(e)return e}return null}function fe(t,e){if(t===e.value)return[e];for(const n of e.children){const i=fe(t,n);if(i.length)return i.unshift(e),i}return[]}class ge{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function me(t){const e={};return t&&t.children.forEach((t=>e[t.value.outlet]=t)),e}class ve extends de{constructor(t,e){super(t),this.snapshot=e,Ce(this,t)}toString(){return this.snapshot.toString()}}function ye(t,e){const n=function(t,e){const n=new we([],{},{},"",{},q,e,null,{});return new xe("",new ge(n,[]))}(0,e),i=new a.X([new at("",{})]),r=new a.X({}),o=new a.X({}),s=new a.X({}),l=new a.X(""),c=new be(i,r,s,l,o,q,e,n.root);return c.snapshot=n.root,new ve(new ge(c,[]),n)}class be{constructor(t,e,n,i,r,o,a,l){this.urlSubject=t,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=r,this.outlet=o,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe((0,C.U)((t=>t[Z])))??(0,s.of)(void 0),this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r}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,C.U)((t=>G(t))))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,C.U)((t=>G(t))))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function _e(t,e="emptyOnly"){const n=t.pathFromRoot;let i=0;if("always"!==e)for(i=n.length-1;i>=1;){const t=n[i],e=n[i-1];if(t.routeConfig&&""===t.routeConfig.path)i--;else{if(e.component)break;i--}}return function(t){return t.reduce(((t,e)=>({params:{...t.params,...e.params},data:{...t.data,...e.data},resolve:{...e.data,...t.resolve,...e.routeConfig?.data,...e._resolvedData}})),{params:{},data:{},resolve:{}})}(n.slice(i))}class we{get title(){return this.data?.[Z]}constructor(t,e,n,i,r,o,s,a,l){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=s,this.routeConfig=a,this._resolve=l}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=G(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=G(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map((t=>t.toString())).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class xe extends de{constructor(t,e){super(e),this.url=t,Ce(this,e)}toString(){return ke(this._root)}}function Ce(t,e){e.value._routerState=t,e.children.forEach((e=>Ce(t,e)))}function ke(t){const e=t.children.length>0?` { ${t.children.map(ke).join(", ")} } `:"";return`${t.value}${e}`}function Oe(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,J(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),J(e.params,n.params)||t.paramsSubject.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nJ(t.parameters,r[e].parameters)));var i,r;const o=!t.parent!=!e.parent;return n&&!o&&(!t.parent||Me(t.parent,e.parent))}let Se=(()=>{var t;class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new i.vpe,this.deactivateEvents=new i.vpe,this.attachEvents=new i.vpe,this.detachEvents=new i.vpe,this.parentContexts=(0,i.f3M)(he),this.location=(0,i.f3M)(i.s_b),this.changeDetector=(0,i.f3M)(i.sBO),this.environmentInjector=(0,i.f3M)(i.lqb),this.inputBinder=(0,i.f3M)(Pe,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:e,previousValue:n}=t.name;if(e)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new i.vHH(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new i.vHH(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new i.vHH(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}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 i.vHH(4013,!1);this._activatedRoute=t;const n=this.location,r=t.snapshot.component,o=this.parentContexts.getOrCreateContext(this.name).children,s=new Ae(t,o,n.injector);this.activated=n.createComponent(r,{index:n.length,injector:s,environmentInjector:e??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵdir=i.lG2({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[i.TTD]}),e})();class Ae{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===be?this.route:t===he?this.childContexts:this.parent.get(t,e)}}const Pe=new i.OlP("");function Ee(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){const i=n.value;i._futureSnapshot=e.value;const r=function(t,e,n){return e.children.map((e=>{for(const i of n.children)if(t.shouldReuseRoute(e.value,i.value.snapshot))return Ee(t,e,i);return Ee(t,e)}))}(t,e,n);return new ge(i,r)}{if(t.shouldAttach(e.value)){const n=t.retrieve(e.value);if(null!==n){const i=n.route;return i.value._futureSnapshot=e.value,i.children=e.children.map((e=>Ee(t,e))),i}}const n=(i=e.value,new be(new a.X(i.url),new a.X(i.params),new a.X(i.queryParams),new a.X(i.fragment),new a.X(i.data),i.outlet,i.component,i)),r=e.children.map((e=>Ee(t,e)));return new ge(n,r)}var i}const Te="ngNavigationCancelingError";function Ie(t,e){const{redirectTo:n,navigationBehaviorOptions:i}=At(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=De(!1,0,e);return r.url=n,r.navigationBehaviorOptions=i,r}function De(t,e,n){const i=new Error("NavigationCancelingError: "+(t||""));return i[Te]=!0,i.cancellationCode=e,n&&(i.url=n),i}function ze(t){return t&&t[Te]}let Ne=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵcmp=i.Xpm({type:t,selectors:[["ng-component"]],standalone:!0,features:[i.jDz],decls:1,vars:0,template:function(t,e){1&t&&i._UZ(0,"router-outlet")},dependencies:[Se],encapsulation:2}),e})();function Fe(t){const e=t.children&&t.children.map(Fe),n=e?{...t,children:e}:{...t};return n.component||n.loadComponent||!e&&!n.loadChildren||!n.outlet||n.outlet===q||(n.component=Ne),n}function Le(t){return t.outlet||q}function Re(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class Be{constructor(t,e,n,i,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Oe(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{const e=t.value.outlet;this.deactivateRoutes(t,i[e],n),delete i[e]})),Object.values(i).forEach((t=>{this.deactivateRouteAndItsChildren(t,n)}))}deactivateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(i===r)if(i.component){const r=n.getContext(i.outlet);r&&this.deactivateChildRoutes(t,e,r.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);if(n&&n.outlet){const e=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:i})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet),i=n&&t.value.component?n.children:e,r=me(t);for(const t of Object.keys(r))this.deactivateRouteAndItsChildren(r[t],i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(t,e,n){const i=me(e);t.children.forEach((t=>{this.activateRoutes(t,i[t.value.outlet],n),this.forwardEvent(new se(t.value.snapshot))})),t.children.length&&this.forwardEvent(new re(t.value.snapshot))}activateRoutes(t,e,n){const i=t.value,r=e?e.value:null;if(Oe(i),i===r)if(i.component){const r=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,r.children)}else this.activateChildRoutes(t,e,n);else if(i.component){const e=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){const n=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),e.children.onOutletReAttached(n.contexts),e.attachRef=n.componentRef,e.route=n.route.value,e.outlet&&e.outlet.attach(n.componentRef,n.route.value),Oe(n.route.value),this.activateChildRoutes(t,null,e.children)}else{const n=Re(i.snapshot);e.attachRef=null,e.route=i,e.injector=n,e.outlet&&e.outlet.activateWith(i,e.injector),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}class je{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class He{constructor(t,e){this.component=t,this.route=e}}function Ve(t,e,n){const i=t._root;return qe(i,e?e._root:null,n,[i.value])}function $e(t,e){const n=Symbol(),r=e.get(t,n);return r===n?"function"!=typeof t||(0,i.Z0I)(t)?e.get(t):t:r}function qe(t,e,n,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=me(e);return t.children.forEach((t=>{!function(t,e,n,i,r={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!lt(t.url,e.url);case"pathParamsOrQueryParamsChange":return!lt(t.url,e.url)||!J(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Me(t,e)||!J(t.queryParams,e.queryParams);default:return!Me(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new je(i)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?qe(t,e,a?a.children:null,i,r):qe(t,e,n,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new He(a.outlet.component,s))}else s&&Ze(e,a,r),r.canActivateChecks.push(new je(i)),o.component?qe(t,null,a?a.children:null,i,r):qe(t,null,n,i,r)}(t,o[t.value.outlet],n,i.concat([t.value]),r),delete o[t.value.outlet]})),Object.entries(o).forEach((([t,e])=>Ze(e,n.getContext(t),r))),r}function Ze(t,e,n){const i=me(t),r=t.value;Object.entries(i).forEach((([t,i])=>{r.component?Ze(i,e?e.children.getContext(t):null,n):Ze(i,e,n)})),r.component&&e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new He(e.outlet.component,r)):n.canDeactivateChecks.push(new He(null,r))}function Ue(t){return"function"==typeof t}function Ge(t){return t instanceof l||"EmptyError"===t?.name}const Qe=Symbol("INITIAL_VALUE");function Je(){return(0,k.w)((t=>(0,c.a)(t.map((t=>t.pipe((0,O.q)(1),(0,M.O)(Qe))))).pipe((0,C.U)((t=>{for(const e of t)if(!0!==e){if(e===Qe)return Qe;if(!1===e||e instanceof ot)return e}return!0})),(0,S.h)((t=>t!==Qe)),(0,O.q)(1))))}function Ye(t){return(0,d.z)((0,N.b)((t=>{if(At(t))throw Ie(0,t)})),(0,C.U)((t=>!0===t)))}class We{constructor(t){this.segmentGroup=t||null}}class Ke{constructor(t){this.urlTree=t}}function Xe(t){return(0,p._)(new We(t))}function tn(t){return(0,p._)(new Ke(t))}class en{constructor(t,e){this.urlSerializer=t,this.urlTree=e}noMatchError(t){return new i.vHH(4002,!1)}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[q])return t.redirectTo,(0,p._)(new i.vHH(4e3,!1));r=r.children[q]}}applyRedirectCommands(t,e,n){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreateUrlTree(t,e,n,i){const r=this.createSegmentGroup(t,e.root,n,i);return new ot(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return Object.entries(t).forEach((([t,i])=>{if("string"==typeof i&&i.startsWith(":")){const r=i.substring(1);n[t]=e[r]}else n[t]=i})),n}createSegmentGroup(t,e,n,i){const r=this.createSegments(t,e.segments,n,i);let o={};return Object.entries(e.children).forEach((([e,r])=>{o[e]=this.createSegmentGroup(t,r,n,i)})),new st(r,o)}createSegments(t,e,n,i){return e.map((e=>e.path.startsWith(":")?this.findPosParam(t,e,i):this.findOrReturn(e,n)))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new i.vHH(4001,!1);return r}findOrReturn(t,e){let n=0;for(const i of e){if(i.path===t.path)return e.splice(n),i;n++}return t}}const nn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function rn(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{...nn}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const i=(e.matcher||Q)(n,t,e);if(!i)return{...nn};const r={};Object.entries(i.posParams??{}).forEach((([t,e])=>{r[t]=e.path}));const o=i.consumed.length>0?{...r,...i.consumed[i.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:o,positionalParamSegments:i.posParams??{}}}function on(t,e,n,i){if(n.length>0&&function(t,e,n){return n.some((n=>sn(t,e,n)&&Le(n)!==q))}(t,n,i))return{segmentGroup:new st(e,function(t,e){const n={};n[q]=e;for(const e of t)if(""===e.path&&Le(e)!==q){const t=new st([],{});n[Le(e)]=t}return n}(i,new st(n,t.children))),slicedSegments:[]};if(0===n.length&&function(t,e,n){return n.some((n=>sn(t,e,n)))}(t,n,i)){const e=new st(t.segments,function(t,e,n,i,r){const o={};for(const e of i)if(sn(t,n,e)&&!r[Le(e)]){const t=new st([],{});o[Le(e)]=t}return{...r,...o}}(t,0,n,i,t.children));return{segmentGroup:e,slicedSegments:n}}return{segmentGroup:new st(t.segments,t.children),slicedSegments:n}}function sn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path}class an{constructor(t,e,n,i,r,o,s){this.injector=t,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=r,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.allowRedirects=!0,this.applyRedirects=new en(this.urlSerializer,this.urlTree)}noMatchError(t){return new i.vHH(4002,!1)}recognize(){const t=on(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,q).pipe((0,F.K)((t=>{if(t instanceof Ke)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);if(t instanceof We)throw this.noMatchError(t);throw t})),(0,C.U)((t=>{const e=new we([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,{}),n=new ge(e,t),i=new xe("",n),r=function(t,e,n=null,i=null){return Et(Pt(t),e,n,i)}(e,[],this.urlTree.queryParams,this.urlTree.fragment);return r.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(r),this.inheritParamsAndData(i._root),{state:i,tree:r}})))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,q).pipe((0,F.K)((t=>{if(t instanceof We)throw this.noMatchError(t);throw t})))}inheritParamsAndData(t){const e=t.value,n=_e(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,i){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,e,n):this.processSegment(t,e,n,n.segments,i,!0)}processChildren(t,e,n){const i=[];for(const t of Object.keys(n.children))"primary"===t?i.unshift(t):i.push(t);return(0,o.D)(i).pipe((0,z.b)((i=>{const r=n.children[i],o=function(t,e){const n=t.filter((t=>Le(t)===e));return n.push(...t.filter((t=>Le(t)!==e))),n}(e,i);return this.processSegmentGroup(t,o,r,i)})),(0,L.R)(((t,e)=>(t.push(...e),t))),(0,P.d)(null),function(t,e){const n=arguments.length>=2;return i=>i.pipe(t?(0,S.h)(((e,n)=>t(e,n,i))):I.y,R(1),n?(0,P.d)(e):E((()=>new l)))}(),(0,A.z)((t=>{if(null===t)return Xe(n);const e=cn(t);return e.sort(((t,e)=>t.value.outlet===q?-1:e.value.outlet===q?1:t.value.outlet.localeCompare(e.value.outlet))),(0,s.of)(e)})))}processSegment(t,e,n,i,r,a){return(0,o.D)(e).pipe((0,z.b)((o=>this.processSegmentAgainstRoute(o._injector??t,e,o,n,i,r,a).pipe((0,F.K)((t=>{if(t instanceof We)return(0,s.of)(null);throw t}))))),D((t=>!!t)),(0,F.K)((t=>{if(Ge(t))return function(t,e,n){return 0===e.length&&!t.children[n]}(n,i,r)?(0,s.of)([]):Xe(n);throw t})))}processSegmentAgainstRoute(t,e,n,i,r,o,s){return function(t,e,n,i){return!!(Le(t)===i||i!==q&&sn(e,n,t))&&("**"===t.path||rn(e,t,n).matched)}(n,i,r,o)?void 0===n.redirectTo?this.matchSegmentAgainstRoute(t,i,n,r,o,s):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,i,e,n,r,o):Xe(i):Xe(i)}expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,i){const r=this.applyRedirects.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?tn(r):this.applyRedirects.lineralizeSegments(n,r).pipe((0,A.z)((n=>{const r=new st(n,{});return this.processSegment(t,e,r,n,i,!1)})))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o){const{matched:s,consumedSegments:a,remainingSegments:l,positionalParamSegments:c}=rn(e,i,r);if(!s)return Xe(e);const u=this.applyRedirects.applyRedirectCommands(a,i.redirectTo,c);return i.redirectTo.startsWith("/")?tn(u):this.applyRedirects.lineralizeSegments(i,u).pipe((0,A.z)((i=>this.processSegment(t,n,e,i.concat(l),o,!1))))}matchSegmentAgainstRoute(t,e,n,r,o,a){let l;if("**"===n.path){const t=r.length>0?W(r).parameters:{},i=new we(r,t,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n));l=(0,s.of)({snapshot:i,consumedSegments:[],remainingSegments:[]}),e.children={}}else l=function(t,e,n,r,o){const a=rn(t,e,n);return a.matched?(r=function(t,e){return t.providers&&!t._injector&&(t._injector=(0,i.MMx)(t.providers,e,`Route: ${t.path}`)),t._injector??e}(e,r),function(t,e,n,i){const r=e.canMatch;if(!r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canMatch)}(r)?r.canMatch(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(r,e,n).pipe((0,C.U)((t=>!0===t?a:{...nn})))):(0,s.of)(a)}(e,n,r,t,this.urlSerializer).pipe((0,C.U)((({matched:t,consumedSegments:e,remainingSegments:i,parameters:r})=>t?{snapshot:new we(e,r,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,un(n),Le(n),n.component??n._loadedComponent??null,n,hn(n)),consumedSegments:e,remainingSegments:i}:null)));return l.pipe((0,k.w)((i=>null===i?Xe(e):(t=n._injector??t,this.getChildConfig(t,n,r).pipe((0,k.w)((({routes:r})=>{const a=n._loadedInjector??t,{snapshot:l,consumedSegments:c,remainingSegments:u}=i,{segmentGroup:h,slicedSegments:d}=on(e,c,u,r);if(0===d.length&&h.hasChildren())return this.processChildren(a,r,h).pipe((0,C.U)((t=>null===t?null:[new ge(l,t)])));if(0===r.length&&0===d.length)return(0,s.of)([new ge(l,[])]);const p=Le(n)===o;return this.processSegment(a,r,h,d,p?q:o,!0).pipe((0,C.U)((t=>[new ge(l,t)])))})))))))}getChildConfig(t,e,n){return e.children?(0,s.of)({routes:e.children,injector:t}):e.loadChildren?void 0!==e._loadedRoutes?(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector}):function(t,e,n,i){const r=e.canLoad;if(void 0===r||0===r.length)return(0,s.of)(!0);const o=r.map((i=>{const r=$e(i,t);return K(function(t){return t&&Ue(t.canLoad)}(r)?r.canLoad(e,n):t.runInContext((()=>r(e,n))))}));return(0,s.of)(o).pipe(Je(),Ye())}(t,e,n,this.urlSerializer).pipe((0,A.z)((n=>n?this.configLoader.loadChildren(t,e).pipe((0,N.b)((t=>{e._loadedRoutes=t.routes,e._loadedInjector=t.injector}))):(0,p._)(De(!1,3))))):(0,s.of)({routes:[],injector:t})}}function ln(t){const e=t.value.routeConfig;return e&&""===e.path}function cn(t){const e=[],n=new Set;for(const i of t){if(!ln(i)){e.push(i);continue}const t=e.find((t=>i.value.routeConfig===t.value.routeConfig));void 0!==t?(t.children.push(...i.children),n.add(t)):e.push(i)}for(const t of n){const n=cn(t.children);e.push(new ge(t.value,n))}return e.filter((t=>!n.has(t)))}function un(t){return t.data||{}}function hn(t){return t.resolve||{}}function dn(t){return"string"==typeof t.title||null===t.title}function pn(t){return(0,k.w)((e=>{const n=t(e);return n?(0,o.D)(n).pipe((0,C.U)((()=>e))):(0,s.of)(e)}))}const fn=new i.OlP("ROUTES");let gn=(()=>{var t;class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,i.f3M)(i.Sil)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return(0,s.of)(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const e=K(t.loadComponent()).pipe((0,C.U)(mn),(0,N.b)((e=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=e})),(0,j.x)((()=>{this.componentLoaders.delete(t)}))),n=new _(e,(()=>new w.x)).pipe(b());return this.componentLoaders.set(t,n),n}loadChildren(t,e){if(this.childrenLoaders.get(e))return this.childrenLoaders.get(e);if(e._loadedRoutes)return(0,s.of)({routes:e._loadedRoutes,injector:e._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(e);const n=function(t,e,n,r){return K(t.loadChildren()).pipe((0,C.U)(mn),(0,A.z)((t=>t instanceof i.YKP||Array.isArray(t)?(0,s.of)(t):(0,o.D)(e.compileModuleAsync(t)))),(0,C.U)((e=>{let i,o;r&&r(t);return Array.isArray(e)?o=e:(i=e.create(n).injector,o=i.get(fn,[],{optional:!0,self:!0}).flat()),{routes:o.map(Fe),injector:i}})))}(e,this.compiler,t,this.onLoadEndListener),r=n.pipe((0,j.x)((()=>{this.childrenLoaders.delete(e)}))),a=new _(r,(()=>new w.x)).pipe(b());return this.childrenLoaders.set(e,a),a}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function mn(t){return(e=t)&&"object"==typeof e&&"default"in e?t.default:t;var e}let vn=(()=>{var t;class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new w.x,this.transitionAbortSubject=new w.x,this.configLoader=(0,i.f3M)(gn),this.environmentInjector=(0,i.f3M)(i.lqb),this.urlSerializer=(0,i.f3M)(ct),this.rootContexts=(0,i.f3M)(he),this.inputBindingEnabled=null!==(0,i.f3M)(Pe,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,s.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=t=>this.events.next(new ne(t)),this.configLoader.onLoadStartListener=t=>this.events.next(new ee(t))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const e=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:e})}setupNavigations(t,e,n){return this.transitions=new a.X({id:0,currentUrlTree:e,currentRawUrl:e,currentBrowserUrl:e,extractedUrl:t.urlHandlingStrategy.extract(e),urlAfterRedirects:t.urlHandlingStrategy.extract(e),rawUrl:e,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:$t,restoredState:null,currentSnapshot:n.snapshot,targetSnapshot:null,currentRouterState:n,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,S.h)((t=>0!==t.id)),(0,C.U)((e=>({...e,extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)}))),(0,k.w)((e=>{this.currentTransition=e;let n=!1,i=!1;return(0,s.of)(e).pipe((0,N.b)((t=>{this.currentNavigation={id:t.id,initialUrl:t.rawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}})),(0,k.w)((n=>{const i=n.currentBrowserUrl.toString(),r=!t.navigated||n.extractedUrl.toString()!==i||i!==n.currentUrlTree.toString(),o=n.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!r&&"reload"!==o){const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.rawUrl),t,0)),n.resolve(null),f.E}if(t.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return(0,s.of)(n).pipe((0,k.w)((t=>{const e=this.transitions?.getValue();return this.events.next(new Zt(t.id,this.urlSerializer.serialize(t.extractedUrl),t.source,t.restoredState)),e!==this.transitions?.getValue()?f.E:Promise.resolve(t)})),(a=this.environmentInjector,l=this.configLoader,c=this.rootComponentType,u=t.config,h=this.urlSerializer,d=t.paramsInheritanceStrategy,(0,A.z)((t=>function(t,e,n,i,r,o,s="emptyOnly"){return new an(t,e,n,i,r,s,o).recognize()}(a,l,c,u,t.extractedUrl,h,d).pipe((0,C.U)((({state:e,tree:n})=>({...t,targetSnapshot:e,urlAfterRedirects:n}))))))),(0,N.b)((t=>{e.targetSnapshot=t.targetSnapshot,e.urlAfterRedirects=t.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:t.urlAfterRedirects};const n=new Yt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(n)})));var a,l,c,u,h,d;if(r&&t.urlHandlingStrategy.shouldProcessUrl(n.currentRawUrl)){const{id:t,extractedUrl:i,source:r,restoredState:o,extras:a}=n,l=new Zt(t,this.urlSerializer.serialize(i),r,o);this.events.next(l);const c=ye(0,this.rootComponentType).snapshot;return this.currentTransition=e={...n,targetSnapshot:c,urlAfterRedirects:i,extras:{...a,skipLocationChange:!1,replaceUrl:!1}},(0,s.of)(e)}{const t="";return this.events.next(new Qt(n.id,this.urlSerializer.serialize(n.extractedUrl),t,1)),n.resolve(null),f.E}})),(0,N.b)((t=>{const e=new Wt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,C.U)((t=>(this.currentTransition=e={...t,guards:Ve(t.targetSnapshot,t.currentSnapshot,this.rootContexts)},e))),function(t,e){return(0,A.z)((n=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:l}}=n;return 0===l.length&&0===a.length?(0,s.of)({...n,guardsResult:!0}):function(t,e,n,i){return(0,o.D)(t).pipe((0,A.z)((t=>function(t,e,n,i,r){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=Re(e)??r,a=$e(o,s);return K(function(t){return t&&Ue(t.canDeactivate)}(a)?a.canDeactivate(t,e,n,i):s.runInContext((()=>a(t,e,n,i)))).pipe(D())}));return(0,s.of)(a).pipe(Je())}(t.component,t.route,n,e,i))),D((t=>!0!==t),!0))}(l,i,r,t).pipe((0,A.z)((n=>n&&"boolean"==typeof n?function(t,e,n,i){return(0,o.D)(e).pipe((0,z.b)((e=>(0,u.z)(function(t,e){return null!==t&&e&&e(new ie(t)),(0,s.of)(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new oe(t)),(0,s.of)(!0)}(e.route,i),function(t,e,n){const i=e[e.length-1],r=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,h.P)((()=>{const r=e.guards.map((r=>{const o=Re(e.node)??n,s=$e(r,o);return K(function(t){return t&&Ue(t.canActivateChild)}(s)?s.canActivateChild(i,t):o.runInContext((()=>s(i,t)))).pipe(D())}));return(0,s.of)(r).pipe(Je())}))));return(0,s.of)(r).pipe(Je())}(t,e.path,n),function(t,e,n){const i=e.routeConfig?e.routeConfig.canActivate:null;if(!i||0===i.length)return(0,s.of)(!0);const r=i.map((i=>(0,h.P)((()=>{const r=Re(e)??n,o=$e(i,r);return K(function(t){return t&&Ue(t.canActivate)}(o)?o.canActivate(e,t):r.runInContext((()=>o(e,t)))).pipe(D())}))));return(0,s.of)(r).pipe(Je())}(t,e.route,n)))),D((t=>!0!==t),!0))}(i,a,t,e):(0,s.of)(n))),(0,C.U)((t=>({...n,guardsResult:t}))))}))}(this.environmentInjector,(t=>this.events.next(t))),(0,N.b)((t=>{if(e.guardsResult=t.guardsResult,At(t.guardsResult))throw Ie(this.urlSerializer,t.guardsResult);const n=new Kt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.events.next(n)})),(0,S.h)((t=>!!t.guardsResult||(this.cancelNavigationTransition(t,"",3),!1))),pn((e=>{if(e.guards.canActivateChecks.length)return(0,s.of)(e).pipe((0,N.b)((t=>{const e=new Xt(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})),(0,k.w)((e=>{let n=!1;return(0,s.of)(e).pipe((i=t.paramsInheritanceStrategy,r=this.environmentInjector,(0,A.z)((t=>{const{targetSnapshot:e,guards:{canActivateChecks:n}}=t;if(!n.length)return(0,s.of)(t);let a=0;return(0,o.D)(n).pipe((0,z.b)((t=>function(t,e,n,i){const r=t.routeConfig,a=t._resolve;return void 0===r?.title||dn(r)||(a[Z]=r.title),function(t,e,n,i){const r=(a=t,[...Object.keys(a),...Object.getOwnPropertySymbols(a)]);var a;if(0===r.length)return(0,s.of)({});const l={};return(0,o.D)(r).pipe((0,A.z)((r=>function(t,e,n,i){const r=Re(e)??i,o=$e(t,r);return K(o.resolve?o.resolve(e,n):r.runInContext((()=>o(e,n))))}(t[r],e,n,i).pipe(D(),(0,N.b)((t=>{l[r]=t}))))),R(1),(0,B.h)(l),(0,F.K)((t=>Ge(t)?f.E:(0,p._)(t))))}(a,t,e,i).pipe((0,C.U)((e=>(t._resolvedData=e,t.data=_e(t,n).resolve,r&&dn(r)&&(t.data[Z]=r.title),null))))}(t.route,e,i,r))),(0,N.b)((()=>a++)),R(1),(0,A.z)((e=>a===n.length?(0,s.of)(t):f.E)))}))),(0,N.b)({next:()=>n=!0,complete:()=>{n||this.cancelNavigationTransition(e,"",2)}}));var i,r})),(0,N.b)((t=>{const e=new te(t.id,this.urlSerializer.serialize(t.extractedUrl),this.urlSerializer.serialize(t.urlAfterRedirects),t.targetSnapshot);this.events.next(e)})))})),pn((t=>{const e=t=>{const n=[];t.routeConfig?.loadComponent&&!t.routeConfig._loadedComponent&&n.push(this.configLoader.loadComponent(t.routeConfig).pipe((0,N.b)((e=>{t.component=e})),(0,C.U)((()=>{}))));for(const i of t.children)n.push(...e(i));return n};return(0,c.a)(e(t.targetSnapshot.root)).pipe((0,P.d)(),(0,O.q)(1))})),pn((()=>this.afterPreactivation())),(0,C.U)((n=>{const i=function(t,e,n){const i=Ee(t,e._root,n?n._root:void 0);return new ve(i,e)}(t.routeReuseStrategy,n.targetSnapshot,n.currentRouterState);return this.currentTransition=e={...n,targetRouterState:i},e})),(0,N.b)((()=>{this.events.next(new le)})),(r=this.rootContexts,a=t.routeReuseStrategy,l=t=>this.events.next(t),d=this.inputBindingEnabled,(0,C.U)((t=>(new Be(a,t.targetRouterState,t.currentRouterState,l,d).activate(r),t)))),(0,O.q)(1),(0,N.b)({next:e=>{n=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ut(e.id,this.urlSerializer.serialize(e.extractedUrl),this.urlSerializer.serialize(e.urlAfterRedirects))),t.titleStrategy?.updateTitle(e.targetRouterState.snapshot),e.resolve(!0)},complete:()=>{n=!0}}),(0,H.R)(this.transitionAbortSubject.pipe((0,N.b)((t=>{throw t})))),(0,j.x)((()=>{if(!n&&!i){const t="";this.cancelNavigationTransition(e,t,1)}this.currentNavigation?.id===e.id&&(this.currentNavigation=null)})),(0,F.K)((n=>{if(i=!0,ze(n))this.events.next(new Gt(e.id,this.urlSerializer.serialize(e.extractedUrl),n.message,n.cancellationCode)),ze(r=n)&&At(r.url)?this.events.next(new ce(n.url)):e.resolve(!1);else{this.events.next(new Jt(e.id,this.urlSerializer.serialize(e.extractedUrl),n,e.targetSnapshot??void 0));try{e.resolve(t.errorHandler(n))}catch(t){e.reject(t)}}var r;return f.E})));var r,a,l,d})))}cancelNavigationTransition(t,e,n){const i=new Gt(t.id,this.urlSerializer.serialize(t.extractedUrl),e,n);this.events.next(i),t.resolve(!1)}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function yn(t){return t!==$t}let bn=(()=>{var t;class e{buildTitle(t){let e,n=t.root;for(;void 0!==n;)e=this.getResolvedTitleForRoute(n)??e,n=n.children.find((t=>t.outlet===q));return e}getResolvedTitleForRoute(t){return t.data[Z]}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(_n)},providedIn:"root"}),e})(),_n=(()=>{var t;class e extends bn{constructor(t){super(),this.title=t}updateTitle(t){const e=this.buildTitle(t);void 0!==e&&this.title.setTitle(e)}}return(t=e).ɵfac=function(e){return new(e||t)(i.LFG($.Dx))},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})(),wn=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Cn)},providedIn:"root"}),e})();class xn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}let Cn=(()=>{var t;class e extends xn{}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=i.n5z(t)))(n||t)}}(),t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();const kn=new i.OlP("",{providedIn:"root",factory:()=>({})});let On=(()=>{var t;class e{}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:function(){return(0,i.f3M)(Mn)},providedIn:"root"}),e})(),Mn=(()=>{var t;class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();var Sn=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Sn||{});function An(t){throw t}function Pn(t,e,n){return e.parse("/")}const En={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Tn={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let In=(()=>{var t;class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.ɵrouterPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,i.f3M)(i.c2e),this.isNgZoneEnabled=!1,this._events=new w.x,this.options=(0,i.f3M)(kn,{optional:!0})||{},this.pendingTasks=(0,i.f3M)(i.HDt),this.errorHandler=this.options.errorHandler||An,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Pn,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,i.f3M)(On),this.routeReuseStrategy=(0,i.f3M)(wn),this.titleStrategy=(0,i.f3M)(bn),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=(0,i.f3M)(fn,{optional:!0})?.flat()??[],this.navigationTransitions=(0,i.f3M)(vn),this.urlSerializer=(0,i.f3M)(ct),this.location=(0,i.f3M)(x.Ye),this.componentInputBindingEnabled=!!(0,i.f3M)(Pe,{optional:!0}),this.eventsSubscription=new m.w0,this.isNgZoneEnabled=(0,i.f3M)(i.R0b)instanceof i.R0b&&i.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ot,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ye(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe((t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId}),(t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)})),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe((t=>{try{const{currentTransition:e}=this.navigationTransitions;if(null===e)return void(Dn(t)&&this._events.next(t));if(t instanceof Zt)yn(e.source)&&(this.browserUrlTree=e.extractedUrl);else if(t instanceof Qt)this.rawUrlTree=e.rawUrl;else if(t instanceof Yt){if("eager"===this.urlUpdateStrategy){if(!e.extras.skipLocationChange){const t=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl);this.setBrowserUrl(t,e)}this.browserUrlTree=e.urlAfterRedirects}}else if(t instanceof le)this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(e.urlAfterRedirects,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,e),this.browserUrlTree=e.urlAfterRedirects);else if(t instanceof Gt)0!==t.code&&1!==t.code&&(this.navigated=!0),3!==t.code&&2!==t.code||this.restoreHistory(e);else if(t instanceof ce){const n=this.urlHandlingStrategy.merge(t.url,e.currentRawUrl),i={skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||yn(e.source)};this.scheduleNavigation(n,$t,null,i,{resolve:e.resolve,reject:e.reject,promise:e.promise})}t instanceof Jt&&this.restoreHistory(e,!0),t instanceof Ut&&(this.navigated=!0),Dn(t)&&this._events.next(t)}catch(t){this.navigationTransitions.transitionAbortSubject.next(t)}}));this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),$t,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe((t=>{const e="popstate"===t.type?"popstate":"hashchange";"popstate"===e&&setTimeout((()=>{this.navigateToSyncWithBrowser(t.url,e,t.state)}),0)})))}navigateToSyncWithBrowser(t,e,n){const i={replaceUrl:!0},r=n?.navigationId?n:null;if(n){const t={...n};delete t.navigationId,delete t.ɵrouterPageId,0!==Object.keys(t).length&&(i.state=t)}const o=this.parseUrl(t);this.scheduleNavigation(o,e,r,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(Fe),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,e={}){const{relativeTo:n,queryParams:i,fragment:r,queryParamsHandling:o,preserveFragment:s}=e,a=s?this.currentUrlTree.fragment:r;let l,c=null;switch(o){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{l=Pt(n?n.snapshot:this.routerState.snapshot.root)}catch(e){"string"==typeof t[0]&&t[0].startsWith("/")||(t=[]),l=this.currentUrlTree.root}return Et(l,t,c,a??null)}navigateByUrl(t,e={skipLocationChange:!1}){const n=At(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,$t,null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const i=t[n];return null!=i&&(e[n]=i),e}),{})}scheduleNavigation(t,e,n,i,r){if(this.disposed)return Promise.resolve(!1);let o,s,a;r?(o=r.resolve,s=r.reject,a=r.promise):a=new Promise(((t,e)=>{o=t,s=e}));const l=this.pendingTasks.add();return c=()=>{queueMicrotask((()=>this.pendingTasks.remove(l)))},this.events.pipe((0,S.h)((t=>t instanceof Ut||t instanceof Gt||t instanceof Jt||t instanceof Qt)),(0,C.U)((t=>t instanceof Ut||t instanceof Qt?Sn.COMPLETE:t instanceof Gt&&(0===t.code||1===t.code)?Sn.REDIRECTING:Sn.FAILED)),(0,S.h)((t=>t!==Sn.REDIRECTING)),(0,O.q)(1)).subscribe((()=>{c()})),this.navigationTransitions.handleNavigationRequest({source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch((t=>Promise.reject(t)));var c}setBrowserUrl(t,e){const n=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(n)||e.extras.replaceUrl){const t=this.browserPageId,i={...e.extras.state,...this.generateNgRouterState(e.id,t)};this.location.replaceState(n,"",i)}else{const t={...e.extras.state,...this.generateNgRouterState(e.id,this.browserPageId+1)};this.location.go(n,"",t)}}restoreHistory(t,e=!1){if("computed"===this.canceledNavigationResolution){const e=this.browserPageId,n=this.currentPageId-e;0!==n?this.location.historyGo(n):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===n&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}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))}generateNgRouterState(t,e){return"computed"===this.canceledNavigationResolution?{navigationId:t,ɵrouterPageId:e}:{navigationId:t}}}return(t=e).ɵfac=function(e){return new(e||t)},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac,providedIn:"root"}),e})();function Dn(t){return!(t instanceof le||t instanceof ce)}let zn=(()=>{var t;class e{constructor(t,e,n,i,r,o){this.router=t,this.route=e,this.tabIndexAttribute=n,this.renderer=i,this.el=r,this.locationStrategy=o,this.href=null,this.commands=null,this.onChanges=new w.x,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const s=r.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===s||"area"===s,this.isAnchorElement?this.subscription=t.events.subscribe((t=>{t instanceof Ut&&this.updateHref()})):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,e,n,i,r){if(null===this.urlTree)return!0;if(this.isAnchorElement){if(0!==t||e||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0}const o={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,o),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:(0,i.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,e){const n=this.renderer,i=this.el.nativeElement;null!==e?n.setAttribute(i,t,e):n.removeAttribute(i,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(be),i.$8M("tabindex"),i.Y36(i.Qsj),i.Y36(i.SBq),i.Y36(x.S$))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLink",""]],hostVars:1,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.uIk("target",e.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",i.VuI],skipLocationChange:["skipLocationChange","skipLocationChange",i.VuI],replaceUrl:["replaceUrl","replaceUrl",i.VuI],routerLink:"routerLink"},standalone:!0,features:[i.Xq5,i.TTD]}),e})(),Nn=(()=>{var t;class e{get isActive(){return this._isActive}constructor(t,e,n,r,o){this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new i.vpe,this.routerEventsSubscription=t.events.subscribe((t=>{t instanceof Ut&&this.update()}))}ngAfterContentInit(){(0,s.of)(this.links.changes,(0,s.of)(null)).pipe((0,V.J)()).subscribe((t=>{this.update(),this.subscribeToEachLinkOnChanges()}))}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const t=[...this.links.toArray(),this.link].filter((t=>!!t)).map((t=>t.onChanges));this.linkInputChangesSubscription=(0,o.D)(t).pipe((0,V.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(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){this.links&&this.router.navigated&&queueMicrotask((()=>{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)})),t&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(t))}))}isLinkActive(t){const e=function(t){return!!t.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>!!n.urlTree&&t.isActive(n.urlTree,e)}hasActiveLinks(){const t=this.isLinkActive(this.router);return this.link&&t(this.link)||this.links.some(t)}}return(t=e).ɵfac=function(e){return new(e||t)(i.Y36(In),i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(zn,8))},t.ɵdir=i.lG2({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(t,e,n){if(1&t&&i.Suo(n,zn,5),2&t){let t;i.iGM(t=i.CRH())&&(e.links=t)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[i.TTD]}),e})();const Fn=new i.OlP("");let Ln=(()=>{var t;class e{constructor(t,e,n,i,r={}){this.urlSerializer=t,this.transitions=e,this.viewportScroller=n,this.zone=i,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof Zt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ut?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Qt&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))}))}consumeScrollEvents(){return this.transitions.events.subscribe((t=>{t instanceof ae&&(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.zone.runOutsideAngular((()=>{setTimeout((()=>{this.zone.run((()=>{this.transitions.events.next(new ae(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}))}),0)}))}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return(t=e).ɵfac=function(t){i.$Z()},t.ɵprov=i.Yz7({token:t,factory:t.ɵfac}),e})();function Rn(t,...e){return(0,i.MR2)([{provide:fn,multi:!0,useValue:t},[],{provide:be,useFactory:Bn,deps:[In]},{provide:i.tb,multi:!0,useFactory:Hn},e.map((t=>t.ɵproviders))])}function Bn(t){return t.routerState.root}function jn(t={}){return{ɵkind:4,ɵproviders:[{provide:Fn,useFactory:()=>{const e=(0,i.f3M)(x.EM),n=(0,i.f3M)(i.R0b),r=(0,i.f3M)(vn),o=(0,i.f3M)(ct);return new Ln(o,r,e,n,t)}}]}}function Hn(){const t=(0,i.f3M)(i.zs3);return e=>{const n=t.get(i.z2F);if(e!==n.components[0])return;const r=t.get(In),o=t.get(Vn);1===t.get($n)&&r.initialNavigation(),t.get(qn,null,i.XFs.Optional)?.setUpPreloading(),t.get(Fn,null,i.XFs.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}i.Xts;const Vn=new i.OlP("",{factory:()=>new w.x}),$n=new i.OlP("",{providedIn:"root",factory:()=>1}),qn=new i.OlP("");x.Ye},28858:(t,e,n)=>{n.d(e,{ro:()=>a});var i=n(8239),r=n(20755),o=n(43226),s=n(7618);let a=(()=>{class t{constructor(){this.elementRef=(0,r.f3M)(r.SBq).nativeElement,this.ngZone=(0,r.f3M)(r.R0b),this.maskedElement=null,this.options=null,this.elementPredicate=s.gI;const t=(0,r.f3M)(o.Fj,{self:!0,optional:!0});if(t){const e=t.writeValue.bind(t);t.writeValue=t=>{e(this.options?(0,s.CV)(String(t??""),this.options):t)}}}ngOnChanges(){var t=this;return(0,i.Z)((function*(){const{elementPredicate:e,options:n}=t;if(t.maskedElement?.destroy(),!n)return;const i=yield e(t.elementRef);t.elementPredicate===e&&t.ngZone.runOutsideAngular((()=>{t.maskedElement=new s.C8(i,n)}))}))()}ngOnDestroy(){this.maskedElement?.destroy()}}return t.ɵfac=function(e){return new(e||t)},t.ɵdir=r.lG2({type:t,selectors:[["","maskito",""]],inputs:{options:["maskito","options"],elementPredicate:["maskitoElement","elementPredicate"]},standalone:!0,features:[r.TTD]}),t})()},42772:(t,e,n)=>{n.d(e,{Ct:()=>g,H3:()=>f,KS:()=>y,L1:()=>p,de:()=>v,m9:()=>d,s5:()=>m,yZ:()=>b});var i=n(20755),r=n(48132),o=n(88557),s=n(10409),a=n(73843),l=n(92425),c=n(18004),u=n(20530),h=n(76733);const d=new i.OlP("[WINDOW]: An abstraction over global window object",{factory:()=>{const{defaultView:t}=(0,i.f3M)(h.K0);if(!t)throw new Error("Window is not available");return t}}),p=new i.OlP("[ANIMATION_FRAME]: Shared Observable based on `window.requestAnimationFrame`",{factory:()=>{const{requestAnimationFrame:t,cancelAnimationFrame:e}=(0,i.f3M)(d);return new r.y((n=>{let i=NaN;const r=e=>{n.next(e),i=t(r)};return i=t(r),()=>{e(i)}})).pipe((0,o.B)())}}),f=(new i.OlP("[CACHES]: An abstraction over window.caches object",{factory:()=>(0,i.f3M)(d).caches}),new i.OlP("[CRYPTO]: An abstraction over window.crypto object",{factory:()=>(0,i.f3M)(d).crypto}),new i.OlP("[TOKEN_CSS]: An abstraction over window.CSS object",{factory:()=>(0,i.f3M)(d).CSS??{escape:t=>t,supports:()=>!1}}),new i.OlP("[HISTORY]: An abstraction over window.history object",{factory:()=>(0,i.f3M)(d).history}),new i.OlP("[LOCAL_STORAGE]: An abstraction over window.localStorage object",{factory:()=>(0,i.f3M)(d).localStorage})),g=new i.OlP("[LOCATION]: An abstraction over window.location object",{factory:()=>(0,i.f3M)(d).location}),m=new i.OlP("[NAVIGATOR]: An abstraction over window.navigator object",{factory:()=>(0,i.f3M)(d).navigator}),v=(new i.OlP("[MEDIA_DEVICES]: An abstraction over window.navigator.mediaDevices object",{factory:()=>(0,i.f3M)(m).mediaDevices}),new i.OlP("[NETWORK_INFORMATION]: An abstraction over window.navigator.connection object",{factory:()=>(0,i.f3M)(m).connection||null}),new i.OlP("[PAGE_VISIBILITY]: Shared Observable based on `document visibility changed`",{factory:()=>{const t=(0,i.f3M)(h.K0);return(0,s.R)(t,"visibilitychange").pipe((0,a.O)(0),(0,l.U)((()=>"hidden"!==t.visibilityState)),(0,c.x)(),(0,u.d)({refCount:!1,bufferSize:1}))}})),y=new i.OlP("[PERFORMANCE]: An abstraction over window.performance object",{factory:()=>(0,i.f3M)(d).performance}),b=(new i.OlP("[SCREEN]: An abstraction over window.screen object",{factory:()=>(0,i.f3M)(d).screen}),new i.OlP("[SESSION_STORAGE]: An abstraction over window.sessionStorage object",{factory:()=>(0,i.f3M)(d).sessionStorage}),new i.OlP("[SPEECH_RECOGNITION]: An abstraction over SpeechRecognition class",{factory:()=>{const t=(0,i.f3M)(d);return t.speechRecognition||t.webkitSpeechRecognition||null}}),new i.OlP("[SPEECH_SYNTHESIS]: An abstraction over window.speechSynthesis object",{factory:()=>(0,i.f3M)(d).speechSynthesis}),new i.OlP("[USER_AGENT]: An abstraction over window.navigator.userAgent object",{factory:()=>(0,i.f3M)(m).userAgent}))},81695:(t,e,n)=>{n.d(e,{IM:()=>h,Vi:()=>u,k2:()=>a});var i=n(86889),r=n(20755),o=n(48132);const s="undefined"!=typeof MutationObserver?MutationObserver:class{observe(){}disconnect(){}takeRecords(){return[]}},a=new r.OlP("[MUTATION_OBSERVER_INIT]: MutationObserver config");function l(t,e){return null!==t.getAttribute(e)||void 0}function c({nativeElement:t}){const e=t.getAttribute("attributeFilter");return{attributeFilter:e?.split(",").map((t=>t.trim())),attributeOldValue:l(t,"attributeOldValue"),attributes:l(t,"attributes"),characterData:l(t,"characterData"),characterDataOldValue:l(t,"characterDataOldValue"),childList:l(t,"childList"),subtree:l(t,"subtree")}}let u=(()=>{var t;class e extends s{constructor(t,e,n,o,s,l,c){super((t=>{this.waMutationObserver.emit(t)})),(0,i.Z)(this,"nativeElement",(0,r.f3M)(r.SBq).nativeElement),(0,i.Z)(this,"config",(0,r.f3M)(a)),(0,i.Z)(this,"waMutationObserver",new r.vpe),this.observe(this.nativeElement,this.config)}ngOnDestroy(){this.disconnect()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("attributeFilter"),r.$8M("attributeOldValue"),r.$8M("attributes"),r.$8M("characterData"),r.$8M("characterDataOldValue"),r.$8M("childList"),r.$8M("subtree"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waMutationObserver",""]],outputs:{waMutationObserver:"waMutationObserver"},exportAs:["MutationObserver"],standalone:!0,features:[r._Bn([{provide:a,deps:[r.SBq],useFactory:c}]),r.qOj]})),e})(),h=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(a);super((n=>{const i=new s((t=>{n.next(t)}));return i.observe(t,e),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})()},34749:(t,e,n)=>{n.d(e,{P:()=>h,ax:()=>u});var i=n(86889),r=n(20755),o=n(48132),s=n(42772);const a="undefined"!=typeof ResizeObserver?ResizeObserver:class{observe(){}unobserve(){}disconnect(){}},l="content-box",c=new r.OlP("[RESIZE_OPTION_BOX]: Box model to observe changes",{providedIn:"root",factory:()=>l});let u=(()=>{var t;class e extends o.y{constructor(){const t=(0,r.f3M)(r.SBq).nativeElement,e=(0,r.f3M)(c);super((n=>{const i=new a((t=>n.next(t)));return i.observe(t,{box:e}),()=>{i.disconnect()}}))}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵprov",r.Yz7({token:t,factory:t.ɵfac})),e})(),h=(()=>{var t;class e{constructor(t){(0,i.Z)(this,"box",void 0),(0,i.Z)(this,"waResizeObserver",(0,r.f3M)(u)),this.box=t}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.$8M("waResizeBox"))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","waResizeObserver",""]],outputs:{waResizeObserver:"waResizeObserver"},standalone:!0,features:[r._Bn([u,{provide:c,deps:[r.SBq],useFactory:({nativeElement:t})=>t.getAttribute("waResizeBox")||l}])]})),e})();new r.OlP("[RESIZE_OBSERVER_SUPPORT]: Resize Observer API support",{providedIn:"root",factory:()=>!!(0,r.f3M)(s.m9).ResizeObserver})},25797:(t,e,n)=>{n.d(e,{J0:()=>f,uX:()=>g});var i=n(43232),r=n(76733),o=n(20755);class s{supports(t){return t.includes(this.modifier)}unwrap(t){return t.split(".").filter((t=>!this.modifier.includes(t))).join(".")}}const a=new o.OlP("[GLOBAL_HANDLER]: Global event target handler",{factory:()=>{const t=(0,o.f3M)(r.K0);return e=>"body"===e?t.body:t.defaultView[e]||t.createElement("div")}});let l=(()=>{var t;class e extends s{constructor(){super(...arguments),this.handler=(0,o.f3M)(a),this.modifier=">"}addEventListener(t,e,n){return this.manager.addEventListener(this.handler(e.split(">")[0]),e.split(">")[1],n)}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),c=(()=>{var t;class e extends s{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,e.includes(".capture"))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),u=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),h=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier="resize"}supports(t){return"resize"===t}addEventListener(t,e,n){if("undefined"==typeof ResizeObserver||!(t instanceof Element))return()=>{};const i=new ResizeObserver((t=>this.manager.getZone().run((()=>n(t)))));return i.observe(t),()=>i.disconnect()}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),d=(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})(),p=(()=>{var t;class e extends s{constructor(){super(...arguments),this.modifier=".silent"}addEventListener(t,n,i){return e.ngZone=this.manager.getZone(),e.ngZone.runOutsideAngular((()=>this.manager.addEventListener(t,this.unwrap(n),i)))}}return(t=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})();const f=[p,l,c,u,h,d,(()=>{var t;class e extends s{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=e).ɵfac=function(){let e;return function(n){return(e||(e=o.n5z(t)))(n||t)}}(),t.ɵprov=o.Yz7({token:t,factory:t.ɵfac}),e})()].map((t=>({provide:i.s3,multi:!0,useClass:t})));function g(t){return(e,n,i)=>{const{value:r}=i;i.value=function(...e){t.apply(this,e)&&(p.ngZone?p.ngZone.run((()=>r.apply(this,e))):r.apply(this,e))}}}},25690:(t,e,n)=>{n.d(e,{Al:()=>s,GL:()=>l,s$:()=>c,yf:()=>o});var i=n(86889),r=n(20755);const o=new r.OlP("POLYMORPHEUS_CONTEXT");class s{constructor(t,e){(0,i.Z)(this,"component",void 0),(0,i.Z)(this,"i",void 0),this.component=t,this.i=e}createInjector(t,e){return r.zs3.create({parent:this.i||t,providers:[{provide:o,useValue:e}]})}}class a{constructor(t){(0,i.Z)(this,"$implicit",void 0),this.$implicit=t}get polymorpheusOutlet(){return this.$implicit}}let l=(()=>{var t;class e{constructor(t=(0,r.f3M)(r.Rgc,{self:!0}),e=(0,r.f3M)(r.sBO)){(0,i.Z)(this,"template",void 0),(0,i.Z)(this,"cdr",void 0),(0,i.Z)(this,"polymorpheus",""),this.template=t,this.cdr=e}static ngTemplateContextGuard(t,e){return!0}check(){this.cdr.markForCheck()}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)(r.Y36(r.Rgc),r.Y36(r.sBO))})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["ng-template","polymorpheus",""]],inputs:{polymorpheus:"polymorpheus"},exportAs:["polymorpheus"],standalone:!0})),e})(),c=(()=>{var t;class e{constructor(){(0,i.Z)(this,"vcr",(0,r.f3M)(r.s_b)),(0,i.Z)(this,"i",(0,r.f3M)(r.gxx)),(0,i.Z)(this,"t",(0,r.f3M)(r.Rgc)),(0,i.Z)(this,"c",void 0),(0,i.Z)(this,"content",""),(0,i.Z)(this,"context",void 0)}static ngTemplateContextGuard(t,e){return!0}ngOnChanges({content:t}){const e=this.getContext();if(this.c?.injector.get(r.sBO).markForCheck(),!t)return;this.vcr.clear();const n=e&&new Proxy(e,{get:(t,e)=>this.getContext()?.[e]});h(this.content)?this.process(this.content,n):null!=(e instanceof a&&e.$implicit)&&this.vcr.createEmbeddedView(this.template,n,{injector:this.i})}ngDoCheck(){u(this.content)&&this.content.check()}get template(){return u(this.content)?this.content.template:this.content instanceof r.Rgc?this.content:this.t}getContext(){return u(t=this.content)||t instanceof r.Rgc||h(this.content)?this.context:new a(this.context&&"function"==typeof this.content?this.content(this.context):this.content);var t}process(t,e){const n=t.createInjector(this.i,e);this.c=this.vcr.createComponent(t.component,{injector:n})}}return t=e,(0,i.Z)(e,"ɵfac",(function(e){return new(e||t)})),(0,i.Z)(e,"ɵdir",r.lG2({type:t,selectors:[["","polymorpheusOutlet",""]],inputs:{content:["polymorpheusOutlet","content"],context:["polymorpheusOutletContext","context"]},standalone:!0,features:[r.TTD]})),e})();function u(t){return t instanceof l}function h(t){return t instanceof s}},89088:(t,e,n)=>{n.d(e,{Z:()=>pn});var i={};n.r(i),n.d(i,{decode:()=>c,encode:()=>d,format:()=>p,parse:()=>M});var r={};n.r(r),n.d(r,{Any:()=>P,Cc:()=>E,Cf:()=>T,P:()=>S,S:()=>A,Z:()=>I});var o={};n.r(o),n.d(o,{arrayReplaceAt:()=>et,assign:()=>tt,escapeHtml:()=>pt,escapeRE:()=>gt,fromCodePoint:()=>it,has:()=>X,isMdAsciiPunct:()=>bt,isPunctChar:()=>yt,isSpace:()=>mt,isString:()=>W,isValidEntityCode:()=>nt,isWhiteSpace:()=>vt,lib:()=>wt,normalizeReference:()=>_t,unescapeAll:()=>lt,unescapeMd:()=>at});var s={};n.r(s),n.d(s,{parseLinkDestination:()=>Ct,parseLinkLabel:()=>xt,parseLinkTitle:()=>kt});const a={};function l(t,e){"string"!=typeof e&&(e=l.defaultChars);const n=function(t){let e=a[t];if(e)return e;e=a[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);e.push(n)}for(let n=0;n=55296&&t<=57343?"���":String.fromCharCode(t),i+=6;continue}}if(240==(248&o)&&i+91114111?e+="����":(t-=65536,e+=String.fromCharCode(55296+(t>>10),56320+(1023&t))),i+=9;continue}}e+="�"}}return e}))}l.defaultChars=";/?:@&=+$,#",l.componentChars="";const c=l,u={};function h(t,e,n){"string"!=typeof e&&(n=e,e=h.defaultChars),void 0===n&&(n=!0);const i=function(t){let e=u[t];if(e)return e;e=u[t]=[];for(let t=0;t<128;t++){const n=String.fromCharCode(t);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2))}for(let n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&e+1=56320&&n<=57343){r+=encodeURIComponent(t[e]+t[e+1]),e++;continue}}r+="%EF%BF%BD"}else r+=encodeURIComponent(t[e])}return r}h.defaultChars=";/?:@&=+$,-_.!~*'()#",h.componentChars="-_.!~*'()";const d=h;function p(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function f(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const g=/^([a-z0-9.+-]+:)/i,m=/:[0-9]*$/,v=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,y=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),b=["'"].concat(y),_=["%","/","?",";","#"].concat(b),w=["/","?","#"],x=/^[+a-z0-9A-Z_-]{0,63}$/,C=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,k={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};f.prototype.parse=function(t,e){let n,i,r,o=t;if(o=o.trim(),!e&&1===t.split("#").length){const t=v.exec(o);if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let s=g.exec(o);if(s&&(s=s[0],n=s.toLowerCase(),this.protocol=s,o=o.substr(s.length)),(e||s||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r="//"===o.substr(0,2),!r||s&&k[s]||(o=o.substr(2),this.slashes=!0)),!k[s]&&(r||s&&!O[s])){let t,e,n=-1;for(let t=0;t127?i+="x":i+=n[t];if(!i.match(x)){const i=t.slice(0,e),r=t.slice(e+1),s=n.match(C);s&&(i.push(s[1]),r.unshift(s[2])),r.length&&(o=r.join(".")+o),this.hostname=i.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a));const l=o.indexOf("?");return-1!==l&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),O[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this},f.prototype.parseHost=function(t){let e=m.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const M=function(t,e){if(t&&t instanceof f)return t;const n=new f;return n.parse(t,e),n},S=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,A=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,P=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,E=/[\0-\x1F\x7F-\x9F]/,T=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,I=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,D=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((t=>t.charCodeAt(0)))),z=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((t=>t.charCodeAt(0))));var N;const F=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),L=null!==(N=String.fromCodePoint)&&void 0!==N?N:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t),e};var R=function(t){return t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z",t}(R||{}),B=function(t){return t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE",t}(B||{});function j(t){return t>=R.ZERO&&t<=R.NINE}var H=function(t){return t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity",t}(H||{}),V=function(t){return t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute",t}(V||{});class ${constructor(t,e,n){this.decodeTree=t,this.emitCodePoint=e,this.errors=n,this.state=H.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=V.Strict}startEntity(t){this.decodeMode=t,this.state=H.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case H.EntityStart:return t.charCodeAt(e)===R.NUM?(this.state=H.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=H.NamedEntity,this.stateNamedEntity(t,e));case H.NumericStart:return this.stateNumericStart(t,e);case H.NumericDecimal:return this.stateNumericDecimal(t,e);case H.NumericHex:return this.stateNumericHex(t,e);case H.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(32|t.charCodeAt(e))===R.LOWER_X?(this.state=H.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=H.NumericDecimal,this.stateNumericDecimal(t,e))}addToNumericResult(t,e,n,i){if(e!==n){const r=n-e;this.result=this.result*Math.pow(i,r)+parseInt(t.substr(e,r),i),this.consumed+=r}}stateNumericHex(t,e){const n=e;for(;e=R.UPPER_A&&i<=R.UPPER_F||i>=R.LOWER_A&&i<=R.LOWER_F)))return this.addToNumericResult(t,n,e,16),this.emitNumericEntity(r,3);e+=1}var i;return this.addToNumericResult(t,n,e,16),-1}stateNumericDecimal(t,e){const n=e;for(;e=55296&&t<=57343||t>1114111?65533:null!==(e=F.get(t))&&void 0!==e?e:t}(this.result),this.consumed),this.errors&&(t!==R.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){const{decodeTree:n}=this;let i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14;for(;e=R.UPPER_A&&t<=R.UPPER_Z||t>=R.LOWER_A&&t<=R.LOWER_Z||j(t)}(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],r=(i&B.VALUE_LENGTH)>>14,0!==r){if(s===R.SEMI)return this.emitNamedEntityData(this.treeIndex,r,this.consumed+this.excess);this.decodeMode!==V.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}var o;return-1}emitNotTerminatedNamedEntity(){var t;const{result:e,decodeTree:n}=this,i=(n[e]&B.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,i,this.consumed),null===(t=this.errors)||void 0===t||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,n){const{decodeTree:i}=this;return this.emitCodePoint(1===e?i[t]&~B.VALUE_LENGTH:i[t+1],n),3===e&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case H.NamedEntity:return 0===this.result||this.decodeMode===V.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case H.NumericDecimal:return this.emitNumericEntity(0,2);case H.NumericHex:return this.emitNumericEntity(0,3);case H.NumericStart:return null===(t=this.errors)||void 0===t||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case H.EntityStart:return 0}}}function q(t){let e="";const n=new $(t,(t=>e+=L(t)));return function(t,i){let r=0,o=0;for(;(o=t.indexOf("&",o))>=0;){e+=t.slice(r,o),n.startEntity(i);const s=n.write(t,o+1);if(s<0){r=o+n.end();break}r=o+s,o=0===s?r+1:r}const s=e+t.slice(r);return e="",s}}function Z(t,e,n,i){const r=(e&B.BRANCH_LENGTH)>>7,o=e&B.JUMP_TABLE;if(0===r)return 0!==o&&i===o?n:-1;if(o){const e=i-o;return e<0||e>=r?-1:t[n+e]-1}let s=n,a=s+r-1;for(;s<=a;){const e=s+a>>>1,n=t[e];if(ni))return t[e+r];a=e-1}}return-1}const U=q(D);function G(t,e=V.Legacy){return U(t,e)}function Q(t){for(let e=1;e'"]/g,J),Y(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),Y(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));const K=Object.prototype.hasOwnProperty;function X(t,e){return K.call(t,e)}function tt(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object");Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function et(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function nt(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||!(65535&~t&&65534!=(65535&t))||t>=0&&t<=8||11===t||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function it(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t);return String.fromCharCode(e,n)}return String.fromCharCode(t)}const rt=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ot=new RegExp(rt.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),st=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function at(t){return t.indexOf("\\")<0?t:t.replace(rt,"$1")}function lt(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ot,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&st.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return nt(n)?it(n):t}const n=G(t);return n!==t?n:t}(t,n)}))}const ct=/[&<>"]/,ut=/[&<>"]/g,ht={"&":"&","<":"<",">":">",'"':"""};function dt(t){return ht[t]}function pt(t){return ct.test(t)?t.replace(ut,dt):t}const ft=/[.?*+^$[\]\\(){}|-]/g;function gt(t){return t.replace(ft,"\\$&")}function mt(t){switch(t){case 9:case 32:return!0}return!1}function vt(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function yt(t){return S.test(t)||A.test(t)}function bt(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function _t(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const wt={mdurl:i,ucmicro:r};function xt(t,e,n){let i,r,o,s;const a=t.posMax,l=t.pos;for(t.pos=e+1,i=1;t.pos32))return o;if(41===i){if(0===s)break;s--}r++}return e===r||0!==s||(o.str=lt(t.slice(e,r)),o.pos=r,o.ok=!0),o}function kt(t,e,n,i){let r,o=e;const s={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)s.str=i.str,s.marker=i.marker;else{if(o>=n)return s;let i=t.charCodeAt(o);if(34!==i&&39!==i&&40!==i)return s;e++,o++,40===i&&(i=41),s.marker=i}for(;o"+pt(o.content)+""},Ot.code_block=function(t,e,n,i,r){const o=t[e];return""+pt(t[e].content)+"\n"},Ot.fence=function(t,e,n,i,r){const o=t[e],s=o.info?lt(o.info).trim():"";let a,l="",c="";if(s){const t=s.split(/(\s+)/g);l=t[0],c=t.slice(2).join("")}if(a=n.highlight&&n.highlight(o.content,l,c)||pt(o.content),0===a.indexOf("${a}\n`}return`
    ${a}
    \n`},Ot.image=function(t,e,n,i,r){const o=t[e];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(t,e,n)},Ot.hardbreak=function(t,e,n){return n.xhtmlOut?"
    \n":"
    \n"},Ot.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},Ot.text=function(t,e){return pt(t[e].content)},Ot.html_block=function(t,e){return t[e].content},Ot.html_inline=function(t,e){return t[e].content},Mt.prototype.renderAttrs=function(t){let e,n,i;if(!t.attrs)return"";for(i="",e=0,n=t.attrs.length;e\n":">",r},Mt.prototype.renderInline=function(t,e,n){let i="";const r=this.rules;for(let o=0,s=t.length;o=0&&(n=this.attrs[e][1]),n},Et.prototype.attrJoin=function(t,e){const n=this.attrIndex(t);n<0?this.attrPush([t,e]):this.attrs[n][1]=this.attrs[n][1]+" "+e};const Tt=Et;function It(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}It.prototype.Token=Tt;const Dt=It,zt=/\r\n?|\n/g,Nt=/\0/g;function Ft(t){return/^<\/a\s*>/i.test(t)}const Lt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Rt=/\((c|tm|r)\)/i,Bt=/\((c|tm|r)\)/gi,jt={c:"©",r:"®",tm:"™"};function Ht(t,e){return jt[e.toLowerCase()]}function Vt(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||(i.content=i.content.replace(Bt,Ht)),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}function $t(t){let e=0;for(let n=t.length-1;n>=0;n--){const i=t[n];"text"!==i.type||e||Lt.test(i.content)&&(i.content=i.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===i.type&&"auto"===i.info&&e--,"link_close"===i.type&&"auto"===i.info&&e++}}const qt=/['"]/,Zt=/['"]/g;function Ut(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Gt(t,e){let n;const i=[];for(let r=0;r=0&&!(i[n].level<=s);n--);if(i.length=n+1,"text"!==o.type)continue;let a=o.content,l=0,c=a.length;t:for(;l=0)f=a.charCodeAt(u.index-1);else for(n=r-1;n>=0&&"softbreak"!==t[n].type&&"hardbreak"!==t[n].type;n--)if(t[n].content){f=t[n].content.charCodeAt(t[n].content.length-1);break}let g=32;if(l=48&&f<=57&&(d=h=!1),h&&d&&(h=m,d=v),h||d){if(d)for(n=i.length-1;n>=0;n--){let h=i[n];if(i[n].level=0;s--){const a=r[s];if("link_close"!==a.type){if("html_inline"===a.type&&(n=a.content,/^\s]/i.test(n)&&o>0&&o--,Ft(a.content)&&o++),!(o>0)&&"text"===a.type&&t.md.linkify.test(a.content)){const n=a.content;let o=t.md.linkify.match(n);const l=[];let c=a.level,u=0;o.length>0&&0===o[0].index&&s>0&&"text_special"===r[s-1].type&&(o=o.slice(1));for(let e=0;eu){const e=new t.Token("text","",0);e.content=n.slice(u,a),e.level=c,l.push(e)}const h=new t.Token("link_open","a",1);h.attrs=[["href",r]],h.level=c++,h.markup="linkify",h.info="auto",l.push(h);const d=new t.Token("text","",0);d.content=s,d.level=c,l.push(d);const p=new t.Token("link_close","a",-1);p.level=--c,p.markup="linkify",p.info="auto",l.push(p),u=o[e].lastIndex}if(u=0;e--)"inline"===t.tokens[e].type&&(Rt.test(t.tokens[e].content)&&Vt(t.tokens[e].children),Lt.test(t.tokens[e].content)&&$t(t.tokens[e].children))}],["smartquotes",function(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)"inline"===t.tokens[e].type&&qt.test(t.tokens[e].content)&&Gt(t.tokens[e].children,t)}],["text_join",function(t){let e,n;const i=t.tokens,r=i.length;for(let t=0;t0&&this.level++,this.tokens.push(i),i},Wt.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]},Wt.prototype.skipEmptyLines=function(t){for(let e=this.lineMax;te;)if(!mt(this.src.charCodeAt(--t)))return t+1;return t},Wt.prototype.skipChars=function(t,e){for(let n=this.src.length;tn;)if(e!==this.src.charCodeAt(--t))return t+1;return t},Wt.prototype.getLines=function(t,e,n,i){if(t>=e)return"";const r=new Array(e-t);for(let o=0,s=t;sn?new Array(t-n+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return r.join("")},Wt.prototype.Token=Tt;const Kt=Wt;function Xt(t,e){const n=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];return t.src.slice(n,i)}function te(t){const e=[],n=t.length;let i=0,r=t.charCodeAt(i),o=!1,s=0,a="";for(;i=i)return-1;let o=t.src.charCodeAt(r++);if(o<48||o>57)return-1;for(;;){if(r>=i)return-1;if(o=t.src.charCodeAt(r++),!(o>=48&&o<=57)){if(41===o||46===o)break;return-1}if(r-n>=10)return-1}return r`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",re="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",oe=new RegExp("^(?:"+ie+"|"+re+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),se=new RegExp("^(?:"+ie+"|"+re+")"),ae=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(se.source+"\\s*$"),/^$/,!1]],le=[["table",function(t,e,n,i){if(e+2>n)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let o=t.bMarks[r]+t.tShift[r];if(o>=t.eMarks[r])return!1;const s=t.src.charCodeAt(o++);if(124!==s&&45!==s&&58!==s)return!1;if(o>=t.eMarks[r])return!1;const a=t.src.charCodeAt(o++);if(124!==a&&45!==a&&58!==a&&!mt(a))return!1;if(45===s&&mt(a))return!1;for(;o=4)return!1;c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop();const h=c.length;if(0===h||h!==u.length)return!1;if(i)return!0;const d=t.parentType;t.parentType="table";const p=t.md.block.ruler.getRules("blockquote"),f=[e,0];t.push("table_open","table",1).map=f,t.push("thead_open","thead",1).map=[e,e+1],t.push("tr_open","tr",1).map=[e,e+1];for(let e=0;e=4)break;if(c=te(l),c.length&&""===c[0]&&c.shift(),c.length&&""===c[c.length-1]&&c.pop(),m+=h-c.length,m>65536)break;r===e+2&&(t.push("tbody_open","tbody",1).map=g=[e+2,0]),t.push("tr_open","tr",1).map=[r,r+1];for(let e=0;e=4))break;i++,r=i}t.line=r;const o=t.push("code_block","code",0);return o.content=t.getLines(e,r,4+t.blkIndent,!1)+"\n",o.map=[e,t.line],!0}],["fence",function(t,e,n,i){let r=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;if(r+3>o)return!1;const s=t.src.charCodeAt(r);if(126!==s&&96!==s)return!1;let a=r;r=t.skipChars(r,s);let l=r-a;if(l<3)return!1;const c=t.src.slice(a,r),u=t.src.slice(r,o);if(96===s&&u.indexOf(String.fromCharCode(s))>=0)return!1;if(i)return!0;let h=e,d=!1;for(;h++,!(h>=n||(r=a=t.bMarks[h]+t.tShift[h],o=t.eMarks[h],r=4||(r=t.skipChars(r,s),r-a=4)return!1;if(62!==t.src.charCodeAt(r))return!1;if(i)return!0;const a=[],l=[],c=[],u=[],h=t.md.block.ruler.getRules("blockquote"),d=t.parentType;t.parentType="blockquote";let p,f=!1;for(p=e;p=o)break;if(62===t.src.charCodeAt(r++)&&!e){let e,n,i=t.sCount[p]+1;32===t.src.charCodeAt(r)?(r++,i++,n=!1,e=!0):9===t.src.charCodeAt(r)?(e=!0,(t.bsCount[p]+i)%4==3?(r++,i++,n=!1):n=!0):e=!1;let s=i;for(a.push(t.bMarks[p]),t.bMarks[p]=r;r=o,l.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(e?1:0),c.push(t.sCount[p]),t.sCount[p]=s-i,u.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(f)break;let i=!1;for(let e=0,r=h.length;e";const v=[e,0];m.map=v,t.md.block.tokenize(t,e,p),t.push("blockquote_close","blockquote",-1).markup=">",t.lineMax=s,t.parentType=d,v[1]=t.line;for(let n=0;n=4)return!1;let o=t.bMarks[e]+t.tShift[e];const s=t.src.charCodeAt(o++);if(42!==s&&45!==s&&95!==s)return!1;let a=1;for(;o=4)return!1;if(t.listIndent>=0&&t.sCount[l]-t.listIndent>=4&&t.sCount[l]=t.blkIndent&&(p=!0),(d=ne(t,l))>=0){if(u=!0,s=t.bMarks[l]+t.tShift[l],h=Number(t.src.slice(s,d-1)),p&&1!==h)return!1}else{if(!((d=ee(t,l))>=0))return!1;u=!1}if(p&&t.skipSpaces(d)>=t.eMarks[l])return!1;if(i)return!0;const f=t.src.charCodeAt(d-1),g=t.tokens.length;u?(a=t.push("ordered_list_open","ol",1),1!==h&&(a.attrs=[["start",h]])):a=t.push("bullet_list_open","ul",1);const m=[l,0];a.map=m,a.markup=String.fromCharCode(f);let v=!1;const y=t.md.block.ruler.getRules("list"),b=t.parentType;for(t.parentType="list";l=r?1:i-e,p>4&&(p=1);const g=e+p;a=t.push("list_item_open","li",1),a.markup=String.fromCharCode(f);const m=[l,0];a.map=m,u&&(a.info=t.src.slice(s,d-1));const b=t.tight,_=t.tShift[l],w=t.sCount[l],x=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=g,t.tight=!0,t.tShift[l]=h-t.bMarks[l],t.sCount[l]=i,h>=r&&t.isEmpty(l+1)?t.line=Math.min(t.line+2,n):t.md.block.tokenize(t,l,n,!0),t.tight&&!v||(c=!1),v=t.line-l>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=x,t.tShift[l]=_,t.sCount[l]=w,t.tight=b,a=t.push("list_item_close","li",-1),a.markup=String.fromCharCode(f),l=t.line,m[1]=l,l>=n)break;if(t.sCount[l]=4)break;let C=!1;for(let e=0,i=y.length;e=4)return!1;if(91!==t.src.charCodeAt(r))return!1;function a(e){const n=t.lineMax;if(e>=n||t.isEmpty(e))return null;let i=!1;if(t.sCount[e]-t.blkIndent>3&&(i=!0),t.sCount[e]<0&&(i=!0),!i){const i=t.md.block.ruler.getRules("reference"),r=t.parentType;t.parentType="reference";let o=!1;for(let r=0,s=i.length;r=4)return!1;if(!t.md.options.html)return!1;if(60!==t.src.charCodeAt(r))return!1;let s=t.src.slice(r,o),a=0;for(;a=4)return!1;let s=t.src.charCodeAt(r);if(35!==s||r>=o)return!1;let a=1;for(s=t.src.charCodeAt(++r);35===s&&r6||rr&&mt(t.src.charCodeAt(l-1))&&(o=l),t.line=e+1;const c=t.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[e,t.line];const u=t.push("inline","",0);return u.content=t.src.slice(r,o).trim(),u.map=[e,t.line],u.children=[],t.push("heading_close","h"+String(a),-1).markup="########".slice(0,a),!0},["paragraph","reference","blockquote"]],["lheading",function(t,e,n){const i=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let o,s=0,a=e+1;for(;a3)continue;if(t.sCount[a]>=t.blkIndent){let e=t.bMarks[a]+t.tShift[a];const n=t.eMarks[a];if(e=n))){s=61===o?1:2;break}}if(t.sCount[a]<0)continue;let e=!1;for(let r=0,o=i.length;r3)continue;if(t.sCount[o]<0)continue;let e=!1;for(let r=0,s=i.length;r=n))&&!(t.sCount[s]=o){t.line=n;break}const e=t.line;let l=!1;for(let o=0;o=t.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),s=t.line,s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i},he.prototype.scanDelims=function(t,e){const n=this.posMax,i=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let o=t;for(;o?@[]^_`{|}~-".split("").forEach((function(t){ge[t.charCodeAt(0)]=1}));const ve={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(126!==i)return!1;const r=t.scanDelims(t.pos,!0);let o=r.length;const s=String.fromCharCode(i);if(o<2)return!1;let a;o%2&&(a=t.push("text","",0),a.content=s,o--);for(let e=0;e=0;n--){const i=e[n];if(95!==i.marker&&42!==i.marker)continue;if(-1===i.end)continue;const r=e[i.end],o=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===r.token+1,s=String.fromCharCode(i.marker),a=t.tokens[i.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?s+s:s,a.content="";const l=t.tokens[r.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--)}}const be={tokenize:function(t,e){const n=t.pos,i=t.src.charCodeAt(n);if(e)return!1;if(95!==i&&42!==i)return!1;const r=t.scanDelims(t.pos,42===i);for(let e=0;e\x00-\x20]*)$/,xe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Ce=/^&([a-z][a-z0-9]{1,31});/i;function ke(t){const e={},n=t.length;if(!n)return;let i=0,r=-2;const o=[];for(let s=0;sa;l-=o[l]+1){const e=t[l];if(e.marker===n.marker&&e.open&&e.end<0){let i=!1;if((e.close||n.open)&&(e.length+n.length)%3==0&&(e.length%3==0&&n.length%3==0||(i=!0)),!i){const i=l>0&&!t[l-1].open?o[l-1]+1:0;o[s]=s-l+i,o[l]=i,n.open=!1,e.end=s,e.close=!1,c=-1,r=-2;break}}}-1!==c&&(e[n.marker][(n.open?3:0)+(n.length||0)%3]=c)}}const Oe=[["text",function(t,e){let n=t.pos;for(;n0)return!1;const n=t.pos;if(n+3>t.posMax)return!1;if(58!==t.src.charCodeAt(n))return!1;if(47!==t.src.charCodeAt(n+1))return!1;if(47!==t.src.charCodeAt(n+2))return!1;const i=t.pending.match(fe);if(!i)return!1;const r=i[1],o=t.md.linkify.matchAtStart(t.src.slice(n-r.length));if(!o)return!1;let s=o.url;if(s.length<=r.length)return!1;s=s.replace(/\*+$/,"");const a=t.md.normalizeLink(s);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-r.length);const e=t.push("link_open","a",1);e.attrs=[["href",a]],e.markup="linkify",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(s);const n=t.push("link_close","a",-1);n.markup="linkify",n.info="auto"}return t.pos+=s.length-r.length,!0}],["newline",function(t,e){let n=t.pos;if(10!==t.src.charCodeAt(n))return!1;const i=t.pending.length-1,r=t.posMax;if(!e)if(i>=0&&32===t.pending.charCodeAt(i))if(i>=1&&32===t.pending.charCodeAt(i-1)){let e=i-1;for(;e>=1&&32===t.pending.charCodeAt(e-1);)e--;t.pending=t.pending.slice(0,e),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(n++;n=i)return!1;let r=t.src.charCodeAt(n);if(10===r){for(e||t.push("hardbreak","br",0),n++;n=55296&&r<=56319&&n+1=56320&&e<=57343&&(o+=t.src[n+1],n++)}const s="\\"+o;if(!e){const e=t.push("text_special","",0);r<256&&0!==ge[r]?e.content=o:e.content=s,e.markup=s,e.info="escape"}return t.pos=n+1,!0}],["backticks",function(t,e){let n=t.pos;if(96!==t.src.charCodeAt(n))return!1;const i=n;n++;const r=t.posMax;for(;n=h)return!1;if(l=f,r=t.md.helpers.parseLinkDestination(t.src,f,t.posMax),r.ok){for(s=t.md.normalizeLink(r.str),t.md.validateLink(s)?f=r.pos:s="",l=f;f=h||41!==t.src.charCodeAt(f))&&(c=!0),f++}if(c){if(void 0===t.env.references)return!1;if(f=0?i=t.src.slice(l,f++):f=p+1):f=p+1,i||(i=t.src.slice(d,p)),o=t.env.references[_t(i)],!o)return t.pos=u,!1;s=o.href,a=o.title}if(!e){t.pos=d,t.posMax=p;const e=[["href",s]];t.push("link_open","a",1).attrs=e,a&&e.push(["title",a]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=f,t.posMax=h,!0}],["image",function(t,e){let n,i,r,o,s,a,l,c,u="";const h=t.pos,d=t.posMax;if(33!==t.src.charCodeAt(t.pos))return!1;if(91!==t.src.charCodeAt(t.pos+1))return!1;const p=t.pos+2,f=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(f<0)return!1;if(o=f+1,o=d)return!1;for(c=o,a=t.md.helpers.parseLinkDestination(t.src,o,t.posMax),a.ok&&(u=t.md.normalizeLink(a.str),t.md.validateLink(u)?o=a.pos:u=""),c=o;o=d||41!==t.src.charCodeAt(o))return t.pos=h,!1;o++}else{if(void 0===t.env.references)return!1;if(o=0?r=t.src.slice(c,o++):o=f+1):o=f+1,r||(r=t.src.slice(p,f)),s=t.env.references[_t(r)],!s)return t.pos=h,!1;u=s.href,l=s.title}if(!e){i=t.src.slice(p,f);const e=[];t.md.inline.parse(i,t.md,t.env,e);const n=t.push("image","img",0),r=[["src",u],["alt",""]];n.attrs=r,n.children=e,n.content=i,l&&r.push(["title",l])}return t.pos=o,t.posMax=d,!0}],["autolink",function(t,e){let n=t.pos;if(60!==t.src.charCodeAt(n))return!1;const i=t.pos,r=t.posMax;for(;;){if(++n>=r)return!1;const e=t.src.charCodeAt(n);if(60===e)return!1;if(62===e)break}const o=t.src.slice(i+1,n);if(we.test(o)){const n=t.md.normalizeLink(o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}if(_e.test(o)){const n=t.md.normalizeLink("mailto:"+o);if(!t.md.validateLink(n))return!1;if(!e){const e=t.push("link_open","a",1);e.attrs=[["href",n]],e.markup="autolink",e.info="auto",t.push("text","",0).content=t.md.normalizeLinkText(o);const i=t.push("link_close","a",-1);i.markup="autolink",i.info="auto"}return t.pos+=o.length+2,!0}return!1}],["html_inline",function(t,e){if(!t.md.options.html)return!1;const n=t.posMax,i=t.pos;if(60!==t.src.charCodeAt(i)||i+2>=n)return!1;const r=t.src.charCodeAt(i+1);if(33!==r&&63!==r&&47!==r&&!function(t){const e=32|t;return e>=97&&e<=122}(r))return!1;const o=t.src.slice(i).match(oe);if(!o)return!1;if(!e){const e=t.push("html_inline","",0);e.content=o[0],s=e.content,/^\s]/i.test(s)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var s;return t.pos+=o[0].length,!0}],["entity",function(t,e){const n=t.pos,i=t.posMax;if(38!==t.src.charCodeAt(n))return!1;if(n+1>=i)return!1;if(35===t.src.charCodeAt(n+1)){const i=t.src.slice(n).match(xe);if(i){if(!e){const e="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n=t.push("text_special","",0);n.content=nt(e)?it(e):it(65533),n.markup=i[0],n.info="entity"}return t.pos+=i[0].length,!0}}else{const i=t.src.slice(n).match(Ce);if(i){const n=G(i[0]);if(n!==i[0]){if(!e){const e=t.push("text_special","",0);e.content=n,e.markup=i[0],e.info="entity"}return t.pos+=i[0].length,!0}}}return!1}]],Me=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length;ke(t.delimiters);for(let t=0;t0&&i++,"text"===r[e].type&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;s||t.pos++,o[e]=t.pos},Se.prototype.tokenize=function(t){const e=this.ruler.getRules(""),n=e.length,i=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}if(s){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Se.prototype.parse=function(t,e,n,i){const r=new this.State(t,e,n,i);this.tokenize(r);const o=this.ruler2.getRules(""),s=o.length;for(let t=0;t=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const i=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},Ne="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Fe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Le(t){const e=t.re=function(t){const e={};return t=t||{},e.src_Any=P.source,e.src_Cc=E.source,e.src_Z=I.source,e.src_P=S.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|"),e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice();function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(Ne),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(i(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(i(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(i(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(i(e.tpl_host_fuzzy_test),"i");const r=[];function o(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e];if(null===n)return;const i={validate:null,link:null};if(t.__compiled__[e]=i,"[object Object]"===Ee(n))return"[object RegExp]"!==Ee(n.validate)?Te(n.validate)?i.validate=n.validate:o(e,n):i.validate=function(t){return function(e,n){const i=e.slice(n);return t.test(i)?i.match(t)[0].length:0}}(n.validate),void(Te(n.normalize)?i.normalize=n.normalize:n.normalize?o(e,n):i.normalize=function(t,e){e.normalize(t)});"[object String]"!==Ee(n)?o(e,n):r.push(e)})),r.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}};const s=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Ie).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+s+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function Re(t,e){const n=t.__index__,i=t.__last_index__,r=t.__text_cache__.slice(n,i);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=r,this.text=r,this.url=r}function Be(t,e){const n=new Re(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function je(t,e){if(!(this instanceof je))return new je(t,e);var n;e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||De.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Pe({},De,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Pe({},ze,t),this.__compiled__={},this.__tlds__=Fe,this.__tlds_replaced__=!1,this.re={},Le(this)}je.prototype.add=function(t,e){return this.__schemas__[t]=e,Le(this),this},je.prototype.set=function(t){return this.__opts__=Pe(this.__opts__,t),this},je.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let e,n,i,r,o,s,a,l,c;if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(r=this.testSchemaAt(t,e[2],a.lastIndex),r){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0},je.prototype.pretest=function(t){return this.re.pretest.test(t)},je.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},je.prototype.match=function(t){const e=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(e.push(Be(this,n)),n=this.__last_index__);let i=n?t.slice(n):t;for(;this.test(i);)e.push(Be(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return e.length?e:null},je.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const e=this.re.schema_at_start.exec(t);if(!e)return null;const n=this.testSchemaAt(t,e[2],e[0].length);return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,Be(this,0)):null},je.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),Le(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Le(this),this)},je.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},je.prototype.onCompile=function(){};const He=je,Ve=2147483647,$e=36,qe=/^xn--/,Ze=/[^\0-\x7F]/,Ue=/[\x2E\u3002\uFF0E\uFF61]/g,Ge={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qe=Math.floor,Je=String.fromCharCode;function Ye(t){throw new RangeError(Ge[t])}function We(t,e){const n=t.split("@");let i="";n.length>1&&(i=n[0]+"@",t=n[1]);const r=function(t,e){const n=[];let i=t.length;for(;i--;)n[i]=e(t[i]);return n}((t=t.replace(Ue,".")).split("."),e).join(".");return i+r}function Ke(t){const e=[];let n=0;const i=t.length;for(;n=55296&&r<=56319&&n>1,t+=Qe(t/e);t>455;i+=$e)t=Qe(t/35);return Qe(i+36*t/(t+38))},en=function(t){const e=[],n=t.length;let i=0,r=128,o=72,s=t.lastIndexOf("-");s<0&&(s=0);for(let n=0;n=128&&Ye("not-basic"),e.push(t.charCodeAt(n));for(let l=s>0?s+1:0;l=n&&Ye("invalid-input");const s=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:$e;s>=$e&&Ye("invalid-input"),s>Qe((Ve-i)/e)&&Ye("overflow"),i+=s*e;const c=r<=o?1:r>=o+26?26:r-o;if(sQe(Ve/u)&&Ye("overflow"),e*=u}const c=e.length+1;o=tn(i-s,c,0==s),Qe(i/c)>Ve-r&&Ye("overflow"),r+=Qe(i/c),i%=c,e.splice(i++,0,r)}var a;return String.fromCodePoint(...e)},nn=function(t){const e=[],n=(t=Ke(t)).length;let i=128,r=0,o=72;for(const n of t)n<128&&e.push(Je(n));const s=e.length;let a=s;for(s&&e.push("-");a=i&&eQe((Ve-r)/l)&&Ye("overflow"),r+=(n-i)*l,i=n;for(const n of t)if(nVe&&Ye("overflow"),n===i){let t=r;for(let n=$e;;n+=$e){const i=n<=o?1:n>=o+26?26:n-o;if(tString.fromCodePoint(...t)},decode:en,encode:nn,toASCII:function(t){return We(t,(function(t){return Ze.test(t)?"xn--"+nn(t):t}))},toUnicode:function(t){return We(t,(function(t){return qe.test(t)?en(t.slice(4).toLowerCase()):t}))}},on={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},sn=/^(vbscript|javascript|file|data):/,an=/^data:image\/(gif|png|jpeg|webp);/;function ln(t){const e=t.trim().toLowerCase();return!sn.test(e)||an.test(e)}const cn=["http:","https:","mailto:"];function un(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toASCII(e.hostname)}catch(t){}return d(p(e))}function hn(t){const e=M(t,!0);if(e.hostname&&(!e.protocol||cn.indexOf(e.protocol)>=0))try{e.hostname=rn.toUnicode(e.hostname)}catch(t){}return c(p(e),c.defaultChars+"%")}function dn(t,e){if(!(this instanceof dn))return new dn(t,e);e||W(t)||(e=t||{},t="default"),this.inline=new Ae,this.block=new ue,this.core=new Yt,this.renderer=new St,this.linkify=new He,this.validateLink=ln,this.normalizeLink=un,this.normalizeLinkText=hn,this.utils=o,this.helpers=tt({},s),this.options={},this.configure(t),e&&this.set(e)}dn.prototype.set=function(t){return tt(this.options,t),this},dn.prototype.configure=function(t){const e=this;if(W(t)){const e=t;if(!(t=on[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},dn.prototype.enable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},dn.prototype.disable=function(t,e){let n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0));const i=t.filter((function(t){return n.indexOf(t)<0}));if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},dn.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},dn.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String");const n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},dn.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},dn.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},dn.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const pn=dn},8239:(t,e,n)=>{function i(t,e,n,i,r,o,s){try{var a=t[o](s),l=a.value}catch(t){return void n(t)}a.done?e(l):Promise.resolve(l).then(i,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var s=t.apply(e,n);function a(t){i(s,r,o,a,l,"next",t)}function l(t){i(s,r,o,a,l,"throw",t)}a(void 0)}))}}n.d(e,{Z:()=>r})},86889:(t,e,n)=>{function i(t){return i="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},i(t)}function r(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:()=>r})},84911:(t,e,n)=>{function i(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function o(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function a(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}l((i=i.apply(t,e||[])).next())}))}function s(t){return this instanceof s?(this.v=t,this):new s(t)}function a(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return",(function(t){return function(e){return Promise.resolve(e).then(t,u)}})),i[Symbol.asyncIterator]=function(){return this},i;function a(t,e){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||l(t,e)}))},e&&(i[t]=e(i[t])))}function l(t,e){try{(n=r[t](e)).value instanceof s?Promise.resolve(n.value.v).then(c,u):h(o[0][2],n)}catch(t){h(o[0][3],t)}var n}function c(t){l("next",t)}function u(t){l("throw",t)}function h(t,e){t(e),o.shift(),o.length&&l(o[0][0],o[0][1])}}function l(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){!function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)}(i,r,(e=t[n](e)).done,e.value)}))}}}n.d(e,{FC:()=>a,KL:()=>l,_T:()=>i,gn:()=>r,mG:()=>o,qq:()=>s}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError}},t=>{t(t.s=1679)}]); \ No newline at end of file